FGlobalShaderMap

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/GlobalShader.h

Include

#include "GlobalShader.h"

Syntax

class FGlobalShaderMap

Constructors

Name Description

Public function

FGlobalShaderMap

(
    EShaderPlatform InPlatform
)

Destructors

Name Description

Public function

~FGlobalShaderMap()

Functions

Name Description

Public function

void

 

AddSection

(
    FGlobalShaderMapSection* InSec...
)

Public function

void

 

BeginCreateAllShaders()

Public function

void

 

Empty()

Public function

FGlobalShade...

 

FindOrAddSection

(
    const FShaderType* ShaderType
)

Public function

FShader *...

 

FindOrAddShader

(
    const FShaderType* ShaderType,
    int32 PermutationId,
    FShader* Shader
)

Public function

FShaderPipel...

 

FindOrAddShaderPipeline

(
    const FShaderPipelineType* Sha...,
    FShaderPipeline* ShaderPipelin...
)

Public function

FGlobalShade...

 

FindSection

(
    const FHashedName& HashedShaderFil...
)

Public function Const

void

 

GetOutdatedTypes

(
    TArray< const FShaderType* >&...,
    TArray< const FShaderPipelineType&...,
    TArray< const FVertexFactoryType&#...
)

Public function Const

TShaderRef< ...

 

GetShader

(
    int32 PermutationId
)

Public function Const

TShaderRef< ...

 

GetShader

(
    FShaderType* ShaderType,
    int32 PermutationId
)

Public function Const

TShaderRef< ...

 

GetShader

(
    const typename ShaderType::FPermuta...
)

Finds the shader with the given type. Asserts on failure.

Public function Const

FShaderPipel...

 

GetShaderPipeline

(
    const FShaderPipelineType* Pip...
)

Public function Const

bool

 

HasShader

(
    FShaderType* Type,
    int32 PermutationId
)

Public function Const

bool

 

HasShaderPipeline

(
    const FShaderPipelineType* Sha...
)

Public function Const

bool

 

IsEmpty()

Public function

void

 

LoadFromGlobalArchive

(
    FArchive& Ar
)

Public function

void

 

ReleaseAllSections()

Public function

void

 

RemoveShaderPipelineType

(
    const FShaderPipelineType* Sha...
)

Public function

void

 

RemoveShaderTypePermutaion

(
    const FShaderType* Type,
    int32 PermutationId
)

Public function

void

 

SaveShaderStableKeys

(
    EShaderPlatform TargetShaderPlatfor...
)

Public function

void

 

SaveToGlobalArchive

(
    FArchive& Ar
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss