Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConstructFunc ¶
ConstructFunc creates a shader from a template with the given name and data.
func Load ¶
func Load(sources ...fs.FS) ConstructFunc
Load loads all shaders from the given filesystems and returns a ConstructFunc that can be used to construct shaders from the loaded templates.
Click to show internal directories.
Click to hide internal directories.