Struct erupt::vk1_0::BufferUsageFlagBits
source · #[repr(transparent)]pub struct BufferUsageFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of BufferUsageFlags
Tuple Fields
0: u32
Implementations
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::ext_buffer_device_address
pub const SHADER_DEVICE_ADDRESS_EXT: Self = Self::SHADER_DEVICE_ADDRESS
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::ext_conditional_rendering
pub const CONDITIONAL_RENDERING_EXT: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::ext_transform_feedback
pub const TRANSFORM_FEEDBACK_BUFFER_EXT: Self = _
pub const TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::khr_acceleration_structure
pub const ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_KHR: Self = _
pub const ACCELERATION_STRUCTURE_STORAGE_KHR: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::khr_buffer_device_address
pub const SHADER_DEVICE_ADDRESS_KHR: Self = Self::SHADER_DEVICE_ADDRESS
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::khr_ray_tracing_pipeline
pub const SHADER_BINDING_TABLE_KHR: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::khr_video_decode_queue
pub const VIDEO_DECODE_SRC_KHR: Self = _
pub const VIDEO_DECODE_DST_KHR: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::khr_video_encode_queue
pub const VIDEO_ENCODE_DST_KHR: Self = _
pub const VIDEO_ENCODE_SRC_KHR: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::extensions::nv_ray_tracing
pub const RAY_TRACING_NV: Self = Self::SHADER_BINDING_TABLE_KHR
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
sourcepub const fn bitmask(&self) -> BufferUsageFlags
pub const fn bitmask(&self) -> BufferUsageFlags
Converts this enum variant to the corresponding bitmask
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::vk1_0
pub const TRANSFER_SRC: Self = _
pub const TRANSFER_DST: Self = _
pub const UNIFORM_TEXEL_BUFFER: Self = _
pub const STORAGE_TEXEL_BUFFER: Self = _
pub const UNIFORM_BUFFER: Self = _
pub const STORAGE_BUFFER: Self = _
pub const INDEX_BUFFER: Self = _
pub const VERTEX_BUFFER: Self = _
pub const INDIRECT_BUFFER: Self = _
sourceimpl BufferUsageFlagBits
impl BufferUsageFlagBits
Provided by crate::vk1_2
pub const SHADER_DEVICE_ADDRESS: Self = _
Trait Implementations
sourceimpl Clone for BufferUsageFlagBits
impl Clone for BufferUsageFlagBits
sourcefn clone(&self) -> BufferUsageFlagBits
fn clone(&self) -> BufferUsageFlagBits
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BufferUsageFlagBits
impl Debug for BufferUsageFlagBits
sourceimpl Default for BufferUsageFlagBits
impl Default for BufferUsageFlagBits
sourcefn default() -> BufferUsageFlagBits
fn default() -> BufferUsageFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for BufferUsageFlagBits
impl Hash for BufferUsageFlagBits
sourceimpl Ord for BufferUsageFlagBits
impl Ord for BufferUsageFlagBits
sourcefn cmp(&self, other: &BufferUsageFlagBits) -> Ordering
fn cmp(&self, other: &BufferUsageFlagBits) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BufferUsageFlagBits> for BufferUsageFlagBits
impl PartialEq<BufferUsageFlagBits> for BufferUsageFlagBits
sourcefn eq(&self, other: &BufferUsageFlagBits) -> bool
fn eq(&self, other: &BufferUsageFlagBits) -> bool
sourceimpl PartialOrd<BufferUsageFlagBits> for BufferUsageFlagBits
impl PartialOrd<BufferUsageFlagBits> for BufferUsageFlagBits
sourcefn partial_cmp(&self, other: &BufferUsageFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferUsageFlagBits) -> Option<Ordering>
1.0.0 · sourcefn 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 moreimpl Copy for BufferUsageFlagBits
impl Eq for BufferUsageFlagBits
impl StructuralEq for BufferUsageFlagBits
impl StructuralPartialEq for BufferUsageFlagBits
Auto Trait Implementations
impl RefUnwindSafe for BufferUsageFlagBits
impl Send for BufferUsageFlagBits
impl Sync for BufferUsageFlagBits
impl Unpin for BufferUsageFlagBits
impl UnwindSafe for BufferUsageFlagBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more