Documentation ¶
Index ¶
- Variables
- 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) SetThread(thread *thread.Thread)
- func (d *Driver) SetTransparent(transparent bool)
- func (d *Driver) SetVertices(vertices []float32, indices []uint16)
- func (d *Driver) SetVsyncEnabled(enabled bool)
- func (d *Driver) VDirection() driver.VDirection
- type Image
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidTexture textureNative
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) 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()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.