ebiten: github.com/hajimehoshi/ebiten/internal/mipmap Index | Files

package mipmap

import "github.com/hajimehoshi/ebiten/internal/mipmap"


Package Files

mipmap.go vertex.go

func BeginFrame Uses

func BeginFrame() error

func EndFrame Uses

func EndFrame() error

func MipmapLevelForDownscale Uses

func MipmapLevelForDownscale(det float32) int

func SetGraphicsDriver Uses

func SetGraphicsDriver(graphics driver.Graphics)

type GeoM Uses

type GeoM struct {
    A   float32
    B   float32
    C   float32
    D   float32
    Tx  float32
    Ty  float32

type Mipmap Uses

type Mipmap struct {
    // contains filtered or unexported fields

Mipmap is a set of shareable.Image sorted by the order of mipmap level. The level 0 image is a regular image and higher-level images are used for mipmap.

func New Uses

func New(width, height int, volatile bool) *Mipmap

func NewScreenFramebufferMipmap Uses

func NewScreenFramebufferMipmap(width, height int) *Mipmap

func (*Mipmap) At Uses

func (m *Mipmap) At(x, y int) (r, g, b, a byte, err error)

func (*Mipmap) DrawImage Uses

func (m *Mipmap) DrawImage(src *Mipmap, bounds image.Rectangle, geom *GeoM, colorm *affine.ColorM, mode driver.CompositeMode, filter driver.Filter)

func (*Mipmap) DrawTriangles Uses

func (m *Mipmap) DrawTriangles(src *Mipmap, vertices []float32, indices []uint16, colorm *affine.ColorM, mode driver.CompositeMode, filter driver.Filter, address driver.Address)

func (*Mipmap) Dump Uses

func (m *Mipmap) Dump(name string) error

func (*Mipmap) Fill Uses

func (m *Mipmap) Fill(clr color.RGBA)

func (*Mipmap) MarkDisposed Uses

func (m *Mipmap) MarkDisposed()

func (*Mipmap) ReplacePixels Uses

func (m *Mipmap) ReplacePixels(pix []byte)

Package mipmap imports 9 packages (graph) and is imported by 2 packages. Updated 2020-01-25. Refresh now. Tools for package owners.