engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FShaderCompilerDefinitions类 参考

Container for shader compiler definitions. 更多...

#include <ShaderCore.h>

Public 成员函数

void SetDefine (const TCHAR *Name, const TCHAR *Value)
 Works for TCHAR e.g. 更多...
 
void SetDefine (const TCHAR *Name, uint32 Value)
 Works for uint32 and bool e.g. 更多...
 
void SetFloatDefine (const TCHAR *Name, float Value)
 Works for float
 

详细描述

Container for shader compiler definitions.

成员函数说明

◆ SetDefine() [1/2]

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

Works for TCHAR e.g.

SetDefine(TEXT("NUM_SAMPLES"), TEXT("1"));

◆ SetDefine() [2/2]

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

Works for uint32 and bool e.g.

OutEnvironment.SetDefine(TEXT("REALLY"), bReally); e.g. OutEnvironment.SetDefine(TEXT("NUM_SAMPLES"), NumSamples);


该类的文档由以下文件生成: