UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Substrate Namespace Reference

Classes

class  FMaterialDebugSubstrateTreeCS
 
class  FMaterialDebugSubstrateTreePS
 
class  FMaterialPrintInfoCS
 
class  FOpaqueRoughRefractionPS
 
class  FSubstrateClosureTilePassCS
 
class  FSubstrateClosureTilePrepareArgsPassCS
 
class  FSubstrateDBufferPassCS
 
class  FSubstrateDBufferPassPS
 
class  FSubstrateMaterialStencilTaggingPassPS
 
class  FSubstrateMaterialTileClassificationPassCS
 
class  FSubstrateMaterialTilePrepareArgsPassCS
 
class  FSubstrateSampleMaterialPassCS
 
class  FSubstrateSystemInfoCS
 
class  FSubstrateTilePassVS
 
class  FVisualizeMaterialCountPS
 

Functions

bool IsSubstrateEnabled ()
 
bool IsSubstrateBlendableGBufferEnabled (EShaderPlatform InPlatform)
 
bool IsStochasticLightingEnabled (EShaderPlatform InPlatform)
 
uint32 GetBytePerPixel (EShaderPlatform InPlatform)
 
uint32 GetClosurePerPixel (EShaderPlatform InPlatform)
 
uint32 GetNormalQuality ()
 
uint32 GetRayTracingMaterialPayloadSizeInBytes (bool bFullySimplifiedMaterial)
 
bool IsRoughDiffuseEnabled ()
 
bool IsRoughDiffuseEnabled (EShaderPlatform InPlatform)
 
bool IsGlintEnabled ()
 
bool IsGlintEnabled (EShaderPlatform InPlatform)
 
uint32 GlintLUTIndex ()
 
float GlintLevelBias ()
 
float GlintLevelMin ()
 
bool IsSpecularProfileEnabled ()
 
bool IsSpecularProfileEnabled (EShaderPlatform InPlatform)
 
uint32 GetSheenQuality ()
 
uint32 GetSheenQuality (EShaderPlatform InPlatform)
 
uint32 GetShadingQuality ()
 
uint32 GetShadingQuality (EShaderPlatform InPlatform)
 
bool IsDBufferPassEnabled (EShaderPlatform InPlatform)
 
bool IsOpaqueRoughRefractionEnabled (EShaderPlatform InPlatform)
 
bool IsAdvancedVisualizationEnabled ()
 
bool IsAdvancedVisualizationEnabled (EShaderPlatform InPlatform)
 
bool IsMaterialLayeringSupportEnabled ()
 
bool IsHiddenMaterialAssetConversionEnabled ()
 
bool AreLightingPassesTiled ()
 
FSubstrateCommonParameters GetSubstrateCommonParameter (const FSubstrateSceneData &In)
 
uint32 GetMaxDownsampleFactor ()
 
uint32 GetClosureTileIndirectArgsOffset (uint32 InDownsampleFactor)
 
bool IsStochasticLightingActive (EShaderPlatform InPlatform)
 
bool UsesSubstrateMaterialBuffer (EShaderPlatform In)
 
uint32 GetMaterialBufferAllocationMode ()
 
bool UsesSubstrateClosureCountFromMaterialData ()
 
uint32 GetSubstrateMaxClosureCount (const FViewInfo &View)
 
FIntPoint GetSubstrateTextureResolution (const FViewInfo &View, const FIntPoint &InResolution)
 
bool Is8bitTileCoordEnabled ()
 
bool GetSubstrateUsesTileType (const FViewInfo &View, ESubstrateTileType TileType)
 
bool GetSubstrateUsesComplexSpecialPath (const FViewInfo &View)
 
bool GetSubstrateUsesAnisotropy (const FViewInfo &View)
 
bool SupportsCMask (const FStaticShaderPlatform InPlatform)
 
bool IsClassificationAsync ()
 
bool UsesStochasticLightingClassification (EShaderPlatform InPlatform)
 
void InitialiseSubstrateFrameSceneData (FRDGBuilder &GraphBuilder, FSceneRenderer &SceneRenderer)
 
void BindSubstrateBasePassUniformParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, FSubstrateBasePassUniformParameters &OutSubstrateUniformParameters)
 
void BindSubstrateForwardPasslUniformParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, FSubstrateForwardPassUniformParameters &OutSubstrateUniformParameters)
 
void BindSubstrateMobileForwardPasslUniformParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, FSubstrateMobileForwardPassUniformParameters &OutSubstrateUniformParameters)
 
TRDGUniformBufferRef< FSubstrateGlobalUniformParametersBindSubstrateGlobalUniformParameters (const FViewInfo &View)
 
void BindSubstratePublicGlobalUniformParameters (FRDGBuilder &GraphBuilder, const FSubstrateSceneData *SubstrateSceneData, FSubstratePublicParameters &OutSubstrateParameters)
 
TRDGUniformBufferRef< FSubstratePublicGlobalUniformParametersCreatePublicGlobalUniformBuffer (FRDGBuilder &GraphBuilder, FSubstrateSceneData *SubstrateScene)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateClosureTilePassCS, "/Engine/Private/Substrate/SubstrateMaterialClassification.usf", "ClosureTileMainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateMaterialTileClassificationPassCS, "/Engine/Private/Substrate/SubstrateMaterialClassification.usf", "TileMainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateDBufferPassCS, "/Engine/Private/Substrate/SubstrateDBuffer.usf", "DBufferPassCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateDBufferPassPS, "/Engine/Private/Substrate/SubstrateDBuffer.usf", "DBufferPassPS", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateMaterialTilePrepareArgsPassCS, "/Engine/Private/Substrate/SubstrateMaterialClassification.usf", "ArgsMainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateClosureTilePrepareArgsPassCS, "/Engine/Private/Substrate/SubstrateMaterialClassification.usf", "ArgsMainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateTilePassVS, "/Engine/Private/Substrate/SubstrateTile.usf", "SubstrateTilePassVS", SF_Vertex)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateMaterialStencilTaggingPassPS, "/Engine/Private/Substrate/SubstrateTile.usf", "StencilTaggingMainPS", SF_Pixel)
 
FSubstrateTilePassVS::FParameters SetTileParameters (const FViewInfo &View, const ESubstrateTileType TileType, EPrimitiveType &PrimitiveType)
 
FSubstrateTilePassVS::FParameters SetTileParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, const ESubstrateTileType TileType, EPrimitiveType &PrimitiveType)
 
FSubstrateTileParameter SetTileParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, const ESubstrateTileType TileType)
 
uint32 TileTypeDrawIndirectArgOffset (const ESubstrateTileType Type)
 
uint32 TileTypeDispatchIndirectArgOffset (const ESubstrateTileType Type)
 
void AddSubstrateInternalClassificationTilePass (FRDGBuilder &GraphBuilder, const FViewInfo &View, const FRDGTextureRef *DepthTexture, const FRDGTextureRef *ColorTexture, ESubstrateTileType TileMaterialType, const bool bDebug=false)
 
void AddSubstrateStencilPass (FRDGBuilder &GraphBuilder, const TArray< FViewInfo > &Views, const FMinimalSceneTextures &SceneTextures)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateSampleMaterialPassCS, "/Engine/Private/Substrate/SubstrateMaterialSampling.usf", "SubstrateMaterialSamplingCS", SF_Compute)
 
void AppendSubstrateMRTs (const FSceneRenderer &SceneRenderer, uint32 &RenderTargetCount, TArrayView< FTextureRenderTargetBinding > RenderTargets)
 
void SetBasePassRenderTargetOutputFormat (const EShaderPlatform Platform, const FMaterialShaderParameters &MaterialParameters, FShaderCompilerEnvironment &OutEnvironment, EGBufferLayout GBufferLayout)
 
void AddSubstrateMaterialClassificationIndirectArgsPass (FRDGBuilder &GraphBuilder, const FViewInfo &View, ERDGPassFlags ComputePassFlags)
 
void AddSubstrateMaterialClassificationPass (FRDGBuilder &GraphBuilder, const FMinimalSceneTextures &SceneTextures, const FDBufferTextures &DBufferTextures, const TArray< FViewInfo > &Views)
 
void AddSubstrateDBufferPass (FRDGBuilder &GraphBuilder, const FSceneTextures &SceneTextures, const FDBufferTextures &DBufferTextures, const TArray< FViewInfo > &Views)
 
void AddSubstrateDBufferBasePass (FRDGBuilder &GraphBuilder, TArray< FViewInfo > &Views, const FSceneTextures &InSceneTextures, FDBufferTextures &DBufferTextures, FDecalVisibilityTaskData *DecalVisibility, FInstanceCullingManager &InstanceCullingManager, const FSubstrateSceneData &SubstrateSceneData)
 
void AddSubstrateSampleMaterialPass (FRDGBuilder &GraphBuilder, const FScene *Scene, const FMinimalSceneTextures &SceneTextures, const TArray< FViewInfo > &Views)
 
bool ShouldCompileSubstrateTileTypePermutations (const int32 SubstrateTileType, const EShaderPlatform Platform)
 
void AddSubstrateOpaqueRoughRefractionPasses (FRDGBuilder &GraphBuilder, FSceneTextures &SceneTextures, TArrayView< const FViewInfo > Views)
 
bool ShouldRenderSubstrateDebugPasses (const FViewInfo &View)
 
FScreenPassTexture AddSubstrateDebugPasses (FRDGBuilder &GraphBuilder, const FViewInfo &View, FScreenPassTexture &ScreenPassSceneColor)
 
void AddProcessAndPrintSubstrateMaterialPropertiesPasses (FRDGBuilder &GraphBuilder, const FViewInfo &View, FRDGTextureRef SceneColorTexture, EShaderPlatform Platform, FSubstrateViewDebugData::FTransientPixelDebugBuffer &NewSubstratePixelDebugBuffer)
 
 IMPLEMENT_GLOBAL_SHADER (FOpaqueRoughRefractionPS, "/Engine/Private/Substrate/SubstrateRoughRefraction.usf", "OpaqueRoughRefractionPS", SF_Pixel)
 
bool ShouldRenderSubstrateRoughRefractionRnD ()
 
void SubstrateRoughRefractionRnD (FRDGBuilder &GraphBuilder, const FViewInfo &View, FScreenPassTexture &ScreenPassSceneColor)
 
 IMPLEMENT_GLOBAL_SHADER (FMaterialPrintInfoCS, "/Engine/Private/Substrate/SubstrateVisualize.usf", "MaterialPrintInfoCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FVisualizeMaterialCountPS, "/Engine/Private/Substrate/SubstrateVisualize.usf", "VisualizeMaterialPS", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (FSubstrateSystemInfoCS, "/Engine/Private/Substrate/SubstrateVisualize.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FMaterialDebugSubstrateTreeCS, "/Engine/Private/Substrate/SubstrateVisualize.usf", "MaterialDebugSubstrateTreeCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FMaterialDebugSubstrateTreePS, "/Engine/Private/Substrate/SubstrateVisualize.usf", "MaterialDebugSubstrateTreePS", SF_Pixel)
 

Variables

constexpr uint32 StencilBit_Fast_1 = StencilBit_Fast
 
constexpr uint32 StencilBit_Single_1 = StencilBit_Single
 
constexpr uint32 StencilBit_Complex_1 = StencilBit_Complex
 
constexpr uint32 StencilBit_ComplexSpecial_1 = StencilBit_ComplexSpecial
 
constexpr uint32 StencilBit_Fast = 0x10
 
constexpr uint32 StencilBit_Single = 0x20
 
constexpr uint32 StencilBit_Complex = 0x40
 
constexpr uint32 StencilBit_ComplexSpecial = 0x80
 

Function Documentation

◆ AddProcessAndPrintSubstrateMaterialPropertiesPasses()

void Substrate::AddProcessAndPrintSubstrateMaterialPropertiesPasses ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FRDGTextureRef  SceneColorTexture,
EShaderPlatform  Platform,
FSubstrateViewDebugData::FTransientPixelDebugBuffer NewSubstratePixelDebugBuffer 
)

◆ AddSubstrateDBufferBasePass()

void Substrate::AddSubstrateDBufferBasePass ( FRDGBuilder GraphBuilder,
TArray< FViewInfo > &  Views,
const FSceneTextures InSceneTextures,
FDBufferTextures DBufferTextures,
FDecalVisibilityTaskData DecalVisibility,
FInstanceCullingManager InstanceCullingManager,
const FSubstrateSceneData SubstrateSceneData 
)

◆ AddSubstrateDBufferPass()

void Substrate::AddSubstrateDBufferPass ( FRDGBuilder GraphBuilder,
const FSceneTextures SceneTextures,
const FDBufferTextures DBufferTextures,
const TArray< FViewInfo > &  Views 
)

◆ AddSubstrateDebugPasses()

FScreenPassTexture Substrate::AddSubstrateDebugPasses ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FScreenPassTexture ScreenPassSceneColor 
)

◆ AddSubstrateInternalClassificationTilePass()

void Substrate::AddSubstrateInternalClassificationTilePass ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const FRDGTextureRef DepthTexture,
const FRDGTextureRef ColorTexture,
ESubstrateTileType  TileMaterialType,
const bool  bDebug = false 
)

◆ AddSubstrateMaterialClassificationIndirectArgsPass()

void Substrate::AddSubstrateMaterialClassificationIndirectArgsPass ( FRDGBuilder GraphBuilder,
const FViewInfo View,
ERDGPassFlags  ComputePassFlags 
)

◆ AddSubstrateMaterialClassificationPass()

void Substrate::AddSubstrateMaterialClassificationPass ( FRDGBuilder GraphBuilder,
const FMinimalSceneTextures SceneTextures,
const FDBufferTextures DBufferTextures,
const TArray< FViewInfo > &  Views 
)

◆ AddSubstrateOpaqueRoughRefractionPasses()

void Substrate::AddSubstrateOpaqueRoughRefractionPasses ( FRDGBuilder GraphBuilder,
FSceneTextures SceneTextures,
TArrayView< const FViewInfo Views 
)

◆ AddSubstrateSampleMaterialPass()

void Substrate::AddSubstrateSampleMaterialPass ( FRDGBuilder GraphBuilder,
const FScene Scene,
const FMinimalSceneTextures SceneTextures,
const TArray< FViewInfo > &  Views 
)

◆ AddSubstrateStencilPass()

void Substrate::AddSubstrateStencilPass ( FRDGBuilder GraphBuilder,
const TArray< FViewInfo > &  Views,
const FMinimalSceneTextures SceneTextures 
)

◆ AppendSubstrateMRTs()

void Substrate::AppendSubstrateMRTs ( const FSceneRenderer SceneRenderer,
uint32 RenderTargetCount,
TArrayView< FTextureRenderTargetBinding RenderTargets 
)

◆ AreLightingPassesTiled()

RENDERCORE_API bool Substrate::AreLightingPassesTiled ( )

◆ BindSubstrateBasePassUniformParameters()

void Substrate::BindSubstrateBasePassUniformParameters ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FSubstrateBasePassUniformParameters OutSubstrateUniformParameters 
)

◆ BindSubstrateForwardPasslUniformParameters()

void Substrate::BindSubstrateForwardPasslUniformParameters ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FSubstrateForwardPassUniformParameters OutSubstrateUniformParameters 
)

◆ BindSubstrateGlobalUniformParameters()

TRDGUniformBufferRef< FSubstrateGlobalUniformParameters > Substrate::BindSubstrateGlobalUniformParameters ( const FViewInfo View)

◆ BindSubstrateMobileForwardPasslUniformParameters()

void Substrate::BindSubstrateMobileForwardPasslUniformParameters ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FSubstrateMobileForwardPassUniformParameters OutSubstrateUniformParameters 
)

◆ BindSubstratePublicGlobalUniformParameters()

void Substrate::BindSubstratePublicGlobalUniformParameters ( FRDGBuilder GraphBuilder,
const FSubstrateSceneData SubstrateSceneData,
FSubstratePublicParameters OutSubstrateParameters 
)

◆ CreatePublicGlobalUniformBuffer()

TRDGUniformBufferRef< FSubstratePublicGlobalUniformParameters > Substrate::CreatePublicGlobalUniformBuffer ( FRDGBuilder GraphBuilder,
FSubstrateSceneData SubstrateScene 
)

◆ GetBytePerPixel()

RENDERCORE_API uint32 Substrate::GetBytePerPixel ( EShaderPlatform  InPlatform)

◆ GetClosurePerPixel()

RENDERCORE_API uint32 Substrate::GetClosurePerPixel ( EShaderPlatform  InPlatform)

◆ GetClosureTileIndirectArgsOffset()

uint32 Substrate::GetClosureTileIndirectArgsOffset ( uint32  InDownsampleFactor)

◆ GetMaterialBufferAllocationMode()

uint32 Substrate::GetMaterialBufferAllocationMode ( )

◆ GetMaxDownsampleFactor()

uint32 Substrate::GetMaxDownsampleFactor ( )

◆ GetNormalQuality()

RENDERCORE_API uint32 Substrate::GetNormalQuality ( )

◆ GetRayTracingMaterialPayloadSizeInBytes()

RENDERCORE_API uint32 Substrate::GetRayTracingMaterialPayloadSizeInBytes ( bool  bFullySimplifiedMaterial)

◆ GetShadingQuality() [1/2]

RENDERCORE_API uint32 Substrate::GetShadingQuality ( )

◆ GetShadingQuality() [2/2]

RENDERCORE_API uint32 Substrate::GetShadingQuality ( EShaderPlatform  InPlatform)

◆ GetSheenQuality() [1/2]

RENDERCORE_API uint32 Substrate::GetSheenQuality ( )

◆ GetSheenQuality() [2/2]

RENDERCORE_API uint32 Substrate::GetSheenQuality ( EShaderPlatform  InPlatform)

◆ GetSubstrateCommonParameter()

FSubstrateCommonParameters Substrate::GetSubstrateCommonParameter ( const FSubstrateSceneData In)

◆ GetSubstrateMaxClosureCount()

uint32 Substrate::GetSubstrateMaxClosureCount ( const FViewInfo View)

◆ GetSubstrateTextureResolution()

FIntPoint Substrate::GetSubstrateTextureResolution ( const FViewInfo View,
const FIntPoint InResolution 
)

◆ GetSubstrateUsesAnisotropy()

bool Substrate::GetSubstrateUsesAnisotropy ( const FViewInfo View)

◆ GetSubstrateUsesComplexSpecialPath()

bool Substrate::GetSubstrateUsesComplexSpecialPath ( const FViewInfo View)

◆ GetSubstrateUsesTileType()

bool Substrate::GetSubstrateUsesTileType ( const FViewInfo View,
ESubstrateTileType  TileType 
)

◆ GlintLevelBias()

RENDERCORE_API float Substrate::GlintLevelBias ( )

◆ GlintLevelMin()

RENDERCORE_API float Substrate::GlintLevelMin ( )

◆ GlintLUTIndex()

RENDERCORE_API uint32 Substrate::GlintLUTIndex ( )

◆ IMPLEMENT_GLOBAL_SHADER() [1/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FMaterialDebugSubstrateTreeCS  ,
"/Engine/Private/Substrate/SubstrateVisualize.usf"  ,
"MaterialDebugSubstrateTreeCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [2/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FMaterialDebugSubstrateTreePS  ,
"/Engine/Private/Substrate/SubstrateVisualize.usf"  ,
"MaterialDebugSubstrateTreePS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [3/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FMaterialPrintInfoCS  ,
"/Engine/Private/Substrate/SubstrateVisualize.usf"  ,
"MaterialPrintInfoCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [4/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FOpaqueRoughRefractionPS  ,
"/Engine/Private/Substrate/SubstrateRoughRefraction.usf"  ,
"OpaqueRoughRefractionPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [5/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateClosureTilePassCS  ,
"/Engine/Private/Substrate/SubstrateMaterialClassification.usf"  ,
"ClosureTileMainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [6/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateClosureTilePrepareArgsPassCS  ,
"/Engine/Private/Substrate/SubstrateMaterialClassification.usf"  ,
"ArgsMainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [7/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateDBufferPassCS  ,
"/Engine/Private/Substrate/SubstrateDBuffer.usf"  ,
"DBufferPassCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [8/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateDBufferPassPS  ,
"/Engine/Private/Substrate/SubstrateDBuffer.usf"  ,
"DBufferPassPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [9/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateMaterialStencilTaggingPassPS  ,
"/Engine/Private/Substrate/SubstrateTile.usf"  ,
"StencilTaggingMainPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [10/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateMaterialTileClassificationPassCS  ,
"/Engine/Private/Substrate/SubstrateMaterialClassification.usf"  ,
"TileMainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [11/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateMaterialTilePrepareArgsPassCS  ,
"/Engine/Private/Substrate/SubstrateMaterialClassification.usf"  ,
"ArgsMainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [12/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateSampleMaterialPassCS  ,
"/Engine/Private/Substrate/SubstrateMaterialSampling.usf"  ,
"SubstrateMaterialSamplingCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [13/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateSystemInfoCS  ,
"/Engine/Private/Substrate/SubstrateVisualize.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [14/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FSubstrateTilePassVS  ,
"/Engine/Private/Substrate/SubstrateTile.usf"  ,
"SubstrateTilePassVS"  ,
SF_Vertex   
)

◆ IMPLEMENT_GLOBAL_SHADER() [15/15]

Substrate::IMPLEMENT_GLOBAL_SHADER ( FVisualizeMaterialCountPS  ,
"/Engine/Private/Substrate/SubstrateVisualize.usf"  ,
"VisualizeMaterialPS"  ,
SF_Pixel   
)

◆ InitialiseSubstrateFrameSceneData()

void Substrate::InitialiseSubstrateFrameSceneData ( FRDGBuilder GraphBuilder,
FSceneRenderer SceneRenderer 
)

◆ Is8bitTileCoordEnabled()

bool Substrate::Is8bitTileCoordEnabled ( )

◆ IsAdvancedVisualizationEnabled() [1/2]

RENDERCORE_API bool Substrate::IsAdvancedVisualizationEnabled ( )

◆ IsAdvancedVisualizationEnabled() [2/2]

RENDERCORE_API bool Substrate::IsAdvancedVisualizationEnabled ( EShaderPlatform  InPlatform)

◆ IsClassificationAsync()

bool Substrate::IsClassificationAsync ( )

◆ IsDBufferPassEnabled()

RENDERCORE_API bool Substrate::IsDBufferPassEnabled ( EShaderPlatform  InPlatform)

◆ IsGlintEnabled() [1/2]

RENDERCORE_API bool Substrate::IsGlintEnabled ( )

◆ IsGlintEnabled() [2/2]

RENDERCORE_API bool Substrate::IsGlintEnabled ( EShaderPlatform  InPlatform)

◆ IsHiddenMaterialAssetConversionEnabled()

RENDERCORE_API bool Substrate::IsHiddenMaterialAssetConversionEnabled ( )

◆ IsMaterialLayeringSupportEnabled()

RENDERCORE_API bool Substrate::IsMaterialLayeringSupportEnabled ( )

◆ IsOpaqueRoughRefractionEnabled()

RENDERCORE_API bool Substrate::IsOpaqueRoughRefractionEnabled ( EShaderPlatform  InPlatform)

◆ IsRoughDiffuseEnabled() [1/2]

RENDERCORE_API bool Substrate::IsRoughDiffuseEnabled ( )

◆ IsRoughDiffuseEnabled() [2/2]

RENDERCORE_API bool Substrate::IsRoughDiffuseEnabled ( EShaderPlatform  InPlatform)

◆ IsSpecularProfileEnabled() [1/2]

RENDERCORE_API bool Substrate::IsSpecularProfileEnabled ( )

◆ IsSpecularProfileEnabled() [2/2]

RENDERCORE_API bool Substrate::IsSpecularProfileEnabled ( EShaderPlatform  InPlatform)

◆ IsStochasticLightingActive()

bool Substrate::IsStochasticLightingActive ( EShaderPlatform  InPlatform)

◆ IsStochasticLightingEnabled()

RENDERCORE_API bool Substrate::IsStochasticLightingEnabled ( EShaderPlatform  InPlatform)

◆ IsSubstrateBlendableGBufferEnabled()

RENDERCORE_API bool Substrate::IsSubstrateBlendableGBufferEnabled ( EShaderPlatform  InPlatform)

◆ IsSubstrateEnabled()

RENDERCORE_API bool Substrate::IsSubstrateEnabled ( )

◆ SetBasePassRenderTargetOutputFormat()

void Substrate::SetBasePassRenderTargetOutputFormat ( const EShaderPlatform  Platform,
const FMaterialShaderParameters MaterialParameters,
FShaderCompilerEnvironment OutEnvironment,
EGBufferLayout  GBufferLayout 
)

◆ SetTileParameters() [1/3]

FSubstrateTilePassVS::FParameters Substrate::SetTileParameters ( const FViewInfo View,
const ESubstrateTileType  TileType,
EPrimitiveType PrimitiveType 
)

◆ SetTileParameters() [2/3]

FSubstrateTileParameter Substrate::SetTileParameters ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const ESubstrateTileType  TileType 
)

◆ SetTileParameters() [3/3]

FSubstrateTilePassVS::FParameters Substrate::SetTileParameters ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const ESubstrateTileType  TileType,
EPrimitiveType PrimitiveType 
)

◆ ShouldCompileSubstrateTileTypePermutations()

bool Substrate::ShouldCompileSubstrateTileTypePermutations ( const int32  SubstrateTileType,
const EShaderPlatform  Platform 
)

◆ ShouldRenderSubstrateDebugPasses()

bool Substrate::ShouldRenderSubstrateDebugPasses ( const FViewInfo View)

◆ ShouldRenderSubstrateRoughRefractionRnD()

bool Substrate::ShouldRenderSubstrateRoughRefractionRnD ( )

◆ SubstrateRoughRefractionRnD()

void Substrate::SubstrateRoughRefractionRnD ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FScreenPassTexture ScreenPassSceneColor 
)

◆ SupportsCMask()

bool Substrate::SupportsCMask ( const FStaticShaderPlatform  InPlatform)

◆ TileTypeDispatchIndirectArgOffset()

uint32 Substrate::TileTypeDispatchIndirectArgOffset ( const ESubstrateTileType  Type)

◆ TileTypeDrawIndirectArgOffset()

uint32 Substrate::TileTypeDrawIndirectArgOffset ( const ESubstrateTileType  Type)

◆ UsesStochasticLightingClassification()

bool Substrate::UsesStochasticLightingClassification ( EShaderPlatform  InPlatform)

◆ UsesSubstrateClosureCountFromMaterialData()

bool Substrate::UsesSubstrateClosureCountFromMaterialData ( )

◆ UsesSubstrateMaterialBuffer()

bool Substrate::UsesSubstrateMaterialBuffer ( EShaderPlatform  In)

Variable Documentation

◆ StencilBit_Complex

constexpr uint32 Substrate::StencilBit_Complex = 0x40
constexpr

◆ StencilBit_Complex_1

constexpr uint32 Substrate::StencilBit_Complex_1 = StencilBit_Complex
constexpr

◆ StencilBit_ComplexSpecial

constexpr uint32 Substrate::StencilBit_ComplexSpecial = 0x80
constexpr

◆ StencilBit_ComplexSpecial_1

constexpr uint32 Substrate::StencilBit_ComplexSpecial_1 = StencilBit_ComplexSpecial
constexpr

◆ StencilBit_Fast

constexpr uint32 Substrate::StencilBit_Fast = 0x10
constexpr

◆ StencilBit_Fast_1

constexpr uint32 Substrate::StencilBit_Fast_1 = StencilBit_Fast
constexpr

◆ StencilBit_Single

constexpr uint32 Substrate::StencilBit_Single = 0x20
constexpr

◆ StencilBit_Single_1

constexpr uint32 Substrate::StencilBit_Single_1 = StencilBit_Single
constexpr