Navigation
API > API/Runtime > API/Runtime/Engine
A pixel shader for rendering a masked texture using signed distance filed for alpha on a simple element.
| Name | FSimpleElementDistanceFieldGammaPS |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/SimpleElementShaders.h |
| Include Path | #include "SimpleElementShaders.h" |
Syntax
class FSimpleElementDistanceFieldGammaPS : public FSimpleElementMaskedGammaBasePS
Inheritance Hierarchy
- FShader → FGlobalShader → FSimpleElementPS → FSimpleElementGammaBasePS → FSimpleElementMaskedGammaBasePS → FSimpleElementDistanceFieldGammaPS
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| SimpleElementShaders.h | |||
FSimpleElementDistanceFieldGammaPS
(
const ShaderMetaType::CompiledShaderInitializerType& Initializer |
Constructor | SimpleElementShaders.h |
Structs
| Name | Remarks |
|---|---|
| InternalLinkType |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DerivedType | FSimpleElementDistanceFieldGammaPS | SimpleElementShaders.h | |
| InternalBaseType | typename TGetBaseTypeHelper< FSimpleElementDistanceFieldGammaPS >::Type | SimpleElementShaders.h | |
| ShaderMapType | FGlobalShaderMap | SimpleElementShaders.h | |
| ShaderMetaType | FGlobalShaderType | SimpleElementShaders.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CounterBase | int | SimpleElementShaders.h | |
| InterfaceType | ETypeLayoutInterface::Type | SimpleElementShaders.h | |
| ShaderTypeRegistration | FShaderTypeRegistration | SimpleElementShaders.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FShaderParameterEnableGlow | Whether to turn on the outline glow | SimpleElementShaders.h | ||
| FShaderParameterEnableShadow | Toggles drop shadow rendering | SimpleElementShaders.h | ||
| FShaderParameterGlowColor | Base color to use for the glow | SimpleElementShaders.h | ||
| FShaderParameterGlowInnerRadius | Outline glow inner radius | SimpleElementShaders.h | ||
| FShaderParameterGlowOuterRadius | Outline glow outer radius | SimpleElementShaders.h | ||
| FShaderParameterShadowColor | Color of the shadowed pixels | SimpleElementShaders.h | ||
| FShaderParameterShadowDirection | 2D vector specifying the direction of shadow | SimpleElementShaders.h | ||
| FShaderParameterShadowSmoothWidth | The width to smooth the edge the shadow of the texture | SimpleElementShaders.h | ||
| FShaderParameterSmoothWidth | The width to smooth the edge the texture | SimpleElementShaders.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FTypeLayoutDesc & GetTypeLayout() |
SimpleElementShaders.h | ||
void SetParameters
(
FRHIBatchedShaderParameters& BatchedParameters, |
Sets all the constant parameters for this shader | SimpleElementShaders.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FShader * ConstructCompiledInstance
(
const typename FShader::CompiledShaderInitializerType& Initializer |
SimpleElementShaders.h | ||
static FShader * ConstructSerializedInstance() |
SimpleElementShaders.h | ||
static void GetPermutationIdStringImpl
(
int32 PermutationId, |
SimpleElementShaders.h | ||
static ShaderMetaType & GetStaticType() |
SimpleElementShaders.h | ||
static void InternalDestroy
(
void* Object, |
SimpleElementShaders.h | ||
static void InternalInitializeBases
(
FTypeLayoutDesc& TypeDesc |
SimpleElementShaders.h | ||
static void ModifyCompilationEnvironmentImpl
(
const FShaderPermutationParameters& Parameters, |
SimpleElementShaders.h | ||
static bool ShouldCompilePermutationImpl
(
const FShaderPermutationParameters& Parameters |
SimpleElementShaders.h | ||
static EShaderPermutationPrecacheRequest ShouldPrecachePermutationImpl
(
const FShaderPermutationParameters& Parameters |
SimpleElementShaders.h | ||
static FTypeLayoutDesc & StaticGetTypeLayout() |
SimpleElementShaders.h |