Enum tetra::graphics::mesh::BufferUsage [−][src]
pub enum BufferUsage { Static, Dynamic, Stream, }
Expand description
The expected usage of a GPU buffer.
The GPU may optionally use this to optimize data storage and access.
Variants
Expand description
The buffer’s data is not expected to change after creation.
Expand description
The buffer’s data is expected to change occasionally after creation.
Expand description
The buffer’s data is expected to change every frame.