BuildResourceTableTokenStream

Builds a token stream out of the resource map.

Windows
MacOS
Linux

References

Module

ShaderCompilerCommon

Header

/Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h

Include

#include "ShaderCompilerCommon.h"

Source

/Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp

Syntax

void BuildResourceTableTokenStream
(
    const TArray< uint32 > & InResourceMap,
    int32 MaxBoundResourceTable,
    TArray< uint32 > & OutTokenStream,
    bool bGenerateEmptyTokenStreamIfNoResources
)

Remarks

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.