TOneColorVS

Vertex shader for rendering a single, constant color.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UtilityShaders

Header

/Engine/Source/Runtime/UtilityShaders/Public/OneColorShader.h

Include

#include "OneColorShader.h"

Syntax

template<bool bUsingNDCPositions, bool bUsingVertexLayers>
class TOneColorVS : public FGlobalShader

Remarks

Vertex shader for rendering a single, constant color.

Constructors

Name Description

Public function

TOneColorVS()

Default constructor.

Public function

TOneColorVS

(
    const ShaderMetaType::CompiledShade...
)

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Static

const TCHAR ...

 

GetFunctionName()

Public function Static

const TCHAR ...

 

GetSourceFilename()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function

void

 

SetDepthParameter

(
    FRHICommandList& RHICmdList,
    float Depth
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FGlobalShaderPermutationParam...
)

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
)

Typedefs

Constants

Name

Description

StaticType

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