CompileDebugViewModeShaders

Build Shaders to compute scales per texture.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DebugViewModeHelpers.h

Include

#include "DebugViewModeHelpers.h"

Source

/Engine/Source/Runtime/Engine/Private/DebugViewModeHelpers.cpp

Syntax

bool CompileDebugViewModeShaders
(
    EDebugViewShaderMode Mode,
    EMaterialQualityLevel::Type QualityLevel,
    ERHIFeatureLevel::Type FeatureLevel,
    bool bFullRebuild,
    bool bWaitForPreviousShaders,
    TSet< UMaterialInterface * > & Materials,
    FSlowTask * ProgressTask
)

Remarks

Build Shaders to compute scales per texture.

Returns

true if the operation is a success, false if it was canceled.

Parameters

Parameter

Description

QualityLevel

The quality level for the shaders.

FeatureLevel

The feature level for the shaders.

bFullRebuild

Clear all debug shaders before generating the new ones..

bWaitForPreviousShaders

Whether to wait for previous shaders to complete.

Materials

The materials to update, the one that failed compilation will be removed (IN OUT).

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback