43 inline bool IsText()
const;
84 enum class EOutputType
92 FString* ResultString =
nullptr;
93 EOutputType OutputType = EOutputType::Text;
126 , OutputType(EOutputType::
Binary)
132 , OutputType(EOutputType::
Text)
141 return OutputType == EOutputType::Binary;
146 return OutputType == EOutputType::Text;
152 ResultFunc(Data,
Size);
158 return *ResultString;
165 case EOutputType::Text:
166 ResultString->Append(
Value);
168 case EOutputType::Binary:
185 case EOutputType::Text:
186 Value.AppendString(*ResultString);
188 case EOutputType::Binary:
203 case EOutputType::Text:
206 case EOutputType::Binary:
218 case EOutputType::Text:
221 case EOutputType::Binary:
233 case EOutputType::Text:
234 ResultString->Appendf(
TEXT(
"%d"),
Value);
236 case EOutputType::Binary:
248 case EOutputType::Text:
249 ResultString->Appendf(
TEXT(
"%u"),
Value);
251 case EOutputType::Binary:
263 case EOutputType::Text:
264 ResultString->Appendf(
TEXT(
"%X"),
Value);
266 case EOutputType::Binary:
278 case EOutputType::Text:
279 ResultString->AppendChar(
Value ?
'1' :
'0');
281 case EOutputType::Binary:
296 case EOutputType::Text:
297 ResultString->Append(
Value);
299 case EOutputType::Binary:
311 case EOutputType::Text:
312 ResultString->AppendChar(
'_');
314 case EOutputType::Binary:
331 for (
const T& Element :
Value)
341template <
typename T,
typename =
int>
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define check(expr)
Definition AssertionMacros.h:314
#define checkNoEntry()
Definition AssertionMacros.h:316
@ InPlace
Definition CoreMiscDefines.h:162
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
std::enable_if< IsFShaderKeyGeneratorKnownType< T >::value, FShaderKeyGenerator & >::type operator<<(FShaderKeyGenerator &KeyGen, const T &Value)
Definition ShaderKeyGenerator.h:360
TStringView< TCHAR > FStringView
Definition StringFwd.h:45
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
uint32 Size
Definition VulkanMemory.cpp:4034
Definition NameTypes.h:617
Definition SecureHash.h:226
Definition ShaderKeyGenerator.h:29
FShaderKeyGenerator(TUniqueFunction< void(const void *Data, uint64 Size)> &&InResultFunc)
Definition ShaderKeyGenerator.h:124
void AppendSeparator()
Definition ShaderKeyGenerator.h:307
void AppendBoolInt(bool Value)
Definition ShaderKeyGenerator.h:274
void BinaryAppend(const void *Data, uint64 Size)
Definition ShaderKeyGenerator.h:149
void Append(FStringView Value)
Definition ShaderKeyGenerator.h:161
bool IsText() const
Definition ShaderKeyGenerator.h:144
void AppendHex(uint32 Value)
Definition ShaderKeyGenerator.h:259
void AppendDebugText(FStringView Value)
Definition ShaderKeyGenerator.h:292
bool IsBinary() const
Definition ShaderKeyGenerator.h:139
FString & TextGetResultString()
Definition ShaderKeyGenerator.h:155
CharType * GetData() UE_LIFETIMEBOUND
Definition StringBuilder.h:120
int32 Len() const
Definition StringBuilder.h:114
Definition StringBuilder.h:509
Definition FunctionFwd.h:19
Definition ShaderKeyGenerator.h:344