Struct glium::index::DrawCommandNoIndices [] [src]

pub struct DrawCommandNoIndices {
    pub count: c_uint,
    pub instance_count: c_uint,
    pub first_index: c_uint,
    pub base_instance: c_uint,
}

Represents an element in a list of draw commands.

Fields

count

Number of vertices to draw.

instance_count

Number of instances to draw. If it's 0, nothing will be drawn.

first_index

First vertex to draw in the vertices source.

base_instance

Numero of the first instance to draw.

Trait Implementations

impl UniformBlock for DrawCommandNoIndices

fn matches(layout: &BlockLayout, base_offset: usize) -> Result<(), LayoutMismatchError>

fn build_layout(base_offset: usize) -> BlockLayout

Derived Implementations

impl Clone for DrawCommandNoIndices

fn clone(&self) -> DrawCommandNoIndices

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

impl Copy for DrawCommandNoIndices

impl Debug for DrawCommandNoIndices

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