FOpenColorIORendering::ApplyColorTransform

Applies the color transform described in the settings

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIORendering.h"

Source

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

Syntax

static bool ApplyColorTransform
(
    UWorld * InWorld,
    const FOpenColorIOColorConversionSettings & InSettings,
    UTexture * InTexture,
    UTextureRenderTarget2D * OutRenderTarget
)

Remarks

Applies the color transform described in the settings

Returns

True if a rendering command to apply the transform was queued.

Parameters

Parameter

Description

InWorld

World from which to get the actual shader feature level we need to render

InSettings

Settings describing the color space transform to apply

InTexture

Texture in the source color space

OutRenderTarget

RenderTarget where to draw the input texture in the destination color space

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