Struct glium::index::DrawCommandNoIndices
[−]
[src]
#[repr(C)]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: c_uint
Number of vertices to draw.
instance_count: c_uint
Number of instances to draw. If it's 0
, nothing will be drawn.
first_index: c_uint
First vertex to draw in the vertices source.
base_instance: c_uint
Numero of the first instance to draw.
Trait Implementations
impl Debug for DrawCommandNoIndices
[src]
impl Copy for DrawCommandNoIndices
[src]
impl Clone for DrawCommandNoIndices
[src]
fn clone(&self) -> DrawCommandNoIndices
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl UniformBlock for DrawCommandNoIndices
[src]
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
Checks whether the uniforms' layout matches the given block if Self
starts at the given offset. Read more
fn build_layout(base_offset: usize) -> BlockLayout
[src]
Builds the BlockLayout
corresponding to the current object.