[−][src]Struct qt_gui::q_opengl_texture::PixelType
This enum defines the possible pixel data types for a pixel transfer operation
C++ enum: QOpenGLTexture::PixelType
.
This enum defines the possible pixel data types for a pixel transfer operation
Methods
impl PixelType
[src]
impl PixelType
[src]
pub const NoPixelType: PixelType
[src]
Equivalent to GL_NONE (C++ enum variant: NoPixelType = 0
)
pub const Int8: PixelType
[src]
Equivalent to GL_BYTE (C++ enum variant: Int8 = 5120
)
pub const UInt8: PixelType
[src]
Equivalent to GL_UNSIGNED_BYTE (C++ enum variant: UInt8 = 5121
)
pub const Int16: PixelType
[src]
Equivalent to GL_SHORT (C++ enum variant: Int16 = 5122
)
pub const UInt16: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT (C++ enum variant: UInt16 = 5123
)
pub const Int32: PixelType
[src]
Equivalent to GL_INT (C++ enum variant: Int32 = 5124
)
pub const UInt32: PixelType
[src]
Equivalent to GL_UNSIGNED_INT (C++ enum variant: UInt32 = 5125
)
pub const Float16: PixelType
[src]
Equivalent to GL_HALF_FLOAT (C++ enum variant: Float16 = 5131
)
pub const Float16OES: PixelType
[src]
Equivalent to GL_HALF_FLOAT_OES (C++ enum variant: Float16OES = 36193
)
pub const Float32: PixelType
[src]
Equivalent to GL_FLOAT (C++ enum variant: Float32 = 5126
)
pub const UInt32RGB9E5: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_5_9_9_9_REV (C++ enum variant: UInt32_RGB9_E5 = 35902
)
pub const UInt32RG11B10F: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_10F_11F_11F_REV (C++ enum variant: UInt32_RG11B10F = 35899
)
pub const UInt8RG3B2: PixelType
[src]
Equivalent to GL_UNSIGNED_BYTE_3_3_2 (C++ enum variant: UInt8_RG3B2 = 32818
)
pub const UInt8RG3B2Rev: PixelType
[src]
Equivalent to GL_UNSIGNED_BYTE_2_3_3_REV (C++ enum variant: UInt8_RG3B2_Rev = 33634
)
pub const UInt16RGB5A1: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT_5_5_5_1 (C++ enum variant: UInt16_RGB5A1 = 32820
)
pub const UInt16RGB5A1Rev: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT_1_5_5_5_REV (C++ enum variant: UInt16_RGB5A1_Rev = 33638
)
pub const UInt16R5G6B5: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT_5_6_5 (C++ enum variant: UInt16_R5G6B5 = 33635
)
pub const UInt16R5G6B5Rev: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT_5_6_5_REV (C++ enum variant: UInt16_R5G6B5_Rev = 33636
)
pub const UInt16RGBA4: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT_4_4_4_4 (C++ enum variant: UInt16_RGBA4 = 32819
)
pub const UInt16RGBA4Rev: PixelType
[src]
Equivalent to GL_UNSIGNED_SHORT_4_4_4_4_REV (C++ enum variant: UInt16_RGBA4_Rev = 33637
)
pub const UInt32RGBA8: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_8_8_8_8 (C++ enum variant: UInt32_RGBA8 = 32821
)
pub const UInt32RGBA8Rev: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_8_8_8_8_REV (C++ enum variant: UInt32_RGBA8_Rev = 33639
)
pub const UInt32RGB10A2: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_10_10_10_2 (C++ enum variant: UInt32_RGB10A2 = 32822
)
pub const UInt32RGB10A2Rev: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_2_10_10_10_REV (C++ enum variant: UInt32_RGB10A2_Rev = 33640
)
pub const UInt32D24S8: PixelType
[src]
Equivalent to GL_UNSIGNED_INT_24_8. Introduced in Qt 5.4 (C++ enum variant: UInt32_D24S8 = 34042
)
pub const Float32D32UInt32S8X24: PixelType
[src]
Equivalent to GL_FLOAT_32_UNSIGNED_INT_24_8_REV. Introduced in Qt 5.4 (C++ enum variant: Float32_D32_UInt32_S8_X24 = 36269
)
Trait Implementations
impl Clone for PixelType
[src]
impl Copy for PixelType
[src]
impl Debug for PixelType
[src]
impl Eq for PixelType
[src]
impl From<PixelType> for c_int
[src]
impl From<i32> for PixelType
[src]
impl PartialEq<PixelType> for PixelType
[src]
impl StructuralEq for PixelType
[src]
impl StructuralPartialEq for PixelType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PixelType
impl Send for PixelType
impl Sync for PixelType
impl Unpin for PixelType
impl UnwindSafe for PixelType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,