Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SceneSrcDir is the expected location of scenes
SceneSrcDir = "assets/scenes/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine constitutes the rendering engine which creates and initializes the rendering system.
func (*Engine) LoadScene ¶
LoadScene switches the current scene to the one specificed if it has already been added.
func (*Engine) LoadSceneFile ¶
LoadSceneFile loads a scene from a file but does not make it the current scene. You must still call LoadScene with the scene id to load it as the current scene. LoadSceneFile should not be called before Init is called.
Click to show internal directories.
Click to hide internal directories.