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
count: u32
Number of indices to use in the index buffer.
instance_count: u32
Number of instances to draw. If it's 0
, nothing will be drawn.
first_index: u32
First index to draw in the index buffer.
base_vertex: u32
Value to add to each index.
base_instance: u32
Numero of the first instance to draw.
Trait Implementations
impl Clone for DrawCommandIndices
[src]
impl Clone for DrawCommandIndices
fn clone(&self) -> DrawCommandIndices
[src]
fn clone(&self) -> DrawCommandIndices
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DrawCommandIndices
[src]
impl Debug for DrawCommandIndices
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl UniformBlock for DrawCommandIndices
[src]
impl UniformBlock for DrawCommandIndices
fn matches(
layout: &BlockLayout,
base_offset: usize
) -> Result<(), LayoutMismatchError>
[src]
fn matches(
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]
fn build_layout(base_offset: usize) -> BlockLayout
Builds the BlockLayout
corresponding to the current object.
impl Copy for DrawCommandIndices
[src]
impl Copy for DrawCommandIndices
Auto Trait Implementations
impl Send for DrawCommandIndices
impl Send for DrawCommandIndices
impl Sync for DrawCommandIndices
impl Sync for DrawCommandIndices