FSimpleElementDistanceFieldGammaPS

Inheritance Hierarchy

Syntax

class FSimpleElementDistanceFieldGammaPS : public FSimpleElementMaskedGammaBasePS

Remarks

A pixel shader for rendering a masked texture using signed distance filed for alpha on a simple element.

Constructors

Name Description

Public function

FSimpleElementDistanceFieldGammaPS()

Default constructor

Public function

FSimpleElementDistanceFieldGammaPS

(
    const ShaderMetaType::CompiledShade ...
)

Constructor

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade ...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function

void

 

SetParameters

(
    FRHICommandList & RHICmdList,
    const FTexture * Texture,
    float Gamma,
    float ClipRef,
    float SmoothWidthValue,
    bool EnableShadowValue,
    const FVector2D & ShadowDirectionVa...,
    const FLinearColor & ShadowColorVal...,
    float ShadowSmoothWidthValue,
    const FDepthFieldGlowInfo & GlowInf...,
    ESimpleElementBlendMode BlendMode
)

Sets all the constant parameters for this shader

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam ...
)

Determine if this shader should be compiled

Overridden from FShader

Name Description

Public function Virtual Const

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

Public function Virtual

bool

 

Serialize

(
    FArchive & Ar
)

Serialize constant paramaters for this shader

Typedefs

Constants

Name

Description

StaticType

References

Module

Engine

Header

Runtime/Engine/Public/SimpleElementShaders.h