Struct vulkan_malloc::AllocatorBuilder
[−]
[src]
pub struct AllocatorBuilder { /* fields omitted */ }
Used to construct an Allocator
using the builder pattern.
Methods
impl AllocatorBuilder
[src]
fn large_heap_block_size(self, size: u64) -> AllocatorBuilder
[src]
Overrides the default block size for use on "large" heaps, in bytes. The default is 256MB.
fn small_heap_block_size(self, size: u64) -> AllocatorBuilder
[src]
Overrides the default block size for use on "small" heaps, in bytes. The default is 64MB.
fn build(self) -> Allocator
[src]
Finalise and build an Allocator
instance.