UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MaterialSourceTemplate.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#include "RHI.h"
8
9#if WITH_EDITOR
10
13{
16
18
22
23 /* Returns the string template for specified shader platform. */
24 const FStringTemplate& GetTemplate(EShaderPlatform ShaderPlatform);
25
30 const FString& GetTemplateHashString(EShaderPlatform ShaderPlatform);
31
33 bool Preload(EShaderPlatform ShaderPlatform);
34
37
40
43
46
49
52};
53
54#endif // WITH_EDITOR
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
EShaderPlatform
Definition RHIShaderPlatform.h:11
@ SP_NumPlatforms
Definition RHIShaderPlatform.h:55
Definition IDelegateInstance.h:14
Definition StringTemplate.h:120
Definition StringTemplate.h:35
Definition CriticalSection.h:14
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426