Versions in this module Expand all Collapse all v0 v0.3.1 Sep 15, 2021 v0.3.0 Sep 15, 2021 Changes in this version + var PackageVersion string + type Engine struct + Entities []Entity + GUI *GUIManager + func (eng *Engine) ClearEntities() + func (eng *Engine) Run() error + func (eng *Engine) Shutdown() error + func (eng *Engine) SwapEntities() + type Entity struct + ModelName string + Position mgl32.Vec3 + Rotation mgl32.Vec3 + Scale mgl32.Vec3 + TileIndex int + type GUIManager struct + Program glProgram + Quad rawModel + func (m *GUIManager) AddLayer(name LayerName, source gui.GUIContext) + func (m *GUIManager) DrawGUI() + func (m *GUIManager) RemoveNamedLayer(name LayerName) + func (m *GUIManager) ToggleNamedLayer(name LayerName, enabled bool) + type LayerName uint32 + type RunConfig struct + Logger *log.Logger + WindowHeight int + WindowWidth int + func DefaultConfig() RunConfig + func (r RunConfig) NewEngine(ctx context.Context) *Engine + type Uniform int + const U_CAMERA + const U_MATERIAL_REFLECTIVITY + const U_MATERIAL_SHINE_DAMPER + const U_MAX + const U_PROJECTION + const U_TEXTURE_DIFFUSE + const U_TEXTURE_NORMAL + const U_TEXTURE_SPECULAR + const U_TILE_INDEX + const U_TILE_SIZE + const U_TMP_LIGHT_COLOUR + const U_TMP_LIGHT_POS + const U_TRANSFORM + func (u Uniform) String() string