FOpenColorIOShaderType::ShouldCache

Checks if the shader type should be cached for a particular platform and color transform.

Windows
MacOS
Linux

References

Module

OpenColorIO

Header

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

Include

#include "OpenColorIOShaderType.h"

Syntax

bool ShouldCache
(
    EShaderPlatform InPlatform,
    const FOpenColorIOTransformResource * InColorTransform
) const

Remarks

Checks if the shader type should be cached for a particular platform and color transform.

Returns

True if this shader type should be cached.

Parameters

Parameter

Description

Platform

The platform to check.

InColorTransform

The color transform to check.

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