ebiten: github.com/hajimehoshi/ebiten/mobile/ebitenmobileview Index | Files

package ebitenmobileview

import "github.com/hajimehoshi/ebiten/mobile/ebitenmobileview"

Package ebitenmobileview offers functions for OpenGL/Metal view of mobiles.

The functions are not intended for public usages. There is no guarantee of backward compatibility.

Index

Package Files

funcs.go game.go impl_notmobile.go

func Layout Uses

func Layout(viewWidth, viewHeight int, viewRectSetter ViewRectSetter)

func SetGame Uses

func SetGame(game game)

func Update Uses

func Update() error

func UpdateTouchesOnAndroid Uses

func UpdateTouchesOnAndroid(action int, id int, x, y int)

func UpdateTouchesOnIOS Uses

func UpdateTouchesOnIOS(phase int, ptr int64, x, y int)

type ViewRectSetter Uses

type ViewRectSetter interface {
    SetViewRect(x, y, width, height int)
}

Package ebitenmobileview imports 4 packages (graph) and is imported by 1 packages. Updated 2019-09-18. Refresh now. Tools for package owners.