Navigation
API > API/Plugins > API/Plugins/OpenColorIO > API/Plugins/OpenColorIO/FOpenColorIOShaderMap
Description
Compiles the shaders for a color transform and caches them in this shader map. Compiles the shaders for a color transform and caches them in this shader map.
| Name | Compile |
| Type | function |
| Header File | /Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOShared.h |
| Include Path | #include "OpenColorIOShared.h" |
| Source | /Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Private/OpenColorIOShaderMap.cpp |
void Compile
(
FOpenColorIOTransformResource * InColorTransform,
const FOpenColorIOShaderMapId & InShaderMapId,
TRefCountPtr < FSharedShaderCompilerEnvironment > InCompilationEnvironment,
const FOpenColorIOCompilationOutput & InOpenColorIOCompilationOutput,
EShaderPlatform InPlatform,
bool bSynchronousCompile,
bool bApplyCompletedShaderMapForRendering
)
Parameters
| Name | Remarks |
|---|---|
| InColorTransform | The color transform to compile shaders for. |
| InShaderMapId | the set of static parameters to compile for |
| InPlatform | The platform to compile to |
| InColorTransform | The ColorTransform to compile shaders for. |
| InShaderMapId | the color transform id and set of static parameters to compile for |
| InPlatform | The platform to compile to |