Documentation
¶
Index ¶
- func NewScreenImage(engine *Engine, sprite *EbitenSprite)
- type Config
- type DebufInfo
- type EbitenSprite
- type EbitenWindow
- func (e *EbitenWindow) Draw(screen *ebiten.Image)
- func (e *EbitenWindow) Layout(outsideWidth, outsideHeight int) (int, int)
- func (e *EbitenWindow) LayoutF(outsideWidth, outsideHeight float64) (float64, float64)
- func (e *EbitenWindow) Open() error
- func (e *EbitenWindow) Update() error
- func (e *EbitenWindow) UpdateConfig(newConfig *WindowConfig)
- type Engine
- type Shader
- type Shaders
- type Transfrom
- type WindowConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewScreenImage ¶
func NewScreenImage(engine *Engine, sprite *EbitenSprite)
Types ¶
type Config ¶
type Config struct {
Window *WindowConfig
}
type EbitenSprite ¶
type EbitenSprite struct { Path string // contains filtered or unexported fields }
type EbitenWindow ¶
type EbitenWindow struct {
// contains filtered or unexported fields
}
func NewEbitenWindow ¶
func NewEbitenWindow(config *WindowConfig, engine *Engine) (*EbitenWindow, error)
func (*EbitenWindow) Draw ¶
func (e *EbitenWindow) Draw(screen *ebiten.Image)
func (*EbitenWindow) Layout ¶
func (e *EbitenWindow) Layout(outsideWidth, outsideHeight int) (int, int)
func (*EbitenWindow) LayoutF ¶
func (e *EbitenWindow) LayoutF(outsideWidth, outsideHeight float64) (float64, float64)
func (*EbitenWindow) Update ¶
func (e *EbitenWindow) Update() error
func (*EbitenWindow) UpdateConfig ¶
func (e *EbitenWindow) UpdateConfig(newConfig *WindowConfig)
type Engine ¶
func (*Engine) Draw ¶
func (e *Engine) Draw(screen *ebiten.Image)
@Incomplete: Abstract away ebiten in engine layer
func (*Engine) UpdateConfig ¶
type Shaders ¶
type Shaders struct { *gomemory.UnsafePool[string, ebiten.Shader] // contains filtered or unexported fields }
func NewShaders ¶
Click to show internal directories.
Click to hide internal directories.