Module draw

Source

Structs§

BufferPoolEntry 🔒
CurrentEntry 🔒
Draw 🔒
Holds all device-level resources that are needed to validate indirect draws.
DrawBatcher 🔒
Accumulates all needed data needed to validate indirect draws.
DrawIndirectValidationBatch 🔒
DrawResources 🔒
Holds all command buffer-level resources that are needed to validate indirect draws.
MetadataEntry 🔒
This must match the MetadataEntry struct used by the shader.

Constants§

BUFFER_SIZE 🔒
Note: This needs to be under:

Functions§

calculate_src_buffer_binding_size 🔒
Returns the largest binding size that when combined with dynamic offsets can address the whole buffer.
calculate_src_offsets 🔒
Splits the given offset into a dynamic offset & offset.
create_bind_group_layout 🔒
create_buffer_and_bind_group 🔒
create_validation_module 🔒
create_validation_pipeline 🔒