MaterialKey
MaterialKey encodes glTF material properties for material selection and creation.
MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.
See also
MaterialKey encodes glTF material properties for material selection and creation.
MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.
See also
MaterialKey encodes glTF material properties for material selection and creation.
MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.
See also
MaterialKey encodes glTF material properties for material selection and creation.
MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.
See also
MaterialKey encodes glTF material properties for material selection and creation.
MaterialKey holds a set of boolean flags and texture coordinates that describe the properties of a glTF material. MaterialProvider uses this to determine which material to create or select. Key properties include texture presence, shading model, alpha mode, and advanced features like clearcoat and transmission.
See also
Constructors
Properties
glTF texcoord set index for the base color texture.
glTF texcoord set index for the base color texture.
glTF texcoord set index for the base color texture.
glTF texcoord set index for the base color texture.
glTF texcoord set index for the base color texture.
glTF texcoord set index for the clearcoat normal map.
glTF texcoord set index for the clearcoat normal map.
glTF texcoord set index for the clearcoat normal map.
glTF texcoord set index for the clearcoat normal map.
glTF texcoord set index for the clearcoat normal map.
glTF texcoord set index for the clearcoat roughness texture.
glTF texcoord set index for the clearcoat roughness texture.
glTF texcoord set index for the clearcoat roughness texture.
glTF texcoord set index for the clearcoat roughness texture.
glTF texcoord set index for the clearcoat roughness texture.
glTF texcoord set index for the clearcoat texture.
glTF texcoord set index for the clearcoat texture.
glTF texcoord set index for the clearcoat texture.
glTF texcoord set index for the clearcoat texture.
glTF texcoord set index for the clearcoat texture.
Renders both faces of each triangle (glTF doubleSided).
Renders both faces of each triangle (glTF doubleSided).
Renders both faces of each triangle (glTF doubleSided).
Renders both faces of each triangle (glTF doubleSided).
Renders both faces of each triangle (glTF doubleSided).
glTF texcoord set index for the emissive texture.
glTF texcoord set index for the emissive texture.
glTF texcoord set index for the emissive texture.
glTF texcoord set index for the emissive texture.
glTF texcoord set index for the emissive texture.
Enables shader diagnostics (visualizes the material as a debug aid).
Enables shader diagnostics (visualizes the material as a debug aid).
Enables shader diagnostics (visualizes the material as a debug aid).
Enables shader diagnostics (visualizes the material as a debug aid).
Enables shader diagnostics (visualizes the material as a debug aid).
A base color texture is bound.
A base color texture is bound.
A base color texture is bound.
A base color texture is bound.
A base color texture is bound.
The clearcoat layer is enabled (KHR_materials_clearcoat).
The clearcoat layer is enabled (KHR_materials_clearcoat).
The clearcoat layer is enabled (KHR_materials_clearcoat).
The clearcoat layer is enabled (KHR_materials_clearcoat).
The clearcoat layer is enabled (KHR_materials_clearcoat).
A clearcoat normal map is bound.
A clearcoat normal map is bound.
A clearcoat normal map is bound.
A clearcoat normal map is bound.
A clearcoat normal map is bound.
A clearcoat roughness texture is bound.
A clearcoat roughness texture is bound.
A clearcoat roughness texture is bound.
A clearcoat roughness texture is bound.
A clearcoat roughness texture is bound.
A clearcoat intensity texture is bound.
A clearcoat intensity texture is bound.
A clearcoat intensity texture is bound.
A clearcoat intensity texture is bound.
A clearcoat intensity texture is bound.
An emissive texture is bound.
An emissive texture is bound.
An emissive texture is bound.
An emissive texture is bound.
An emissive texture is bound.
A metallic-roughness texture is bound (specular-glossiness texture when useSpecularGlossiness).
A metallic-roughness texture is bound (specular-glossiness texture when useSpecularGlossiness).
A metallic-roughness texture is bound (specular-glossiness texture when useSpecularGlossiness).
A metallic-roughness texture is bound (specular-glossiness texture when useSpecularGlossiness).
A metallic-roughness texture is bound (specular-glossiness texture when useSpecularGlossiness).
A tangent-space normal map is bound.
A tangent-space normal map is bound.
A tangent-space normal map is bound.
A tangent-space normal map is bound.
A tangent-space normal map is bound.
An ambient-occlusion texture is bound.
An ambient-occlusion texture is bound.
An ambient-occlusion texture is bound.
An ambient-occlusion texture is bound.
An ambient-occlusion texture is bound.
A sheen color texture is bound.
A sheen color texture is bound.
A sheen color texture is bound.
A sheen color texture is bound.
A sheen color texture is bound.
A sheen roughness texture is bound.
A sheen roughness texture is bound.
A sheen roughness texture is bound.
A sheen roughness texture is bound.
A sheen roughness texture is bound.
One or more textures use KHR_texture_transform.
One or more textures use KHR_texture_transform.
One or more textures use KHR_texture_transform.
One or more textures use KHR_texture_transform.
One or more textures use KHR_texture_transform.
Transmission is enabled (KHR_materials_transmission).
Transmission is enabled (KHR_materials_transmission).
Transmission is enabled (KHR_materials_transmission).
Transmission is enabled (KHR_materials_transmission).
Transmission is enabled (KHR_materials_transmission).
A transmission texture is bound.
A transmission texture is bound.
A transmission texture is bound.
A transmission texture is bound.
A transmission texture is bound.
The mesh provides per-vertex COLOR_0 data to be multiplied into base color.
The mesh provides per-vertex COLOR_0 data to be multiplied into base color.
The mesh provides per-vertex COLOR_0 data to be multiplied into base color.
The mesh provides per-vertex COLOR_0 data to be multiplied into base color.
The mesh provides per-vertex COLOR_0 data to be multiplied into base color.
A volume thickness texture is bound (KHR_materials_volume).
A volume thickness texture is bound (KHR_materials_volume).
A volume thickness texture is bound (KHR_materials_volume).
A volume thickness texture is bound (KHR_materials_volume).
A volume thickness texture is bound (KHR_materials_volume).
glTF texcoord set index for the metallic-roughness texture.
glTF texcoord set index for the metallic-roughness texture.
glTF texcoord set index for the metallic-roughness texture.
glTF texcoord set index for the metallic-roughness texture.
glTF texcoord set index for the metallic-roughness texture.
glTF texcoord set index for the sheen color texture.
glTF texcoord set index for the sheen color texture.
glTF texcoord set index for the sheen color texture.
glTF texcoord set index for the sheen color texture.
glTF texcoord set index for the sheen color texture.
glTF texcoord set index for the sheen roughness texture.
glTF texcoord set index for the sheen roughness texture.
glTF texcoord set index for the sheen roughness texture.
glTF texcoord set index for the sheen roughness texture.
glTF texcoord set index for the sheen roughness texture.
glTF texcoord set index for the transmission texture.
glTF texcoord set index for the transmission texture.
glTF texcoord set index for the transmission texture.
glTF texcoord set index for the transmission texture.
glTF texcoord set index for the transmission texture.
Uses the legacy specular-glossiness workflow (KHR_materials_pbrSpecularGlossiness).
Uses the legacy specular-glossiness workflow (KHR_materials_pbrSpecularGlossiness).
Uses the legacy specular-glossiness workflow (KHR_materials_pbrSpecularGlossiness).
Uses the legacy specular-glossiness workflow (KHR_materials_pbrSpecularGlossiness).
Uses the legacy specular-glossiness workflow (KHR_materials_pbrSpecularGlossiness).
glTF texcoord set index for the volume thickness texture.
glTF texcoord set index for the volume thickness texture.
glTF texcoord set index for the volume thickness texture.
glTF texcoord set index for the volume thickness texture.
glTF texcoord set index for the volume thickness texture.
Functions
Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.
Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.
Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.
Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.
Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.