Documentation
¶
Index ¶
- func GLFWInit()
- func InitTimer()
- type ImguiSandbox
- type MTimer
- func (timer *MTimer) DeltaTime() float64
- func (timer *MTimer) FPS() float64
- func (timer *MTimer) FrameTime() float64
- func (timer *MTimer) ProgramTime() float64
- func (timer *MTimer) SetTimeDilation(dilation float64)
- func (timer *MTimer) Update()
- func (timer *MTimer) UpdateFrameData(start, end float64)
- type MangoSystem
- type RenderMode
- type Scene
- type SceneEditor
- type ShaderEditor
- type SystemManager
- func (manager *SystemManager) AddSystem(system MangoSystem) bool
- func (manager *SystemManager) ContainsSystem(system MangoSystem) bool
- func (manager *SystemManager) ContainsSystemOfType(t reflect.Type) bool
- func (manager *SystemManager) GetSystem(system MangoSystem) (MangoSystem, error)
- func (manager *SystemManager) GetSystemOfType(t reflect.Type) (MangoSystem, error)
- func (manager *SystemManager) Update()
- type Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImguiSandbox ¶
type ImguiSandbox struct {
// contains filtered or unexported fields
}
func InitImguiSandbox ¶
func InitImguiSandbox() *ImguiSandbox
func (*ImguiSandbox) RenderPanel ¶
func (sandbox *ImguiSandbox) RenderPanel()
type MTimer ¶
type MTimer struct {
// contains filtered or unexported fields
}
var Timer *MTimer
func (*MTimer) ProgramTime ¶
func (*MTimer) SetTimeDilation ¶
func (*MTimer) UpdateFrameData ¶
type MangoSystem ¶
type MangoSystem interface { InitializeSystem() UpdateSystem() }
type RenderMode ¶
type RenderMode int
var RENDER_MODE_DEFAULT RenderMode = 0
DEFAULT ECS RENDERING (n/a for now)
var RENDER_MODE_IM RenderMode = 1
IMMEDIATE MODE RENDERING
type Scene ¶
type Scene struct {
// contains filtered or unexported fields
}
func (*Scene) CreateEntity ¶
Creates a new entity and adds it to the scene
type SceneEditor ¶
type SceneEditor struct { Scene *Scene // contains filtered or unexported fields }
func NewSceneEditor ¶
func NewSceneEditor(scene *Scene, windowWidth, windowHeight int) *SceneEditor
type ShaderEditor ¶
type ShaderEditor struct {
// contains filtered or unexported fields
}
func (*ShaderEditor) RenderPanel ¶
func (editor *ShaderEditor) RenderPanel()
type SystemManager ¶
type SystemManager struct {
// contains filtered or unexported fields
}
func NewSystemManager ¶
func NewSystemManager() *SystemManager
func (*SystemManager) AddSystem ¶
func (manager *SystemManager) AddSystem(system MangoSystem) bool
func (*SystemManager) ContainsSystem ¶
func (manager *SystemManager) ContainsSystem(system MangoSystem) bool
func (*SystemManager) ContainsSystemOfType ¶
func (manager *SystemManager) ContainsSystemOfType(t reflect.Type) bool
func (*SystemManager) GetSystem ¶
func (manager *SystemManager) GetSystem(system MangoSystem) (MangoSystem, error)
func (*SystemManager) GetSystemOfType ¶
func (manager *SystemManager) GetSystemOfType(t reflect.Type) (MangoSystem, error)
func (*SystemManager) Update ¶
func (manager *SystemManager) Update()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.