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

interface OccludableBatchData {
    _texture: Texture<Resource>;
    _tintRGB: number;
    blendMode: number;
    elevation: number;
    fadeOcclusion: number;
    indices: number[] | Uint16Array | Uint32Array;
    occludedAlpha: number;
    radialOcclusion: number;
    unoccludedAlpha: number;
    uvs: Float32Array;
    vertexData: Float32Array;
    visionOcclusion: number;
    worldAlpha: number;
}

Properties

_texture: Texture<Resource>

The texture

_tintRGB: number

The tint

blendMode: number

The blend mode

elevation: number

The elevation

fadeOcclusion: number

The amount of FADE occlusion

indices: number[] | Uint16Array | Uint32Array

The indices

occludedAlpha: number

The unoccluded alpha

radialOcclusion: number

The amount of RADIAL occlusion

unoccludedAlpha: number

The unoccluded alpha

uvs: Float32Array

The texture UVs

vertexData: Float32Array

The vertices

visionOcclusion: number

The amount of VISION occlusion

worldAlpha: number

The world alpha