Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PackageVersion string
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { GUI *GUIManager Entities []Entity // contains filtered or unexported fields }
func (*Engine) ClearEntities ¶
func (eng *Engine) ClearEntities()
func (*Engine) SwapEntities ¶
func (eng *Engine) SwapEntities()
type GUIManager ¶
type GUIManager struct { Program glProgram Quad rawModel // contains filtered or unexported fields }
func (*GUIManager) AddLayer ¶
func (m *GUIManager) AddLayer(name LayerName, source gui.GUIContext)
func (*GUIManager) DrawGUI ¶
func (m *GUIManager) DrawGUI()
func (*GUIManager) RemoveNamedLayer ¶
func (m *GUIManager) RemoveNamedLayer(name LayerName)
func (*GUIManager) ToggleNamedLayer ¶
func (m *GUIManager) ToggleNamedLayer(name LayerName, enabled bool)
type RunConfig ¶
func DefaultConfig ¶
func DefaultConfig() RunConfig
Click to show internal directories.
Click to hide internal directories.