Struct asi_vulkan::memory::Memory [] [src]

pub struct Memory<T> where
    T: Clone
{ pub data: T, pub memory: VkDeviceMemory, pub buffer: Buffer, // some fields omitted }

Fields

Methods

impl<T> Memory<T> where
    T: Clone
[src]

[src]

Allocate memory in a GPU buffer.

[src]

Update the contents of the memory.

[src]

Update the contents of image memory.

Trait Implementations

impl<T> Drop for Memory<T> where
    T: Clone
[src]

[src]

Executes the destructor for this type. Read more