Documentation ¶
Rendered for darwin/amd64
Index ¶
- type Driver
- func (d *Driver) Begin()
- func (d *Driver) Draw(indexLen int, indexOffset int, mode driver.CompositeMode, ...) error
- func (d *Driver) End()
- func (d *Driver) HasHighPrecisionFloat() bool
- func (d *Driver) IsGL() bool
- func (d *Driver) MaxImageSize() int
- func (d *Driver) NeedsRestoring() bool
- func (d *Driver) NewImage(width, height int) (driver.Image, error)
- func (d *Driver) NewScreenFramebufferImage(width, height int) (driver.Image, error)
- func (d *Driver) Reset() error
- func (d *Driver) ResetSource()
- func (d *Driver) SetThread(thread *thread.Thread)
- func (d *Driver) SetTransparent(transparent bool)
- func (d *Driver) SetUIView(uiview uintptr)
- func (d *Driver) SetVertices(vertices []float32, indices []uint16)
- func (d *Driver) SetVsyncEnabled(enabled bool)
- func (d *Driver) SetWindow(window unsafe.Pointer)
- func (d *Driver) VDirection() driver.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) HasHighPrecisionFloat ¶ added in v1.10.0
func (*Driver) MaxImageSize ¶ added in v1.10.0
func (*Driver) NeedsRestoring ¶ added in v1.10.0
func (*Driver) NewScreenFramebufferImage ¶
func (*Driver) ResetSource ¶
func (d *Driver) ResetSource()
func (*Driver) SetTransparent ¶ added in v1.11.0
func (*Driver) SetVertices ¶
func (*Driver) SetVsyncEnabled ¶
func (*Driver) VDirection ¶
func (d *Driver) VDirection() driver.VDirection
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) IsInvalidated ¶
func (*Image) ReplacePixels ¶
func (i *Image) ReplacePixels(args []*driver.ReplacePixelsArgs)
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.