Navigation
API > API/Runtime > API/Runtime/RenderCore
Vertex shader for rendering a single, constant color.
| Name | TOneColorVS |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/OneColorShader.h |
| Include Path | #include "OneColorShader.h" |
Syntax
template<bool bUsingNDCPositions, bool bUsingVertexLayers>
class TOneColorVS : public FGlobalShader
Inheritance Hierarchy
- FShader → FGlobalShader → TOneColorVS
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOneColorVS () |
Default constructor. | OneColorShader.h | |
TOneColorVS
(
const ShaderMetaType::CompiledShaderInitializerType& Initializer |
OneColorShader.h |
Structs
| Name | Remarks |
|---|---|
| InternalLinkType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DerivedType | TOneColorVS | OneColorShader.h | |
| InternalBaseType | typename TGetBaseTypeHelper< TOneColorVS >::Type | OneColorShader.h | |
| ShaderMapType | FGlobalShaderMap | OneColorShader.h | |
| ShaderMetaType | FGlobalShaderType | OneColorShader.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CounterBase | int | OneColorShader.h | |
| InterfaceType | ETypeLayoutInterface::Type | OneColorShader.h | |
| ShaderTypeRegistration | FShaderTypeRegistration | OneColorShader.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FShaderParameterDepthParameter | OneColorShader.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FTypeLayoutDesc & GetTypeLayout() |
OneColorShader.h | ||
void SetParameters
(
FRHIBatchedShaderParameters& BatchedParameters, |
OneColorShader.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FShader * ConstructCompiledInstance
(
const typename FShader::CompiledShaderInitializerType& Initializer |
OneColorShader.h | ||
static FShader * ConstructSerializedInstance() |
OneColorShader.h | ||
static const TCHAR * GetFunctionName() |
OneColorShader.h | ||
static void GetPermutationIdStringImpl
(
int32 PermutationId, |
OneColorShader.h | ||
static const TCHAR * GetSourceFilename() |
OneColorShader.h | ||
static ShaderMetaType & GetStaticType() |
OneColorShader.h | ||
static void InternalDestroy
(
void* Object, |
OneColorShader.h | ||
static void InternalInitializeBases
(
FTypeLayoutDesc& TypeDesc |
OneColorShader.h | ||
static void ModifyCompilationEnvironment
(
const FGlobalShaderPermutationParameters& Parameters, |
OneColorShader.h | ||
static void ModifyCompilationEnvironmentImpl
(
const FShaderPermutationParameters& Parameters, |
OneColorShader.h | ||
static bool ShouldCompilePermutation
(
const FGlobalShaderPermutationParameters& Parameters |
OneColorShader.h | ||
static bool ShouldCompilePermutationImpl
(
const FShaderPermutationParameters& Parameters |
OneColorShader.h | ||
static EShaderPermutationPrecacheRequest ShouldPrecachePermutationImpl
(
const FShaderPermutationParameters& Parameters |
OneColorShader.h | ||
static FTypeLayoutDesc & StaticGetTypeLayout() |
OneColorShader.h |