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