Versions in this module Expand all Collapse all v1 v1.0.1 Jun 29, 2023 Changes in this version + var LinearFilterShader = &Shader + var NearestFilterShader = &Shader + type Mipmap struct + func New(width, height int, imageType atlas.ImageType) *Mipmap + func (m *Mipmap) DrawTriangles(srcs [graphics.ShaderImageCount]*Mipmap, vertices []float32, indices []uint16, ...) + func (m *Mipmap) DumpScreenshot(graphicsDriver graphicsdriver.Graphics, name string, blackbg bool) (string, error) + func (m *Mipmap) MarkDisposed() + func (m *Mipmap) ReadPixels(graphicsDriver graphicsdriver.Graphics, pixels []byte, region image.Rectangle) error + func (m *Mipmap) WritePixels(pix []byte, region image.Rectangle) + type Shader struct + func NewShader(ir *shaderir.Program) *Shader + func (s *Shader) MarkDisposed()