Navigation
API > API/Plugins > API/Plugins/OpenColorIO
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UOpenColorIOConfiguration
References
| Module | OpenColorIO |
| Header | /Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOConfiguration.h |
| Include | #include "OpenColorIOConfiguration.h" |
Syntax
UCLASS&40;BlueprintType, Meta&61;&40;DisplayName&61;"OpenColorIO Configuration"&41;&41;
class UOpenColorIOConfiguration : public UObject
Remarks
Asset to manage allowed OpenColorIO color spaces. This will create required transform objects.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FFilePath | ConfigurationFile | ||
| TArray< FOpenColorIOColorSpace > | DesiredColorSpaces | ||
| TArray< FOpenColorIODisplayView > | DesiredDisplayViews |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UOpenColorIOConfiguration
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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, |
||
| const TObjectPtr< UOpenColorIOColorTransform > * | FindTransform
(
const FOpenColorIOColorConversionSettings& InSettings |
||
| FOpenColorIOWrapperConfig * | Internal only: Replacement for previous GetNativeConfig_Internal()_, GetLoadedConfiguration() and `GetLoadedConfigurationFile() functions, returning the private implementation of the native OCIO config. |
||
| 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 | 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 | 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 () |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | GetAssetRegistryTags
(
TArray< FAssetRegistryTag >& OutTags |
Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. |