Documentation ¶
Index ¶
- type Raw
- func (_ Raw) BufferBind(bufferid uint32, target raw.Enum)
- func (_ Raw) BufferCreate() (id uint32)
- func (_ Raw) BufferData(target raw.Enum, bytes int, ptr unsafe.Pointer, accesstype raw.Enum)
- func (_ Raw) BufferDelete(bufferid uint32)
- func (_ Raw) BufferSubData(target raw.Enum, offset int, bytes int, ptr unsafe.Pointer)
- func (_ Raw) ClearColor(r, g, b, a float32)
- func (_ Raw) Init() error
- func (_ Raw) ProgramAttachShader(programid uint32, shaderid uint32)
- func (_ Raw) ProgramAttribute(programid uint32, index int, buf []byte) (namebytes []byte, datatype raw.Enum, size int)
- func (_ Raw) ProgramAttributeLocation(programid uint32, namebytes []byte) (location int, ok bool)
- func (_ Raw) ProgramAttributeLocationBind(programid uint32, index int, namebytes []byte)
- func (_ Raw) ProgramAttributeMaxLength(programid uint32) int
- func (_ Raw) ProgramAttributeNum(programid uint32) int
- func (_ Raw) ProgramCreate() (programid uint32, err error)
- func (_ Raw) ProgramDelete(programid uint32)
- func (_ Raw) ProgramInfoLog(programid uint32, buf []byte) []byte
- func (_ Raw) ProgramInfoLogLength(programid uint32) int
- func (_ Raw) ProgramLink(programid uint32)
- func (_ Raw) ProgramLinkStatus(programid uint32) bool
- func (_ Raw) ProgramUniform(programid uint32, index int, buf []byte) (namebytes []byte, datatype raw.Enum, size int)
- func (_ Raw) ProgramUniformLocation(programid uint32, namebytes []byte) (location int, ok bool)
- func (_ Raw) ProgramUniformMaxLength(programid uint32) int
- func (_ Raw) ProgramUniformNum(programid uint32) int
- func (_ Raw) ShaderCompile(shaderid uint32)
- func (_ Raw) ShaderCompileStatus(shaderid uint32) bool
- func (_ Raw) ShaderCreate(iShadertype raw.Enum) (uint32, error)
- func (_ Raw) ShaderDelete(shaderid uint32)
- func (_ Raw) ShaderInfoLog(shaderid uint32, buf []byte) []byte
- func (_ Raw) ShaderInfoLogLength(shaderid uint32) int
- func (_ Raw) ShaderSource(shaderid uint32, source ...string)
- func (_ Raw) SyncClientWait(s unsafe.Pointer, flush bool, timeout uint64) raw.Enum
- func (_ Raw) SyncFence() unsafe.Pointer
- func (_ Raw) VertexArrayBind(vaoid uint32)
- func (_ Raw) VertexArrayCreate() (vaoid uint32)
- func (_ Raw) VertexArrayDelete(vaoid uint32)
- func (_ Raw) VertexArrayDisable(idx int)
- func (_ Raw) VertexArrayEnable(idx int)
- func (_ Raw) Viewport(x, y, width, height int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Raw ¶
type Raw struct{}
func (Raw) BufferCreate ¶
func (Raw) BufferData ¶
func (Raw) BufferDelete ¶
func (Raw) BufferSubData ¶
func (Raw) ClearColor ¶
func (Raw) ProgramAttachShader ¶
func (Raw) ProgramAttribute ¶
func (Raw) ProgramAttributeLocation ¶
func (Raw) ProgramAttributeLocationBind ¶
func (Raw) ProgramAttributeMaxLength ¶
func (Raw) ProgramAttributeNum ¶
func (Raw) ProgramCreate ¶
func (Raw) ProgramDelete ¶
func (Raw) ProgramInfoLogLength ¶
func (Raw) ProgramLink ¶
func (Raw) ProgramLinkStatus ¶
func (Raw) ProgramUniform ¶
func (Raw) ProgramUniformLocation ¶
func (Raw) ProgramUniformMaxLength ¶
func (Raw) ProgramUniformNum ¶
func (Raw) ShaderCompile ¶
func (Raw) ShaderCompileStatus ¶
func (Raw) ShaderDelete ¶
func (Raw) ShaderInfoLogLength ¶
func (Raw) ShaderSource ¶
func (Raw) SyncClientWait ¶
func (Raw) VertexArrayBind ¶
func (Raw) VertexArrayCreate ¶
func (Raw) VertexArrayDelete ¶
func (Raw) VertexArrayDisable ¶
func (Raw) VertexArrayEnable ¶
Click to show internal directories.
Click to hide internal directories.