assets

package
v0.0.0-...-c6ab6a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QuadTexture string = MustLoadShader("quadTexture.frag")
	TestVert    string = MustLoadShader("test.vert")
)
View Source
var (
	Metal_full image.Image = MustLoadPNG("metal/metalbox_full")
)

Functions

func LoadPNG

func LoadPNG(file string) (image.Image, error)

func LoadShader

func LoadShader(file string) (string, error)

func MustLoadPNG

func MustLoadPNG(file string) image.Image

func MustLoadShader

func MustLoadShader(file string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL