Struct TextureFormat

Source
pub struct TextureFormat(/* private fields */);
Expand description

C++ enum: Qt3DRender::QAbstractTexture::TextureFormat.

Implementations§

Source§

impl TextureFormat

Source

pub fn to_int(&self) -> c_int

Source§

impl TextureFormat

Source

pub const NoFormat: TextureFormat

C++ enum variant: NoFormat = 0

Source

pub const Automatic: TextureFormat

C++ enum variant: Automatic = 1

Source

pub const R8UNorm: TextureFormat

C++ enum variant: R8_UNorm = 33321

Source

pub const RG8UNorm: TextureFormat

C++ enum variant: RG8_UNorm = 33323

Source

pub const RGB8UNorm: TextureFormat

C++ enum variant: RGB8_UNorm = 32849

Source

pub const RGBA8UNorm: TextureFormat

C++ enum variant: RGBA8_UNorm = 32856

Source

pub const R16UNorm: TextureFormat

C++ enum variant: R16_UNorm = 33322

Source

pub const RG16UNorm: TextureFormat

C++ enum variant: RG16_UNorm = 33324

Source

pub const RGB16UNorm: TextureFormat

C++ enum variant: RGB16_UNorm = 32852

Source

pub const RGBA16UNorm: TextureFormat

C++ enum variant: RGBA16_UNorm = 32859

Source

pub const R8SNorm: TextureFormat

C++ enum variant: R8_SNorm = 36756

Source

pub const RG8SNorm: TextureFormat

C++ enum variant: RG8_SNorm = 36757

Source

pub const RGB8SNorm: TextureFormat

C++ enum variant: RGB8_SNorm = 36758

Source

pub const RGBA8SNorm: TextureFormat

C++ enum variant: RGBA8_SNorm = 36759

Source

pub const R16SNorm: TextureFormat

C++ enum variant: R16_SNorm = 36760

Source

pub const RG16SNorm: TextureFormat

C++ enum variant: RG16_SNorm = 36761

Source

pub const RGB16SNorm: TextureFormat

C++ enum variant: RGB16_SNorm = 36762

Source

pub const RGBA16SNorm: TextureFormat

C++ enum variant: RGBA16_SNorm = 36763

Source

pub const R8U: TextureFormat

C++ enum variant: R8U = 33330

Source

pub const RG8U: TextureFormat

C++ enum variant: RG8U = 33336

Source

pub const RGB8U: TextureFormat

C++ enum variant: RGB8U = 36221

Source

pub const RGBA8U: TextureFormat

C++ enum variant: RGBA8U = 36220

Source

pub const R16U: TextureFormat

C++ enum variant: R16U = 33332

Source

pub const RG16U: TextureFormat

C++ enum variant: RG16U = 33338

Source

pub const RGB16U: TextureFormat

C++ enum variant: RGB16U = 36215

Source

pub const RGBA16U: TextureFormat

C++ enum variant: RGBA16U = 36214

Source

pub const R32U: TextureFormat

C++ enum variant: R32U = 33334

Source

pub const RG32U: TextureFormat

C++ enum variant: RG32U = 33340

Source

pub const RGB32U: TextureFormat

C++ enum variant: RGB32U = 36209

Source

pub const RGBA32U: TextureFormat

C++ enum variant: RGBA32U = 36208

Source

pub const R8I: TextureFormat

C++ enum variant: R8I = 33329

Source

pub const RG8I: TextureFormat

C++ enum variant: RG8I = 33335

Source

pub const RGB8I: TextureFormat

C++ enum variant: RGB8I = 36239

Source

pub const RGBA8I: TextureFormat

C++ enum variant: RGBA8I = 36238

Source

pub const R16I: TextureFormat

C++ enum variant: R16I = 33331

Source

pub const RG16I: TextureFormat

C++ enum variant: RG16I = 33337

Source

pub const RGB16I: TextureFormat

C++ enum variant: RGB16I = 36233

Source

pub const RGBA16I: TextureFormat

C++ enum variant: RGBA16I = 36232

Source

pub const R32I: TextureFormat

C++ enum variant: R32I = 33333

Source

pub const RG32I: TextureFormat

C++ enum variant: RG32I = 33339

Source

pub const RGB32I: TextureFormat

C++ enum variant: RGB32I = 36227

Source

pub const RGBA32I: TextureFormat

C++ enum variant: RGBA32I = 36226

Source

pub const R16F: TextureFormat

C++ enum variant: R16F = 33325

Source

pub const RG16F: TextureFormat

C++ enum variant: RG16F = 33327

Source

pub const RGB16F: TextureFormat

C++ enum variant: RGB16F = 34843

Source

pub const RGBA16F: TextureFormat

C++ enum variant: RGBA16F = 34842

Source

pub const R32F: TextureFormat

C++ enum variant: R32F = 33326

Source

pub const RG32F: TextureFormat

C++ enum variant: RG32F = 33328

Source

pub const RGB32F: TextureFormat

C++ enum variant: RGB32F = 34837

Source

pub const RGBA32F: TextureFormat

C++ enum variant: RGBA32F = 34836

Source

pub const RGB9E5: TextureFormat

C++ enum variant: RGB9E5 = 35901

Source

pub const RG11B10F: TextureFormat

C++ enum variant: RG11B10F = 35898

Source

pub const RG3B2: TextureFormat

C++ enum variant: RG3B2 = 10768

Source

pub const R5G6B5: TextureFormat

C++ enum variant: R5G6B5 = 36194

Source

pub const RGB5A1: TextureFormat

C++ enum variant: RGB5A1 = 32855

Source

pub const RGBA4: TextureFormat

C++ enum variant: RGBA4 = 32854

Source

pub const RGB10A2: TextureFormat

C++ enum variant: RGB10A2 = 36975

Source

pub const D16: TextureFormat

C++ enum variant: D16 = 33189

Source

pub const D24: TextureFormat

C++ enum variant: D24 = 33190

Source

pub const D24S8: TextureFormat

C++ enum variant: D24S8 = 35056

Source

pub const D32: TextureFormat

C++ enum variant: D32 = 33191

Source

pub const D32F: TextureFormat

C++ enum variant: D32F = 36012

Source

pub const D32FS8X24: TextureFormat

C++ enum variant: D32FS8X24 = 36013

Source

pub const RGBDXT1: TextureFormat

C++ enum variant: RGB_DXT1 = 33776

Source

pub const RGBADXT1: TextureFormat

C++ enum variant: RGBA_DXT1 = 33777

Source

pub const RGBADXT3: TextureFormat

C++ enum variant: RGBA_DXT3 = 33778

Source

pub const RGBADXT5: TextureFormat

C++ enum variant: RGBA_DXT5 = 33779

Source

pub const RATI1NUNorm: TextureFormat

C++ enum variant: R_ATI1N_UNorm = 36283

Source

pub const RATI1NSNorm: TextureFormat

C++ enum variant: R_ATI1N_SNorm = 36284

Source

pub const RGATI2NUNorm: TextureFormat

C++ enum variant: RG_ATI2N_UNorm = 36285

Source

pub const RGATI2NSNorm: TextureFormat

C++ enum variant: RG_ATI2N_SNorm = 36286

Source

pub const RGBBPUNSIGNEDFLOAT: TextureFormat

C++ enum variant: RGB_BP_UNSIGNED_FLOAT = 36495

Source

pub const RGBBPSIGNEDFLOAT: TextureFormat

C++ enum variant: RGB_BP_SIGNED_FLOAT = 36494

Source

pub const RGBBPUNorm: TextureFormat

C++ enum variant: RGB_BP_UNorm = 36492

Source

pub const R11EACUNorm: TextureFormat

C++ enum variant: R11_EAC_UNorm = 37488

Source

pub const R11EACSNorm: TextureFormat

C++ enum variant: R11_EAC_SNorm = 37489

Source

pub const RG11EACUNorm: TextureFormat

C++ enum variant: RG11_EAC_UNorm = 37490

Source

pub const RG11EACSNorm: TextureFormat

C++ enum variant: RG11_EAC_SNorm = 37491

Source

pub const RGB8ETC2: TextureFormat

C++ enum variant: RGB8_ETC2 = 37492

Source

pub const SRGB8ETC2: TextureFormat

C++ enum variant: SRGB8_ETC2 = 37493

Source

pub const RGB8PunchThroughAlpha1ETC2: TextureFormat

C++ enum variant: RGB8_PunchThrough_Alpha1_ETC2 = 37494

Source

pub const SRGB8PunchThroughAlpha1ETC2: TextureFormat

C++ enum variant: SRGB8_PunchThrough_Alpha1_ETC2 = 37495

Source

pub const RGBA8ETC2EAC: TextureFormat

C++ enum variant: RGBA8_ETC2_EAC = 37496

Source

pub const SRGB8Alpha8ETC2EAC: TextureFormat

C++ enum variant: SRGB8_Alpha8_ETC2_EAC = 37497

Source

pub const RGB8ETC1: TextureFormat

C++ enum variant: RGB8_ETC1 = 36196

Source

pub const SRGB8: TextureFormat

C++ enum variant: SRGB8 = 35905

Source

pub const SRGB8Alpha8: TextureFormat

C++ enum variant: SRGB8_Alpha8 = 35907

Source

pub const SRGBDXT1: TextureFormat

C++ enum variant: SRGB_DXT1 = 35916

Source

pub const SRGBAlphaDXT1: TextureFormat

C++ enum variant: SRGB_Alpha_DXT1 = 35917

Source

pub const SRGBAlphaDXT3: TextureFormat

C++ enum variant: SRGB_Alpha_DXT3 = 35918

Source

pub const SRGBAlphaDXT5: TextureFormat

C++ enum variant: SRGB_Alpha_DXT5 = 35919

Source

pub const SRGBBPUNorm: TextureFormat

C++ enum variant: SRGB_BP_UNorm = 36493

Source

pub const DepthFormat: TextureFormat

C++ enum variant: DepthFormat = 6402

Source

pub const AlphaFormat: TextureFormat

C++ enum variant: AlphaFormat = 6406

Source

pub const RGBFormat: TextureFormat

C++ enum variant: RGBFormat = 6407

Source

pub const RGBAFormat: TextureFormat

C++ enum variant: RGBAFormat = 6408

Source

pub const LuminanceFormat: TextureFormat

C++ enum variant: LuminanceFormat = 6409

Source

pub const LuminanceAlphaFormat: TextureFormat

C++ enum variant: LuminanceAlphaFormat = 6410

Source

pub const RGB10A2_2: TextureFormat

C++ enum variant: RGB10A2 = 32857

Source

pub const RGB10A2U: TextureFormat

C++ enum variant: RGB10A2U = 36975

Trait Implementations§

Source§

impl Clone for TextureFormat

Source§

fn clone(&self) -> TextureFormat

Returns a copy 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 TextureFormat

Source§

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

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

impl From<TextureFormat> for c_int

Source§

fn from(value: TextureFormat) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for TextureFormat

Source§

fn from(value: c_int) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for TextureFormat

Source§

fn eq(&self, other: &TextureFormat) -> 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 TextureFormat

Source§

impl Eq for TextureFormat

Source§

impl StructuralPartialEq for TextureFormat

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, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

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

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
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.