glutils

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: BSD-3-Clause, BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProgram

func CreateProgram(shaders ...uint32) (uint32, error)

Doesn't delete the shaders (you may delete them after calling)

func CreateProgramFromSources

func CreateProgramFromSources(fs fs.FS, paths ...string) (uint32, error)

Recognized extensions: .frag, .vert, .geom

func CreateShader

func CreateShader(source string, shaderType uint32) (uint32, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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