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

Derived Implementations

impl Debug for TextureCreationError

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

impl Clone for TextureCreationError

fn clone(&self) -> TextureCreationError

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

impl Copy for TextureCreationError