FShaderPipeline

A Shader Pipeline instance with compiled stages.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "Shader.h"

Syntax

class FShaderPipeline

Remarks

A Shader Pipeline instance with compiled stages.

Variables

Name Description

Public variable

int32[SF_NumGra...

 

PermutationIds

Public variable

TMemoryImagePtr...

 

Shaders

Public variable

FHashedName

 

TypeName

Constructors

Name Description

Public function

FShaderPipeline

(
    const FShaderPipelineType* InT...
)

Destructors

Name Description

Public function

~FShaderPipeline()

Functions

Name Description

Public function

void

 

AddShader

(
    FShader* Shader,
    int32 PermutationId
)

Public function

void

 

Finalize

(
    const FShaderMapResourceCode* ...
)

Public function

FShader *...

 

FindOrAddShader

(
    FShader* Shader,
    int32 PermutationId
)

Public function Const

uint32

 

GetNumShaders()

Public function

ShaderType &...

 

GetShader

(
    const FShaderMapPointerTable& InPt...
)

Find a shader inside the pipeline.

Public function

FShader *...

 

GetShader

(
    EShaderFrequency Frequency
)

Public function Const

const FShade...

 

GetShader

(
    EShaderFrequency Frequency
)

Public function Const

TArray< TSha...

 

GetShaders

(
    const FShaderMapBase& InShaderMap
)

Public function Const

const FTypeL...

 

GetTypeLayout()

Public function Const

void

 

SaveShaderStableKeys

(
    const FShaderMapPointerTable& InPt...,
    EShaderPlatform TargetShaderPlatfor...,
    const FStableShaderKeyAndValue& Sa...
)

Saves stable keys for the shaders in the pipeline

Public function Static

FTypeLayoutD...

 

StaticGetTypeLayout()

Public function Const

void

 

Validate

(
    const FShaderPipelineType* InP...
)

Classes

Enums

Name

Description

Public enum

EFilter

Typedefs

Name

Description

DerivedType

InternalBaseType

Constants

Name

Description

CounterBase

InterfaceType

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