Enum glium::index::IndexType
[−]
[src]
pub enum IndexType { U8, U16, U32, }
Type of the indices in an index source.
Variants
U8 | u8 |
U16 | u16 |
U32 | u32 |
Methods
impl IndexType
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.