Direct3D 12 Memory Allocator
Loading...
Searching...
No Matches
Public Attributes | List of all members
D3D12MA::ALLOCATION_CALLBACKS Struct Reference

Custom callbacks to CPU memory allocation functions. More...

#include <D3D12MemAlloc.h>

Public Attributes

ALLOCATE_FUNC_PTR pAllocate
 Allocation function.
 
FREE_FUNC_PTR pFree
 Dellocation function.
 
void * pPrivateData
 Custom data that will be passed to allocation and deallocation functions as pUserData parameter.
 

Detailed Description

Custom callbacks to CPU memory allocation functions.

Member Data Documentation

◆ pAllocate

ALLOCATE_FUNC_PTR D3D12MA::ALLOCATION_CALLBACKS::pAllocate

Allocation function.

◆ pFree

FREE_FUNC_PTR D3D12MA::ALLOCATION_CALLBACKS::pFree

Dellocation function.

◆ pPrivateData

void* D3D12MA::ALLOCATION_CALLBACKS::pPrivateData

Custom data that will be passed to allocation and deallocation functions as pUserData parameter.


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