UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialExpressionTextureSampleParameter2DArray.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "CoreMinimal.h"
7#include "MaterialExpressionTextureSampleParameter2DArray.generated.h"
8
11{
13
14public:
15
16#if WITH_EDITOR
17 // Begin UMaterialExpression Interface
18 virtual void GetCaption(TArray<FString>& OutCaptions) const override;
19 virtual void Build(MIR::FEmitter& Emitter) override;
20 virtual int32 Compile(class FMaterialCompiler* Compiler, int32 OutputIndex) override;
21 // End UMaterialExpression Interface
22#endif
23
24 // Begin UMaterialExpressionTextureSampleParameter Interface
25#if WITH_EDITOR
26 virtual bool TextureIsValid( UTexture* InTexture, FString& OutMessage) override;
27#endif
28 virtual bool IsAllowedIn(const UObject* MaterialOrFunction) const override;
29 virtual const TCHAR* GetRequirements();
30 // End UMaterialExpressionTextureSampleParameter Interface
31};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
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
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition MaterialCompiler.h:109
Definition Array.h:670
Definition MaterialExpressionTextureSampleParameter2DArray.h:11
Definition MaterialExpressionTextureSampleParameter.h:17
Definition Object.h:95
Definition Texture.h:1219