Expand description
Common utilities used throughout the crate.
Structs§
- PerMaterial
Archetype Interface - Interface which has all per-material-archetype data: the object output buffer and the gpu material buffer.
- PerObject
Data Abi - The input structure that the culling shaders/functions output and drawing shaders read.
- Samplers
- Container holding a variety of samplers.
- Whole
Frame Interfaces - Interfaces which are used throughout the whole frame.
Enums§
- Sorting
- An object sorting order.
Statics§
- CPU_
VERTEX_ BUFFERS - Vertex buffer layouts used when CpuDriven.
- GPU_
VERTEX_ BUFFERS - Vertex buffer layouts used when GpuDriven.
Functions§
- profile_
safe_ ⚠shader - When CpuDriven, creates a checked wgsl shader, when CpuDriven creates a passthrough SPIRV shader.
- sort_
objects - Takes a set of objects and possibly sorts them if a sorting is provided.