shader

package
v2.7.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(src []byte, vertexEntry, fragmentEntry string, textureCount int) (*shaderir.Program, error)

func ParseCompilerDirectives added in v2.6.0

func ParseCompilerDirectives(src []byte) (shaderir.Unit, error)

Types

type ParseError

type ParseError struct {
	// contains filtered or unexported fields
}

func (*ParseError) Error

func (p *ParseError) Error() string

Jump to

Keyboard shortcuts

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