glimplgogl

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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) ActiveTexture(texture uint32)

func (GLImpl) AttachShader

func (GLImpl) AttachShader(program uint32, shader uint32)

func (GLImpl) BindBuffer

func (GLImpl) BindBuffer(target uint32, buffer uint32)

func (GLImpl) BindFramebuffer

func (GLImpl) BindFramebuffer(target uint32, framebuffer uint32)

func (GLImpl) BindRenderbuffer

func (GLImpl) BindRenderbuffer(target uint32, renderbuffer uint32)

func (GLImpl) BindTexture

func (GLImpl) BindTexture(target uint32, texture uint32)

func (GLImpl) BlendFunc

func (GLImpl) BlendFunc(sfactor uint32, dfactor uint32)

func (GLImpl) BufferData

func (GLImpl) BufferData(target uint32, size int, data unsafe.Pointer, usage uint32)

func (GLImpl) CheckFramebufferStatus

func (GLImpl) CheckFramebufferStatus(target uint32) uint32

func (GLImpl) Clear

func (GLImpl) Clear(mask uint32)

func (GLImpl) ClearColor

func (GLImpl) ClearColor(red float32, green float32, blue float32, alpha float32)

func (GLImpl) ColorMask

func (GLImpl) ColorMask(red bool, green bool, blue bool, alpha bool)

func (GLImpl) CompileShader

func (GLImpl) CompileShader(shader uint32)

func (GLImpl) CreateProgram

func (GLImpl) CreateProgram() uint32

func (GLImpl) CreateShader

func (GLImpl) CreateShader(xtype uint32) uint32

func (GLImpl) DeleteFramebuffers

func (GLImpl) DeleteFramebuffers(n int32, framebuffers *uint32)

func (GLImpl) DeleteRenderbuffers

func (GLImpl) DeleteRenderbuffers(n int32, renderbuffers *uint32)

func (GLImpl) DeleteShader

func (GLImpl) DeleteShader(shader uint32)

func (GLImpl) DeleteTextures

func (GLImpl) DeleteTextures(n int32, textures *uint32)

func (GLImpl) Disable

func (GLImpl) Disable(cap uint32)

func (GLImpl) DisableVertexAttribArray

func (GLImpl) DisableVertexAttribArray(index uint32)

func (GLImpl) DrawArrays

func (GLImpl) DrawArrays(mode uint32, first int32, count int32)

func (GLImpl) Enable

func (GLImpl) Enable(cap uint32)

func (GLImpl) EnableVertexAttribArray

func (GLImpl) EnableVertexAttribArray(index uint32)

func (GLImpl) FramebufferRenderbuffer

func (GLImpl) FramebufferRenderbuffer(target uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32)

func (GLImpl) FramebufferTexture

func (GLImpl) FramebufferTexture(target uint32, attachment uint32, texture uint32, level int32)

func (GLImpl) GenBuffers

func (GLImpl) GenBuffers(n int32, buffers *uint32)

func (GLImpl) GenFramebuffers

func (GLImpl) GenFramebuffers(n int32, framebuffers *uint32)

func (GLImpl) GenRenderbuffers

func (GLImpl) GenRenderbuffers(n int32, renderbuffers *uint32)

func (GLImpl) GenTextures

func (GLImpl) GenTextures(n int32, textures *uint32)

func (GLImpl) GenerateMipmap

func (GLImpl) GenerateMipmap(target uint32)

func (GLImpl) GetAttribLocation

func (GLImpl) GetAttribLocation(program uint32, name string) int32

func (GLImpl) GetError

func (GLImpl) GetError() uint32

func (GLImpl) GetProgramInfoLog

func (GLImpl) GetProgramInfoLog(program uint32) string

func (GLImpl) GetProgramiv

func (GLImpl) GetProgramiv(program uint32, pname uint32, params *int32)

func (GLImpl) GetShaderInfoLog

func (GLImpl) GetShaderInfoLog(program uint32) string

func (GLImpl) GetShaderiv

func (GLImpl) GetShaderiv(shader uint32, pname uint32, params *int32)

func (GLImpl) GetUniformLocation

func (GLImpl) GetUniformLocation(program uint32, name string) int32

func (GLImpl) LinkProgram

func (GLImpl) LinkProgram(program uint32)

func (GLImpl) Ptr

func (GLImpl) Ptr(data interface{}) unsafe.Pointer

func (GLImpl) ReadPixels

func (GLImpl) ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer)

func (GLImpl) RenderbufferStorage

func (GLImpl) RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32)

func (GLImpl) Scissor

func (GLImpl) Scissor(x int32, y int32, width int32, height int32)

func (GLImpl) ShaderSource

func (GLImpl) ShaderSource(shader uint32, source string)

func (GLImpl) StencilFunc

func (GLImpl) StencilFunc(xfunc uint32, ref int32, mask uint32)

func (GLImpl) StencilMask

func (GLImpl) StencilMask(mask uint32)

func (GLImpl) StencilOp

func (GLImpl) StencilOp(fail uint32, zfail uint32, zpass uint32)

func (GLImpl) TexImage2D

func (GLImpl) TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer)

func (GLImpl) TexParameteri

func (GLImpl) TexParameteri(target uint32, pname uint32, param int32)

func (GLImpl) TexSubImage2D

func (GLImpl) TexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer)

func (GLImpl) Uniform1f

func (GLImpl) Uniform1f(location int32, v0 float32)

func (GLImpl) Uniform1fv

func (GLImpl) Uniform1fv(location int32, count int32, v *float32)

func (GLImpl) Uniform1i

func (GLImpl) Uniform1i(location int32, v0 int32)

func (GLImpl) Uniform2f

func (GLImpl) Uniform2f(location int32, v0 float32, v1 float32)

func (GLImpl) Uniform4f

func (GLImpl) Uniform4f(location int32, v0 float32, v1 float32, v2 float32, v3 float32)

func (GLImpl) UniformMatrix3fv

func (GLImpl) UniformMatrix3fv(location int32, count int32, transpose bool, value *float32)

func (GLImpl) UseProgram

func (GLImpl) UseProgram(program uint32)

func (GLImpl) VertexAttribPointer

func (GLImpl) VertexAttribPointer(index uint32, size int32, xtype uint32, normalized bool, stride int32, offset uint32)

func (GLImpl) Viewport

func (GLImpl) Viewport(x int32, y int32, width int32, height int32)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL