FOpenColorIOShaderMap::Compile

Compiles the shaders for a color transform and caches them in this shader map.

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOShared.h

Include

#include "OpenColorIOShared.h"

Source

/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Private/OpenColorIOShaderMap.cpp

Syntax

void Compile
(
    FOpenColorIOTransformResource * InColorTransform,
    const FOpenColorIOShaderMapId & InShaderMapId,
    TRefCountPtr< FShaderCompilerEnvironment > InCompilationEnvironment,
    const FOpenColorIOCompilationOutput & InOpenColorIOCompilationOutput,
    EShaderPlatform InPlatform,
    bool bSynchronousCompile,
    bool bApplyCompletedShaderMapForRendering
)

Remarks

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.

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss