UOpenColorIOColorTransform::CacheResourceShadersForCooking

Cache resource shaders for cooking on the given shader platform.

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIOColorTransform.h"

Source

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

Syntax

void CacheResourceShadersForCooking
(
    EShaderPlatform InShaderPlatform,
    const FString & InShaderHash,
    const FString & InShaderCode,
    TArray< FOpenColorIOTransformResource * > & OutCachedResources
)

Remarks

Cache resource shaders for cooking on the given shader platform. If a matching shader map is not found in memory or the DDC, a new one will be compiled. This does not apply completed results to the renderer scenes. Caller is responsible for deleting OutCachedResource.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss