Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Vertices []float32 Indices []uint32 Stripes []int // contains filtered or unexported fields }
func (*Model) ReadFromFile ¶
type ShaderProgram ¶
type ShaderProgram struct { VertexCode string FragmentCode string // contains filtered or unexported fields }
func NewShaderProgram ¶
func NewShaderProgram() *ShaderProgram
func (*ShaderProgram) Active ¶
func (sp *ShaderProgram) Active()
func (*ShaderProgram) ReadFromFile ¶
func (sp *ShaderProgram) ReadFromFile(vPath, fPath string)
func (*ShaderProgram) ShaderProgram ¶
func (sp *ShaderProgram) ShaderProgram() uint32
get the shader program
Click to show internal directories.
Click to hide internal directories.