Structs§
- Binding
Instance Descriptor - Source data for a
GPUBindingInstance<T>: whichT(aGPUMaterialorGPUCompute) to bind against, and the concrete resource for each of its named binding entries. - Compute
Instance Plugin - Registers the
GPUComputeInstanceasset pipeline (Assets<ComputeInstanceDescriptor>→ProcessedAssets<GPUComputeInstance>). Included byWGPUPlugin; add directly only if you’re assembling thewgpumodule’s plugins by hand. - GPUBinding
Instance - An instance uploaded to the GPU: a bind group ready to set against its
target
T’s pipeline, plus any owned uniform/storage buffers (fromBindingInstanceEntry::Uniform/Storage) updatable viaupdate. See theGPUMaterialInstance/GPUComputeInstancealiases for the two concrete instantiations. - Material
Instance Plugin - Registers the
GPUMaterialInstanceasset pipeline (Assets<MaterialInstanceDescriptor>→ProcessedAssets<GPUMaterialInstance>). Included byWGPUPlugin; add directly only if you’re assembling thewgpumodule’s plugins by hand.
Enums§
- Binding
Instance Entry - A concrete resource to bind for one named entry of a
BindingInstanceDescriptor. Thenameit’s paired with (inBindingInstanceDescriptor::params) is matched against the target’sBindingEntry::names to find the right@binding(N)— so this only needs to say what to bind, not where.
Functions§
- binding_
index - Looks up the
@binding(N)a target declared undername. ReturningNonefor an unmatched name (rather than panicking) is what letsGPUBindingInstance::uploadturn a bad name into aNoneupload result via?— the sync system retries next tick rather than treating it as fatal (seeAsset::upload).
Type Aliases§
- Compute
Instance Descriptor - Source data for a
GPUComputeInstance. - GPUCompute
Instance - A compute instance uploaded to the GPU —
GPUBindingInstancebound against aGPUCompute. - GPUMaterial
Instance - A material instance uploaded to the GPU —
GPUBindingInstancebound against aGPUMaterial. - Material
Instance Descriptor - Source data for a
GPUMaterialInstance.