pub struct BufferUsageFlags(/* private fields */);
Expand description
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_AMD_extension_135’
pub const RESERVED_25_AMD: 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_QCOM_extension_173’
pub const RESERVED_18_QCOM: Self = _
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
)