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

#[repr(C)]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: c_uint

Number of indices to use in the index buffer.

instance_count: c_uint

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

first_index: c_uint

First index to draw in the index buffer.

base_vertex: c_uint

Value to add to each index.

base_instance: c_uint

Numero of the first instance to draw.

Trait Implementations

impl Clone for DrawCommandIndices[src]

impl Copy for DrawCommandIndices[src]

impl Debug for DrawCommandIndices[src]

impl UniformBlock for DrawCommandIndices[src]

Auto Trait Implementations

impl RefUnwindSafe for DrawCommandIndices

impl Send for DrawCommandIndices

impl Sync for DrawCommandIndices

impl Unpin for DrawCommandIndices

impl UnwindSafe for DrawCommandIndices

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.