C# Class GLSharp.Data.ShaderLoader

Inheritance: IResourceLoader
Show file Open project: colin-dumitru/GLSharp

Public Methods

Method Description
Load ( string url ) : Resource
ShaderLoader ( WebGL gl ) : System

Private Methods

Method Description
CompileShader ( String source, int type ) : IShader
ParseShader ( XmlDocument doc ) : CompiledShader

Method Details

Load() public method

public Load ( string url ) : Resource
url string
return Resource

ShaderLoader() public method

public ShaderLoader ( WebGL gl ) : System
gl GLSharp.Graphics.WebGL
return System