BuildResourceTableTokenStream

Builds a token stream out of the resource map.

Unreal Engine C++ API Reference > Developer > ShaderCompilerCommon

References

   
Module ShaderCompilerCommon
Header /Engine/Source/Developer/ShaderCompilerCommon/Public/ShaderCompilerCommon.h
Include #include "ShaderCompilerCommon.h"
Source /Engine/Source/Developer/ShaderCompilerCommon/Private/ShaderCompilerCommon.cpp
void BuildResourceTableTokenStream  
(  
    const [TArray](API\Runtime\Core\Containers\TArray)< uint32 > & InResourceMap,  
    int32 MaxBoundResourceTable,  
    [TArray](API\Runtime\Core\Containers\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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library