C# Class LearningWebGL.Lesson14

Inheritance: LessonBase
Mostra file Open project: Arlorean/Silverlight-WebGL

Public Methods

Method Description
drawScene ( ) : void
webGLStart ( string canvasId ) : void

Private Methods

Method Description
animate ( ) : void
degToRad ( double degrees ) : double
getShader ( WebGLRenderingContext gl, string str, UInt32 shaderType ) : System.Windows.Browser.ScriptObject
handleLoadedTeapot ( JsonValue teapotData ) : void
handleLoadedTexture ( System.Windows.Browser.ScriptObject texture, Image image ) : void
initGL ( System.Windows.Browser.HtmlElement canvas ) : void
initOptions ( ) : void
initShaders ( ) : void
initTexture ( ) : void
loadTeapot ( ) : void
mvPopMatrix ( ) : void
mvPushMatrix ( ) : void
setMatrixUniforms ( ) : void
tick ( ) : void

Method Details

drawScene() public method

public drawScene ( ) : void
return void

webGLStart() public method

public webGLStart ( string canvasId ) : void
canvasId string
return void