| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOColorTransform.h |
Include |
#include "OpenColorIOColorTransform.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UOpenColorIOColorTransform : public UObject
Object used to generate shader and LUTs from OCIO configuration file and contain required resource to make a color space transform.
Name | Description | ||
---|---|---|---|
|
ConfigurationOwner |
||
|
DestinationColorSpace |
||
|
SourceColorSpace |
Name | Description | |
---|---|---|
|
UOpenColorIOColorTransform ( |
Name | Description | |
---|---|---|
|
~UOpenColorIOColorTransform() |
Name | Description | ||
---|---|---|---|
|
AllColorTransformsCacheResourceShadersForRendering() |
For all ColorTransforms, UOpenColorIOColorTransform::CacheResourceShadersForRendering. |
|
|
FOpenColorIO... |
AllocateResource() |
|
|
CacheResourceShadersForCooking ( |
Cache resource shaders for cooking on the given shader platform. |
|
|
CacheResourceShadersForRendering ( |
Cache resource shaders for rendering. |
|
|
CacheResourceTextures() |
Cache resource LUT for rendering/cooking on the given shader platform. |
|
|
CacheShadersForResources ( |
||
|
GenerateColorTransformData |
Generate the LUT and shader associated to the desired color space transform. @note Only in editor |
|
|
GetOpenColorIOLUTKeyGuid |
Returns a Guid for the LUT based on its unique identifier and the OCIO DDC key. |
|
|
GetShaderAndLUTResouces ( |
Returns the desired resources required to apply this transform during rendering. |
|
|
GetTransformFriendlyName() |
Helper function returning the color space transform name based on source and destination color spaces. |
|
|
Initialize ( |
||
|
IsTransform |
||
|
ProcessSerializedShaderMaps ( |
Helper function to register serialized shader maps for the given color transform resources |
|
|
ReleaseResources() |
Releases rendering resources used by this color transform. |
|
|
SerializeLuts ( |
Serialize LUT data. This will effectively serialize the LUT only when cooking |
|
|
SerializeOpenColorIOShaderMaps ( |
Helper function to serialize shader maps for the given color transform resources. |
|
|
Update3dLutTexture ( |
Helper function taking raw LUT data coming from the library and initializing a UTexture with it. |
|
|
UpdateShaderInfo |
Fetch shader code and hash from the OCIO library @note Uses library only in editor. |
Name | Description | ||
---|---|---|---|
|
BeginCacheForCookedPlatformData ( |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects |
|
|
BeginDestroy() |
Called before destroying the object. |
|
|
ClearAllCachedCookedPlatformData() |
Clear all cached cooked platform data |
|
|
ClearCachedCookedPlatformData ( |
Clears cached cooked platform data for specific platform |
|
|
FinishDestroy() |
Called to finish destroying the object. |
|
|
IsCachedCookedPlatformDataLoaded ( |
Have we finished loading all the cooked platform data for the target platforms requested in BeginCacheForCookedPlatformData |
|
|
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |