Enum rust_raylib::ffi::CubemapLayout
source · #[repr(C)]pub enum CubemapLayout {
AutoDetect = 0,
LineVertical = 1,
LineHorizontal = 2,
CrossThreeByFour = 3,
CrossFourByThree = 4,
Panorama = 5,
}
Expand description
Cubemap layouts
Variants§
AutoDetect = 0
Automatically detect layout type
LineVertical = 1
Layout is defined by a vertical line with faces
LineHorizontal = 2
Layout is defined by a horizontal line with faces
CrossThreeByFour = 3
Layout is defined by a 3x4 cross with cubemap faces
CrossFourByThree = 4
Layout is defined by a 4x3 cross with cubemap faces
Panorama = 5
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 for CubemapLayout
impl PartialEq 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 ==
.impl Copy for CubemapLayout
impl Eq for CubemapLayout
impl StructuralPartialEq for CubemapLayout
Auto Trait Implementations§
impl Freeze for CubemapLayout
impl RefUnwindSafe for CubemapLayout
impl Send for CubemapLayout
impl Sync for CubemapLayout
impl Unpin for CubemapLayout
impl UnwindSafe for CubemapLayout
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more