Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOBlueprintLibrary.h |
Include |
#include "OpenColorIOBlueprintLibrary.h" |
Source |
/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Private/OpenColorIOBlueprintLibrary.cpp |
UFUNCTION(BlueprintCallable, Category="OpenColorIO", Meta=(WorldContext="WorldContextObject"))
static bool ApplyColorSpaceTransform
(
const UObject * WorldContextObject,
const FOpenColorIOColorConversionSettings & ConversionSettings,
UTexture * InputTexture,
UTextureRenderTarget2D * OutputRenderTarget
)
Applies a rendering pass of the color transform described in the settings
True if a rendering command to apply the transform was queued.
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 |