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 ๐Ÿ”’