FSimpleElementDistanceFieldGammaPS

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SimpleElementShaders.h

Include

#include "SimpleElementShaders.h"

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 typename FShader::CompiledSha...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Const

const FTypeL...

 

GetTypeLayout()

Public function Static

void

 

ModifyCompilationEnvironmentImpl

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

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

Public function Static

bool

 

ShouldCompilePermutationImpl

(
    const FShaderPermutationParameters ...
)

Public function Static

FTypeLayoutD...

 

StaticGetTypeLayout()

Classes

Name

Description

Public struct

InternalLinkType

Typedefs

Constants

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