Documentation ¶
Index ¶
- Variables
- type DataType
- type DefProgram
- type DefShader
- func CorrectShader(shader *DefShader, err error) *DefShader
- func NewFragmentShaderFile(path string) (*DefShader, error)
- func NewFragmentShaderString(text string) (*DefShader, error)
- func NewGeometryShaderFile(path string) (*DefShader, error)
- func NewGeometryShaderString(text string) (*DefShader, error)
- func NewVertexShaderFile(path string) (*DefShader, error)
- func NewVertexShaderString(text string) (*DefShader, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GlFloat = DataType{/* contains filtered or unexported fields */}
View Source
var GlVec2 = DataType{/* contains filtered or unexported fields */}
View Source
var GlVec3 = DataType{/* contains filtered or unexported fields */}
View Source
var GlVec4 = DataType{/* contains filtered or unexported fields */}
Functions ¶
This section is empty.
Types ¶
type DefProgram ¶
type DefProgram struct {
// contains filtered or unexported fields
}
func CorrectProgram ¶
func CorrectProgram(program *DefProgram, err error) *DefProgram
func NewProgram ¶
func NewProgram(shaderlist ...*DefShader) (*DefProgram, error)
type DefShader ¶
type DefShader struct {
// contains filtered or unexported fields
}
func CorrectShader ¶
func NewFragmentShaderFile ¶
func NewFragmentShaderString ¶
func NewGeometryShaderFile ¶
func NewGeometryShaderString ¶
func NewVertexShaderFile ¶
func NewVertexShaderString ¶
Click to show internal directories.
Click to hide internal directories.