[][src]Struct ash::vk::BufferUsageFlags

#[repr(transparent)]pub struct BufferUsageFlags(_);

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBufferUsageFlagBits.html

Methods

impl BufferUsageFlags[src]

pub const fn empty() -> BufferUsageFlags[src]

pub const fn all() -> BufferUsageFlags[src]

pub const fn from_raw(x: Flags) -> Self[src]

pub const fn as_raw(self) -> Flags[src]

pub fn is_empty(self) -> bool[src]

pub fn is_all(self) -> bool[src]

pub fn intersects(self, other: BufferUsageFlags) -> bool[src]

pub fn contains(self, other: BufferUsageFlags) -> bool[src]

Returns whether other is a subset of self

impl BufferUsageFlags[src]

pub const TRANSFER_SRC: Self[src]

Can be used as a source of transfer operations

pub const TRANSFER_DST: Self[src]

Can be used as a destination of transfer operations

pub const UNIFORM_TEXEL_BUFFER: Self[src]

Can be used as TBO

pub const STORAGE_TEXEL_BUFFER: Self[src]

Can be used as IBO

pub const UNIFORM_BUFFER: Self[src]

Can be used as UBO

pub const STORAGE_BUFFER: Self[src]

Can be used as SSBO

pub const INDEX_BUFFER: Self[src]

Can be used as source of fixed-function index fetch (index buffer)

pub const VERTEX_BUFFER: Self[src]

Can be used as source of fixed-function vertex fetch (VBO)

pub const INDIRECT_BUFFER: Self[src]

Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer)

impl BufferUsageFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_15_KHR: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_AMD_extension_24'

pub const RESERVED_16_KHR: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_13_KHR: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_AMD_extension_25'

pub const RESERVED_14_KHR: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_EXT_transform_feedback'

pub const TRANSFORM_FEEDBACK_BUFFER_EXT: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_EXT_transform_feedback'

pub const TRANSFORM_FEEDBACK_COUNTER_BUFFER_EXT: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_EXT_conditional_rendering'

pub const CONDITIONAL_RENDERING_EXT: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_KHR_ray_tracing'

pub const RAY_TRACING_KHR: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_NV_ray_tracing'

pub const RAY_TRACING_NV: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_QCOM_extension_173'

pub const RESERVED_18_QCOM: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_EXT_buffer_device_address'

pub const SHADER_DEVICE_ADDRESS_EXT: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_KHR_buffer_device_address'

pub const SHADER_DEVICE_ADDRESS_KHR: Self[src]

impl BufferUsageFlags[src]

Generated from 'VK_VERSION_1_2'

pub const SHADER_DEVICE_ADDRESS: Self[src]

Trait Implementations

impl BitAnd<BufferUsageFlags> for BufferUsageFlags[src]

type Output = BufferUsageFlags

The resulting type after applying the & operator.

impl BitAndAssign<BufferUsageFlags> for BufferUsageFlags[src]

impl BitOr<BufferUsageFlags> for BufferUsageFlags[src]

type Output = BufferUsageFlags

The resulting type after applying the | operator.

impl BitOrAssign<BufferUsageFlags> for BufferUsageFlags[src]

impl BitXor<BufferUsageFlags> for BufferUsageFlags[src]

type Output = BufferUsageFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<BufferUsageFlags> for BufferUsageFlags[src]

impl Clone for BufferUsageFlags[src]

impl Copy for BufferUsageFlags[src]

impl Debug for BufferUsageFlags[src]

impl Default for BufferUsageFlags[src]

impl Eq for BufferUsageFlags[src]

impl Hash for BufferUsageFlags[src]

impl Not for BufferUsageFlags[src]

type Output = BufferUsageFlags

The resulting type after applying the ! operator.

impl Ord for BufferUsageFlags[src]

impl PartialEq<BufferUsageFlags> for BufferUsageFlags[src]

impl PartialOrd<BufferUsageFlags> for BufferUsageFlags[src]

impl StructuralEq for BufferUsageFlags[src]

impl StructuralPartialEq for BufferUsageFlags[src]

impl Sub<BufferUsageFlags> for BufferUsageFlags[src]

type Output = BufferUsageFlags

The resulting type after applying the - operator.

impl SubAssign<BufferUsageFlags> for BufferUsageFlags[src]

Auto Trait Implementations

impl RefUnwindSafe for BufferUsageFlags

impl Send for BufferUsageFlags

impl Sync for BufferUsageFlags

impl Unpin for BufferUsageFlags

impl UnwindSafe for BufferUsageFlags

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.