UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
D3D12Shaders.cpp File Reference
#include "D3D12RHIPrivate.h"
#include "RHICoreShader.h"

Functions

template<typename TShaderType >
constexpr bool CanReadEntryPoint (const TShaderType &InShader)
 
constexpr bool CanReadEntryPoint (const FD3D12WorkGraphShader &InShader)
 
template<typename TShaderType >
bool InitShaderCommon (FShaderCodeReader &ShaderCode, int32 Offset, TShaderType *InShader)
 
template<typename TShaderType , typename LambdaType >
TShaderTypeInitStandardShaderWithCustomSerialization (TShaderType *InShader, TArrayView< const uint8 > InCode, const LambdaType &CustomSerializationLambda)
 
template<typename TShaderType >
TShaderTypeInitStandardShader (TShaderType *InShader, TArrayView< const uint8 > InCode)
 

Function Documentation

◆ CanReadEntryPoint() [1/2]

constexpr bool CanReadEntryPoint ( const FD3D12WorkGraphShader InShader)
constexpr

◆ CanReadEntryPoint() [2/2]

template<typename TShaderType >
constexpr bool CanReadEntryPoint ( const TShaderType InShader)
constexpr

◆ InitShaderCommon()

template<typename TShaderType >
bool InitShaderCommon ( FShaderCodeReader ShaderCode,
int32  Offset,
TShaderType InShader 
)

◆ InitStandardShader()

template<typename TShaderType >
TShaderType * InitStandardShader ( TShaderType InShader,
TArrayView< const uint8 InCode 
)

◆ InitStandardShaderWithCustomSerialization()

TShaderType * InitStandardShaderWithCustomSerialization ( TShaderType InShader,
TArrayView< const uint8 InCode,
const LambdaType CustomSerializationLambda 
)