ebitenmobileview

package
v1.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Layout

func Layout(viewWidth, viewHeight int, viewRectSetter ViewRectSetter)

func SetGame

func SetGame(game game)

func Update

func Update() error

func UpdateTouchesOnAndroid

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

func UpdateTouchesOnIOS

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

Types

type ViewRectSetter

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL