[−][src]Struct qt_gui::q_opengl_texture::Feature
This enum defines the OpenGL texture-related features that can be tested for.
C++ enum: QOpenGLTexture::Feature
.
This enum defines the OpenGL texture-related features that can be tested for.
The Features type is a typedef for QFlags<Feature>. It stores an OR combination of Feature values.
Methods
impl Feature
[src]
impl Feature
[src]
pub const ImmutableStorage: Feature
[src]
Support for immutable texture storage (C++ enum variant: ImmutableStorage = 1
)
pub const ImmutableMultisampleStorage: Feature
[src]
Support for immutable texture storage with multisample targets (C++ enum variant: ImmutableMultisampleStorage = 2
)
pub const TextureRectangle: Feature
[src]
Support for the GL_TEXTURE_RECTANGLE target (C++ enum variant: TextureRectangle = 4
)
pub const TextureArrays: Feature
[src]
Support for texture targets with array layers (C++ enum variant: TextureArrays = 8
)
pub const Texture3D: Feature
[src]
Support for the 3 dimensional texture target (C++ enum variant: Texture3D = 16
)
pub const TextureMultisample: Feature
[src]
Support for texture targets that have multisample capabilities (C++ enum variant: TextureMultisample = 32
)
pub const TextureBuffer: Feature
[src]
Support for textures that use OpenGL buffer objects as their data source (C++ enum variant: TextureBuffer = 64
)
pub const TextureCubeMapArrays: Feature
[src]
Support for cubemap array texture target (C++ enum variant: TextureCubeMapArrays = 128
)
pub const Swizzle: Feature
[src]
Support for texture component swizzle masks (C++ enum variant: Swizzle = 256
)
pub const StencilTexturing: Feature
[src]
Support for stencil texturing (i.e. looking up depth or stencil components of a combined depth/stencil format texture in GLSL shaders). (C++ enum variant: StencilTexturing = 512
)
pub const AnisotropicFiltering: Feature
[src]
Support for anisotropic texture filtering (C++ enum variant: AnisotropicFiltering = 1024
)
pub const NPOTTextures: Feature
[src]
Basic support for non-power-of-two textures (C++ enum variant: NPOTTextures = 2048
)
pub const NPOTTextureRepeat: Feature
[src]
Full support for non-power-of-two textures including texture repeat modes (C++ enum variant: NPOTTextureRepeat = 4096
)
pub const Texture1D: Feature
[src]
Support for the 1 dimensional texture target (C++ enum variant: Texture1D = 8192
)
pub const TextureComparisonOperators: Feature
[src]
Support for texture comparison operators (C++ enum variant: TextureComparisonOperators = 16384
)
pub const TextureMipMapLevel: Feature
[src]
Support for setting the base and maximum mipmap levels (C++ enum variant: TextureMipMapLevel = 32768
)
pub const MaxFeatureFlag: Feature
[src]
C++ enum variant: MaxFeatureFlag = 65536
Trait Implementations
impl<T: Into<QFlags<Feature>>> BitOr<T> for Feature
[src]
type Output = QFlags<Feature>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<Feature>
[src]
impl Clone for Feature
[src]
impl Copy for Feature
[src]
impl Debug for Feature
[src]
impl Eq for Feature
[src]
impl From<Feature> for c_int
[src]
impl From<Feature> for QFlags<Feature>
[src]
impl From<i32> for Feature
[src]
impl PartialEq<Feature> for Feature
[src]
impl StructuralEq for Feature
[src]
impl StructuralPartialEq for Feature
[src]
Auto Trait Implementations
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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>,