[−][src]Enum glium::texture::CubeLayer
pub enum CubeLayer { PositiveX, NegativeX, PositiveY, NegativeY, PositiveZ, NegativeZ, }
Represents a layer of a cubemap.
Variants
Implementations
impl CubeLayer
[src][−]
pub fn get_layer_index(&self) -> usize
[src][−]
In some situations whole cubemaps can be bound at once. If this is the case, each layer of the cubemap has a specific index.
For example, if you bind a whole cubemap array, then the index 8
will correspond to the
PositiveY
face of the cubemap whose index is 1
in the array.
Trait Implementations
impl Clone for CubeLayer
[src][+]
impl Copy for CubeLayer
[src]
impl Debug for CubeLayer
[src][+]
impl Eq for CubeLayer
[src]
impl Hash for CubeLayer
[src][+]
impl PartialEq<CubeLayer> for CubeLayer
[src][+]
impl StructuralEq for CubeLayer
[src]
impl StructuralPartialEq for CubeLayer
[src]
Auto Trait Implementations
impl RefUnwindSafe for CubeLayer
impl Send for CubeLayer
impl Sync for CubeLayer
impl Unpin for CubeLayer
impl UnwindSafe for CubeLayer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Content for T where
T: Copy,
[src][+]
T: Copy,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,