Enum raylib_ffi::enums::CubemapLayout
source · #[repr(C)]
pub enum CubemapLayout {
CUBEMAPLAYOUTAUTODETECT,
CUBEMAPLAYOUTLINEVERTICAL,
CUBEMAPLAYOUTLINEHORIZONTAL,
CUBEMAPLAYOUTCROSSTHREEBYFOUR,
CUBEMAPLAYOUTCROSSFOURBYTHREE,
CUBEMAPLAYOUTPANORAMA,
}Expand description
Cubemap layouts
Variants§
CUBEMAPLAYOUTAUTODETECT
Automatically detect layout type
CUBEMAPLAYOUTLINEVERTICAL
Layout is defined by a vertical line with faces
CUBEMAPLAYOUTLINEHORIZONTAL
Layout is defined by a horizontal line with faces
CUBEMAPLAYOUTCROSSTHREEBYFOUR
Layout is defined by a 3x4 cross with cubemap faces
CUBEMAPLAYOUTCROSSFOURBYTHREE
Layout is defined by a 4x3 cross with cubemap faces
CUBEMAPLAYOUTPANORAMA
Layout is defined by a panorama image (equirrectangular map)
Trait Implementations§
source§impl Clone for CubemapLayout
impl Clone for CubemapLayout
source§fn clone(&self) -> CubemapLayout
fn clone(&self) -> CubemapLayout
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CubemapLayout
impl Debug for CubemapLayout
source§impl Hash for CubemapLayout
impl Hash for CubemapLayout
source§impl PartialEq<CubemapLayout> for CubemapLayout
impl PartialEq<CubemapLayout> for CubemapLayout
source§fn eq(&self, other: &CubemapLayout) -> bool
fn eq(&self, other: &CubemapLayout) -> bool
This method tests for
self and other values to be equal, and is used
by ==.