The environment used to compile a shader. 更多...
#include <ShaderCore.h>
类 FShaderCompilerEnvironment 继承关系图:Public 成员函数 | |
| FShaderCompilerEnvironment () | |
| Default constructor. | |
| FShaderCompilerEnvironment (const FShaderCompilerDefinitions &InDefinitions) | |
| Initialization constructor. | |
| void | SetDefine (const TCHAR *Name, const TCHAR *Value) |
| Works for TCHAR e.g. 更多... | |
The environment used to compile a shader.
|
inline |
Works for TCHAR e.g.
SetDefine(TEXT("NAME"), TEXT("Test")); e.g. SetDefine(TEXT("NUM_SAMPLES"), 1); e.g. SetDefine(TEXT("DOIT"), true);