Versions in this module Expand all Collapse all v0 v0.0.2 Oct 24, 2022 v0.0.1 Aug 27, 2022 Changes in this version + func LoadPNG(path string) (*image.NRGBA, error) + func SavePNG(img *image.NRGBA, name string) error + type Depth struct + Pix []float64 + Rect image.Rectangle + func NewDepth(rect image.Rectangle) *Depth + func (d *Depth) At(x, y int) float64 + func (d *Depth) Set(x, y int, depth float64) + type RenderBuffer struct + Color *image.NRGBA + Depth *Depth + Dirty bool + func NewRenderBuffer(rect image.Rectangle) *RenderBuffer + func (target *RenderBuffer) OverlayDepthAware(source *RenderBuffer, origin image.Point, depthOffset float64) + func (target *RenderBuffer) OverlayDepthAwareWithAlpha(source *RenderBuffer, origin image.Point, depthOffset float64)