Documentation ¶
Index ¶
- Constants
- type RShader
- func (s *RShader) Bind()
- func (s *RShader) Dispose()
- func (s *RShader) GetAttributeInfo(name string) attribute.VertexAttribute
- func (s *RShader) GetUniformInfo(name string) attribute.VertexAttribute
- func (s *RShader) SetUniform(name string, value any)
- func (s *RShader) SetUniformArr(name string, offset int, value interface{})
- func (s *RShader) Unbind()
- type Source
- type Type
Constants ¶
View Source
const ( Vertex = Type(gl.VERTEX_SHADER) Geometry = Type(gl.GEOMETRY_SHADER) Fragment = Type(gl.FRAGMENT_SHADER) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RShader ¶
type RShader struct {
// contains filtered or unexported fields
}
func NewRShader ¶
func (*RShader) GetAttributeInfo ¶
func (s *RShader) GetAttributeInfo(name string) attribute.VertexAttribute
func (*RShader) GetUniformInfo ¶
func (s *RShader) GetUniformInfo(name string) attribute.VertexAttribute
func (*RShader) SetUniform ¶
func (*RShader) SetUniformArr ¶
Click to show internal directories.
Click to hide internal directories.