Versions in this module Expand all Collapse all v0 v0.1.0 Mar 14, 2019 Changes in this version + const OnAfterRender + const OnBeforeRender + const OnQuit + type Application struct + func Create(ops Options) (*Application, error) + func Get() *Application + func (app *Application) Camera() camera.ICamera + func (app *Application) CameraOrtho() *camera.Orthographic + func (app *Application) CameraPersp() *camera.Perspective + func (app *Application) FrameCount() uint64 + func (app *Application) FrameDelta() time.Duration + func (app *Application) FrameDeltaSeconds() float32 + func (app *Application) FrameRater() *FrameRater + func (app *Application) Gl() *gls.GLS + func (app *Application) Gui() *gui.Root + func (app *Application) KeyState() *KeyState + func (app *Application) Log() *logger.Logger + func (app *Application) OnWindowResize() + func (app *Application) OpenDefaultAudioDevice() error + func (app *Application) Orbit() *control.OrbitControl + func (app *Application) Panel3D() gui.IPanel + func (app *Application) Quit() + func (app *Application) Renderer() *renderer.Renderer + func (app *Application) Run() error + func (app *Application) RunSeconds() float32 + func (app *Application) RunTime() time.Duration + func (app *Application) Scene() *core.Node + func (app *Application) SetCPUProfile(fname string) + func (app *Application) SetCamera(cam camera.ICamera) + func (app *Application) SetGui(root *gui.Root) + func (app *Application) SetOnWindowResize(f func(evname string, ev interface{})) + func (app *Application) SetOrbit(oc *control.OrbitControl) + func (app *Application) SetPanel3D(panel3D gui.IPanel) + func (app *Application) SetScene(scene *core.Node) + func (app *Application) Window() window.IWindow + type FrameRater struct + func NewFrameRater(targetFPS uint) *FrameRater + func (f *FrameRater) FPS(t time.Duration) (float64, float64, bool) + func (f *FrameRater) Start() + func (f *FrameRater) Wait() + type KeyState struct + func NewKeyState(win window.IWindow) *KeyState + func (ks *KeyState) Dispose() + func (ks *KeyState) Pressed(k window.Key) bool + type Options struct + EnableFlags bool + Fullscreen bool + Height int + LogLevel int + LogPrefix string + TargetFPS uint + Title string + Width int