Struct luminance::texture::Cubemap [] [src]

pub struct Cubemap;

Trait Implementations

impl Debug for Cubemap
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Cubemap
[src]

impl Clone for Cubemap
[src]

fn clone(&self) -> Cubemap

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Dimensionable for Cubemap
[src]

type Size = u32

type Offset = (u32, u32, CubeFace)

fn dim() -> Dim

Dimension.

fn width(s: Self::Size) -> u32

Width of the associated Size.

fn height(s: Self::Size) -> u32

Height of the associated Size. If it doesn’t have one, set it to 1.

fn depth(_: Self::Size) -> u32

Depth of the associated Size. If it doesn’t have one, set it to 1.

fn x_offset(off: Self::Offset) -> u32

X offset.

fn y_offset(off: Self::Offset) -> u32

Y offset. If it doesn’t have one, set it to 0.

fn z_offset(off: Self::Offset) -> u32

Z offset. If it doesn’t have one, set it to 0.

fn zero_offset() -> Self::Offset

Zero offset.