UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ID3D12ResourceAllocator Struct Referenceabstract

#include <D3D12Resources.h>

+ Inheritance diagram for ID3D12ResourceAllocator:

Public Member Functions

void AllocateTexture (uint32 GPUIndex, D3D12_HEAP_TYPE InHeapType, const FD3D12ResourceDesc &InDesc, EPixelFormat InUEFormat, ED3D12Access InInitialD3D12Access, ED3D12ResourceStateMode InResourceStateMode, ED3D12Access InDefaultD3D12Access, const D3D12_CLEAR_VALUE *InClearValue, const TCHAR *InName, FD3D12ResourceLocation &ResourceLocation)
 
virtual void AllocateResource (uint32 GPUIndex, D3D12_HEAP_TYPE InHeapType, const FD3D12ResourceDesc &InDesc, uint64 InSize, uint32 InAllocationAlignment, ED3D12Access InInitialD3D12Access, ED3D12ResourceStateMode InResourceStateMode, ED3D12Access InDefaultD3D12Access, const D3D12_CLEAR_VALUE *InClearValue, const TCHAR *InName, FD3D12ResourceLocation &ResourceLocation)=0
 

Member Function Documentation

◆ AllocateResource()

virtual void ID3D12ResourceAllocator::AllocateResource ( uint32  GPUIndex,
D3D12_HEAP_TYPE  InHeapType,
const FD3D12ResourceDesc InDesc,
uint64  InSize,
uint32  InAllocationAlignment,
ED3D12Access  InInitialD3D12Access,
ED3D12ResourceStateMode  InResourceStateMode,
ED3D12Access  InDefaultD3D12Access,
const D3D12_CLEAR_VALUE InClearValue,
const TCHAR InName,
FD3D12ResourceLocation ResourceLocation 
)
pure virtual

Implemented in FD3D12PoolAllocator.

◆ AllocateTexture()

void ID3D12ResourceAllocator::AllocateTexture ( uint32  GPUIndex,
D3D12_HEAP_TYPE  InHeapType,
const FD3D12ResourceDesc InDesc,
EPixelFormat  InUEFormat,
ED3D12Access  InInitialD3D12Access,
ED3D12ResourceStateMode  InResourceStateMode,
ED3D12Access  InDefaultD3D12Access,
const D3D12_CLEAR_VALUE InClearValue,
const TCHAR InName,
FD3D12ResourceLocation ResourceLocation 
)

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