engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FShaderCompilerEnvironment结构体 参考

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.

成员函数说明

◆ SetDefine()

void FShaderCompilerEnvironment::SetDefine ( const TCHAR *  Name,
const TCHAR *  Value 
)
inline

Works for TCHAR e.g.

SetDefine(TEXT("NAME"), TEXT("Test")); e.g. SetDefine(TEXT("NUM_SAMPLES"), 1); e.g. SetDefine(TEXT("DOIT"), true);


该结构体的文档由以下文件生成: