Navigation
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
&123;
DontCare,
DontIncludeDefines,
AlwaysIncludeDefines,
&125;
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.