C# Class KEngine.ShaderLoader

Shader加载器
Inheritance: AbstractResourceLoader
Exibir arquivo Open project: mr-kelly/KEngine Class Usage Examples

Public Methods

Method Description
Load ( string path, ShaderLoaderDelegate callback = null ) : ShaderLoader

Protected Methods

Method Description
DoDispose ( ) : void
Init ( string url ) : void

Private Methods

Method Description
CoLoadShader ( ) : IEnumerator

Method Details

DoDispose() protected method

protected DoDispose ( ) : void
return void

Init() protected method

protected Init ( string url ) : void
url string
return void

Load() public static method

public static Load ( string path, ShaderLoaderDelegate callback = null ) : ShaderLoader
path string
callback ShaderLoaderDelegate
return ShaderLoader