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
The buffer’s data is not expected to change after creation.
The buffer’s data is expected to change occasionally after creation.
The buffer’s data is expected to change every frame.