#[repr(C)]pub enum Texture2D_Format {
NONE = 0,
DEPTH_COMPONENT = 6_402,
RGB = 6_407,
RGBA = 6_408,
}
Expand description
An Image Format describes the way that the images in Textures store their data.
Variants§
NONE = 0
DEPTH_COMPONENT = 6_402
Depth
RGB = 6_407
Red, Green, Blue
RGBA = 6_408
Red, Green, Blue, Alpha
Trait Implementations§
Source§impl Clone for Texture2D_Format
impl Clone for Texture2D_Format
Source§fn clone(&self) -> Texture2D_Format
fn clone(&self) -> Texture2D_Format
Returns a duplicate 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 Texture2D_Format
impl Debug for Texture2D_Format
Source§impl From<Texture2D_Format> for i32
impl From<Texture2D_Format> for i32
Source§fn from(v: Texture2D_Format) -> Self
fn from(v: Texture2D_Format) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Texture2D_Format
impl PartialEq for Texture2D_Format
Source§impl TryFrom<i32> for Texture2D_Format
impl TryFrom<i32> for Texture2D_Format
impl Copy for Texture2D_Format
impl Eq for Texture2D_Format
impl StructuralPartialEq for Texture2D_Format
Auto Trait Implementations§
impl Freeze for Texture2D_Format
impl RefUnwindSafe for Texture2D_Format
impl Send for Texture2D_Format
impl Sync for Texture2D_Format
impl Unpin for Texture2D_Format
impl UnwindSafe for Texture2D_Format
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