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

package graphics

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

Index

Package Files

math.go vertices.go

Constants

const (
    IndicesNum     = (1 << 16) / 3 * 3 // Adjust num for triangles.
    VertexFloatNum = 12
)

func InternalImageSize Uses

func InternalImageSize(x int) int

InternalImageSize returns a nearest appropriate size as an internal image.

func QuadIndices Uses

func QuadIndices() []uint16

Package graphics is imported by 21 packages. Updated 2019-09-25. Refresh now. Tools for package owners.