Documentation ¶
Index ¶
- func BeginFrame() error
- func EndFrame() error
- type Image
- func (i *Image) At(x, y int) (r, g, b, a byte)
- func (i *Image) DrawTriangles(src *Image, vertices []float32, indices []uint16, colorm *affine.ColorM, ...)
- func (i *Image) Dump(name string) error
- func (i *Image) Fill(clr color.RGBA)
- func (i *Image) MarkDisposed()
- func (i *Image) ReplacePixels(pix []byte)
- func (i *Image) Set(x, y int, r, g, b, a byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginFrame ¶
func BeginFrame() error
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) DrawTriangles ¶
func (*Image) MarkDisposed ¶
func (i *Image) MarkDisposed()
func (*Image) ReplacePixels ¶
Click to show internal directories.
Click to hide internal directories.