コード例 #1
0
 public Renderer(StaticShader Shader, WinowInfo Window)
 {
     this.shader = Shader;
     window      = Window;
     Gl.Enable(EnableCap.CullFace);
     Gl.CullFace(CullFaceMode.Back);
     createProjectionMatrix();
     shader.start();
     shader.loadProjectionMatrix(projectionMatrix);
     shader.stop();
 }
コード例 #2
0
 public MasterRenderer(WinowInfo window)
 {
     this.shader   = new StaticShader();
     this.renderer = new Renderer(shader, window);
 }