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 Copy for TextureCreationError
[src]
impl Clone for TextureCreationError
[src]
fn clone(&self) -> TextureCreationError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TextureCreationError
[src]
impl Display for TextureCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for TextureCreationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<TextureCreationError> for CreationError
[src]
fn from(err: TextureCreationError) -> CreationError
[src]
Performs the conversion.