UOpenColorIOColorTransform::UpdateShaderInfo

Fetch shader code and hash from the OCIO library : Uses library only in editor.

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIOColorTransform.h"

Source

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

Syntax

bool UpdateShaderInfo
(
    FString & OutShaderCodeHash,
    FString & OutShaderCode
)

Remarks

Fetch shader code and hash from the OCIO library

: Uses library only in editor.

Returns

: true if not in editor (shader has been serialized during cooking), true if shader could be generated from the library otherwise

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