Documentation
¶
Index ¶
Constants ¶
View Source
const SHADER_DISSOLVE = "shaders/dissolve.kage"
View Source
const SHADER_FADE = "shaders/fade.kage"
View Source
const SHADER_PIXELIZE = "shaders/pixelize.kage"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dissolve ¶
type Dissolve struct {
// contains filtered or unexported fields
}
func NewDissolve ¶
func NewDissolve(img *ebiten.Image, tOptions *TransitionOptions, geoM ebiten.GeoM) *Dissolve
type Fade ¶ added in v0.0.1
type Fade struct {
// contains filtered or unexported fields
}
func NewFade ¶ added in v0.0.1
func NewFade(img *ebiten.Image, tOptions *TransitionOptions, geoM ebiten.GeoM) *Fade
type Pixelize ¶ added in v0.0.1
type Pixelize struct {
// contains filtered or unexported fields
}
func NewPixelize ¶ added in v0.0.1
func NewPixelize(img *ebiten.Image, tOptions *TransitionOptions, geoM ebiten.GeoM) *Pixelize
type TransitionDirection ¶
type TransitionDirection int
const ( TransitionIn TransitionDirection = iota TransitionHold TransitionOut TransitionCompleted )
type TransitionOptions ¶
type TransitionOptions struct { CurrentDirection TransitionDirection InDuration float32 HoldDuration float32 OutDuration float32 }
func (*TransitionOptions) Duration ¶
func (t *TransitionOptions) Duration() float32
Click to show internal directories.
Click to hide internal directories.