Struct qt_gui::q_opengl_texture::PixelType
source · pub struct PixelType(/* private fields */);
Expand description
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
Implementations§
source§impl PixelType
impl PixelType
sourcepub const NoPixelType: PixelType = _
pub const NoPixelType: PixelType = _
Equivalent to GL_NONE (C++ enum variant: NoPixelType = 0
)
sourcepub const UInt16: PixelType = _
pub const UInt16: PixelType = _
Equivalent to GL_UNSIGNED_SHORT (C++ enum variant: UInt16 = 5123
)
sourcepub const UInt32: PixelType = _
pub const UInt32: PixelType = _
Equivalent to GL_UNSIGNED_INT (C++ enum variant: UInt32 = 5125
)
sourcepub const Float16: PixelType = _
pub const Float16: PixelType = _
Equivalent to GL_HALF_FLOAT (C++ enum variant: Float16 = 5131
)
sourcepub const Float16OES: PixelType = _
pub const Float16OES: PixelType = _
Equivalent to GL_HALF_FLOAT_OES (C++ enum variant: Float16OES = 36193
)
sourcepub const UInt32RGB9E5: PixelType = _
pub const UInt32RGB9E5: PixelType = _
Equivalent to GL_UNSIGNED_INT_5_9_9_9_REV (C++ enum variant: UInt32_RGB9_E5 = 35902
)
sourcepub const UInt32RG11B10F: PixelType = _
pub const UInt32RG11B10F: PixelType = _
Equivalent to GL_UNSIGNED_INT_10F_11F_11F_REV (C++ enum variant: UInt32_RG11B10F = 35899
)
sourcepub const UInt8RG3B2: PixelType = _
pub const UInt8RG3B2: PixelType = _
Equivalent to GL_UNSIGNED_BYTE_3_3_2 (C++ enum variant: UInt8_RG3B2 = 32818
)
sourcepub const UInt8RG3B2Rev: PixelType = _
pub const UInt8RG3B2Rev: PixelType = _
Equivalent to GL_UNSIGNED_BYTE_2_3_3_REV (C++ enum variant: UInt8_RG3B2_Rev = 33634
)
sourcepub const UInt16RGB5A1: PixelType = _
pub const UInt16RGB5A1: PixelType = _
Equivalent to GL_UNSIGNED_SHORT_5_5_5_1 (C++ enum variant: UInt16_RGB5A1 = 32820
)
sourcepub const UInt16RGB5A1Rev: PixelType = _
pub const UInt16RGB5A1Rev: PixelType = _
Equivalent to GL_UNSIGNED_SHORT_1_5_5_5_REV (C++ enum variant: UInt16_RGB5A1_Rev = 33638
)
sourcepub const UInt16R5G6B5: PixelType = _
pub const UInt16R5G6B5: PixelType = _
Equivalent to GL_UNSIGNED_SHORT_5_6_5 (C++ enum variant: UInt16_R5G6B5 = 33635
)
sourcepub const UInt16R5G6B5Rev: PixelType = _
pub const UInt16R5G6B5Rev: PixelType = _
Equivalent to GL_UNSIGNED_SHORT_5_6_5_REV (C++ enum variant: UInt16_R5G6B5_Rev = 33636
)
sourcepub const UInt16RGBA4: PixelType = _
pub const UInt16RGBA4: PixelType = _
Equivalent to GL_UNSIGNED_SHORT_4_4_4_4 (C++ enum variant: UInt16_RGBA4 = 32819
)
sourcepub const UInt16RGBA4Rev: PixelType = _
pub const UInt16RGBA4Rev: PixelType = _
Equivalent to GL_UNSIGNED_SHORT_4_4_4_4_REV (C++ enum variant: UInt16_RGBA4_Rev = 33637
)
sourcepub const UInt32RGBA8: PixelType = _
pub const UInt32RGBA8: PixelType = _
Equivalent to GL_UNSIGNED_INT_8_8_8_8 (C++ enum variant: UInt32_RGBA8 = 32821
)
sourcepub const UInt32RGBA8Rev: PixelType = _
pub const UInt32RGBA8Rev: PixelType = _
Equivalent to GL_UNSIGNED_INT_8_8_8_8_REV (C++ enum variant: UInt32_RGBA8_Rev = 33639
)
sourcepub const UInt32RGB10A2: PixelType = _
pub const UInt32RGB10A2: PixelType = _
Equivalent to GL_UNSIGNED_INT_10_10_10_2 (C++ enum variant: UInt32_RGB10A2 = 32822
)
sourcepub const UInt32RGB10A2Rev: PixelType = _
pub const UInt32RGB10A2Rev: PixelType = _
Equivalent to GL_UNSIGNED_INT_2_10_10_10_REV (C++ enum variant: UInt32_RGB10A2_Rev = 33640
)
sourcepub const UInt32D24S8: PixelType = _
pub const UInt32D24S8: PixelType = _
Equivalent to GL_UNSIGNED_INT_24_8. Introduced in Qt 5.4 (C++ enum variant: UInt32_D24S8 = 34042
)
sourcepub const Float32D32UInt32S8X24: PixelType = _
pub const Float32D32UInt32S8X24: PixelType = _
Equivalent to GL_FLOAT_32_UNSIGNED_INT_24_8_REV. Introduced in Qt 5.4 (C++ enum variant: Float32_D32_UInt32_S8_X24 = 36269
)