Skip to main content

ShaderStageFlagBits

Struct ShaderStageFlagBits 

Source
#[repr(transparent)]
pub struct ShaderStageFlagBits(pub u32);
Expand description

Open integer representation of VkShaderStageFlagBits.

Khronos reference: VkShaderStageFlagBits

Tuple Fields§

§0: u32

Implementations§

Source§

impl ShaderStageFlagBits

Source

pub const VERTEX_BIT: Self

Native value VK_SHADER_STAGE_VERTEX_BIT.

Khronos reference: VK_SHADER_STAGE_VERTEX_BIT

Source

pub const TESSELLATION_CONTROL_BIT: Self

Native value VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT.

Khronos reference: VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT

Source

pub const TESSELLATION_EVALUATION_BIT: Self

Native value VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT.

Khronos reference: VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT

Source

pub const GEOMETRY_BIT: Self

Native value VK_SHADER_STAGE_GEOMETRY_BIT.

Khronos reference: VK_SHADER_STAGE_GEOMETRY_BIT

Source

pub const FRAGMENT_BIT: Self

Native value VK_SHADER_STAGE_FRAGMENT_BIT.

Khronos reference: VK_SHADER_STAGE_FRAGMENT_BIT

Source

pub const COMPUTE_BIT: Self

Native value VK_SHADER_STAGE_COMPUTE_BIT.

Khronos reference: VK_SHADER_STAGE_COMPUTE_BIT

Source

pub const ALL_GRAPHICS: Self

Native value VK_SHADER_STAGE_ALL_GRAPHICS.

Khronos reference: VK_SHADER_STAGE_ALL_GRAPHICS

Source

pub const ALL: Self

Native value VK_SHADER_STAGE_ALL.

Khronos reference: VK_SHADER_STAGE_ALL

Source

pub const RAYGEN_BIT_KHR: Self

Native value VK_SHADER_STAGE_RAYGEN_BIT_KHR.

Khronos reference: VK_SHADER_STAGE_RAYGEN_BIT_KHR

Source

pub const ANY_HIT_BIT_KHR: Self

Native value VK_SHADER_STAGE_ANY_HIT_BIT_KHR.

Khronos reference: VK_SHADER_STAGE_ANY_HIT_BIT_KHR

Source

pub const CLOSEST_HIT_BIT_KHR: Self

Native value VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR.

Khronos reference: VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR

Source

pub const MISS_BIT_KHR: Self

Native value VK_SHADER_STAGE_MISS_BIT_KHR.

Khronos reference: VK_SHADER_STAGE_MISS_BIT_KHR

Source

pub const INTERSECTION_BIT_KHR: Self

Native value VK_SHADER_STAGE_INTERSECTION_BIT_KHR.

Khronos reference: VK_SHADER_STAGE_INTERSECTION_BIT_KHR

Source

pub const CALLABLE_BIT_KHR: Self

Native value VK_SHADER_STAGE_CALLABLE_BIT_KHR.

Khronos reference: VK_SHADER_STAGE_CALLABLE_BIT_KHR

Source

pub const RAYGEN_BIT_NV: Self

Native value VK_SHADER_STAGE_RAYGEN_BIT_NV.

Khronos reference: VK_SHADER_STAGE_RAYGEN_BIT_NV

Source

pub const ANY_HIT_BIT_NV: Self

Native value VK_SHADER_STAGE_ANY_HIT_BIT_NV.

Khronos reference: VK_SHADER_STAGE_ANY_HIT_BIT_NV

Source

pub const CLOSEST_HIT_BIT_NV: Self

Native value VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV.

Khronos reference: VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV

Source

pub const MISS_BIT_NV: Self

Native value VK_SHADER_STAGE_MISS_BIT_NV.

Khronos reference: VK_SHADER_STAGE_MISS_BIT_NV

Source

pub const INTERSECTION_BIT_NV: Self

Native value VK_SHADER_STAGE_INTERSECTION_BIT_NV.

Khronos reference: VK_SHADER_STAGE_INTERSECTION_BIT_NV

Source

pub const CALLABLE_BIT_NV: Self

Native value VK_SHADER_STAGE_CALLABLE_BIT_NV.

Khronos reference: VK_SHADER_STAGE_CALLABLE_BIT_NV

Source

pub const TASK_BIT_NV: Self

Native value VK_SHADER_STAGE_TASK_BIT_NV.

Khronos reference: VK_SHADER_STAGE_TASK_BIT_NV

Source

pub const MESH_BIT_NV: Self

Native value VK_SHADER_STAGE_MESH_BIT_NV.

Khronos reference: VK_SHADER_STAGE_MESH_BIT_NV

Source

pub const TASK_BIT_EXT: Self

Native value VK_SHADER_STAGE_TASK_BIT_EXT.

Khronos reference: VK_SHADER_STAGE_TASK_BIT_EXT

Source

pub const MESH_BIT_EXT: Self

Native value VK_SHADER_STAGE_MESH_BIT_EXT.

Khronos reference: VK_SHADER_STAGE_MESH_BIT_EXT

Source

pub const SUBPASS_SHADING_BIT_HUAWEI: Self

Native value VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI.

Khronos reference: VK_SHADER_STAGE_SUBPASS_SHADING_BIT_HUAWEI

Source

pub const CLUSTER_CULLING_BIT_HUAWEI: Self

Native value VK_SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI.

Khronos reference: VK_SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI

Source

pub const fn from_raw(value: u32) -> Self

Source

pub const fn as_raw(self) -> u32

Source

pub const fn empty() -> Self

Trait Implementations§

Source§

impl BitAnd for ShaderStageFlagBits

Source§

type Output = ShaderStageFlagBits

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self

Performs the & operation. Read more
Source§

impl BitOr for ShaderStageFlagBits

Source§

type Output = ShaderStageFlagBits

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self

Performs the | operation. Read more
Source§

impl BitXor for ShaderStageFlagBits

Source§

type Output = ShaderStageFlagBits

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self

Performs the ^ operation. Read more
Source§

impl Clone for ShaderStageFlagBits

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ShaderStageFlagBits

Source§

impl Debug for ShaderStageFlagBits

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ShaderStageFlagBits

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for ShaderStageFlagBits

Source§

impl Hash for ShaderStageFlagBits

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Not for ShaderStageFlagBits

Source§

type Output = ShaderStageFlagBits

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self

Performs the unary ! operation using logical or bitwise negation. Read more
Source§

impl PartialEq for ShaderStageFlagBits

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ShaderStageFlagBits

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.