[][src]Struct wyzoid::low::vkmem::VkMem

pub struct VkMem<'a> {
    pub size: u64,
    pub index: u32,
    pub mem: DeviceMemory,
    // some fields omitted
}

Fields

size: u64index: u32mem: DeviceMemory

Methods

impl<'a> VkMem<'a>[src]

pub fn find_mem(vkstate: &'a VulkanState, size: u64) -> Option<Self>[src]

pub fn map_memory<T>(&self, data: &Vec<T>, offset: u64)[src]

pub fn map_buffer<T>(&self, data: &Vec<T>, buffer: &VkBuffer)[src]

pub fn get_memory<T>(&self, capacity: usize, offset: u64) -> Vec<T>[src]

pub fn get_buffer<T>(&self, buffer: &VkBuffer) -> Vec<T>[src]

Trait Implementations

impl<'a> Drop for VkMem<'a>[src]

Auto Trait Implementations

impl<'a> Sync for VkMem<'a>

impl<'a> Unpin for VkMem<'a>

impl<'a> Send for VkMem<'a>

impl<'a> UnwindSafe for VkMem<'a>

impl<'a> RefUnwindSafe for VkMem<'a>

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,