Struct screen_13::prelude::vk::BufferUsageFlags
source · pub struct BufferUsageFlags(/* private fields */);
Expand description
Implementations§
source§impl BufferUsageFlags
impl BufferUsageFlags
pub const fn empty() -> BufferUsageFlags
pub const fn from_raw(x: u32) -> BufferUsageFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: BufferUsageFlags) -> bool
sourcepub const fn contains(self, other: BufferUsageFlags) -> bool
pub const fn contains(self, other: BufferUsageFlags) -> bool
Returns whether other
is a subset of self
source§impl BufferUsageFlags
impl BufferUsageFlags
sourcepub const TRANSFER_SRC: BufferUsageFlags = _
pub const TRANSFER_SRC: BufferUsageFlags = _
Can be used as a source of transfer operations
sourcepub const TRANSFER_DST: BufferUsageFlags = _
pub const TRANSFER_DST: BufferUsageFlags = _
Can be used as a destination of transfer operations
sourcepub const UNIFORM_TEXEL_BUFFER: BufferUsageFlags = _
pub const UNIFORM_TEXEL_BUFFER: BufferUsageFlags = _
Can be used as TBO
sourcepub const STORAGE_TEXEL_BUFFER: BufferUsageFlags = _
pub const STORAGE_TEXEL_BUFFER: BufferUsageFlags = _
Can be used as IBO
sourcepub const UNIFORM_BUFFER: BufferUsageFlags = _
pub const UNIFORM_BUFFER: BufferUsageFlags = _
Can be used as UBO
sourcepub const STORAGE_BUFFER: BufferUsageFlags = _
pub const STORAGE_BUFFER: BufferUsageFlags = _
Can be used as SSBO
sourcepub const INDEX_BUFFER: BufferUsageFlags = _
pub const INDEX_BUFFER: BufferUsageFlags = _
Can be used as source of fixed-function index fetch (index buffer)
sourcepub const VERTEX_BUFFER: BufferUsageFlags = _
pub const VERTEX_BUFFER: BufferUsageFlags = _
Can be used as source of fixed-function vertex fetch (VBO)
sourcepub const INDIRECT_BUFFER: BufferUsageFlags = _
pub const INDIRECT_BUFFER: BufferUsageFlags = _
Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer)
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_SRC_KHR: BufferUsageFlags = _
pub const VIDEO_DECODE_DST_KHR: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_transform_feedback’
pub const TRANSFORM_FEEDBACK_BUFFER_EXT: BufferUsageFlags = _
pub const TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_conditional_rendering’
sourcepub const CONDITIONAL_RENDERING_EXT: BufferUsageFlags = _
pub const CONDITIONAL_RENDERING_EXT: BufferUsageFlags = _
Specifies the buffer can be used as predicate in conditional rendering
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_AMD_extension_135’
pub const RESERVED_25_AMD: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_acceleration_structure’
pub const ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR: BufferUsageFlags = _
pub const ACCELERATION_STRUCTURE_STORAGE_KHR: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_ray_tracing_pipeline’
pub const SHADER_BINDING_TABLE_KHR: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_NV_ray_tracing’
pub const RAY_TRACING_NV: BufferUsageFlags = Self::SHADER_BINDING_TABLE_KHR
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_QCOM_extension_173’
pub const RESERVED_18_QCOM: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_buffer_device_address’
pub const SHADER_DEVICE_ADDRESS_EXT: BufferUsageFlags = Self::SHADER_DEVICE_ADDRESS
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_buffer_device_address’
pub const SHADER_DEVICE_ADDRESS_KHR: BufferUsageFlags = Self::SHADER_DEVICE_ADDRESS
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DST_KHR: BufferUsageFlags = _
pub const VIDEO_ENCODE_SRC_KHR: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_descriptor_buffer’
pub const SAMPLER_DESCRIPTOR_BUFFER_EXT: BufferUsageFlags = _
pub const RESOURCE_DESCRIPTOR_BUFFER_EXT: BufferUsageFlags = _
pub const PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_opacity_micromap’
pub const MICROMAP_BUILD_INPUT_READ_ONLY_EXT: BufferUsageFlags = _
pub const MICROMAP_STORAGE_EXT: BufferUsageFlags = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_VERSION_1_2’
pub const SHADER_DEVICE_ADDRESS: BufferUsageFlags = _
Trait Implementations§
source§impl BitAnd for BufferUsageFlags
impl BitAnd for BufferUsageFlags
§type Output = BufferUsageFlags
type Output = BufferUsageFlags
&
operator.source§fn bitand(self, rhs: BufferUsageFlags) -> BufferUsageFlags
fn bitand(self, rhs: BufferUsageFlags) -> BufferUsageFlags
&
operation. Read moresource§impl BitAndAssign for BufferUsageFlags
impl BitAndAssign for BufferUsageFlags
source§fn bitand_assign(&mut self, rhs: BufferUsageFlags)
fn bitand_assign(&mut self, rhs: BufferUsageFlags)
&=
operation. Read moresource§impl BitOr for BufferUsageFlags
impl BitOr for BufferUsageFlags
§type Output = BufferUsageFlags
type Output = BufferUsageFlags
|
operator.source§fn bitor(self, rhs: BufferUsageFlags) -> BufferUsageFlags
fn bitor(self, rhs: BufferUsageFlags) -> BufferUsageFlags
|
operation. Read moresource§impl BitOrAssign for BufferUsageFlags
impl BitOrAssign for BufferUsageFlags
source§fn bitor_assign(&mut self, rhs: BufferUsageFlags)
fn bitor_assign(&mut self, rhs: BufferUsageFlags)
|=
operation. Read moresource§impl BitXor for BufferUsageFlags
impl BitXor for BufferUsageFlags
§type Output = BufferUsageFlags
type Output = BufferUsageFlags
^
operator.source§fn bitxor(self, rhs: BufferUsageFlags) -> BufferUsageFlags
fn bitxor(self, rhs: BufferUsageFlags) -> BufferUsageFlags
^
operation. Read moresource§impl BitXorAssign for BufferUsageFlags
impl BitXorAssign for BufferUsageFlags
source§fn bitxor_assign(&mut self, rhs: BufferUsageFlags)
fn bitxor_assign(&mut self, rhs: BufferUsageFlags)
^=
operation. Read moresource§impl Clone for BufferUsageFlags
impl Clone for BufferUsageFlags
source§fn clone(&self) -> BufferUsageFlags
fn clone(&self) -> BufferUsageFlags
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BufferUsageFlags
impl Debug for BufferUsageFlags
source§impl Default for BufferUsageFlags
impl Default for BufferUsageFlags
source§fn default() -> BufferUsageFlags
fn default() -> BufferUsageFlags
source§impl Hash for BufferUsageFlags
impl Hash for BufferUsageFlags
source§impl Not for BufferUsageFlags
impl Not for BufferUsageFlags
§type Output = BufferUsageFlags
type Output = BufferUsageFlags
!
operator.source§fn not(self) -> BufferUsageFlags
fn not(self) -> BufferUsageFlags
!
operation. Read moresource§impl Ord for BufferUsageFlags
impl Ord for BufferUsageFlags
source§fn cmp(&self, other: &BufferUsageFlags) -> Ordering
fn cmp(&self, other: &BufferUsageFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for BufferUsageFlags
impl PartialEq for BufferUsageFlags
source§fn eq(&self, other: &BufferUsageFlags) -> bool
fn eq(&self, other: &BufferUsageFlags) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BufferUsageFlags
impl PartialOrd for BufferUsageFlags
source§fn partial_cmp(&self, other: &BufferUsageFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferUsageFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more