Trait glium::index::Index
[−]
[src]
pub unsafe trait Index: Copy + Send + 'static { fn get_type() -> IndexType; fn is_supported<C: ?Sized>(caps: &C) -> bool
where
C: CapabilitiesSource, { ... } }
An index from the index buffer.
Required Methods
Provided Methods
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
C: CapabilitiesSource,
Returns true if this type of index is supported by the backend.
Implementations on Foreign Types
impl Index for u8
[src]
fn get_type() -> IndexType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Index for u16
[src]
fn get_type() -> IndexType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Index for u32
[src]
fn get_type() -> IndexType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,