Documentation
¶
Index ¶
- Constants
- func CreateCustomShader(vertexFile string, fragmentFile string) uint32
- func Edit(scene Scene, who string, value any)
- func End()
- func Get(scene Scene, who string) any
- func Init(config Config)
- func LoadImage(path string, sampling uint32) uint32
- func RunScene(scene map[string]interface{})
- type Config
- type Scene
- type Vec2
- type Vec3
- type Window
Constants ¶
View Source
const ( FALSE int = 0 TRUE int = 1 VERTEX uint32 = 0x8B31 FRAGMENT uint32 = 0x8B30 LINEAR uint32 = 0x2601 NEAREST uint32 = 0x2600 PrefixErr = "\033[101m ERROR! \033[0m " PrefixWarn = "\033[43m WARNING! \033[0m " PrefixInfo = "\033[42m INFO \033[0m " Reset = "\033[0m" )
View Source
const OS = runtime.GOOS
Variables ¶
This section is empty.
Functions ¶
func CreateCustomShader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.