The batch data that is needed by foundry.canvas.rendering.shaders.DepthSamplerShader to render an element with batching.

interface DepthBatchData {
    _texture: Texture<Resource>;
    elevation: number;
    fadeOcclusion: number;
    indices: number[] | Uint16Array | Uint32Array;
    radialOcclusion: number;
    textureAlphaThreshold: number;
    uvs: Float32Array;
    vertexData: Float32Array;
    visionOcclusion: number;
}

Properties

_texture: Texture<Resource>

The texture

elevation: number

The elevation

fadeOcclusion: number

The amount of FADE occlusion

indices: number[] | Uint16Array | Uint32Array

The indices

radialOcclusion: number

The amount of RADIAL occlusion

textureAlphaThreshold: number

The texture alpha threshold

uvs: Float32Array

The texture UVs

vertexData: Float32Array

The vertices

visionOcclusion: number

The amount of VISION occlusion