Versions in this module Expand all Collapse all v0 v0.1.0 Jun 19, 2020 Changes in this version + const UNSIGNED_BYTE + func ColorClamp(enable bool) + func DestroyContext(ctx Context) + func GetColorBuffer(c Context, width *int, height *int, format *Format, buffer *unsafe.Pointer) + func GetDepthBuffer(c Context, width *int, height *int, bytesPerValue *int, buffer *unsafe.Pointer) + func GetIntegerv(pname PropertyName) int + func MakeCurrent(ctx Context, buffer unsafe.Pointer, type_ PixelType, width int, height int) bool + func PixelStore(pname PixelStoreParameter, value int) + type Context C.OSMesaContext + func CreateContext(format Format, sharelist Context) Context + func CreateContextExt(format Format, depthBits int, stencilBits int, accumBits int, ...) Context + func GetCurrentContext() Context + type Format int + const ARGB + const BGR + const BGRA + const COLOR_INDEX + const RGB + const RGBA + const RGB_565 + type PixelStoreParameter int + const ROW_LENGTH + const Y_UP + type PixelType int + type PropertyName int + const FORMAT + const HEIGHT + const MAX_HEIGHT + const MAX_WIDTH + const TYPE + const WIDTH