UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RHIResources.h File Reference
#include "CoreTypes.h"
#include "Misc/AssertionMacros.h"
#include "HAL/UnrealMemory.h"
#include "Containers/Array.h"
#include "Misc/Crc.h"
#include "Containers/UnrealString.h"
#include "UObject/NameTypes.h"
#include "Math/Color.h"
#include "Containers/StaticArray.h"
#include "HAL/ThreadSafeCounter.h"
#include "Templates/RefCounting.h"
#include "PixelFormat.h"
#include "Async/TaskGraphFwd.h"
#include "RHIFwd.h"
#include "RHIImmutableSamplerState.h"
#include "RHITransition.h"
#include "MultiGPU.h"
#include "Math/IntPoint.h"
#include "Math/IntRect.h"
#include "Math/IntVector.h"
#include "Misc/SecureHash.h"
#include <atomic>

Go to the source code of this file.

Classes

struct  FRHISizeAndStride
 
class  FRHIResource
 
struct  FClearValueBinding
 
struct  FClearValueBinding::DSVAlue
 
union  FClearValueBinding::ClearValueType
 
class  FExclusiveDepthStencil
 
class  FRHISamplerState
 
class  FRHIRasterizerState
 
class  FRHIDepthStencilState
 
class  FRHIBlendState
 
class  FRHIVertexDeclaration
 
class  FRHIBoundShaderState
 
struct  FShaderResourceTable
 
class  FRHIShaderData
 
class  FRHIShader
 
class  FRHIGraphicsShader
 
class  FRHIVertexShader
 
class  FRHIMeshShader
 
class  FRHIAmplificationShader
 
class  FRHIPixelShader
 
class  FRHIGeometryShader
 
class  FRHIRayTracingShader
 
class  FRHIRayGenShader
 
class  FRHIRayMissShader
 
class  FRHIRayCallableShader
 
class  FRHIRayHitGroupShader
 
class  FRHIComputeShader
 
class  FRHIWorkGraphShader
 
class  FRHIWorkGraphRootShader
 
class  FRHIWorkGraphComputeNodeShader
 
class  FRHIGraphicsPipelineState
 
class  FRHIComputePipelineState
 
class  FRHIWorkGraphPipelineState
 
class  FRHIRayTracingPipelineState
 
struct  FRHIUniformBufferResource
 
struct  FRHIUniformBufferLayout
 
class  FRHIUniformBuffer
 
class  FRHIViewableResource
 
struct  FRHIBufferDesc
 
struct  FRHIBufferCreateDesc
 
class  FRHIBuffer
 
class  FRHIStreamSourceSlot
 
class  FLastRenderTimeContainer
 
struct  FRHITextureDesc
 
struct  FRHITextureCreateDesc
 
class  FRHITexture
 
class  FRHIGPUFence
 
class  FRHIRenderQuery
 
class  FRHIPooledRenderQuery
 
class  FRHIRenderQueryPool
 
class  FRHIViewport
 
struct  TRHIRange< TType >
 
struct  FRHIViewDesc
 
struct  FRHIViewDesc::FCommon
 
struct  FRHIViewDesc::FBuffer
 
struct  FRHIViewDesc::FTexture
 
struct  FRHIViewDesc::FBufferSRV
 
struct  FRHIViewDesc::FBufferUAV
 
struct  FRHIViewDesc::FTextureSRV
 
struct  FRHIViewDesc::FTextureUAV
 
struct  FRHIViewDesc::FBufferSRV::FInitializer
 
struct  FRHIViewDesc::FBufferUAV::FInitializer
 
struct  FRHIViewDesc::FTextureSRV::FInitializer
 
struct  FRHIViewDesc::FTextureUAV::FInitializer
 
struct  FRHIViewDesc::FBuffer::FViewInfo
 
struct  FRHIViewDesc::FBufferSRV::FViewInfo
 
struct  FRHIViewDesc::FBufferUAV::FViewInfo
 
struct  FRHIViewDesc::FTexture::FViewInfo
 
struct  FRHIViewDesc::FTextureSRV::FViewInfo
 
struct  FRHIViewDesc::FTextureUAV::FViewInfo
 
class  FRHIView
 
class  FRHIUnorderedAccessView
 
class  FRHIShaderResourceView
 
struct  FRayTracingGeometryInstance
 
struct  FRayTracingGeometryOfflineDataHeader
 
struct  FRayTracingGeometrySegment
 
struct  FRayTracingGeometryInitializer
 
struct  FRayTracingShaderBindingTableInitializer
 
struct  FRayTracingSceneInitializer
 
struct  FRayTracingAccelerationStructureSize
 
struct  FRayTracingAccelerationStructureOfflineMetadata
 
class  FRHIRayTracingAccelerationStructure
 
class  FRHIRayTracingGeometry
 
class  FRHIRayTracingScene
 
struct  FRayTracingClusterOperationSize
 
struct  FRayTracingClusterOperationMoveInitializer
 
struct  FRayTracingClusterOperationCLASInitializer
 
struct  FRayTracingClusterOperationBLASInitializer
 
struct  FRayTracingClusterOperationInitializer
 
class  FRHIShaderBindingTable
 
struct  FShaderBundleCreateInfo
 
class  FRHIShaderBundle
 
class  FRHIStagingBuffer
 
class  FGenericRHIStagingBuffer
 
class  FRHIRenderTargetView
 
class  FRHIDepthRenderTargetView
 
class  FRHISetRenderTargetsInfo
 
class  FRHICustomPresent
 
struct  TRHIShaderToEnum< TRHIShader >
 
struct  TRHIShaderToEnum< FRHIVertexShader >
 
struct  TRHIShaderToEnum< FRHIMeshShader >
 
struct  TRHIShaderToEnum< FRHIAmplificationShader >
 
struct  TRHIShaderToEnum< FRHIPixelShader >
 
struct  TRHIShaderToEnum< FRHIGeometryShader >
 
struct  TRHIShaderToEnum< FRHIComputeShader >
 
struct  TRHIShaderToEnum< FRHIVertexShader * >
 
struct  TRHIShaderToEnum< FRHIMeshShader * >
 
struct  TRHIShaderToEnum< FRHIAmplificationShader * >
 
struct  TRHIShaderToEnum< FRHIPixelShader * >
 
struct  TRHIShaderToEnum< FRHIGeometryShader * >
 
struct  TRHIShaderToEnum< FRHIComputeShader * >
 
struct  TRHIShaderToEnum< FVertexShaderRHIRef >
 
struct  TRHIShaderToEnum< FMeshShaderRHIRef >
 
struct  TRHIShaderToEnum< FAmplificationShaderRHIRef >
 
struct  TRHIShaderToEnum< FPixelShaderRHIRef >
 
struct  TRHIShaderToEnum< FGeometryShaderRHIRef >
 
struct  TRHIShaderToEnum< FComputeShaderRHIRef >
 
struct  FBoundShaderStateInput
 
struct  FGraphicsPipelineRenderTargetsInfo
 
class  FGraphicsPipelineStateInitializer
 
class  FComputePipelineStateInitializer
 
class  FWorkGraphPipelineStateSignature
 
class  FWorkGraphPipelineStateInitializer
 
struct  FWorkGraphPipelineStateInitializer::FNameMap
 
class  FRayTracingPipelineStateSignature
 
class  FRayTracingPipelineStateInitializer
 
class  FRHIGraphicsPipelineStateFallBack
 
class  FRHIComputePipelineStateFallback
 
struct  FResolveRect
 
struct  FRHIRenderPassInfo
 
struct  FRHIRenderPassInfo::FColorEntry
 
struct  FRHIRenderPassInfo::FDepthStencilEntry
 
class  FRHIContextArray
 
struct  FRHIParallelRenderPassInfo
 
struct  FRHITextureSRVCreateInfo
 
struct  FRHITextureUAVCreateInfo
 
struct  FRHIBufferSRVCreateInfo
 
struct  FRHIBufferUAVCreateInfo
 
class  FRHITextureViewCache
 
class  FRHIBufferViewCache
 

Namespaces

namespace  UE
 
namespace  UE::RHICore
 

Macros

#define RHI_INCLUDE_SHADER_DEBUG_DATA   1
 
#define RHI_IF_SHADER_DEBUG_DATA(...)   __VA_ARGS__
 
#define RTACTION_MAKE_MASK(Load, Store)   (((uint8)ERenderTargetLoadAction::Load << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::Store)
 
#define RTACTION_MAKE_MASK(Depth, Stencil)   (((uint8)ERenderTargetActions::Depth << (uint8)DepthMask) | (uint8)ERenderTargetActions::Stencil)
 

Typedefs

typedef TArray< FGraphEventRef, TInlineAllocator< 4 > > FGraphEventArray
 
typedef TArray< struct FVertexElement, TFixedAllocator< MaxVertexElementCount > > FVertexDeclarationElementList
 
using FRHITextureCreateInfo = FRHITextureDesc
 
using ERHITextureMetaDataAccess = ERHITexturePlane
 
using FRHIRange8 = TRHIRange< uint8 >
 
using FRHIRange16 = TRHIRange< uint16 >
 
using FRayTracingAccelerationStructureAddress = uint64
 
using FRHIBufferCreateInfo = FRHIBufferDesc
 

Enumerations

enum class  EClearBinding { ENoneBound , EColorBound , EDepthStencilBound }
 
enum class  ERHIBufferInitAction { Default , Zeroed , ResourceArray , Initializer }
 
enum class  ERHITextureInitAction { Default , BulkData , Initializer }
 
enum class  ERHITexturePlane : uint8 {
  Primary = 0 , PrimaryCompressed = 1 , Depth = 2 , Stencil = 3 ,
  HTile = 4 , FMask = 5 , CMask = 6 , Num ,
  NumBits = 3 , None = Primary , CompressedSurface = PrimaryCompressed
}
 
enum class  ERayTracingInstanceFlags : uint8 {
  None = 0 , TriangleCullDisable = 1 << 1 , TriangleCullReverse = 1 << 2 , ForceOpaque = 1 << 3 ,
  ForceNonOpaque = 1 << 4
}
 
enum  ERayTracingGeometryType { RTGT_Triangles , RTGT_Procedural }
 
enum class  ERayTracingGeometryInitializerType : uint8 { Rendering , StreamingDestination , StreamingSource }
 
enum  ERayTracingSceneLifetime { RTSL_SingleFrame }
 
enum class  ERayTracingAccelerationStructureFlags {
  None = 0 , AllowUpdate = 1 << 0 , AllowCompaction = 1 << 1 , FastTrace = 1 << 2 ,
  FastBuild = 1 << 3 , MinimizeMemory = 1 << 4
}
 
enum class  ERayTracingShaderBindingTableLifetime : uint8 { Transient , Persistent }
 
enum class  ERayTracingShaderBindingMode : uint8 { Disabled = 0 , Inline = 1 << 0 , RTPSO = 1 << 1 }
 
enum class  ERayTracingHitGroupIndexingMode : uint8 { Allow , Disallow }
 
enum class  ERayTracingClusterOperationType : uint8 {
  MOVE , CLAS_BUILD , CLAS_BUILD_TEMPLATES , CLAS_INSTANTIATE_TEMPLATES ,
  BLAS_BUILD
}
 
enum class  ERayTracingClusterOperationMoveType : uint8 { BOTTOM_LEVEL , CLUSTER_LEVEL , TEMPLATE }
 
enum class  ERayTracingClusterOperationMode : uint8 { IMPLICIT_DESTINATIONS , EXPLICIT_DESTINATIONS , GET_SIZES }
 
enum class  ERayTracingClusterOperationFlags : uint8 {
  NONE = 0x0 , FAST_TRACE = 0x1 , FAST_BUILD = 0x2 , NO_OVERLAP = 0x4 ,
  ALLOW_OMM = 0x8
}
 
enum class  ERHIShaderBundleMode : uint8 { CS , MSPS , VSPS , MAX }
 
enum class  ESubpassHint : uint8 { None , DepthReadSubpass , DeferredShadingSubpass , CustomResolveSubpass }
 
enum class  EConservativeRasterization : uint8 { Disabled , Overestimated }
 
enum class  ERenderTargetActions : uint8 {
  LoadOpMask = 2 , RTACTION_MAKE_MASK , DontLoad_DontStore = RTACTION_MAKE_MASK(ENoAction, ENoAction) , DontLoad_Store = RTACTION_MAKE_MASK(ENoAction, EStore) ,
  Clear_Store = RTACTION_MAKE_MASK(EClear, EStore) , Load_Store = RTACTION_MAKE_MASK(ELoad, EStore) , Clear_DontStore = RTACTION_MAKE_MASK(EClear, ENoAction) , Load_DontStore = RTACTION_MAKE_MASK(ELoad, ENoAction) ,
  Clear_Resolve = RTACTION_MAKE_MASK(EClear, EMultisampleResolve) , Load_Resolve = RTACTION_MAKE_MASK(ELoad, EMultisampleResolve)
}
 
enum class  EDepthStencilTargetActions : uint8 {
  DepthMask = 4 , RTACTION_MAKE_MASK , DontLoad_DontStore = RTACTION_MAKE_MASK(DontLoad_DontStore, DontLoad_DontStore) , DontLoad_StoreDepthStencil = RTACTION_MAKE_MASK(DontLoad_Store, DontLoad_Store) ,
  DontLoad_StoreStencilNotDepth = RTACTION_MAKE_MASK(DontLoad_DontStore, DontLoad_Store) , ClearDepthStencil_StoreDepthStencil = RTACTION_MAKE_MASK(Clear_Store, Clear_Store) , LoadDepthStencil_StoreDepthStencil = RTACTION_MAKE_MASK(Load_Store, Load_Store) , LoadDepthNotStencil_StoreDepthNotStencil = RTACTION_MAKE_MASK(Load_Store, DontLoad_DontStore) ,
  LoadDepthNotStencil_DontStore = RTACTION_MAKE_MASK(Load_DontStore, DontLoad_DontStore) , LoadDepthStencil_StoreStencilNotDepth = RTACTION_MAKE_MASK(Load_DontStore, Load_Store) , ClearDepthStencil_DontStoreDepthStencil = RTACTION_MAKE_MASK(Clear_DontStore, Clear_DontStore) , LoadDepthStencil_DontStoreDepthStencil = RTACTION_MAKE_MASK(Load_DontStore, Load_DontStore) ,
  ClearDepthStencil_StoreDepthNotStencil = RTACTION_MAKE_MASK(Clear_Store, Clear_DontStore) , ClearDepthStencil_StoreStencilNotDepth = RTACTION_MAKE_MASK(Clear_DontStore, Clear_Store) , ClearDepthStencil_ResolveDepthNotStencil = RTACTION_MAKE_MASK(Clear_Resolve, Clear_DontStore) , ClearDepthStencil_ResolveStencilNotDepth = RTACTION_MAKE_MASK(Clear_DontStore, Clear_Resolve) ,
  LoadDepthClearStencil_StoreDepthStencil = RTACTION_MAKE_MASK(Load_Store, Clear_Store) , ClearStencilDontLoadDepth_StoreStencilNotDepth = RTACTION_MAKE_MASK(DontLoad_DontStore, Clear_Store)
}
 
enum  ERHITextureSRVOverrideSRGBType : uint8 { SRGBO_Default , SRGBO_ForceDisable }
 

Functions

struct UE_DEPRECATED (5.6, "FRHIResourceCreateInfo is no longer used. Please use FRHIBufferCreateDesc or FRHITextureCreateDesc.") FRHIResourceCreateInfo
 
void UE::RHICore::InitStaticUniformBufferSlots (FRHIShaderData *ShaderData)
 
RHI_API ERHIAccess RHIGetDefaultResourceState (EBufferUsageFlags InUsage, bool bInHasInitialData)
 
RHI_API ERHIAccess RHIGetDefaultResourceState (ETextureCreateFlags InUsage, bool bInHasInitialData)
 
ERHIDescriptorType RHIDescriptorTypeFromViewType (FRHIViewDesc::EViewType ViewType)
 
ERHIDescriptorType RHIDescriptorTypeFromViewDesc (const FRHIViewDesc &InViewDesc)
 
 ENUM_CLASS_FLAGS (ERayTracingInstanceFlags)
 
 DECLARE_INTRINSIC_TYPE_LAYOUT (ERayTracingGeometryType)
 
 DECLARE_INTRINSIC_TYPE_LAYOUT (ERayTracingGeometryInitializerType)
 
 ENUM_CLASS_FLAGS (ERayTracingAccelerationStructureFlags)
 
 ENUM_CLASS_FLAGS (ERayTracingShaderBindingTableLifetime)
 
 ENUM_CLASS_FLAGS (ERayTracingShaderBindingMode)
 
 ENUM_CLASS_FLAGS (ERayTracingHitGroupIndexingMode)
 
 ENUM_CLASS_FLAGS (ERayTracingClusterOperationFlags)
 
template<typename TRHIShaderType >
const TCHARGetShaderFrequencyString (bool bIncludePrefix=true)
 
template<typename TShaderType >
uint64 ComputeShaderTableHash (const TArrayView< TShaderType * > &ShaderTable, uint64 InitialHash=5699878132332235837ull)
 
ERenderTargetActions MakeRenderTargetActions (ERenderTargetLoadAction Load, ERenderTargetStoreAction Store)
 
ERenderTargetLoadAction GetLoadAction (ERenderTargetActions Action)
 
ERenderTargetStoreAction GetStoreAction (ERenderTargetActions Action)
 
constexpr EDepthStencilTargetActions MakeDepthStencilTargetActions (const ERenderTargetActions Depth, const ERenderTargetActions Stencil)
 
ERenderTargetActions GetDepthActions (EDepthStencilTargetActions Action)
 
ERenderTargetActions GetStencilActions (EDepthStencilTargetActions Action)
 

Variables

constexpr uint16 kUniformBufferInvalidOffset = TNumericLimits<uint16>::Max()
 

Macro Definition Documentation

◆ RHI_IF_SHADER_DEBUG_DATA

#define RHI_IF_SHADER_DEBUG_DATA (   ...)    __VA_ARGS__

◆ RHI_INCLUDE_SHADER_DEBUG_DATA

#define RHI_INCLUDE_SHADER_DEBUG_DATA   1

◆ RTACTION_MAKE_MASK [1/2]

◆ RTACTION_MAKE_MASK [2/2]

#define RTACTION_MAKE_MASK (   Load,
  Store 
)    (((uint8)ERenderTargetLoadAction::Load << (uint8)LoadOpMask) | (uint8)ERenderTargetStoreAction::Store)

Typedef Documentation

◆ ERHITextureMetaDataAccess

◆ FGraphEventArray

◆ FRayTracingAccelerationStructureAddress

◆ FRHIBufferCreateInfo

Descriptor used to create a buffer resource

◆ FRHIRange16

◆ FRHIRange8

◆ FRHITextureCreateInfo

◆ FVertexDeclarationElementList

Enumeration Type Documentation

◆ EClearBinding

enum class EClearBinding
strong
Enumerator
ENoneBound 
EColorBound 
EDepthStencilBound 

◆ EConservativeRasterization

Enumerator
Disabled 
Overestimated 

◆ EDepthStencilTargetActions

Enumerator
DepthMask 
RTACTION_MAKE_MASK 
DontLoad_DontStore 
DontLoad_StoreDepthStencil 
DontLoad_StoreStencilNotDepth 
ClearDepthStencil_StoreDepthStencil 
LoadDepthStencil_StoreDepthStencil 
LoadDepthNotStencil_StoreDepthNotStencil 
LoadDepthNotStencil_DontStore 
LoadDepthStencil_StoreStencilNotDepth 
ClearDepthStencil_DontStoreDepthStencil 
LoadDepthStencil_DontStoreDepthStencil 
ClearDepthStencil_StoreDepthNotStencil 
ClearDepthStencil_StoreStencilNotDepth 
ClearDepthStencil_ResolveDepthNotStencil 
ClearDepthStencil_ResolveStencilNotDepth 
LoadDepthClearStencil_StoreDepthStencil 
ClearStencilDontLoadDepth_StoreStencilNotDepth 

◆ ERayTracingAccelerationStructureFlags

Enumerator
None 
AllowUpdate 
AllowCompaction 
FastTrace 
FastBuild 
MinimizeMemory 

◆ ERayTracingClusterOperationFlags

Enumerator
NONE 
FAST_TRACE 
FAST_BUILD 
NO_OVERLAP 
ALLOW_OMM 

◆ ERayTracingClusterOperationMode

Enumerator
IMPLICIT_DESTINATIONS 
EXPLICIT_DESTINATIONS 
GET_SIZES 

◆ ERayTracingClusterOperationMoveType

Enumerator
BOTTOM_LEVEL 
CLUSTER_LEVEL 
TEMPLATE 

◆ ERayTracingClusterOperationType

Enumerator
MOVE 
CLAS_BUILD 
CLAS_BUILD_TEMPLATES 
CLAS_INSTANTIATE_TEMPLATES 
BLAS_BUILD 

◆ ERayTracingGeometryInitializerType

Enumerator
Rendering 
StreamingDestination 
StreamingSource 

◆ ERayTracingGeometryType

Enumerator
RTGT_Triangles 
RTGT_Procedural 

◆ ERayTracingHitGroupIndexingMode

Enumerator
Allow 
Disallow 

◆ ERayTracingInstanceFlags

Enumerator
None 
TriangleCullDisable 
TriangleCullReverse 
ForceOpaque 
ForceNonOpaque 

◆ ERayTracingSceneLifetime

Enumerator
RTSL_SingleFrame 

◆ ERayTracingShaderBindingMode

Enumerator
Disabled 
Inline 
RTPSO 

◆ ERayTracingShaderBindingTableLifetime

Enumerator
Transient 
Persistent 

◆ ERenderTargetActions

Enumerator
LoadOpMask 
RTACTION_MAKE_MASK 
DontLoad_DontStore 
DontLoad_Store 
Clear_Store 
Load_Store 
Clear_DontStore 
Load_DontStore 
Clear_Resolve 
Load_Resolve 

◆ ERHIBufferInitAction

enum class ERHIBufferInitAction
strong
Enumerator
Default 
Zeroed 
ResourceArray 
Initializer 

◆ ERHIShaderBundleMode

Enumerator
CS 
MSPS 
VSPS 
MAX 

◆ ERHITextureInitAction

Enumerator
Default 
BulkData 
Initializer 

◆ ERHITexturePlane

enum class ERHITexturePlane : uint8
strong

Used to specify a texture metadata plane when creating a view.

Enumerator
Primary 
PrimaryCompressed 
Depth 
Stencil 
HTile 
FMask 
CMask 
Num 
NumBits 
None 
CompressedSurface 

◆ ERHITextureSRVOverrideSRGBType

Enumerator
SRGBO_Default 
SRGBO_ForceDisable 

◆ ESubpassHint

enum class ESubpassHint : uint8
strong
Enumerator
None 
DepthReadSubpass 
DeferredShadingSubpass 
CustomResolveSubpass 

Function Documentation

◆ ComputeShaderTableHash()

template<typename TShaderType >
uint64 ComputeShaderTableHash ( const TArrayView< TShaderType * > &  ShaderTable,
uint64  InitialHash = 5699878132332235837ull 
)
inline

Helper for fast compute of hash for a shader table.

◆ DECLARE_INTRINSIC_TYPE_LAYOUT() [1/2]

DECLARE_INTRINSIC_TYPE_LAYOUT ( ERayTracingGeometryInitializerType  )

◆ DECLARE_INTRINSIC_TYPE_LAYOUT() [2/2]

DECLARE_INTRINSIC_TYPE_LAYOUT ( ERayTracingGeometryType  )

◆ ENUM_CLASS_FLAGS() [1/6]

ENUM_CLASS_FLAGS ( ERayTracingAccelerationStructureFlags  )

◆ ENUM_CLASS_FLAGS() [2/6]

ENUM_CLASS_FLAGS ( ERayTracingClusterOperationFlags  )

◆ ENUM_CLASS_FLAGS() [3/6]

ENUM_CLASS_FLAGS ( ERayTracingHitGroupIndexingMode  )

◆ ENUM_CLASS_FLAGS() [4/6]

ENUM_CLASS_FLAGS ( ERayTracingInstanceFlags  )

◆ ENUM_CLASS_FLAGS() [5/6]

ENUM_CLASS_FLAGS ( ERayTracingShaderBindingMode  )

◆ ENUM_CLASS_FLAGS() [6/6]

ENUM_CLASS_FLAGS ( ERayTracingShaderBindingTableLifetime  )

◆ GetDepthActions()

ERenderTargetActions GetDepthActions ( EDepthStencilTargetActions  Action)
inline

◆ GetLoadAction()

ERenderTargetLoadAction GetLoadAction ( ERenderTargetActions  Action)
inline

◆ GetShaderFrequencyString()

const TCHAR * GetShaderFrequencyString ( bool  bIncludePrefix = true)
inline

◆ GetStencilActions()

ERenderTargetActions GetStencilActions ( EDepthStencilTargetActions  Action)
inline

◆ GetStoreAction()

ERenderTargetStoreAction GetStoreAction ( ERenderTargetActions  Action)
inline

◆ MakeDepthStencilTargetActions()

constexpr EDepthStencilTargetActions MakeDepthStencilTargetActions ( const ERenderTargetActions  Depth,
const ERenderTargetActions  Stencil 
)
inlineconstexpr

◆ MakeRenderTargetActions()

ERenderTargetActions MakeRenderTargetActions ( ERenderTargetLoadAction  Load,
ERenderTargetStoreAction  Store 
)
inline

◆ RHIDescriptorTypeFromViewDesc()

ERHIDescriptorType RHIDescriptorTypeFromViewDesc ( const FRHIViewDesc InViewDesc)
inline

◆ RHIDescriptorTypeFromViewType()

ERHIDescriptorType RHIDescriptorTypeFromViewType ( FRHIViewDesc::EViewType  ViewType)
inline

◆ RHIGetDefaultResourceState() [1/2]

RHI_API ERHIAccess RHIGetDefaultResourceState ( EBufferUsageFlags  InUsage,
bool  bInHasInitialData 
)

Get the best default resource state for the given buffer creation flags

◆ RHIGetDefaultResourceState() [2/2]

RHI_API ERHIAccess RHIGetDefaultResourceState ( ETextureCreateFlags  InUsage,
bool  bInHasInitialData 
)
extern

Get the best default resource state for the given texture creation flags

◆ UE_DEPRECATED()

struct UE_DEPRECATED ( 5.  6,
"FRHIResourceCreateInfo is no longer used. Please use FRHIBufferCreateDesc or FRHITextureCreateDesc."   
)

Variable Documentation

◆ kUniformBufferInvalidOffset

constexpr uint16 kUniformBufferInvalidOffset = TNumericLimits<uint16>::Max()
inlineconstexpr