UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionDepthOfFieldFunction.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3
4#pragma once
5
6#include "CoreMinimal.h"
10#include "MaterialExpressionDepthOfFieldFunction.generated.h"
11
12// Note: The index is used to map the enum to different code in the shader
13UENUM()
26
27UCLASS()
29{
31
32
35
37 UPROPERTY()
39
40
41 //~ Begin UMaterialExpression Interface
42#if WITH_EDITOR
43 virtual int32 Compile(class FMaterialCompiler* Compiler, int32 OutputIndex) override;
44 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
45#endif
46 //~ End UMaterialExpression Interface
47};
48
49
50
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EDepthOfFieldFunctionValue
Definition MaterialExpressionDepthOfFieldFunction.h:15
@ TDOF_CircleOfConfusionRadius
Definition MaterialExpressionDepthOfFieldFunction.h:23
@ TDOF_NearMask
Definition MaterialExpressionDepthOfFieldFunction.h:19
@ TDOF_MAX
Definition MaterialExpressionDepthOfFieldFunction.h:24
@ TDOF_FarMask
Definition MaterialExpressionDepthOfFieldFunction.h:21
@ TDOF_NearAndFarMask
Definition MaterialExpressionDepthOfFieldFunction.h:17
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
Definition MaterialCompiler.h:109
Definition Array.h:670
Definition EnumAsByte.h:22
Definition MaterialExpressionDepthOfFieldFunction.h:29
Definition MaterialExpression.h:150
Definition MaterialExpressionIO.h:23