Navigation
API > API/Developer > API/Developer/TargetPlatform > API/Developer/TargetPlatform/Interfaces > API/Developer/TargetPlatform/Interfaces/IShaderFormat
References
Module | TargetPlatform |
Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/IShaderFormat.h |
Include | #include "Interfaces/IShaderFormat.h" |
virtual bool StripShaderCode
&40;
TArray< uint8 > & Code,
FString const & DebugOutputDir,
bool const bNative
&41; const
Remarks
Strips the shader bytecode provided of any unnecessary optional data elements when archiving shaders into the shared library. True if the format has successfully stripped the extraneous data from shaders, otherwise false
Parameters
Name | Description |
---|---|
Code | The byte code to strip (must be uncompressed). |
DebugOutputDir | The output directory to write the debug symbol file for this shader. |
bNative | Whether the final shader library uses a native format which may determine how the shader is stripped. |