Struct ash::vk::bitflags::BufferUsageFlags
source · #[repr(transparent)]pub struct BufferUsageFlags(pub(crate) Flags);
Expand description
Tuple Fields§
§0: Flags
Implementations§
source§impl BufferUsageFlags
impl BufferUsageFlags
source§impl BufferUsageFlags
impl BufferUsageFlags
sourcepub const TRANSFER_SRC: Self = _
pub const TRANSFER_SRC: Self = _
Can be used as a source of transfer operations
sourcepub const TRANSFER_DST: Self = _
pub const TRANSFER_DST: Self = _
Can be used as a destination of transfer operations
sourcepub const UNIFORM_TEXEL_BUFFER: Self = _
pub const UNIFORM_TEXEL_BUFFER: Self = _
Can be used as TBO
sourcepub const STORAGE_TEXEL_BUFFER: Self = _
pub const STORAGE_TEXEL_BUFFER: Self = _
Can be used as IBO
sourcepub const UNIFORM_BUFFER: Self = _
pub const UNIFORM_BUFFER: Self = _
Can be used as UBO
sourcepub const STORAGE_BUFFER: Self = _
pub const STORAGE_BUFFER: Self = _
Can be used as SSBO
sourcepub const INDEX_BUFFER: Self = _
pub const INDEX_BUFFER: Self = _
Can be used as source of fixed-function index fetch (index buffer)
sourcepub const VERTEX_BUFFER: Self = _
pub const VERTEX_BUFFER: Self = _
Can be used as source of fixed-function vertex fetch (VBO)
sourcepub const INDIRECT_BUFFER: Self = _
pub const INDIRECT_BUFFER: Self = _
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: Self = _
pub const VIDEO_DECODE_DST_KHR: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_transform_feedback’
pub const TRANSFORM_FEEDBACK_BUFFER_EXT: Self = _
pub const TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_conditional_rendering’
sourcepub const CONDITIONAL_RENDERING_EXT: Self = _
pub const CONDITIONAL_RENDERING_EXT: Self = _
Specifies the buffer can be used as predicate in conditional rendering
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_AMDX_shader_enqueue’
pub const EXECUTION_GRAPH_SCRATCH_AMDX: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_acceleration_structure’
pub const ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR: Self = _
pub const ACCELERATION_STRUCTURE_STORAGE_KHR: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_ray_tracing_pipeline’
pub const SHADER_BINDING_TABLE_KHR: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_NV_ray_tracing’
pub const RAY_TRACING_NV: Self = Self::SHADER_BINDING_TABLE_KHR
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_buffer_device_address’
pub const SHADER_DEVICE_ADDRESS_EXT: Self = Self::SHADER_DEVICE_ADDRESS
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_buffer_device_address’
pub const SHADER_DEVICE_ADDRESS_KHR: Self = Self::SHADER_DEVICE_ADDRESS
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_DST_KHR: Self = _
pub const VIDEO_ENCODE_SRC_KHR: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_descriptor_buffer’
pub const SAMPLER_DESCRIPTOR_BUFFER_EXT: Self = _
pub const RESOURCE_DESCRIPTOR_BUFFER_EXT: Self = _
pub const PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_EXT: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_EXT_opacity_micromap’
pub const MICROMAP_BUILD_INPUT_READ_ONLY_EXT: Self = _
pub const MICROMAP_STORAGE_EXT: Self = _
source§impl BufferUsageFlags
impl BufferUsageFlags
Generated from ‘VK_VERSION_1_2’
pub const SHADER_DEVICE_ADDRESS: Self = _
Trait Implementations§
source§impl BitAnd for BufferUsageFlags
impl BitAnd for BufferUsageFlags
source§impl BitAndAssign for BufferUsageFlags
impl BitAndAssign for BufferUsageFlags
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moresource§impl BitOr for BufferUsageFlags
impl BitOr for BufferUsageFlags
source§impl BitOrAssign for BufferUsageFlags
impl BitOrAssign for BufferUsageFlags
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moresource§impl BitXor for BufferUsageFlags
impl BitXor for BufferUsageFlags
source§impl BitXorAssign for BufferUsageFlags
impl BitXorAssign for BufferUsageFlags
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
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§impl Hash for BufferUsageFlags
impl Hash for BufferUsageFlags
source§impl Not for BufferUsageFlags
impl Not for BufferUsageFlags
source§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§impl PartialOrd for BufferUsageFlags
impl PartialOrd for BufferUsageFlags
impl Copy for BufferUsageFlags
impl Eq for BufferUsageFlags
impl StructuralPartialEq for BufferUsageFlags
Auto Trait Implementations§
impl Freeze for BufferUsageFlags
impl RefUnwindSafe for BufferUsageFlags
impl Send for BufferUsageFlags
impl Sync for BufferUsageFlags
impl Unpin for BufferUsageFlags
impl UnwindSafe for BufferUsageFlags
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)