UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
OneColorShader.cpp File Reference

Macros

#define IMPLEMENT_ONECOLORVS(A, B)
 

Functions

 IMPLEMENT_GLOBAL_SHADER (FOneColorPS,"/Engine/Private/OneColorShader.usf","MainPixelShader", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (TOneColorPixelShaderMRT,"/Engine/Private/OneColorShader.usf","MainPixelShaderMRT", SF_Pixel)
 
 IMPLEMENT_SHADER_TYPE (, FFillTextureCS, TEXT("/Engine/Private/OneColorShader.usf"), TEXT("MainFillTextureCS"), SF_Compute)
 

Macro Definition Documentation

◆ IMPLEMENT_ONECOLORVS

#define IMPLEMENT_ONECOLORVS (   A,
  B 
)
Value:
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ SF_Vertex
Definition RHIDefinitions.h:203
Definition OneColorShader.h:30

Function Documentation

◆ IMPLEMENT_GLOBAL_SHADER() [1/2]

IMPLEMENT_GLOBAL_SHADER ( FOneColorPS  ,
"/Engine/Private/OneColorShader.usf"  ,
"MainPixelShader"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [2/2]

IMPLEMENT_GLOBAL_SHADER ( TOneColorPixelShaderMRT  ,
"/Engine/Private/OneColorShader.usf"  ,
"MainPixelShaderMRT"  ,
SF_Pixel   
)

◆ IMPLEMENT_SHADER_TYPE()

IMPLEMENT_SHADER_TYPE ( FFillTextureCS  ,
TEXT("/Engine/Private/OneColorShader.usf" ,
TEXT("MainFillTextureCS")  ,
SF_Compute   
)