Class CSharpToHLSL
Inheritance
System.Object
CSharpToHLSL
Syntax
public class CSharpToHLSL
Methods
GenerateAll()
Declaration
public static void GenerateAll()
GenerateHLSL(Type, GenerateHLSL, out String)
Declaration
public static bool GenerateHLSL(Type type, GenerateHLSL attribute, out string shaderSource)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
| GenerateHLSL |
attribute |
|
| System.String |
shaderSource |
|
Returns
| Type |
Description |
| System.Boolean |
|
GenerateHLSL(Type, GenerateHLSL, out String, out List<String>)
Declaration
public static bool GenerateHLSL(Type type, GenerateHLSL attribute, out string shaderSource, out List<string> errors)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
| GenerateHLSL |
attribute |
|
| System.String |
shaderSource |
|
| System.Collections.Generic.List<System.String> |
errors |
|
Returns
| Type |
Description |
| System.Boolean |
|