Struct vulkano::memory::pool::StdNonHostVisibleMemoryTypePool [] [src]

pub struct StdNonHostVisibleMemoryTypePool { /* fields omitted */ }

Memory pool that operates on a given memory type.

Methods

impl StdNonHostVisibleMemoryTypePool
[src]

Creates a new pool that will operate on the given memory type.

Panic

  • Panics if the device and memory_type don't belong to the same physical device.

Allocates memory from the pool.

Panic

  • Panics if size is 0.
  • Panics if alignment is 0.

Returns the device this pool operates on.

Returns the memory type this pool operates on.

Trait Implementations

impl Debug for StdNonHostVisibleMemoryTypePool
[src]

Formats the value using the given formatter.