Skip to main content

Module buffer

Module buffer 

Source
Expand description

Buffer is a type-agnostic data storage located directly in GPU memory. It could be considered as a data block which content is a pile of bytes, whose meaning is defined externally.

Structs§

GpuBufferDescriptor
Specifications for a buffer that are passed to crate::server::GraphicsServer::create_buffer so that the server knows what buffer to create.

Enums§

BufferKind
GPU buffer kind, as used in GpuBufferDescriptor.
BufferUsage
A hint for video driver that allows it to optimize buffer’s content for more efficient use.

Traits§

GpuBufferAsAny
A base trait that provides useful methods for trait downcasting.
GpuBufferTrait
Buffer is a type-agnostic data storage located directly in GPU memory. It could be considered as a data block which content is a pile of bytes, whose meaning is defined externally.