Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/GlobalShader.h |
| Include | #include "GlobalShader.h" |
Syntax
class FGlobalShaderMap
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGlobalShaderMap
(
EShaderPlatform InPlatform |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSection
(
FGlobalShaderMapSection* InSection |
||
| void | |||
| void | Empty () |
||
| FGlobalShaderMapSection * | FindOrAddSection
(
const FShaderType* ShaderType |
||
| FShader * | FindOrAddShader
(
const FShaderType* ShaderType, |
||
| FShaderPipeline * | FindOrAddShaderPipeline
(
const FShaderPipelineType* ShaderPipelineType, |
||
| FGlobalShaderMapSection * | FindSection
(
const FHashedName& HashedShaderFilename |
||
| const FGlobalShaderMapSection * | |||
| void | GetOutdatedTypes
(
TArray< const FShaderType* >& OutdatedShaderTypes, |
||
| TShaderRef< ShaderType > | GetShader
(
int32 PermutationId |
||
| TShaderRef< ShaderType > | GetShader () |
||
| TShaderRef< FShader > | GetShader
(
FShaderType* ShaderType, |
||
| TShaderRef< ShaderType > | GetShader
(
const typename ShaderType::FPermutationDomain& PermutationVector |
Finds the shader with the given type. Asserts on failure. | |
| FShaderPipelineRef | GetShaderPipeline
(
const FShaderPipelineType* PipelineType |
||
| bool | HasShader
(
FShaderType* Type, |
||
| bool | HasShaderPipeline
(
const FShaderPipelineType* ShaderPipelineType |
||
| bool | IsComplete
(
const ITargetPlatform* TargetPlatform |
Whether the shadermap has all the shader types it needs (i.e. ones that returned ShouldCompilePermutation) | |
| bool | IsEmpty () |
||
| void | LoadFromGlobalArchive
(
FArchive& Ar |
||
| void | |||
| void | RemoveShaderPipelineType
(
const FShaderPipelineType* ShaderPipelineType |
||
| void | RemoveShaderTypePermutaion
(
const FShaderType* Type, |
||
| void | SaveShaderStableKeys
(
EShaderPlatform TargetShaderPlatform |
||
| void | SaveToGlobalArchive
(
FArchive& Ar |