UbershaderProvider
UbershaderProvider uses pre-compiled ubershader materials.
This is the recommended MaterialProvider for most use cases. It uses a small set of pre-compiled, flexible materials that cover most glTF 2.0 features, avoiding the overhead of JIT compilation while maintaining broad compatibility.
See also
UbershaderProvider uses pre-compiled ubershader materials.
This is the recommended MaterialProvider for most use cases. It uses a small set of pre-compiled, flexible materials that cover most glTF 2.0 features, avoiding the overhead of JIT compilation while maintaining broad compatibility.
See also
UbershaderProvider uses pre-compiled ubershader materials.
This is the recommended MaterialProvider for most use cases. It uses a small set of pre-compiled, flexible materials that cover most glTF 2.0 features, avoiding the overhead of JIT compilation while maintaining broad compatibility.
See also
UbershaderProvider uses pre-compiled ubershader materials.
This is the recommended MaterialProvider for most use cases. It uses a small set of pre-compiled, flexible materials that cover most glTF 2.0 features, avoiding the overhead of JIT compilation while maintaining broad compatibility.
See also
UbershaderProvider uses pre-compiled ubershader materials.
This is the recommended MaterialProvider for most use cases. It uses a small set of pre-compiled, flexible materials that cover most glTF 2.0 features, avoiding the overhead of JIT compilation while maintaining broad compatibility.
See also
Constructors
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.