Documentation ¶
Index ¶
- Variables
- type WindowsWindow
- func (ww *WindowsWindow) CreateWindow(props *gzwindow.WindowProps) gzwindow.Window
- func (ww *WindowsWindow) GetHeight() uint
- func (ww *WindowsWindow) GetWidth() uint
- func (ww *WindowsWindow) Init(props *gzwindow.WindowProps)
- func (ww *WindowsWindow) IsVSync() bool
- func (ww *WindowsWindow) OnUpdate()
- func (ww *WindowsWindow) SetEventCallback(callback func(event.IEvent))
- func (ww *WindowsWindow) SetVSync(state bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var GLFWInitialized = false
store GLFW init state
Functions ¶
This section is empty.
Types ¶
type WindowsWindow ¶
type WindowsWindow struct {
// contains filtered or unexported fields
}
Implements window.Window
func CreateWindowsWindow ¶
func CreateWindowsWindow(props *gzwindow.WindowProps) *WindowsWindow
func (*WindowsWindow) CreateWindow ¶
func (ww *WindowsWindow) CreateWindow(props *gzwindow.WindowProps) gzwindow.Window
func (*WindowsWindow) GetHeight ¶
func (ww *WindowsWindow) GetHeight() uint
func (*WindowsWindow) GetWidth ¶
func (ww *WindowsWindow) GetWidth() uint
func (*WindowsWindow) Init ¶
func (ww *WindowsWindow) Init(props *gzwindow.WindowProps)
func (*WindowsWindow) IsVSync ¶
func (ww *WindowsWindow) IsVSync() bool
func (*WindowsWindow) SetEventCallback ¶
func (ww *WindowsWindow) SetEventCallback(callback func(event.IEvent))
func (*WindowsWindow) SetVSync ¶
func (ww *WindowsWindow) SetVSync(state bool)
Click to show internal directories.
Click to hide internal directories.