AddOptionalData

Overload list

Windows
MacOS
Linux
Name Description

Public function

void

 

AddOptionalData

(
    const T& In
)

For convenience

Public function

void

 

AddOptionalData

(
    uint8 Key,
    const ANSICHAR* InString
)

Note: we don't hash the optional attachments in GenerateOutputHash() as they would prevent sharing (e.g. many material share the save VS) convenience, silently drops the data if string is too long

Public function

void

 

AddOptionalData

(
    uint8 Key,
    const uint8* ValuePtr,
    uint32 ValueSize
)

Note: we don't hash the optional attachments in GenerateOutputHash() as they would prevent sharing (e.g. many material share the save VS) can be called after the non optional data was stored in ShaderData

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss