Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
D3D12MA::DEFRAGMENTATION_DESC Struct Reference

Parameters for defragmentation. More...

#include <D3D12MemAlloc.h>

Public Attributes

DEFRAGMENTATION_FLAGS Flags
 Flags.
 
UINT64 MaxBytesPerPass
 Maximum numbers of bytes that can be copied during single pass, while moving allocations to different places.
 
UINT32 MaxAllocationsPerPass
 Maximum number of allocations that can be moved during single pass to a different place.
 

Detailed Description

Parameters for defragmentation.

To be used with functions Allocator::BeginDefragmentation() and Pool::BeginDefragmentation().

Member Data Documentation

◆ MaxAllocationsPerPass

UINT32 D3D12MA::DEFRAGMENTATION_DESC::MaxAllocationsPerPass

Maximum number of allocations that can be moved during single pass to a different place.

0 means no limit.

◆ MaxBytesPerPass

UINT64 D3D12MA::DEFRAGMENTATION_DESC::MaxBytesPerPass

Maximum numbers of bytes that can be copied during single pass, while moving allocations to different places.

0 means no limit.


The documentation for this struct was generated from the following file: