FGlobalShader

[FGlobalShader](API\Runtime\RenderCore\FGlobalShader)

Windows
MacOS
Linux

Inheritance Hierarchy

FDeferredCleanupInterface

FShader

FGlobalShader

FAYUVConvertPS

FBMPConvertPS

FClearBufferReplacementCS

FClearReplacementPS

FClearReplacementVS

FClearTexture2DArrayReplacementCS

FClearTexture2DReplacementCS

FClearTexture2DReplacementScissorCS

FClearVolumeReplacementCS

FCopyRectPS

FCopyTexture2DCS

FCubemapTexturePropertiesPS

FCubemapTexturePropertiesVS

FFillTextureCS

FHdrCustomResolve2xPS

FHdrCustomResolve4xPS

FHdrCustomResolve8xPS

FHdrCustomResolveFMask2xPS

FHdrCustomResolveFMask4xPS

FHdrCustomResolveFMask8xPS

FHdrCustomResolveVS

FIESLightProfilePS

FInvertAlphaPS

FLongGPUTaskPS

FMediaShadersVS

FNiagaraCopyIntBufferRegionCS

FNiagaraDrawIndirectArgsGenCS

FNiagaraSortKeyGenCS

FNULLPS

FNV12ConvertPS

FNV21ConvertPS

FOculusAlphaInverseShader

FOculusBlackShader

FOculusCubemapPS

FOculusVertexShader

FOculusWhiteShader

FOneColorPS

TOneColorPixelShaderMRT

FResolveDepth2XPS

FResolveDepth4XPS

FResolveDepth8XPS

FResolveDepthNonMSPS

FResolveDepthPS

FResolveSingleSamplePS

FResolveVS

FRGB10toYUVv210ConvertPS

FRGB8toUYVY8ConvertPS

FRGBConvertPS

FScreenPS

FScreenPS_OSE

FScreenPSsRGBSource

FScreenVertexShaderVS

FScreenVS

TScreenVSForGS

FSetAlphaOnePS

FSimpleElementColorChannelMaskPS

FSimpleElementHitProxyPS

FSimpleElementPS

FSimpleElementAlphaOnlyPS

FSimpleElementGammaBasePS

FSimpleElementGammaAlphaOnlyPS

FSimpleElementGammaPS

FSimpleElementMaskedGammaBasePS

FSimpleElementDistanceFieldGammaPS

FSimpleElementMaskedGammaPS

FSimpleElementVS

FStereoLayerPS_Base

FStereoLayerPS

FStereoLayerPS_External

FStereoLayerVS

FUpdateTexture2DSubresouceCS

FUpdateTexture3DSubresouceCS

FUYVYConvertPS

FWmfMediaHardwareVideoDecodingShader

FHardwareVideoDecodingPassThroughPS

FHardwareVideoDecodingPS

FHardwareVideoDecodingVS

FHardwareVideoDecodingY416PS

FWriteToSliceGS

FWriteToSliceVS

FYCbCrConvertPS

FYCbCrConvertPS_4x4Matrix

FYUVConvertPS

FYUVv210ConvertPS

FYUY2ConvertPS

FYVYUConvertPS

TCopyDataCS

TCopyTexture2DCS

TOneColorVS

TUpdateTexture2DSubresouceCS

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/GlobalShader.h

Include

#include "GlobalShader.h"

Syntax

class FGlobalShader : public FShader

Remarks

FGlobalShader

Global shaders derive from this class to set their default recompile group as a global one

Constructors

Name Description

Public function

FGlobalShader()

Public function

FGlobalShader

(
    const ShaderMetaType::CompiledShade...
)

Functions

Name Description

Public function Static

FShader *...

 

ConstructCompiledInstance

(
    const ShaderMetaType::CompiledShade...
)

Public function Static

FShader *...

 

ConstructSerializedInstance()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function

void

 

SetParameters

(
    TRHICmdList& RHICmdList,
    const ShaderRHIParamRef ShaderRHI,
    FRHIUniformBuffer* ViewUniform...
)

Public function Static

bool

 

ValidateCompiledResult

(
    EShaderPlatform Platform,
    const FShaderParameterMap& Paramet...,
    TArray< FString >& OutErrors
)

Overridden from FShader

Name Description

Public function Virtual Const

uint32

 

GetTypeSize()

Returns the size of the concrete type of this shader.

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