MaterialProvider
MaterialProvider supplies materials to glTF assets during loading.
Implementations determine how glTF materials are rendered:
UbershaderProvider: Uses pre-compiled ubershader materials (recommended)
Custom providers: Can implement custom material mapping strategies
See also
Inheritors
MaterialProvider supplies materials to glTF assets during loading.
Implementations determine how glTF materials are rendered:
UbershaderProvider: Uses pre-compiled ubershader materials (recommended)
Custom providers: Can implement custom material mapping strategies
See also
Inheritors
MaterialProvider supplies materials to glTF assets during loading.
Implementations determine how glTF materials are rendered:
UbershaderProvider: Uses pre-compiled ubershader materials (recommended)
Custom providers: Can implement custom material mapping strategies
See also
Inheritors
MaterialProvider supplies materials to glTF assets during loading.
Implementations determine how glTF materials are rendered:
UbershaderProvider: Uses pre-compiled ubershader materials (recommended)
Custom providers: Can implement custom material mapping strategies
See also
Inheritors
MaterialProvider supplies materials to glTF assets during loading.
Implementations determine how glTF materials are rendered:
UbershaderProvider: Uses pre-compiled ubershader materials (recommended)
Custom providers: Can implement custom material mapping strategies
See also
Inheritors
Functions
Creates or fetches a compiled Filament material, then creates an instance from it.
Creates or fetches a compiled Filament material, then creates an instance from it.
Creates or fetches a compiled Filament material, then creates an instance from it.
Creates or fetches a compiled Filament material, then creates an instance from it.
Creates or fetches a compiled Filament material, then creates an instance from it.
Frees the provider itself (cached materials survive unless destroyMaterials was called).
Frees the provider itself (cached materials survive unless destroyMaterials was called).
Frees the provider itself (cached materials survive unless destroyMaterials was called).
Frees the provider itself (cached materials survive unless destroyMaterials was called).
Frees the provider itself (cached materials survive unless destroyMaterials was called).
Destroys all cached materials. NOT called automatically on destroy, which lets clients take ownership of the cache if desired.
Destroys all cached materials. NOT called automatically on destroy, which lets clients take ownership of the cache if desired.
Destroys all cached materials. NOT called automatically on destroy, which lets clients take ownership of the cache if desired.
Destroys all cached materials. NOT called automatically on destroy, which lets clients take ownership of the cache if desired.
Destroys all cached materials. NOT called automatically on destroy, which lets clients take ownership of the cache if desired.
Creates or fetches the compiled Filament material corresponding to config, without instancing it.
Creates or fetches the compiled Filament material corresponding to config, without instancing it.
Creates or fetches the compiled Filament material corresponding to config, without instancing it.
Creates or fetches the compiled Filament material corresponding to config, without instancing it.
Creates or fetches the compiled Filament material corresponding to config, without instancing it.
Gets the provider's cache of compiled materials (weak references).
Gets the provider's cache of compiled materials (weak references).
Gets the provider's cache of compiled materials (weak references).
Gets the provider's cache of compiled materials (weak references).
Gets the provider's cache of compiled materials (weak references).
The underlying FilaMaterialProvider* — used by AssetLoader.
Returns true if the given vertex attribute must be present. Some providers (e.g. ubershader) require dummy attribute values when the glTF model does not provide them.
Returns true if the given vertex attribute must be present. Some providers (e.g. ubershader) require dummy attribute values when the glTF model does not provide them.
Returns true if the given vertex attribute must be present. Some providers (e.g. ubershader) require dummy attribute values when the glTF model does not provide them.
Returns true if the given vertex attribute must be present. Some providers (e.g. ubershader) require dummy attribute values when the glTF model does not provide them.
Returns true if the given vertex attribute must be present. Some providers (e.g. ubershader) require dummy attribute values when the glTF model does not provide them.