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

pub struct StdHostVisibleMemoryTypePool { /* fields omitted */ }

Memory pool that operates on a given memory type.

Methods

impl StdHostVisibleMemoryTypePool
[src]

[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.
  • Panics if the memory type is not host-visible.

[src]

Allocates memory from the pool.

Panic

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

[src]

Returns the device this pool operates on.

[src]

Returns the memory type this pool operates on.

Trait Implementations

impl Debug for StdHostVisibleMemoryTypePool
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations