UOpenColorIOBlueprintLibrary::ApplyColorSpaceTransform

Applies a rendering pass of the color transform described in the settings

Choose your operating system:

Windows

macOS

Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIOBlueprintLibrary.h"

Source

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

Syntax

UFUNCTION(BlueprintCallable, Category="OpenColorIO", Meta=(WorldContext="WorldContextObject"))
static bool ApplyColorSpaceTransform
(
    const UObject * WorldContextObject,
    const FOpenColorIOColorConversionSettings & ConversionSettings,
    UTexture * InputTexture,
    UTextureRenderTarget2D * OutputRenderTarget
)

Remarks

Applies a rendering pass of the color transform described in the settings

Returns

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

Parameters

Parameter

Description

WorldContextObject

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

ConversionSettings

Settings describing the color space transform to apply

InputTexture

Texture in the source color space

OutputRenderTarget

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