Struct vulkano::memory::MappedDeviceMemory [] [src]

pub struct MappedDeviceMemory<D = Arc<Device>> where D: SafeDeref<Target=Device> { /* fields omitted */ }

Represents memory that has been allocated and mapped in CPU accessible space.

Methods

impl<D> MappedDeviceMemory<D> where D: SafeDeref<Target=Device>
[src]

Returns the underlying DeviceMemory.

Gives access to the content of the memory.

Safety

  • Type safety is not checked. You must ensure that T corresponds to the content of the buffer.
  • Accesses are not synchronized. Synchronization must be handled outside of the MappedDeviceMemory.

Trait Implementations

impl<D: Debug> Debug for MappedDeviceMemory<D> where D: SafeDeref<Target=Device>
[src]

Formats the value using the given formatter.

impl<D> Send for MappedDeviceMemory<D> where D: SafeDeref<Target=Device>
[src]

impl<D> Sync for MappedDeviceMemory<D> where D: SafeDeref<Target=Device>
[src]

impl<D> Drop for MappedDeviceMemory<D> where D: SafeDeref<Target=Device>
[src]

A method called when the value goes out of scope. Read more