FSimpleElementColorChannelMaskPS

A pixel shader for rendering a texture with the ability to weight the colors for each channel.

Windows
MacOS
Linux

Inheritance Hierarchy

FShader

FGlobalShader

FSimpleElementColorChannelMaskPS

References

Module

Engine

Header

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

Include

#include "SimpleElementShaders.h"

Syntax

class FSimpleElementColorChannelMaskPS : public FGlobalShader

Remarks

A pixel shader for rendering a texture with the ability to weight the colors for each channel. The shader also features the ability to view alpha channels and desaturate any red, green or blue channels

Constructors

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* TextureValue,
    const FMatrix& ColorWeightsValue,
    float GammaValue
)

Sets all the constant parameters for this shader

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam...
)

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