MCPcopy Create free account
hub / github.com/EngoEngine/engo / CreateWindow

Function CreateWindow

engo_mobile_bind.go:30–35  ·  view source on GitHub ↗

CreateWindow creates a window with the specified parameters

(title string, width, height int, fullscreen bool, msaa int)

Source from the content-addressed store, hash-verified

28
29// CreateWindow creates a window with the specified parameters
30func CreateWindow(title string, width, height int, fullscreen bool, msaa int) {
31 CurrentBackEnd = BackEndMobile
32 gameWidth = float32(width)
33 gameHeight = float32(height)
34 msaaPreference = msaa
35}
36
37// WindowSize returns the width and height of the current window
38func WindowSize() (w, h int) {

Callers 2

TestShaderCompilationFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestShaderCompilationFunction · 0.74