[][src]Struct rafx_api::vulkan::RafxBufferVulkan

pub struct RafxBufferVulkan { /* fields omitted */ }

Implementations

impl RafxBufferVulkan[src]

pub fn vk_buffer(&self) -> Buffer[src]

pub fn vk_uniform_texel_view(&self) -> Option<BufferView>[src]

pub fn vk_storage_texel_view(&self) -> Option<BufferView>[src]

pub fn take_raw(mut self: Self) -> Option<RafxBufferRaw>[src]

pub fn buffer_def(&self) -> &RafxBufferDef[src]

pub fn map_buffer(&self) -> RafxResult<*mut u8>[src]

pub fn unmap_buffer(&self) -> RafxResult<()>[src]

pub fn copy_to_host_visible_buffer<T: Copy>(&self, data: &[T]) -> RafxResult<()>[src]

pub fn copy_to_host_visible_buffer_with_offset<T: Copy>(
    &self,
    data: &[T],
    buffer_byte_offset: u64
) -> RafxResult<()>
[src]

pub fn new(
    device_context: &RafxDeviceContextVulkan,
    buffer_def: &RafxBufferDef
) -> RafxResult<Self>
[src]

Trait Implementations

impl Debug for RafxBufferVulkan[src]

impl Drop for RafxBufferVulkan[src]

Auto Trait Implementations

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

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

impl<T> Resource for T where
    T: Downcast + Send + Sync
[src]

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.