Struct glin::buffer_object::SharedBuilder[][src]

pub struct SharedBuilder<'a>(_);

Methods

impl<'a> SharedBuilder<'a>
[src]

Creates a new buffer and allocates it with enough capacity to hold len elements of type T

equivalent to glGenBuffers/glCreateBuffers + gl(Named)BufferData. target specifies the target to which to bind the buffer before creation. This is only useful with no DSA where in certain platforms you can't change the target initially bound

Auto Trait Implementations

impl<'a> !Send for SharedBuilder<'a>

impl<'a> !Sync for SharedBuilder<'a>