Skip to main content

Module instance

Module instance 

Source

Structs§

BindingInstance
A bind group asset for a Material/Compute target — named textures/samplers/uniforms/storage buffers, matched to the target’s declared entries by name. Usually used via its aliases MaterialInstance/ComputeInstance.
GPUBindingInstance
The GPU-resident bind group an uploaded BindingInstance produces.

Enums§

BindingInstanceEntry
One bound value in a BindingInstance — matched to its bind group slot by name at upload time.

Functions§

binding_index
Looks up a target’s bind group slot index by entry name.

Type Aliases§

ComputeInstance
A Compute pipeline’s bind group — the buffers/textures it reads and writes for one dispatch.
GPUComputeInstance
GPUMaterialInstance
MaterialInstance
A Material’s bind group — the values a shader actually reads from (textures, samplers, uniforms) for one draw.