Module |
|
Header |
/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Public/OpenColorIOColorTransform.h |
Include |
#include "OpenColorIOColorTransform.h" |
Source |
/Engine/Plugins/Compositing/OpenColorIO/Source/OpenColorIO/Private/OpenColorIOColorTransform.cpp |
void CacheResourceShadersForCooking
(
EShaderPlatform InShaderPlatform,
const FString & InShaderHash,
const FString & InShaderCode,
TArray< FOpenColorIOTransformResource * > & OutCachedResources
)
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.