[][src]Trait glium::index::Index

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

fn get_type() -> IndexType

Returns the IndexType corresponding to this type.

Loading content...

Provided methods

fn is_supported<C: ?Sized>(caps: &C) -> bool where
    C: CapabilitiesSource

Returns true if this type of index is supported by the backend.

Loading content...

Implementations on Foreign Types

impl Index for u8[src]

impl Index for u16[src]

impl Index for u32[src]

Loading content...

Implementors

Loading content...