Documentation
¶
Index ¶
- Constants
- func BindFramebuffer(target uint32, framebuffer uint32)
- func BindRenderbuffer(target uint32, renderbuffer uint32)
- func BindTexture(target uint32, texture uint32)
- func CheckFramebufferStatus(target uint32) uint32
- func DeleteFramebuffers(n int32, framebuffers *uint32)
- func DeleteRenderbuffers(n int32, renderbuffers *uint32)
- func DeleteTextures(n int32, textures *uint32)
- func FramebufferRenderbuffer(target uint32, attachment uint32, renderbufferTarget uint32, ...)
- func FramebufferTexture2D(target uint32, attachment uint32, texTarget uint32, texture uint32, ...)
- func GenFramebuffers(n int32, framebuffers *uint32)
- func GenRenderbuffers(n int32, renderbuffers *uint32)
- func GenTextures(n int32, textures *uint32)
- func GetError() uint32
- func GetString(name uint32) *uint8
- func GoStr(str *uint8) string
- func InitWithProcAddrFunc(getProcAddr func(name string) unsafe.Pointer) error
- func ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, ...)
- func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32)
- func TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, ...)
- func TexParameteri(target uint32, name uint32, param int32)
Constants ¶
View Source
const ( VENDOR = 0x1F00 VERSION = 0x1F02 RENDERER = 0x1F01 ShadingLanguageVersion = 0x8B8C Texture2d = 0x0DE1 RENDERBUFFER = 0x8D41 FRAMEBUFFER = 0x8D40 TextureMinFilter = 0x2801 TextureMagFilter = 0x2800 NEAREST = 0x2600 RGBA8 = 0x8058 BGRA = 0x80E1 RGB = 0x1907 ColorAttachment0 = 0x8CE0 Depth24Stencil8 = 0x88F0 DepthStencilAttachment = 0x821A DepthComponent24 = 0x81A6 DepthAttachment = 0x8D00 FramebufferComplete = 0x8CD5 UnsignedShort5551 = 0x8034 UnsignedShort565 = 0x8363 UnsignedInt8888Rev = 0x8367 )
Variables ¶
This section is empty.
Functions ¶
func BindFramebuffer ¶
func BindRenderbuffer ¶
func BindTexture ¶
func CheckFramebufferStatus ¶
func DeleteFramebuffers ¶
func DeleteRenderbuffers ¶
func DeleteTextures ¶
func FramebufferRenderbuffer ¶
func FramebufferTexture2D ¶
func GenFramebuffers ¶
func GenRenderbuffers ¶
func GenTextures ¶
func InitWithProcAddrFunc ¶
func ReadPixels ¶
func RenderbufferStorage ¶
func TexImage2D ¶
func TexParameteri ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.