Enum _D3DFORMAT

Source
#[repr(u32)]
pub enum _D3DFORMAT {
Show 66 variants D3DFMT_UNKNOWN = 0, D3DFMT_R8G8B8 = 20, D3DFMT_A8R8G8B8 = 21, D3DFMT_X8R8G8B8 = 22, D3DFMT_R5G6B5 = 23, D3DFMT_X1R5G5B5 = 24, D3DFMT_A1R5G5B5 = 25, D3DFMT_A4R4G4B4 = 26, D3DFMT_R3G3B2 = 27, D3DFMT_A8 = 28, D3DFMT_A8R3G3B2 = 29, D3DFMT_X4R4G4B4 = 30, D3DFMT_A2B10G10R10 = 31, D3DFMT_A8B8G8R8 = 32, D3DFMT_X8B8G8R8 = 33, D3DFMT_G16R16 = 34, D3DFMT_A2R10G10B10 = 35, D3DFMT_A16B16G16R16 = 36, D3DFMT_A8P8 = 40, D3DFMT_P8 = 41, D3DFMT_L8 = 50, D3DFMT_A8L8 = 51, D3DFMT_A4L4 = 52, D3DFMT_V8U8 = 60, D3DFMT_L6V5U5 = 61, D3DFMT_X8L8V8U8 = 62, D3DFMT_Q8W8V8U8 = 63, D3DFMT_V16U16 = 64, D3DFMT_A2W10V10U10 = 67, D3DFMT_UYVY = 1_498_831_189, D3DFMT_R8G8_B8G8 = 1_195_525_970, D3DFMT_YUY2 = 844_715_353, D3DFMT_G8R8_G8B8 = 1_111_970_375, D3DFMT_DXT1 = 827_611_204, D3DFMT_DXT2 = 844_388_420, D3DFMT_DXT3 = 861_165_636, D3DFMT_DXT4 = 877_942_852, D3DFMT_DXT5 = 894_720_068, D3DFMT_D16_LOCKABLE = 70, D3DFMT_D32 = 71, D3DFMT_D15S1 = 73, D3DFMT_D24S8 = 75, D3DFMT_D24X8 = 77, D3DFMT_D24X4S4 = 79, D3DFMT_D16 = 80, D3DFMT_D32F_LOCKABLE = 82, D3DFMT_D24FS8 = 83, D3DFMT_D32_LOCKABLE = 84, D3DFMT_S8_LOCKABLE = 85, D3DFMT_L16 = 81, D3DFMT_VERTEXDATA = 100, D3DFMT_INDEX16 = 101, D3DFMT_INDEX32 = 102, D3DFMT_Q16W16V16U16 = 110, D3DFMT_MULTI2_ARGB8 = 827_606_349, D3DFMT_R16F = 111, D3DFMT_G16R16F = 112, D3DFMT_A16B16G16R16F = 113, D3DFMT_R32F = 114, D3DFMT_G32R32F = 115, D3DFMT_A32B32G32R32F = 116, D3DFMT_CxV8U8 = 117, D3DFMT_A1 = 118, D3DFMT_A2B10G10R10_XR_BIAS = 119, D3DFMT_BINARYBUFFER = 199, D3DFMT_FORCE_DWORD = 2_147_483_647,
}

Variants§

§

D3DFMT_UNKNOWN = 0

§

D3DFMT_R8G8B8 = 20

§

D3DFMT_A8R8G8B8 = 21

§

D3DFMT_X8R8G8B8 = 22

§

D3DFMT_R5G6B5 = 23

§

D3DFMT_X1R5G5B5 = 24

§

D3DFMT_A1R5G5B5 = 25

§

D3DFMT_A4R4G4B4 = 26

§

D3DFMT_R3G3B2 = 27

§

D3DFMT_A8 = 28

§

D3DFMT_A8R3G3B2 = 29

§

D3DFMT_X4R4G4B4 = 30

§

D3DFMT_A2B10G10R10 = 31

§

D3DFMT_A8B8G8R8 = 32

§

D3DFMT_X8B8G8R8 = 33

§

D3DFMT_G16R16 = 34

§

D3DFMT_A2R10G10B10 = 35

§

D3DFMT_A16B16G16R16 = 36

§

D3DFMT_A8P8 = 40

§

D3DFMT_P8 = 41

§

D3DFMT_L8 = 50

§

D3DFMT_A8L8 = 51

§

D3DFMT_A4L4 = 52

§

D3DFMT_V8U8 = 60

§

D3DFMT_L6V5U5 = 61

§

D3DFMT_X8L8V8U8 = 62

§

D3DFMT_Q8W8V8U8 = 63

§

D3DFMT_V16U16 = 64

§

D3DFMT_A2W10V10U10 = 67

§

D3DFMT_UYVY = 1_498_831_189

§

D3DFMT_R8G8_B8G8 = 1_195_525_970

§

D3DFMT_YUY2 = 844_715_353

§

D3DFMT_G8R8_G8B8 = 1_111_970_375

§

D3DFMT_DXT1 = 827_611_204

§

D3DFMT_DXT2 = 844_388_420

§

D3DFMT_DXT3 = 861_165_636

§

D3DFMT_DXT4 = 877_942_852

§

D3DFMT_DXT5 = 894_720_068

§

D3DFMT_D16_LOCKABLE = 70

§

D3DFMT_D32 = 71

§

D3DFMT_D15S1 = 73

§

D3DFMT_D24S8 = 75

§

D3DFMT_D24X8 = 77

§

D3DFMT_D24X4S4 = 79

§

D3DFMT_D16 = 80

§

D3DFMT_D32F_LOCKABLE = 82

§

D3DFMT_D24FS8 = 83

§

D3DFMT_D32_LOCKABLE = 84

§

D3DFMT_S8_LOCKABLE = 85

§

D3DFMT_L16 = 81

§

D3DFMT_VERTEXDATA = 100

§

D3DFMT_INDEX16 = 101

§

D3DFMT_INDEX32 = 102

§

D3DFMT_Q16W16V16U16 = 110

§

D3DFMT_MULTI2_ARGB8 = 827_606_349

§

D3DFMT_R16F = 111

§

D3DFMT_G16R16F = 112

§

D3DFMT_A16B16G16R16F = 113

§

D3DFMT_R32F = 114

§

D3DFMT_G32R32F = 115

§

D3DFMT_A32B32G32R32F = 116

§

D3DFMT_CxV8U8 = 117

§

D3DFMT_A1 = 118

§

D3DFMT_A2B10G10R10_XR_BIAS = 119

§

D3DFMT_BINARYBUFFER = 199

§

D3DFMT_FORCE_DWORD = 2_147_483_647

Trait Implementations§

Source§

impl Clone for _D3DFORMAT

Source§

fn clone(&self) -> _D3DFORMAT

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for _D3DFORMAT

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _D3DFORMAT

Source§

fn eq(&self, other: &_D3DFORMAT) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _D3DFORMAT

Source§

impl StructuralPartialEq for _D3DFORMAT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.