FD3D12ResourceDesc

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

D3D12_RESOURCE_DESC

FD3D12ResourceDesc

References

Module

D3D12RHI

Header

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

Include

#include "D3D12Resources.h"

Syntax

struct FD3D12ResourceDesc : public D3D12_RESOURCE_DESC

Variables

Name Description

Public variable

EPixelFormat

 

PixelFormat

Public variable

EPixelFormat

 

UAVAliasPixelFormat

PixelFormat for the Resource that aliases our current resource.

Constructors

Name Description

Public function

FD3D12ResourceDesc()

Public function

FD3D12ResourceDesc

(
    const CD3DX12_RESOURCE_DESC& Other
)

Public function

FD3D12ResourceDesc

(
    const D3D12_RESOURCE_DESC& Other
)

TODO: use this type everywhere and disallow implicit conversion.

Functions

Name Description

Public function Const

bool

 

NeedsUAVAliasWorkarounds()

Used primarily to help treat this resource description as writable.