Enum glitter::texture::TextureBindingTarget
[−]
[src]
pub enum TextureBindingTarget { Texture2d, TextureCubeMap, }
Represents all of the possible types of OpenGL textures.
Variants
Texture2d
A 2-dimensional texture, which can be thought of as a 2D grid of colors.
TextureCubeMap
A cubemap texture, which is a texture made up of six 2-dimensional images, each of which represent a face of a cube. This type of texture is especially useful for skyboxes.
Methods
impl TextureBindingTarget
[src]
Trait Implementations
impl Debug for TextureBindingTarget
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TextureBindingTarget
[src]
fn clone(&self) -> TextureBindingTarget
[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 Copy for TextureBindingTarget
[src]
impl PartialEq for TextureBindingTarget
[src]
fn eq(&self, __arg_0: &TextureBindingTarget) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for TextureBindingTarget
[src]
impl From<VariantTexture2d> for TextureBindingTarget
[src]
fn from(_: VariantTexture2d) -> TextureBindingTarget
[src]
Performs the conversion.