API

Interface BillboardCustomShaderOptions

interface BillboardCustomShaderOptions {
    extraTextures?: readonly CustomShaderTexture[];
    fragment: string;
}
Index
extraTextures?: readonly CustomShaderTexture[]

Extra textures, in binding order. Each contributes a texture_2d + sampler.

fragment: string

WGSL fragment body. See the module docs for the in-scope identifiers.