FOpenColorIOShaderType::SetupCompileEnvironment

Sets up the environment used to compile an instance of this shader type.

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIOShaderType.h"

Syntax

void SetupCompileEnvironment
(
    EShaderPlatform InPlatform,
    const FOpenColorIOTransformResource * InColorTransform,
    FShaderCompilerEnvironment & OutEnvironment
) const

Remarks

Sets up the environment used to compile an instance of this shader type.

Parameters

Parameter

Description

InPlatform

Platform to compile for.

OutEnvironment

The shader compile environment that the function modifies.

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