module examples.gl

Code Map

module examples.gl;


class Game : scene.ManagerApp
{
public:
	this(args: string[]) { }
}

class Scene : scene.Simple
{
public:
	input: ctl.Input;
	tex: gfx.Texture;
	buf: gfx.DrawBuffer;
	width: u32;
	height: u32;


public:
	this(g: Game, width: u32, height: u32) { }
	fn checkVersion() { }
	fn initBuffers() { }
	fn close() { }
	fn render(t: gfx.Target, viewInfo: gfx.ViewInfo) { }
	fn keyDown(ctl.Keyboard, i32) { }
}