Struct glium::index::DrawCommandIndices [] [src]

pub struct DrawCommandIndices {
    pub count: c_uint,
    pub instance_count: c_uint,
    pub first_index: c_uint,
    pub base_vertex: c_uint,
    pub base_instance: c_uint,
}

Represents an element in a list of draw commands.

Fields

count

Number of indices to use in the index buffer.

instance_count

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

first_index

First index to draw in the index buffer.

base_vertex

Value to add to each index.

base_instance

Numero of the first instance to draw.

Trait Implementations

impl UniformBlock for DrawCommandIndices

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

fn build_layout(base_offset: usize) -> BlockLayout

Derived Implementations

impl Clone for DrawCommandIndices

fn clone(&self) -> DrawCommandIndices

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

impl Copy for DrawCommandIndices

impl Debug for DrawCommandIndices

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