Type Alias: UvTransform
UvTransform = readonly [
number,number,number,number]
Defined in: packages/deck.gl-raster/src/multi-raster-tileset/secondary-tile-resolver.ts:17
UV transform mapping primary tile UV space to the correct sub-region of a band texture.
Applied in the shader as: sampledUV = uv * [scaleX, scaleY] + [offsetX, offsetY]
Defined as a tuple so it can be uploaded directly to the GPU as a vec4 uniform.
Elements:
offsetX— horizontal offset: left edge of the primary tile within the band texture, in UV unitsoffsetY— vertical offset: top edge of the primary tile within the band texture, in UV unitsscaleX— horizontal scale: fraction of the band texture width covered by the primary tilescaleY— vertical scale: fraction of the band texture height covered by the primary tile