Spec-Zone.ru › MapLibre GL JS

StyleImageWebGLTarget

StyleImageWebGLTarget = object

Where a StyleImageWebGLData.renderWithWebGL callback writes its pixels.

Properties

texture

texture: WebGLTexture

The icon atlas to write into. MapLibre does not bind it for you, so start with gl.bindTexture(gl.TEXTURE_2D, texture) or attach it to your own framebuffer.

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/StyleImageWebGLTarget/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API