Interface IBindableTextureSrc

Config texture parameter with shader binding info. Can be single texture or per-dice-type. Note: only one of "src" or "dice" keys should be present.

interface IBindableTextureSrc {
    binding: string;
    src: DieDefinition<string>;
    encoding?: string;
}

Properties

Properties

binding: string

Binding type. For example: "umap", "u_numberMap", etc

src: DieDefinition<string>

URI to texture(s) used by die types

encoding?: string

The texture encoding, 'sRGB' or 'linear'. If left blank the render will assume diffuse maps are in sRGB and all others are in linear

Generated using TypeDoc