Enum glium::index::IndexType  
                   
                       [−]
                   
               [src]
pub enum IndexType {
    U8,
    U16,
    U32,
}Type of the indices in an index source.
Variants
U8u8
U16u16
U32u32
Methods
impl IndexType[src]
fn get_size(&self) -> usize
Returns the size in bytes of each index of this type.
fn is_supported<C>(&self, caps: &C) -> bool where C: CapabilitiesSource
Returns true if the backend supports this type of index.
Trait Implementations
impl Eq for IndexType[src]
impl PartialEq for IndexType[src]
fn eq(&self, __arg_0: &IndexType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for IndexType[src]
impl Clone for IndexType[src]
fn clone(&self) -> IndexType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more