IsDxcEnabledForPlatform

Returns whether DirectXShaderCompiler (DXC) is enabled for the specified shader platform.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "Shader.h"

Source

/Engine/Source/Runtime/RenderCore/Private/Shader.cpp

Syntax

bool IsDxcEnabledForPlatform
(
    EShaderPlatform Platform
)

Remarks

Returns whether DirectXShaderCompiler (DXC) is enabled for the specified shader platform. See console variables "r.OpenGL.ForceDXC", "r.Vulkan.ForceDXC", and "r.D3D.ForceDXC".

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