Module gfx.memalloc
A memory allocator for Gfx-d
Functions
Name | Description |
createAllocator(device, options)
|
Create an Allocator for device and options
|
findMemoryTypeIndex(types, allowedIndexMask, options)
|
Find a memory type index suitable for the given allowedIndexMask and info.
|
Structs
Name | Description |
AllocatorOptions
|
Options for the creation of an Allocator
|
AllocOptions
|
Structure controlling an allocation of memory
|
AllocStats
|
Some stats of an allocator that can be collected with Allocator.collectStats
|
HeapOptions
|
Option to define allocation behavior for each heap of the device
|
Enums
Name | Description |
AllocatorFlags
|
Option flags for creating an Allocator
|
AllocFlags
|
Flags controlling an allocation of memory
|
MemoryUsage
|
Describes the usage of a memory allocation
|
ResourceLayout
|
Layout of a resource
This is important to determined whether a page alignment or simple alignemnt
is necessary between two consecutive resources
|