Language:
Discover
By Skill Level
By Category

FGlobalShader

Choose your OS:

Inheritance Hierarchy

Syntax

class FGlobalShader : public FShader

Remarks

FGlobalShader

Global shaders derive from this class to set their default recompile group as a global one

Constructors

Name Description

Public function

FGlobalShader()

Public function

FGlobalShader

(
    const ShaderMetaType::CompiledShade ...
)

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade ...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Static

SHADERCORE_A ...

 

ModifyCompilationEnvironment

(
    const FGlobalShaderPermutationParam ...,
    FShaderCompilerEnvironment & OutEnv...
)

FShader interface.

Public function

void

 

SetParameters

(
    TRHICmdList& RHICmdList,
    const ShaderRHIParamRef ShaderRHI,
    const FUniformBufferRHIParamRef Vie...
)

Public function Static

SHADERCORE_A ...

 

ValidateCompiledResult

(
    EShaderPlatform Platform,
    const FShaderParameterMap & Paramet...,
    TArray < FString >& OutErrors
)

Overridden from FShader

Name Description

Public function Virtual

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

Typedefs

Constants

Name

Description

StaticType

References

Module

ShaderCore

Header

Runtime/ShaderCore/Public/GlobalShader.h