Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphicsDriver ¶
type GraphicsDriver interface { SetWindow(window uintptr) SetVertices(vertices []float32, indices []uint16) Flush() NewImage(width, height int) (Image, error) NewScreenFramebufferImage(width, height int) (Image, error) Reset() error Draw(indexLen int, indexOffset int, mode graphics.CompositeMode, colorM *affine.ColorM, filter graphics.Filter, address graphics.Address) error SetVsyncEnabled(enabled bool) VDirection() VDirection IsGL() bool }
Directories ¶
Path | Synopsis |
---|---|
ca
Package ca provides access to Apple's Core Animation API (https://developer.apple.com/documentation/quartzcore).
|
Package ca provides access to Apple's Core Animation API (https://developer.apple.com/documentation/quartzcore). |
mtl
Package mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal).
|
Package mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal). |
ns
Package ns provides access to Apple's AppKit API (https://developer.apple.com/documentation/appkit).
|
Package ns provides access to Apple's AppKit API (https://developer.apple.com/documentation/appkit). |
gl
Package gl implements Go bindings to OpenGL.
|
Package gl implements Go bindings to OpenGL. |
Click to show internal directories.
Click to hide internal directories.