UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionBindlessSwitch.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "MaterialExpressionBindlessSwitch.generated.h"
7
8UCLASS(MinimalAPI)
10{
12
13public:
14
15 UPROPERTY(meta = (RequiredInput = "true", ToolTip = "Input will be used when rendering without bindless support"))
17
18 UPROPERTY(meta = (RequiredInput = "true", ToolTip = "Input will be used when rendering with bindless support"))
20
21 //~ Begin UMaterialExpression Interface
22#if WITH_EDITOR
23 virtual int32 Compile(FMaterialCompiler* Compiler, int32 OutputIndex) override;
24 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
25 virtual bool IsInputConnectionRequired(int32 InputIndex) const override;
26 virtual bool IsResultMaterialAttributes(int32 OutputIndex) override;
27 virtual void GetExpressionToolTip(TArray<FString>& OutToolTip) override;
28#endif
29 //~ End UMaterialExpression Interface
30};
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
return true
Definition ExternalRpcRegistry.cpp:601
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition MaterialCompiler.h:109
Definition Array.h:670
Definition MaterialExpressionBindlessSwitch.h:10
Definition MaterialExpression.h:150
Definition MaterialExpressionIO.h:23