C# Class OpenTK.Graphics.ES20.ES2Utils

显示文件 Open project: prepare/HTML-Renderer

Public Methods

Method Description
CompileProgram ( string vs_source, string fs_source ) : int
CompileShader ( ShaderType type, string source ) : int

Method Details

CompileProgram() public static method

public static CompileProgram ( string vs_source, string fs_source ) : int
vs_source string
fs_source string
return int

CompileShader() public static method

public static CompileShader ( ShaderType type, string source ) : int
type ShaderType
source string
return int