Skip to content
Dima Marhitych edited this page Oct 24, 2023 · 4 revisions

Api to entity

Import it like this:

import (
  "github.com/dimkauzh/vertex/src/window"
)

Variables

const True int = 1
const False int = 0

Structs

type Window struct {
  Window *glfw.Window
  Width  int
  Height int
  Title  string
}

Functions

func (w *Window) Loop() -> bool
// Deprecated: No longer needed because of the integration into the Loop() method
func (w *Window) Refresh()
func NewWindow(width int, height int, title string) -> Window
func NewCustomWindow(width, height int, title string, resizable int) -> Window
Clone this wiki locally