FOpenColorIOTransformResource::ShouldCache

Should the shader for this color transform with the given platform, shader type and vertex factory type combination be compiled

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIOShared.h"

Source

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

Syntax

virtual bool ShouldCache
(
    EShaderPlatform InPlatform,
    const FShaderType * InShaderType
) const

Remarks

Should the shader for this color transform with the given platform, shader type and vertex factory type combination be compiled

Returns

true if the shader should be compiled

Parameters

Parameter

Description

InPlatform

The platform currently being compiled for

InShaderType

Which shader is being compiled

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