Enum glium::texture::buffer_texture::TextureCreationError [] [src]

pub enum TextureCreationError {
    NotSupported,
    FormatNotSupported,
    TooLarge,
}

Error that can happen while building the texture part of a buffer texture.

Variants

NotSupported

Buffer textures are not supported at all.

FormatNotSupported

The requested format is not supported in combination with the given texture buffer type.

TooLarge

The size of the buffer that you are trying to bind exceeds GL_MAX_TEXTURE_BUFFER_SIZE.

Trait Implementations

impl Debug for TextureCreationError
[src]

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

Formats the value using the given formatter.

impl Clone for TextureCreationError
[src]

fn clone(&self) -> TextureCreationError

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

impl Copy for TextureCreationError
[src]

impl Display for TextureCreationError
[src]

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

Formats the value using the given formatter.

impl Error for TextureCreationError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any.