FD3D12Resource

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FD3D12RefCount

FD3D12DeviceChild

FD3D12MultiNodeGPUObject

FD3D12Resource

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Resources.h

Include

#include "D3D12Resources.h"

Syntax

class FD3D12Resource :
    public FD3D12RefCount,
    public FD3D12DeviceChild,
    public FD3D12MultiNodeGPUObject

Constructors

Name Description

Public function

FD3D12Resource()

Public function

FD3D12Resource

(
    FD3D12Device* ParentDevice,
    FRHIGPUMask VisibleNodes,
    ID3D12Resource* InResource,
    D3D12_RESOURCE_STATES InInitialReso...,
    FD3D12ResourceDesc const& InDesc,
    FD3D12Heap* InHeap,
    D3D12_HEAP_TYPE InHeapType
)

Public function

FD3D12Resource

(
    FD3D12Device* ParentDevice,
    FRHIGPUMask VisibleNodes,
    ID3D12Resource* InResource,
    D3D12_RESOURCE_STATES InInitialReso...,
    ED3D12ResourceStateMode InResourceS...,
    D3D12_RESOURCE_STATES InDefaultReso...,
    FD3D12ResourceDesc const& InDesc,
    FD3D12Heap* InHeap,
    D3D12_HEAP_TYPE InHeapType
)

Destructors

Name Description

Public function Virtual

~FD3D12Resource()

Functions

Name Description

Public function

void

 

DeferDelete()

Public function

void

 

DoNotDeferDelete()

Public function Const

uint16

 

GetArraySize()

Public function Const

D3D12_RESOUR...

 

GetDefaultResourceState()

Public function Const

const FD3D12...

 

GetDesc()

Public function Const

D3D12_GPU_VI...

 

GetGPUVirtualAddress()

Public function Const

FD3D12Heap &...

 

GetHeap()

Public function Const

D3D12_HEAP_T...

 

GetHeapType()

Public function Const

uint16

 

GetMipLevels()

Public function Const

FName

 

GetName()

Public function

ID3D12Pageab...

 

GetPageable()

Public function Const

uint8

 

GetPlaneCount()

Public function Const

D3D12_RESOUR...

 

GetReadableState()

Public function

FD3D12Reside...

 

GetResidencyHandle()

Public function Const

ID3D12Resour...

 

GetResource()

Public function Const

void *

 

GetResourceBaseAddress()

Public function

CResourceSta...

 

GetResourceState()

Public function Const

uint16

 

GetSubresourceCount()

Public function Const

ID3D12Resour...

 

GetUAVAccessResource()

Public function Const

D3D12_RESOUR...

 

GetUAVHiddenResourceState()

Public function Const

D3D12_RESOUR...

 

GetWritableState()

Public function Const

bool

 

IsBackBuffer()

Public function Const

bool

 

IsDepthStencilResource()

Public function Const

bool

 

IsPlacedResource()

Public function

void *

 

Map

(
    const D3D12_RANGE* ReadRange
)

Public function Const

bool

 

RequiresResourceStateTracking()

Public function

void

 

SetGPUVirtualAddress

(
    D3D12_GPU_VIRTUAL_ADDRESS Value
)

Public function

void

 

SetIsBackBuffer

(
    bool bBackBufferIn
)

Public function

void

 

SetName

(
    const TCHAR* Name
)

Public function

void

 

SetUAVAccessResource

(
    ID3D12Resource* InUAVAccessRes...
)

Public function

void

 

SetUAVHiddenResourceState

(
    D3D12_RESOURCE_STATES InUAVHiddenRe...
)

Public function Const

bool

 

ShouldDeferDelete()

Public function

void

 

StartTrackingForResidency()

Public function

void

 

Unmap()

Public function

void

 

UpdateResidency

(
    FD3D12CommandListHandle& CommandLi...
)

Operators

Name Description

Public function

 

operator ID3D12Resource &()

Classes

Name

Description

Public struct

FD3D12ResourceTypeHelper