[−][src]Struct qt_gui::q_opengl_texture::PixelFormat
This enum defines the possible client-side pixel formats for a pixel transfer operation.
C++ enum: QOpenGLTexture::PixelFormat
.
This enum defines the possible client-side pixel formats for a pixel transfer operation.
Methods
impl PixelFormat
[src]
impl PixelFormat
[src]
pub const NoSourceFormat: PixelFormat
[src]
Equivalent to GL_NONE (C++ enum variant: NoSourceFormat = 0
)
pub const Red: PixelFormat
[src]
Equivalent to GL_RED (C++ enum variant: Red = 6403
)
pub const RG: PixelFormat
[src]
Equivalent to GL_RG (C++ enum variant: RG = 33319
)
pub const RGB: PixelFormat
[src]
Equivalent to GL_RGB (C++ enum variant: RGB = 6407
)
pub const BGR: PixelFormat
[src]
Equivalent to GL_BGR (C++ enum variant: BGR = 32992
)
pub const RGBA: PixelFormat
[src]
Equivalent to GL_RGBA (C++ enum variant: RGBA = 6408
)
pub const BGRA: PixelFormat
[src]
Equivalent to GL_BGRA (C++ enum variant: BGRA = 32993
)
pub const RedInteger: PixelFormat
[src]
Equivalent to GL_RED_INTEGER (C++ enum variant: Red_Integer = 36244
)
pub const RGInteger: PixelFormat
[src]
Equivalent to GL_RG_INTEGER (C++ enum variant: RG_Integer = 33320
)
pub const RGBInteger: PixelFormat
[src]
Equivalent to GL_RGB_INTEGER (C++ enum variant: RGB_Integer = 36248
)
pub const BGRInteger: PixelFormat
[src]
Equivalent to GL_BGR_INTEGER (C++ enum variant: BGR_Integer = 36250
)
pub const RGBAInteger: PixelFormat
[src]
Equivalent to GL_RGBA_INTEGER (C++ enum variant: RGBA_Integer = 36249
)
pub const BGRAInteger: PixelFormat
[src]
Equivalent to GL_BGRA_INTEGER (C++ enum variant: BGRA_Integer = 36251
)
pub const Stencil: PixelFormat
[src]
Equivalent to GL_STENCIL_INDEX. Introduced in Qt 5.4 (C++ enum variant: Stencil = 6401
)
pub const Depth: PixelFormat
[src]
Equivalent to GL_DEPTH_COMPONENT (C++ enum variant: Depth = 6402
)
pub const DepthStencil: PixelFormat
[src]
Equivalent to GL_DEPTH_STENCIL (C++ enum variant: DepthStencil = 34041
)
pub const Alpha: PixelFormat
[src]
Equivalent to GL_ALPHA (OpenGL ES 2 only) (C++ enum variant: Alpha = 6406
)
pub const Luminance: PixelFormat
[src]
Equivalent to GL_LUMINANCE (OpenGL ES 2 only) (C++ enum variant: Luminance = 6409
)
pub const LuminanceAlpha: PixelFormat
[src]
Equivalent to GL_LUMINANCE_ALPHA (OpenGL ES 2 only) (C++ enum variant: LuminanceAlpha = 6410
)
Trait Implementations
impl Clone for PixelFormat
[src]
fn clone(&self) -> PixelFormat
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PixelFormat
[src]
impl Debug for PixelFormat
[src]
impl Eq for PixelFormat
[src]
impl From<PixelFormat> for c_int
[src]
fn from(value: PixelFormat) -> Self
[src]
impl From<i32> for PixelFormat
[src]
impl PartialEq<PixelFormat> for PixelFormat
[src]
fn eq(&self, other: &PixelFormat) -> bool
[src]
fn ne(&self, other: &PixelFormat) -> bool
[src]
impl StructuralEq for PixelFormat
[src]
impl StructuralPartialEq for PixelFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
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>,