Module rin::gl::buffer [−][src]
Buffer Objects are the main way of storing data to be used by the GPU
glin Buffers are typed but apart from that are just a light wrapper around OpenGL’s
Immutable in this module refers to the OpenGL notion of immutable buffers where once allocated it’s capacity can’t be changed but it’s data can be modified dependnding on the flags it was allocated with
More info: https://www.khronos.org/opengl/wiki/Buffer_Object
Structs
Buffer | A mutable buffer object allocated with gl(Named)BufferData |
BufferStorage | Inmmutable buffer object allocated with gl(Named)BufferStorage |
Builder | |
MapPersistentRead | |
MapPersistentReadWrite | |
MapPersistentWrite | |
MapRead | |
MapReadFlags | |
MapReadWrite | |
MapReadWriteFlags | |
MapWrite | |
MapWriteFlags | |
Range | A view into a portion of a buffer which can be used as a buffer itself |
SharedBuffer | Wrapper around a Buffer with internal reference counting |
SharedBufferStorage | Wrapper around a BufferStorage with internal reference counting |
SharedBuilder |
Traits
Backend | |
BufferRange | A view into a portion of a buffer object |
BufferRangeMut | A writable view into a portion of a buffer |
Cast | |
InputRange | Trait to convert any partial range + a buffer into an ops::Range |
MapPersistent | |
MapPersistentMut | |
MapPersistentRange | |
MapPersistentRangeMut | |
MapRange | |
MapRangeMut | |
TypedBuffer | Buffer object with a type |
TypedBufferMut | Buffer object with a type |
WithBackend | |
WithBackendMut | |
WithMapRange | |
WithMapRangeMut |
Functions
cast |