Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compile ¶
func Compile(p *shaderir.Program, version GLSLVersion) (vertexShader, fragmentShader string)
func FragmentPrelude ¶
func FragmentPrelude(version GLSLVersion) string
func VertexPrelude ¶ added in v2.1.0
func VertexPrelude(version GLSLVersion) string
Types ¶
type GLSLVersion ¶ added in v2.1.0
type GLSLVersion int
const ( GLSLVersionDefault GLSLVersion = iota GLSLVersionES300 )
Click to show internal directories.
Click to hide internal directories.