Enum glium::index::BufferCreationError [] [src]

pub enum BufferCreationError {
    IndexTypeNotSupported,
    PrimitiveTypeNotSupported,
    BufferCreationError(BufferCreationError),
}

Error that can happen while creating an index buffer.

Variants

IndexTypeNotSupported

The type of index is not supported by the backend.

PrimitiveTypeNotSupported

The type of primitives is not supported by the backend.

BufferCreationError

An error happened while creating the buffer.

Trait Implementations

impl From<BufferCreationError> for CreationError

fn from(err: BufferCreationError) -> CreationError

Derived Implementations

impl Clone for CreationError

fn clone(&self) -> CreationError

fn clone_from(&mut self, source: &Self)

impl Copy for CreationError

impl Debug for CreationError

fn fmt(&self, __arg_0: &mut Formatter) -> Result