Versions in this module Expand all Collapse all v1 v1.0.1 Jun 29, 2023 Changes in this version + func DumpImages(images []*Image, graphicsDriver graphicsdriver.Graphics, dir string) (string, error) + func FlushCommands(graphicsDriver graphicsdriver.Graphics, endFrame bool) error + func InitializeGraphicsDriverState(graphicsDriver graphicsdriver.Graphics) (err error) + func LogImagesInfo(images []*Image) + func MaxImageSize(graphicsDriver graphicsdriver.Graphics) int + func ResetGraphicsDriverState(graphicsDriver graphicsdriver.Graphics) (err error) + func SetRenderThread(thread Thread) + type Image struct + func NewImage(width, height int, screenFramebuffer bool) *Image + func (i *Image) Dispose() + func (i *Image) DrawTriangles(srcs [graphics.ShaderImageCount]*Image, ...) + func (i *Image) Dump(graphicsDriver graphicsdriver.Graphics, path string, blackbg bool, ...) (string, error) + func (i *Image) InternalSize() (int, int) + func (i *Image) IsInvalidated(graphicsDriver graphicsdriver.Graphics) (bool, error) + func (i *Image) ReadPixels(graphicsDriver graphicsdriver.Graphics, buf []byte, region image.Rectangle) error + func (i *Image) WritePixels(pixels []byte, region image.Rectangle) + type Shader struct + func NewShader(ir *shaderir.Program) *Shader + func (s *Shader) Dispose() + type Thread interface + Call func(f func())