[−][src]Struct qt_gui::q_opengl_texture::Target
This enum defines the texture target of a QOpenGLTexture object.
C++ enum: QOpenGLTexture::Target
.
This enum defines the texture target of a QOpenGLTexture object.
Methods
impl Target
[src]
impl Target
[src]
pub const Target1D: Target
[src]
A 1-dimensional texture. Equivalent to GL_TEXTURE_1D. (C++ enum variant: Target1D = 3552
)
pub const Target1DArray: Target
[src]
An array of 1-dimensional textures. Equivalent to GL_TEXTURE_1D_ARRAY (C++ enum variant: Target1DArray = 35864
)
pub const Target2D: Target
[src]
A 2-dimensional texture. Equivalent to GL_TEXTURE_2D (C++ enum variant: Target2D = 3553
)
pub const Target2DArray: Target
[src]
An array of 1-dimensional textures. Equivalent to GL_TEXTURE_2D_ARRAY (C++ enum variant: Target2DArray = 35866
)
pub const Target3D: Target
[src]
A 3-dimensional texture. Equivalent to GL_TEXTURE_3D (C++ enum variant: Target3D = 32879
)
pub const TargetCubeMap: Target
[src]
A cubemap texture. Equivalent to GL_TEXTURE_CUBE_MAP (C++ enum variant: TargetCubeMap = 34067
)
pub const TargetCubeMapArray: Target
[src]
An array of cubemap textures. Equivalent to GL_TEXTURE_CUBE_MAP_ARRAY (C++ enum variant: TargetCubeMapArray = 36873
)
pub const Target2DMultisample: Target
[src]
A 2-dimensional texture with multisample support. Equivalent to GL_TEXTURE_2D_MULTISAMPLE (C++ enum variant: Target2DMultisample = 37120
)
pub const Target2DMultisampleArray: Target
[src]
An array of 2-dimensional textures with multisample support. Equivalent to GL_TEXTURE_2D_MULTISAMPLE_ARRAY (C++ enum variant: Target2DMultisampleArray = 37122
)
pub const TargetRectangle: Target
[src]
A rectangular 2-dimensional texture. Equivalent to GL_TEXTURE_RECTANGLE (C++ enum variant: TargetRectangle = 34037
)
pub const TargetBuffer: Target
[src]
A texture with data from an OpenGL buffer object. Equivalent to GL_TEXTURE_BUFFER (C++ enum variant: TargetBuffer = 35882
)
Trait Implementations
impl Clone for Target
[src]
impl Copy for Target
[src]
impl Debug for Target
[src]
impl Eq for Target
[src]
impl From<Target> for c_int
[src]
impl From<i32> for Target
[src]
impl PartialEq<Target> for Target
[src]
impl StructuralEq for Target
[src]
impl StructuralPartialEq for Target
[src]
Auto Trait Implementations
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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>,