GlBuffer

Trait GlBuffer 

Source
pub trait GlBuffer:
    Default
    + Clone
    + Debug
    + BufferClient { }
Expand description

The GlBuffer is something that is the Gl context’s static draw copy of a u8 that forms the values for vertices and indices etc.

A single GlBuffer will be cloned for different mod3d_base::BufferAccessor of the same BufferData (by the [VertexBuffer] type)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§