C# Class CSharpGL.ShaderCode

各种类型的shader代码
Datei anzeigen Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
CreateShader ( ) : Shader

Create OpenGL shader object.

ShaderCode ( string sourceCode, ShaderType shaderType ) : System.Linq

某种类型的shader代码。

Some type of shader code.

ToString ( ) : string

Method Details

CreateShader() public method

Create OpenGL shader object.
public CreateShader ( ) : Shader
return Shader

ShaderCode() public method

某种类型的shader代码。

Some type of shader code.

public ShaderCode ( string sourceCode, ShaderType shaderType ) : System.Linq
sourceCode string
shaderType ShaderType
return System.Linq

ToString() public method

public ToString ( ) : string
return string