Struct glium::program::TransformFeedbackBuffer [] [src]

pub struct TransformFeedbackBuffer {
    pub id: i32,
    pub elements: Vec<TransformFeedbackVarying>,
    pub stride: usize,
}

Describes the layout of a buffer that can receive transform feedback output.

Fields

id: i32

Slot of this buffer.

This is internal information, you probably don't need to use it.

elements: Vec<TransformFeedbackVarying>

List of elements inside the buffer.

stride: usize

Size in bytes between two consecutive elements.

Trait Implementations

impl Eq for TransformFeedbackBuffer
[src]

impl PartialEq for TransformFeedbackBuffer
[src]

fn eq(&self, __arg_0: &TransformFeedbackBuffer) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &TransformFeedbackBuffer) -> bool

This method tests for !=.

impl Clone for TransformFeedbackBuffer
[src]

fn clone(&self) -> TransformFeedbackBuffer

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for TransformFeedbackBuffer
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.