Struct vulkano::instance::MemoryHeap [] [src]

pub struct MemoryHeap<'a> {
    // some fields omitted
}

Represents a memory heap in a physical device.

Methods

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

fn physical_device(&self) -> PhysicalDevice<'a>

Returns the physical device associated to this memory heap.

fn id(&self) -> u32

Returns the identifier of this memory heap within the physical device.

fn size(&self) -> usize

Returns the size in bytes on this heap.

fn is_device_local(&self) -> bool

Returns true if the heap is local to the GPU.

Trait Implementations

impl<'a> Clone for MemoryHeap<'a>
[src]

fn clone(&self) -> MemoryHeap<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a> Copy for MemoryHeap<'a>
[src]

impl<'a> Debug for MemoryHeap<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.