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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback