material
Binds a material instance to the specified primitive.
If no material is specified for a given primitive, Filament will fall back to a basic default material.
The MaterialInstance's material must have a feature level equal or lower to the engine's selected feature level.
Return
Builder reference for chaining calls.
Parameters
zero-based index of the primitive, must be less than the count passed to Builder constructor
the material to bind
Binds a material instance to the specified primitive.
If no material is specified for a given primitive, Filament will fall back to a basic default material.
The MaterialInstance's material must have a feature level equal or lower to the engine's selected feature level.
Return
Builder reference for chaining calls.
Parameters
zero-based index of the primitive, must be less than the count passed to Builder constructor
the material to bind
Binds a material instance to the specified primitive.
If no material is specified for a given primitive, Filament will fall back to a basic default material.
The MaterialInstance's material must have a feature level equal or lower to the engine's selected feature level.
Return
Builder reference for chaining calls.
Parameters
zero-based index of the primitive, must be less than the count passed to Builder constructor
the material to bind
Binds a material instance to the specified primitive.
If no material is specified for a given primitive, Filament will fall back to a basic default material.
The MaterialInstance's material must have a feature level equal or lower to the engine's selected feature level.
Return
Builder reference for chaining calls.
Parameters
zero-based index of the primitive, must be less than the count passed to Builder constructor
the material to bind
Binds a material instance to the specified primitive.
If no material is specified for a given primitive, Filament will fall back to a basic default material.
The MaterialInstance's material must have a feature level equal or lower to the engine's selected feature level.
Return
Builder reference for chaining calls.
Parameters
zero-based index of the primitive, must be less than the count passed to Builder constructor
the material to bind