[][src]Struct qt_gui::q_opengl_texture::Target

#[repr(transparent)]
pub struct Target(_);

This enum defines the texture target of a QOpenGLTexture object.

C++ enum: QOpenGLTexture::Target.

C++ documentation:

This enum defines the texture target of a QOpenGLTexture object.

Methods

impl Target[src]

pub fn to_int(&self) -> c_int[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.