Struct screen_13::prelude::vk::ShaderStageFlags
source · pub struct ShaderStageFlags(_);Expand description
Implementations§
source§impl ShaderStageFlags
impl ShaderStageFlags
pub const fn empty() -> ShaderStageFlags
pub const fn from_raw(x: u32) -> ShaderStageFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ShaderStageFlags) -> bool
sourcepub const fn contains(self, other: ShaderStageFlags) -> bool
pub const fn contains(self, other: ShaderStageFlags) -> bool
Returns whether other is a subset of self
source§impl ShaderStageFlags
impl ShaderStageFlags
pub const VERTEX: ShaderStageFlags = Self(1)
pub const TESSELLATION_CONTROL: ShaderStageFlags = Self(2)
pub const TESSELLATION_EVALUATION: ShaderStageFlags = Self(4)
pub const GEOMETRY: ShaderStageFlags = Self(8)
pub const FRAGMENT: ShaderStageFlags = Self(16)
pub const COMPUTE: ShaderStageFlags = Self(32)
pub const ALL_GRAPHICS: ShaderStageFlags = Self(31)
pub const ALL: ShaderStageFlags = Self(2147483647)
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_KHR_ray_tracing_pipeline’
pub const RAYGEN_KHR: ShaderStageFlags = Self(256)
pub const ANY_HIT_KHR: ShaderStageFlags = Self(512)
pub const CLOSEST_HIT_KHR: ShaderStageFlags = Self(1024)
pub const MISS_KHR: ShaderStageFlags = Self(2048)
pub const INTERSECTION_KHR: ShaderStageFlags = Self(4096)
pub const CALLABLE_KHR: ShaderStageFlags = Self(8192)
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_NV_ray_tracing’
pub const RAYGEN_NV: ShaderStageFlags = Self::RAYGEN_KHR
pub const ANY_HIT_NV: ShaderStageFlags = Self::ANY_HIT_KHR
pub const CLOSEST_HIT_NV: ShaderStageFlags = Self::CLOSEST_HIT_KHR
pub const MISS_NV: ShaderStageFlags = Self::MISS_KHR
pub const INTERSECTION_NV: ShaderStageFlags = Self::INTERSECTION_KHR
pub const CALLABLE_NV: ShaderStageFlags = Self::CALLABLE_KHR
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_NV_mesh_shader’
pub const TASK_NV: ShaderStageFlags = Self::TASK_EXT
pub const MESH_NV: ShaderStageFlags = Self::MESH_EXT
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_EXT_mesh_shader’
pub const TASK_EXT: ShaderStageFlags = Self(64)
pub const MESH_EXT: ShaderStageFlags = Self(128)
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_HUAWEI_subpass_shading’
pub const SUBPASS_SHADING_HUAWEI: ShaderStageFlags = Self(16384)
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_HUAWEI_extension_405’
pub const RESERVED_19_HUAWEI: ShaderStageFlags = Self(524288)
source§impl ShaderStageFlags
impl ShaderStageFlags
Generated from ‘VK_EXT_extension_483’
pub const EXT_483_RESERVE_15: ShaderStageFlags = Self(32768)
pub const EXT_483_RESERVE_16: ShaderStageFlags = Self(65536)
pub const EXT_483_RESERVE_17: ShaderStageFlags = Self(131072)
Trait Implementations§
source§impl BitAnd<ShaderStageFlags> for ShaderStageFlags
impl BitAnd<ShaderStageFlags> for ShaderStageFlags
§type Output = ShaderStageFlags
type Output = ShaderStageFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: ShaderStageFlags) -> ShaderStageFlags
fn bitand(self, rhs: ShaderStageFlags) -> ShaderStageFlags
Performs the
& operation. Read moresource§impl BitAndAssign<ShaderStageFlags> for ShaderStageFlags
impl BitAndAssign<ShaderStageFlags> for ShaderStageFlags
source§fn bitand_assign(&mut self, rhs: ShaderStageFlags)
fn bitand_assign(&mut self, rhs: ShaderStageFlags)
Performs the
&= operation. Read moresource§impl BitOr<ShaderStageFlags> for ShaderStageFlags
impl BitOr<ShaderStageFlags> for ShaderStageFlags
§type Output = ShaderStageFlags
type Output = ShaderStageFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: ShaderStageFlags) -> ShaderStageFlags
fn bitor(self, rhs: ShaderStageFlags) -> ShaderStageFlags
Performs the
| operation. Read moresource§impl BitOrAssign<ShaderStageFlags> for ShaderStageFlags
impl BitOrAssign<ShaderStageFlags> for ShaderStageFlags
source§fn bitor_assign(&mut self, rhs: ShaderStageFlags)
fn bitor_assign(&mut self, rhs: ShaderStageFlags)
Performs the
|= operation. Read moresource§impl BitXor<ShaderStageFlags> for ShaderStageFlags
impl BitXor<ShaderStageFlags> for ShaderStageFlags
§type Output = ShaderStageFlags
type Output = ShaderStageFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: ShaderStageFlags) -> ShaderStageFlags
fn bitxor(self, rhs: ShaderStageFlags) -> ShaderStageFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<ShaderStageFlags> for ShaderStageFlags
impl BitXorAssign<ShaderStageFlags> for ShaderStageFlags
source§fn bitxor_assign(&mut self, rhs: ShaderStageFlags)
fn bitxor_assign(&mut self, rhs: ShaderStageFlags)
Performs the
^= operation. Read moresource§impl Clone for ShaderStageFlags
impl Clone for ShaderStageFlags
source§fn clone(&self) -> ShaderStageFlags
fn clone(&self) -> ShaderStageFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ShaderStageFlags
impl Debug for ShaderStageFlags
source§impl Default for ShaderStageFlags
impl Default for ShaderStageFlags
source§fn default() -> ShaderStageFlags
fn default() -> ShaderStageFlags
Returns the “default value” for a type. Read more
source§impl Hash for ShaderStageFlags
impl Hash for ShaderStageFlags
source§impl Not for ShaderStageFlags
impl Not for ShaderStageFlags
§type Output = ShaderStageFlags
type Output = ShaderStageFlags
The resulting type after applying the
! operator.source§fn not(self) -> ShaderStageFlags
fn not(self) -> ShaderStageFlags
Performs the unary
! operation. Read moresource§impl Ord for ShaderStageFlags
impl Ord for ShaderStageFlags
source§fn cmp(&self, other: &ShaderStageFlags) -> Ordering
fn cmp(&self, other: &ShaderStageFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ShaderStageFlags> for ShaderStageFlags
impl PartialEq<ShaderStageFlags> for ShaderStageFlags
source§fn eq(&self, other: &ShaderStageFlags) -> bool
fn eq(&self, other: &ShaderStageFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ShaderStageFlags> for ShaderStageFlags
impl PartialOrd<ShaderStageFlags> for ShaderStageFlags
source§fn partial_cmp(&self, other: &ShaderStageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ShaderStageFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more