Struct mallumo_gls::buffer::MappedMutableBuffer [] [src]

pub struct MappedMutableBuffer { /* fields omitted */ }

Methods

impl MappedMutableBuffer
[src]

[src]

Creates new buffer and copies data to its memory on GPU

Errors

  • GL_OUT_OF_MEMORY - if the buffer cannot be created

[src]

Creates new empty buffer

Errors

  • BufferCreationError(GL_OUT_OF_MEMORY) - if the buffer cannot be created

[src]

Trait Implementations

impl Debug for MappedMutableBuffer
[src]

[src]

Formats the value using the given formatter.

impl Buffer for MappedMutableBuffer
[src]

[src]

[src]

[src]

[src]

impl Drop for MappedMutableBuffer
[src]

[src]

Executes the destructor for this type. Read more