Struct glium::buffer::WriteMapping [] [src]

pub struct WriteMapping<'b, D: ?Sized> where
    D: Content
{ /* fields omitted */ }

A mapping of a buffer for write only.

Methods

impl<'b, D> WriteMapping<'b, D> where
    D: Content + Copy
[src]

[src]

Writes the whole content.

impl<'b, D> WriteMapping<'b, [D]> where
    [D]: Content,
    D: Copy
[src]

[src]

Returns the length of the mapping.

[src]

Changes an element of the mapping.

Panic

Panics if out of range.