Method GenerateHLSL
GenerateHLSL(Type, GenerateHLSL, out string)
선언
public static bool GenerateHLSL(Type type, GenerateHLSL attribute, out string shaderSource)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Type | type | |
| GenerateHLSL | attribute | |
| string | shaderSource |
반환
| 타입 | 설명 |
|---|---|
| bool |
GenerateHLSL(Type, GenerateHLSL, out string, out List<string>)
선언
public static bool GenerateHLSL(Type type, GenerateHLSL attribute, out string shaderSource, out List<string> errors)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Type | type | |
| GenerateHLSL | attribute | |
| string | shaderSource | |
| List<string> | errors |
반환
| 타입 | 설명 |
|---|---|
| bool |