Documentation ¶
Overview ¶
OpenGL-Bindings für das Zeichnen der Objekte
Index ¶
- Constants
- func ActiveTextureARB(texture uint32)
- func Begin(mode uint32)
- func BindBufferARB(target uint32, buffer uint32)
- func CallList(list uint32)
- func ClientActiveTextureARB(texture uint32)
- func Color4f(red float32, green float32, blue float32, alpha float32)
- func DisableClientState(array uint32)
- func DrawElements(mode uint32, count int32, xtype uint32, indices unsafe.Pointer)
- func EnableClientState(array uint32)
- func End()
- func EndList()
- func GenLists(xrange int32) uint32
- func GetError() uint32
- func GetFloatv(pname uint32, data *float32)
- func GetIntegerv(pname uint32, data *int32)
- func GetString(name uint32) *uint8
- func GoStr(cstr *uint8) string
- func InitOpenGL() error
- func LoadIdentity()
- func MatrixMode(mode uint32)
- func NewList(list uint32, mode uint32)
- func NormalPointer(xtype uint32, stride int32, pointer unsafe.Pointer)
- func Ortho(left float64, right float64, bottom float64, top float64, zNear float64, ...)
- func PopClientAttrib()
- func PopMatrix()
- func PushClientAttrib(mask uint32)
- func PushMatrix()
- func Rotatef(angle float32, x float32, y float32, z float32)
- func TexCoord2f(s float32, t float32)
- func TexCoordPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer)
- func TexEnvi(target uint32, pname uint32, param int32)
- func TexParameteri(target uint32, pname uint32, param int32)
- func Translatef(x float32, y float32, z float32)
- func Vertex2f(x float32, y float32)
- func VertexPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer)
Constants ¶
View Source
const ( ADD = 0x0104 ARRAY_BUFFER_ARB = 0x8892 ARRAY_BUFFER_BINDING_ARB = 0x8894 CLAMP = 0x2900 CLAMP_TO_EDGE = 0x812F CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF COLOR_ARRAY = 0x8076 COMPILE = 0x1300 EXTENSIONS = 0x1F03 FLOAT = 0x1406 LINEAR = 0x2601 LINEAR_MIPMAP_NEAREST = 0x2701 MODULATE = 0x2100 MODELVIEW = 0x1700 MODELVIEW_MATRIX = 0x0BA6 NORMAL_ARRAY = 0x8075 PROJECTION = 0x1701 PROJECTION_MATRIX = 0x0BA7 QUADS = 0x0007 RGBA = 0x1908 TEXTURE0 = 0x84C0 TEXTURE1 = 0x84C1 TEXTURE_2D = 0x0DE1 TEXTURE_COORD_ARRAY = 0x8078 TEXTURE_ENV = 0x2300 TEXTURE_ENV_MODE = 0x2200 TEXTURE_MAG_FILTER = 0x2800 TEXTURE_MIN_FILTER = 0x2801 TEXTURE_WRAP_S = 0x2802 TEXTURE_WRAP_T = 0x2803 TRIANGLES = 0x0004 UNSIGNED_BYTE = 0x1401 UNSIGNED_INT = 0x1405 VERTEX_ARRAY = 0x8074 VIEWPORT = 0x0BA2 )
Variables ¶
This section is empty.
Functions ¶
func ActiveTextureARB ¶
func ActiveTextureARB(texture uint32)
func BindBufferARB ¶
func ClientActiveTextureARB ¶
func ClientActiveTextureARB(texture uint32)
func DisableClientState ¶
func DisableClientState(array uint32)
func DrawElements ¶
func EnableClientState ¶
func EnableClientState(array uint32)
func GetIntegerv ¶
func InitOpenGL ¶
func InitOpenGL() error
func LoadIdentity ¶
func LoadIdentity()
func MatrixMode ¶
func MatrixMode(mode uint32)
func PopClientAttrib ¶
func PopClientAttrib()
func PushClientAttrib ¶
func PushClientAttrib(mask uint32)
func PushMatrix ¶
func PushMatrix()
func TexCoord2f ¶
func TexCoordPointer ¶
func TexParameteri ¶
func Translatef ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.