[−][src]Struct qt_gui::q_opengl_functions::OpenGLFeature
This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation.
C++ enum: QOpenGLFunctions::OpenGLFeature
.
This enum defines OpenGL and OpenGL ES features whose presence may depend on the implementation.
The OpenGLFeatures type is a typedef for QFlags<OpenGLFeature>. It stores an OR combination of OpenGLFeature values.
Methods
impl OpenGLFeature
[src]
impl OpenGLFeature
[src]
pub const Multitexture: OpenGLFeature
[src]
glActiveTexture() function is available. (C++ enum variant: Multitexture = 1
)
pub const Shaders: OpenGLFeature
[src]
Shader functions are available. (C++ enum variant: Shaders = 2
)
pub const Buffers: OpenGLFeature
[src]
Vertex and index buffer functions are available. (C++ enum variant: Buffers = 4
)
pub const Framebuffers: OpenGLFeature
[src]
Framebuffer object functions are available. (C++ enum variant: Framebuffers = 8
)
pub const BlendColor: OpenGLFeature
[src]
glBlendColor() is available. (C++ enum variant: BlendColor = 16
)
pub const BlendEquation: OpenGLFeature
[src]
glBlendEquation() is available. (C++ enum variant: BlendEquation = 32
)
pub const BlendEquationSeparate: OpenGLFeature
[src]
glBlendEquationSeparate() is available. (C++ enum variant: BlendEquationSeparate = 64
)
pub const BlendFuncSeparate: OpenGLFeature
[src]
glBlendFuncSeparate() is available. (C++ enum variant: BlendFuncSeparate = 128
)
pub const BlendSubtract: OpenGLFeature
[src]
Blend subtract mode is available. (C++ enum variant: BlendSubtract = 256
)
pub const CompressedTextures: OpenGLFeature
[src]
Compressed texture functions are available. (C++ enum variant: CompressedTextures = 512
)
pub const Multisample: OpenGLFeature
[src]
glSampleCoverage() function is available. (C++ enum variant: Multisample = 1024
)
pub const StencilSeparate: OpenGLFeature
[src]
Separate stencil functions are available. (C++ enum variant: StencilSeparate = 2048
)
pub const NPOTTextures: OpenGLFeature
[src]
Non power of two textures are available. (C++ enum variant: NPOTTextures = 4096
)
pub const NPOTTextureRepeat: OpenGLFeature
[src]
Non power of two textures can use GL_REPEAT as wrap parameter. (C++ enum variant: NPOTTextureRepeat = 8192
)
pub const FixedFunctionPipeline: OpenGLFeature
[src]
The fixed function pipeline is available. (C++ enum variant: FixedFunctionPipeline = 16384
)
pub const TextureRGFormats: OpenGLFeature
[src]
The GL_RED and GL_RG texture formats are available. (C++ enum variant: TextureRGFormats = 32768
)
pub const MultipleRenderTargets: OpenGLFeature
[src]
Multiple color attachments to framebuffer objects are available. (C++ enum variant: MultipleRenderTargets = 65536
)
pub const BlendEquationAdvanced: OpenGLFeature
[src]
Advanced blend equations are available. (C++ enum variant: BlendEquationAdvanced = 131072
)
Trait Implementations
impl<T: Into<QFlags<OpenGLFeature>>> BitOr<T> for OpenGLFeature
[src]
type Output = QFlags<OpenGLFeature>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<OpenGLFeature>
[src]
impl Clone for OpenGLFeature
[src]
fn clone(&self) -> OpenGLFeature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for OpenGLFeature
[src]
impl Debug for OpenGLFeature
[src]
impl Eq for OpenGLFeature
[src]
impl From<OpenGLFeature> for c_int
[src]
fn from(value: OpenGLFeature) -> Self
[src]
impl From<OpenGLFeature> for QFlags<OpenGLFeature>
[src]
fn from(value: OpenGLFeature) -> Self
[src]
impl From<i32> for OpenGLFeature
[src]
impl PartialEq<OpenGLFeature> for OpenGLFeature
[src]
fn eq(&self, other: &OpenGLFeature) -> bool
[src]
fn ne(&self, other: &OpenGLFeature) -> bool
[src]
impl StructuralEq for OpenGLFeature
[src]
impl StructuralPartialEq for OpenGLFeature
[src]
Auto Trait Implementations
impl RefUnwindSafe for OpenGLFeature
impl Send for OpenGLFeature
impl Sync for OpenGLFeature
impl Unpin for OpenGLFeature
impl UnwindSafe for OpenGLFeature
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>,