Versions in this module Expand all Collapse all v2 v2.0.7 Mar 14, 2021 Changes in this version + func DumpImages(dir string) error + func EnableRestoringForTesting() + func InitializeGraphicsDriverState() error + func MaxImageSize() int + func NeedsRestoring() bool + func OnContextLost() + func ResolveStaleImages() error + func RestoreIfNeeded() error + type Image struct + func NewImage(width, height int) *Image + func NewScreenFramebufferImage(width, height int) *Image + func (i *Image) At(x, y int) (byte, byte, byte, byte, error) + func (i *Image) BasePixelsForTesting() *Pixels + func (i *Image) ClearPixels(x, y, width, height int) + func (i *Image) Dispose() + func (i *Image) DrawTriangles(srcs [graphics.ShaderImageNum]*Image, ...) + func (i *Image) Dump(path string, blackbg bool) error + func (i *Image) Extend(width, height int) *Image + func (i *Image) ReplacePixels(pixels []byte, x, y, width, height int) + func (i *Image) SetVolatile(volatile bool) + type Pixels struct + func (p *Pixels) AddOrReplace(pix []byte, x, y, width, height int) + func (p *Pixels) Apply(img *graphicscommand.Image) + func (p *Pixels) At(i, j int) (byte, byte, byte, byte) + func (p *Pixels) Remove(x, y, width, height int) + type Shader struct + func NewShader(program *shaderir.Program) *Shader + func (s *Shader) Dispose() Other modules containing this package github.com/MattSwanson/ebiten