UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ShaderBaseClasses.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*=============================================================================
4 ShaderBaseClasses.h: Shader base classes
5=============================================================================*/
6
7#pragma once
8
9#include "CoreMinimal.h"
10#include "UniformBuffer.h"
11#include "Shader.h"
12#include "MeshMaterialShader.h"
13
17
19// This was moved out of ScenePrivate.h to workaround MSVC vs clang template issue (it's used in this header file, so needs to be declared earlier)
20// Z is the dither fade value (-1 = just fading in, 0 no fade, 1 = just faded out)
21// W is unused and zero
25
27
32
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define END_GLOBAL_SHADER_PARAMETER_STRUCT
Definition ShaderParameterMacros.h:1669
#define SHADER_PARAMETER_EX(MemberType, MemberName, Precision)
Definition ShaderParameterMacros.h:1687
#define BEGIN_GLOBAL_SHADER_PARAMETER_STRUCT
Definition ShaderParameterMacros.h:1663
Definition PrimitiveSceneProxy.h:296
Definition ShaderParameterMacros.h:136
Definition ShaderParameterMetadata.h:36
Definition MeshBatch.h:232