[−][src]Crate gfx_memory
GPU memory management
Structs
| DedicatedAllocator | Dedicated memory allocator that uses memory object per allocation requested. |
| DedicatedBlock | Memory block allocated from |
| GeneralAllocator | No-fragmentation allocator. Suitable for any type of small allocations. Every freed block can be reused. |
| GeneralBlock | Memory block allocated from |
| GeneralConfig | Config for |
| Heaps | Heaps available on particular physical device. |
| LinearAllocator | The |
| LinearBlock | Memory block allocated from |
| LinearConfig | Config for |
| MappedRange | Represents range of the memory mapped to the host. Provides methods for safer host access to the memory. |
| Memory | Memory object wrapper. Contains size and properties of the memory. |
| MemoryBlock | Memory block allocated from |
| MemoryHeapUtilization | Memory utilization of one heap. |
| MemoryTypeUtilization | Memory utilization of one type. |
| MemoryUtilization | Memory utilization stats. |
| TotalMemoryUtilization | Total memory utilization. |
| Writer | Wrapper structure for a mutable slice with deferred flushing for non-coherent memory. |
Enums
| HeapsError | Possible errors returned by |
| Kind | Allocator kind. |
| MemoryUsage | Scenarios of how resources use memory. |
Traits
| Allocator | Allocator trait implemented for various allocators. |
| Block | Block that owns a |
Type Definitions
| AtomSize | Type for non-coherent atom sizes. |
| Size | Type for any memory sizes. |