Direct3D 12 Memory Allocator
Loading...
Searching...
No Matches
Public Attributes | List of all members
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

◆ Flags

DEFRAGMENTATION_FLAGS D3D12MA::DEFRAGMENTATION_DESC::Flags

Flags.

◆ 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: