Trait glitter::texture::ImageTargetType
[−]
[src]
pub trait ImageTargetType { fn gl_enum(&self) -> GLenum; }
A trait implemented for types that are used to represent all of the
possible 2D images that make up a specific implementation of
TextureType
. For more details, read the
TextureType
documentation.
Required Methods
fn gl_enum(&self) -> GLenum
Get the raw OpenGL enum value for an image target.
Implementors
impl ImageTargetType for Tx2dImageTarget
impl ImageTargetType for TxCubeMapImageTarget
impl ImageTargetType for VariantTexture2d