Class GLSL
Inheritance
System.Object
GLSL
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Fusee.Engine.Core.dll
Syntax
Methods
CreateIn(GLSL.Type, String)
Declaration
public static string CreateIn(GLSL.Type type, string varName)
Parameters
Type |
Name |
Description |
GLSL.Type |
type |
|
System.String |
varName |
|
Returns
Type |
Description |
System.String |
|
CreateOut(GLSL.Type, String)
Declaration
public static string CreateOut(GLSL.Type type, string varName)
Parameters
Type |
Name |
Description |
GLSL.Type |
type |
|
System.String |
varName |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string CreateUniform(GLSL.Type type, string varName)
Parameters
Type |
Name |
Description |
GLSL.Type |
type |
|
System.String |
varName |
|
Returns
Type |
Description |
System.String |
|
DecodeSystemStructOrClass(Type)
Translates this class or struct to GLSL. Will only convert fields and properties.
Declaration
public static string DecodeSystemStructOrClass(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
The type to translate.
|
Returns
Type |
Description |
System.String |
|
DecodeType(GLSL.Type)
Declaration
public static string DecodeType(GLSL.Type type)
Parameters
Returns
Type |
Description |
System.String |
|
DecodeType(Type)
Declaration
public static string DecodeType(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.String |
|
MainMethod(IList<String>)
Creates a main method with the given method body.
Declaration
public static string MainMethod(IList<string> methodBody)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<System.String> |
methodBody |
The content of the method.
|
Returns
Type |
Description |
System.String |
|