[−][src]Trait vulkano::memory::pool::MemoryPoolAlloc
Object that represents a single allocation. Its destructor should free the chunk.
Required methods
pub fn mapped_memory(&self) -> Option<&MappedDeviceMemory>
[src]
Returns the memory object from which this is allocated. Returns None
if the memory is
not mapped.
pub fn memory(&self) -> &DeviceMemory
[src]
Returns the memory object from which this is allocated.
pub fn offset(&self) -> usize
[src]
Returns the offset at the start of the memory where the first byte of this allocation resides.
Implementors
impl MemoryPoolAlloc for StdMemoryPoolAlloc
[src]
pub fn memory(&self) -> &DeviceMemory
[src]
pub fn mapped_memory(&self) -> Option<&MappedDeviceMemory>
[src]
pub fn offset(&self) -> usize
[src]
impl<A> MemoryPoolAlloc for PotentialDedicatedAllocation<A> where
A: MemoryPoolAlloc,
[src]
A: MemoryPoolAlloc,