Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultIgnoreDraw ¶
func DefaultIgnoreDraw()
func DefaultIgnoreTick ¶
func GetWindowExtent ¶
func GetWindowExtent(hWnd win32.HWnd) vk.Extent2D
func PrettyWin32Msg ¶
func PrettyWin32Msg(msg win32.MSG) string
Types ¶
type Win32App ¶
type Win32App struct { HInstance win32.HInstance HWnd win32.HWnd ClassName string Width, Height uint32 // contains filtered or unexported fields }
func NewWin32App ¶
func NewWin32App(c chan WindowMessage) *Win32App
To use this application template, get a new instance from this function, call app.Initialize("My Window Title") to create a window and initialize Vulkan, and then call app.MainLoop(). The app will gracefully shut down when the window is closed.
func (*Win32App) DefaultMainLoop ¶
func (app *Win32App) DefaultMainLoop(fnInput ProcessInputFunc, fnTick TickFunc, fnDraw DrawFunc)
func (*Win32App) GetRequiredInstanceExtensions ¶
func (*Win32App) Initialize ¶
func (*Win32App) IsInitialized ¶
Click to show internal directories.
Click to hide internal directories.