Documentation ¶
Rendered for darwin/amd64
Index ¶
- type Driver
- func (d *Driver) Begin()
- func (d *Driver) Draw(indexLen int, indexOffset int, mode graphics.CompositeMode, ...) error
- func (d *Driver) End()
- func (d *Driver) Flush()
- func (d *Driver) IsGL() bool
- func (d *Driver) NewImage(width, height int) (graphicsdriver.Image, error)
- func (d *Driver) NewScreenFramebufferImage(width, height int) (graphicsdriver.Image, error)
- func (d *Driver) Reset() error
- func (d *Driver) ResetSource()
- func (d *Driver) SetVertices(vertices []float32, indices []uint16)
- func (d *Driver) SetVsyncEnabled(enabled bool)
- func (d *Driver) SetWindow(window uintptr)
- func (d *Driver) VDirection() graphicsdriver.VDirection
- type Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) NewImage ¶
func (d *Driver) NewImage(width, height int) (graphicsdriver.Image, error)
func (*Driver) NewScreenFramebufferImage ¶
func (d *Driver) NewScreenFramebufferImage(width, height int) (graphicsdriver.Image, error)
func (*Driver) ResetSource ¶
func (d *Driver) ResetSource()
func (*Driver) SetVertices ¶
func (*Driver) SetVsyncEnabled ¶
func (*Driver) VDirection ¶
func (d *Driver) VDirection() graphicsdriver.VDirection
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) IsInvalidated ¶
func (*Image) ReplacePixels ¶
func (*Image) SetAsDestination ¶
func (i *Image) SetAsDestination()
func (*Image) SetAsSource ¶
func (i *Image) SetAsSource()
Directories ¶
Path | Synopsis |
---|---|
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). |
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). |
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). |
Click to show internal directories.
Click to hide internal directories.