Skip to main content

Module material_instance

Module material_instance 

Source

Structs§

MaterialInstanceDescriptor
One instance’s full set of parameter values, by name. Resolve each name against the base material’s MaterialDescriptor::binding_index when building the actual bind group, in your own Asset::upload.

Enums§

ParamValue
The small, closed vocabulary of value kinds a material instance parameter can be. Arrays instead of a math-library type so this module has no dependency beyond wgpu itself — convert to/from your own vector type at the call site.