[−][src]Struct qt_gui::q_opengl_shader::ShaderTypeBit
This enum specifies the type of QOpenGLShader that is being created.
C++ enum: QOpenGLShader::ShaderTypeBit
.
This enum specifies the type of QOpenGLShader that is being created.
The ShaderType type is a typedef for QFlags<ShaderTypeBit>. It stores an OR combination of ShaderTypeBit values.
Methods
impl ShaderTypeBit
[src]
impl ShaderTypeBit
[src]
pub const Vertex: ShaderTypeBit
[src]
Vertex shader written in the OpenGL Shading Language (GLSL). (C++ enum variant: Vertex = 1
)
pub const Fragment: ShaderTypeBit
[src]
Fragment shader written in the OpenGL Shading Language (GLSL). (C++ enum variant: Fragment = 2
)
pub const Geometry: ShaderTypeBit
[src]
Geometry shaders written in the OpenGL Shading Language (GLSL) based on the OpenGL core feature (requires OpenGL >= 3.2). (C++ enum variant: Geometry = 4
)
pub const TessellationControl: ShaderTypeBit
[src]
Tessellation control shaders written in the OpenGL shading language (GLSL), based on the core feature (requires OpenGL >= 4.0). (C++ enum variant: TessellationControl = 8
)
pub const TessellationEvaluation: ShaderTypeBit
[src]
Tessellation evaluation shaders written in the OpenGL shading language (GLSL), based on the core feature (requires OpenGL >= 4.0). (C++ enum variant: TessellationEvaluation = 16
)
pub const Compute: ShaderTypeBit
[src]
Compute shaders written in the OpenGL shading language (GLSL), based on the core feature (requires OpenGL >= 4.3). (C++ enum variant: Compute = 32
)
Trait Implementations
impl<T: Into<QFlags<ShaderTypeBit>>> BitOr<T> for ShaderTypeBit
[src]
type Output = QFlags<ShaderTypeBit>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<ShaderTypeBit>
[src]
impl Clone for ShaderTypeBit
[src]
fn clone(&self) -> ShaderTypeBit
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ShaderTypeBit
[src]
impl Debug for ShaderTypeBit
[src]
impl Eq for ShaderTypeBit
[src]
impl From<ShaderTypeBit> for c_int
[src]
fn from(value: ShaderTypeBit) -> Self
[src]
impl From<ShaderTypeBit> for QFlags<ShaderTypeBit>
[src]
fn from(value: ShaderTypeBit) -> Self
[src]
impl From<i32> for ShaderTypeBit
[src]
impl PartialEq<ShaderTypeBit> for ShaderTypeBit
[src]
fn eq(&self, other: &ShaderTypeBit) -> bool
[src]
fn ne(&self, other: &ShaderTypeBit) -> bool
[src]
impl StructuralEq for ShaderTypeBit
[src]
impl StructuralPartialEq for ShaderTypeBit
[src]
Auto Trait Implementations
impl RefUnwindSafe for ShaderTypeBit
impl Send for ShaderTypeBit
impl Sync for ShaderTypeBit
impl Unpin for ShaderTypeBit
impl UnwindSafe for ShaderTypeBit
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>,