Navigation
API > API/Developer > API/Developer/ShaderCompilerCommon
Description
Builds a token stream out of the resource map. The resource map is one of the arrays generated by BuildResourceTableMapping. The token stream is used at runtime to gather resources from tables and bind them to the appropriate slots.
| Name | BuildResourceTableTokenStream |
| Type | function |
| Header File | /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h |
| Include Path | #include "ShaderCompilerCommon.h" |
| Source | /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp |
void BuildResourceTableTokenStream
(
const TArray< uint32 > & InResourceMap,
int32 MaxBoundResourceTable,
TArray< uint32 > & OutTokenStream,
bool bGenerateEmptyTokenStreamIfNoResources
)