Navigation
API > API/Runtime > API/Runtime/RenderCore
Description
Returns whether DirectXShaderCompiler (DXC) is enabled for the specified shader platform. See console variables "r.OpenGL.ForceDXC", "r.D3D.ForceDXC".
| Name | IsDxcEnabledForPlatform |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/Shader.h |
| Include Path | #include "Shader.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/Shader.cpp |
bool IsDxcEnabledForPlatform
(
EShaderPlatform Platform,
bool bHlslVersion2021
)