Documentation ¶
Index ¶
- Constants
- func Error() error
- func Images() []image.Image
- func InitializeGLState() error
- func IsRestoringEnabled() bool
- func ResolveStaleImages()
- func Restore() error
- type Image
- func (i *Image) At(x, y int) color.RGBA
- func (i *Image) Dispose()
- func (i *Image) DrawImage(img *Image, vertices []float32, indices []uint16, colorm *affine.ColorM, ...)
- func (i *Image) IsInvalidated() (bool, error)
- func (i *Image) IsSharedForTesting() bool
- func (i *Image) IsVolatile() bool
- func (i *Image) QuadVertices(sx0, sy0, sx1, sy1 int, a, b, c, d, tx, ty float32, cr, cg, cb, ca float32) []float32
- func (i *Image) ReplacePixels(p []byte)
- func (i *Image) Size() (width, height int)
- func (i *Image) Vertex(dx, dy, sx, sy float32, cr, cg, cb, ca float32) []float32
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func InitializeGLState ¶
func InitializeGLState() error
func IsRestoringEnabled ¶
func IsRestoringEnabled() bool
func ResolveStaleImages ¶
func ResolveStaleImages()
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func NewVolatileImage ¶
func (*Image) IsInvalidated ¶
func (*Image) IsSharedForTesting ¶ added in v1.8.0
func (*Image) IsVolatile ¶ added in v1.8.0
func (*Image) QuadVertices ¶ added in v1.8.0
func (*Image) ReplacePixels ¶
Click to show internal directories.
Click to hide internal directories.