Documentation ¶
Index ¶
- type GLImpl
- func (GLImpl) ActiveTexture(texture uint32)
- func (GLImpl) AttachShader(program uint32, shader uint32)
- func (GLImpl) BindBuffer(target uint32, buffer uint32)
- func (GLImpl) BindFramebuffer(target uint32, framebuffer uint32)
- func (GLImpl) BindRenderbuffer(target uint32, renderbuffer uint32)
- func (GLImpl) BindTexture(target uint32, texture uint32)
- func (GLImpl) BlendFunc(sfactor uint32, dfactor uint32)
- func (GLImpl) BufferData(target uint32, size int, data unsafe.Pointer, usage uint32)
- func (GLImpl) CheckFramebufferStatus(target uint32) uint32
- func (GLImpl) Clear(mask uint32)
- func (GLImpl) ClearColor(red float32, green float32, blue float32, alpha float32)
- func (GLImpl) ColorMask(red bool, green bool, blue bool, alpha bool)
- func (GLImpl) CompileShader(shader uint32)
- func (GLImpl) CreateProgram() uint32
- func (GLImpl) CreateShader(xtype uint32) uint32
- func (GLImpl) DeleteFramebuffers(n int32, framebuffers *uint32)
- func (GLImpl) DeleteRenderbuffers(n int32, renderbuffers *uint32)
- func (GLImpl) DeleteShader(shader uint32)
- func (GLImpl) DeleteTextures(n int32, textures *uint32)
- func (GLImpl) Disable(cap uint32)
- func (GLImpl) DisableVertexAttribArray(index uint32)
- func (GLImpl) DrawArrays(mode uint32, first int32, count int32)
- func (GLImpl) Enable(cap uint32)
- func (GLImpl) EnableVertexAttribArray(index uint32)
- func (GLImpl) FramebufferRenderbuffer(target uint32, attachment uint32, renderbuffertarget uint32, ...)
- func (GLImpl) FramebufferTexture(target uint32, attachment uint32, texture uint32, level int32)
- func (GLImpl) GenBuffers(n int32, buffers *uint32)
- func (GLImpl) GenFramebuffers(n int32, framebuffers *uint32)
- func (GLImpl) GenRenderbuffers(n int32, renderbuffers *uint32)
- func (GLImpl) GenTextures(n int32, textures *uint32)
- func (GLImpl) GenerateMipmap(target uint32)
- func (GLImpl) GetAttribLocation(program uint32, name string) int32
- func (GLImpl) GetError() uint32
- func (GLImpl) GetProgramInfoLog(program uint32) string
- func (GLImpl) GetProgramiv(program uint32, pname uint32, params *int32)
- func (GLImpl) GetShaderInfoLog(program uint32) string
- func (GLImpl) GetShaderiv(shader uint32, pname uint32, params *int32)
- func (GLImpl) GetUniformLocation(program uint32, name string) int32
- func (GLImpl) LinkProgram(program uint32)
- func (GLImpl) Ptr(data interface{}) unsafe.Pointer
- func (GLImpl) ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, ...)
- func (GLImpl) RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32)
- func (GLImpl) Scissor(x int32, y int32, width int32, height int32)
- func (GLImpl) ShaderSource(shader uint32, source string)
- func (GLImpl) StencilFunc(xfunc uint32, ref int32, mask uint32)
- func (GLImpl) StencilMask(mask uint32)
- func (GLImpl) StencilOp(fail uint32, zfail uint32, zpass uint32)
- func (GLImpl) TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, ...)
- func (GLImpl) TexParameteri(target uint32, pname uint32, param int32)
- func (GLImpl) TexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, ...)
- func (GLImpl) Uniform1f(location int32, v0 float32)
- func (GLImpl) Uniform1fv(location int32, count int32, v *float32)
- func (GLImpl) Uniform1i(location int32, v0 int32)
- func (GLImpl) Uniform2f(location int32, v0 float32, v1 float32)
- func (GLImpl) Uniform4f(location int32, v0 float32, v1 float32, v2 float32, v3 float32)
- func (GLImpl) UniformMatrix3fv(location int32, count int32, transpose bool, value *float32)
- func (GLImpl) UseProgram(program uint32)
- func (GLImpl) VertexAttribPointer(index uint32, size int32, xtype uint32, normalized bool, stride int32, ...)
- func (GLImpl) Viewport(x int32, y int32, width int32, height int32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GLImpl ¶
type GLImpl struct{}
func (GLImpl) ActiveTexture ¶
func (GLImpl) AttachShader ¶
func (GLImpl) BindBuffer ¶
func (GLImpl) BindFramebuffer ¶
func (GLImpl) BindRenderbuffer ¶
func (GLImpl) BindTexture ¶
func (GLImpl) BufferData ¶
func (GLImpl) CheckFramebufferStatus ¶
func (GLImpl) ClearColor ¶
func (GLImpl) CompileShader ¶
func (GLImpl) CreateProgram ¶
func (GLImpl) CreateShader ¶
func (GLImpl) DeleteFramebuffers ¶
func (GLImpl) DeleteRenderbuffers ¶
func (GLImpl) DeleteShader ¶
func (GLImpl) DeleteTextures ¶
func (GLImpl) DisableVertexAttribArray ¶
func (GLImpl) EnableVertexAttribArray ¶
func (GLImpl) FramebufferRenderbuffer ¶
func (GLImpl) FramebufferTexture ¶
func (GLImpl) GenBuffers ¶
func (GLImpl) GenFramebuffers ¶
func (GLImpl) GenRenderbuffers ¶
func (GLImpl) GenTextures ¶
func (GLImpl) GenerateMipmap ¶
func (GLImpl) GetAttribLocation ¶
func (GLImpl) GetProgramInfoLog ¶
func (GLImpl) GetProgramiv ¶
func (GLImpl) GetShaderInfoLog ¶
func (GLImpl) GetUniformLocation ¶
func (GLImpl) LinkProgram ¶
func (GLImpl) ReadPixels ¶
func (GLImpl) RenderbufferStorage ¶
func (GLImpl) ShaderSource ¶
func (GLImpl) StencilMask ¶
func (GLImpl) TexImage2D ¶
func (GLImpl) TexSubImage2D ¶
func (GLImpl) UniformMatrix3fv ¶
func (GLImpl) UseProgram ¶
func (GLImpl) VertexAttribPointer ¶
Click to show internal directories.
Click to hide internal directories.