mesh_preprocess_types.wgsl
Import path
Structures
struct
MeshInput
{
}
The wgpu indirect parameters structure. This is a union of two structures.
For more information, see the corresponding comment in
gpu_preprocessing.rs.
struct
IndirectParametersGpuMetadata
{
}
early_instance_count:
atomic<u32>
,
š¢
WRITE_INDIRECT_PARAMETERS_METADATA
late_instance_count:
atomic<u32>
,
š¢
WRITE_INDIRECT_PARAMETERS_METADATA
struct
IndirectBatchSet
{
}
indirect_parameters_count:
atomic<u32>
,
One invocation of this compute shader: i.e. one mesh instance in a view.
Per-frame data that the CPU supplies to the GPU.