[][src]Struct duku::Cubemap

pub struct Cubemap { /* fields omitted */ }

Texture representation of an environment.

Contains 6 square side textures of a cube that can be sampled by a direction in the shader.

Implementations

impl Cubemap[src]

pub const fn shader_index(&self) -> u32[src]

Get index to be used in shader for sampling

Auto Trait Implementations

impl RefUnwindSafe for Cubemap

impl Send for Cubemap

impl Sync for Cubemap

impl Unpin for Cubemap

impl UnwindSafe for Cubemap

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.