FGlobalShaderType::ShouldCompilePermutation

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

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/GlobalShader.h

Include

#include "GlobalShader.h"

Syntax

bool ShouldCompilePermutation
(
    EShaderPlatform Platform,
    int32 PermutationId
) const

Remarks

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

Returns

True if this shader type should be cached.

Parameters

Parameter

Description

Platform

The platform 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