Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/ShaderCore.h |
Include |
#include "ShaderCore.h" |
class FShaderCode
Name | Description | |
---|---|---|
|
FShaderCode() |
Name | Description | ||
---|---|---|---|
|
AddOptionalData ( |
For convenience |
|
|
AddOptionalData |
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 |
|
|
AddOptionalData |
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 |
|
|
FinalizeShaderCode() |
Adds CustomData or does nothing if that was already done before |
|
|
const TArray... |
GetReadAccess() |
For read access, can have additional data attached to the end |
|
GetShaderCodeLegacy |
Inefficient, will/should be replaced by GetShaderCodeToRead() |
|
|
GetShaderCodeSize() |
||
|
GetWriteAccess() |
For write access |