Skip to main content

Module buf

Module buf 

Source
Expand description

Strongly-typed buffers

This module is mostly internal to the crate, but is public because its types appear as return values and arguments.

Structs§

FlexBuffer
Handle around a growable GPU buffer
MappedBuffer
Handle to a mapped ReadBuffer
MappedBufferTag
Helper struct to make a mapped version of a storage buffer
MappedImage
Handle to a mapped ReadBuffer containing an image

Enums§

BufferSizeError
Error type when resizing a buffer beyond its limit
BufferType
Buffer type for error reporting

Traits§

BufferItemCount
Trait for types which have a certain number of items
BufferTag
Tag associated with a particular FlexBuffer

Type Aliases§

ReadBuffer
Buffer for reading data back from the GPU