Struct mallumo_gls::buffer::ImmutableBuffer [] [src]

pub struct ImmutableBuffer { /* fields omitted */ }

Methods

impl ImmutableBuffer
[src]

Creates new buffer and copies data to its memory on GPU

Errors

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

Trait Implementations

impl Buffer for ImmutableBuffer
[src]

impl Drop for ImmutableBuffer
[src]

A method called when the value goes out of scope. Read more