Discover Packages
github.com/num5/steven
render
glsl
package
Version:
v0.0.0-...-03afc55
Opens a new window with list of versions in this module.
Published: Nov 11, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package glsl handles glsl shaders and applies some preprocessing to them
Get returns the named shader optionally adding
the passed defines. The output from this will be
processed finding and expanding #include statements.
This also adds debugging information to the shaders
(line number and name).
func Register(name, source string )
Register adds the named shader to the database.
Once included they may be obtained from Get or
used within other shaders via #include
Source Files
¶
Click to show internal directories.
Click to hide internal directories.