Struct nannou::ui::backend::glium::glium::index::DrawCommandIndices[][src]

#[repr(C)]
pub struct DrawCommandIndices { pub count: u32, pub instance_count: u32, pub first_index: u32, pub base_vertex: u32, pub base_instance: u32, }

Represents an element in a list of draw commands.

Fields

Number of indices to use in the index buffer.

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

First index to draw in the index buffer.

Value to add to each index.

Numero of the first instance to draw.

Trait Implementations

impl Clone for DrawCommandIndices
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DrawCommandIndices
[src]

Formats the value using the given formatter. Read more

impl UniformBlock for DrawCommandIndices
[src]

Checks whether the uniforms' layout matches the given block if Self starts at the given offset. Read more

Builds the BlockLayout corresponding to the current object.

impl Copy for DrawCommandIndices
[src]

Auto Trait Implementations