Navigation
API > API/Plugins > API/Plugins/OpenColorIO
Inheritance Hierarchy
- UObject
- UOpenColorIOConfiguration
References
| Module | OpenColorIO |
| Header | /Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOConfiguration.h |
| Include | #include "OpenColorIOConfiguration.h" |
Syntax
UCLASS (BlueprintType, Meta=(DisplayName="OpenColorIO Configuration"))
class UOpenColorIOConfiguration : public UObject
Remarks
Asset to manage allowed OpenColorIO color spaces. This will create required transform objects.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFilePath | ConfigurationFile | ||
| TMap< FString, FString > | Context | OCIO context of key-value string pairs, typically used to apply shot-specific looks (such as a CDL color correction, or a 1D grade LUT). | |
| TArray< FOpenColorIOColorSpace > | DesiredColorSpaces | ||
| TArray< FOpenColorIODisplayView > | DesiredDisplayViews |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UOpenColorIOConfiguration
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| void | |||
| void | ConfigPathChangedEvent
(
const TArray< FFileChangeData >& InFileChanges, |
This method is called by directory watcher when any file or folder is changed in the directory where raw ocio config is located. | |
| void | CreateColorTransform
(
const FString& InSourceColorSpace, |
||
| void | CreateColorTransform
(
const FString& InSourceColorSpace, |
||
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| TObjectPtr< const UOpenColorIOColorTransform > | FindTransform
(
const FOpenColorIOColorConversionSettings& InSettings |
Find the color transform object that corresponds to the specified settings, nullptr if not found. | |
| void | GetAssetRegistryTags
(
FAssetRegistryTagsContext RegistryTagsContext |
||
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
||
| FOpenColorIOWrapperConfig * | Get the private wrapper implementation of the OCIO config. | ||
| FOpenColorIOWrapperConfig * | Get or create the private wrapper implementation of the OCIO config. | ||
| bool | GetRenderResources
(
ERHIFeatureLevel::Type InFeatureLevel, |
||
| bool | GetRenderResources
(
ERHIFeatureLevel::Type InFeatureLevel, |
||
| bool | HasDesiredColorSpace
(
const FOpenColorIOColorSpace& ColorSpace |
||
| bool | HasDesiredDisplayView
(
const FOpenColorIODisplayView& DisplayView |
||
| bool | HasTransform
(
const FString& InSourceColorSpace, |
||
| bool | HasTransform
(
const FString& InSourceColorSpace, |
||
| bool | IsTransformReady
(
const FOpenColorIOColorConversionSettings& InSettings |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | PostLoad () |
||
| void | PreSave
(
FObjectPreSaveContext SaveContext |
||
| void | ReloadExistingColorspaces
(
bool bForce |
This forces to reload colorspaces and corresponding shaders if those are not loaded already. | |
| void | StartDirectoryWatch
(
const FString& FilePath |
Same as above except user can specify the path manually. | |
| void | Stop watching the current directory. | ||
| bool | TransformColor
(
const FOpenColorIOColorConversionSettings& InSettings, |
Apply the color transform in-place to the specified image. | |
| bool | TransformImage
(
const FOpenColorIOColorConversionSettings& InSettings, |
Apply the color transform in-place to the specified image. | |
| bool | TransformImage
(
const FOpenColorIOColorConversionSettings& InSettings, |
Apply the color transform from the source image to the destination image. | |
| bool | Validate () |