EDumpShaderDefines

Governs the behavior for adding shader defines to the preprocessed source.

Unreal Engine C++ API Reference > Developer > ShaderPreprocessor

References

   
Module ShaderPreprocessor
Header /Engine/Source/Developer/ShaderPreprocessor/Public/ShaderPreprocessor.h
Include #include "ShaderPreprocessor.h"

Syntax

enum EDumpShaderDefines  
{  
    DontCare,  
    DontIncludeDefines,  
    AlwaysIncludeDefines,  
}  

Values

Name Description
DontCare Will not be dumped unless Input.DumpDebugInfoPath is set
DontIncludeDefines No defines
AlwaysIncludeDefines Defines will be added in the comments

Remarks

Governs the behavior for adding shader defines to the preprocessed source. Can be helpful for the debugging, but makes the source unique which can prevent efficient caching.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library