Documentation ¶
Index ¶
- type ComponentRef
- type DebugPipeline
- type DefaultPipeline
- type FrameCache
- func (frameCache *FrameCache) CheckCacheInvalidation(newSize common.Size)
- func (frameCache *FrameCache) CurrentFrame() *ebiten.Image
- func (frameCache *FrameCache) InvalidateCache()
- func (frameCache *FrameCache) Render(screen *ebiten.Image)
- func (frameCache *FrameCache) RenderFrame(frameRenderer FrameRenderer)
- func (frameCache *FrameCache) SetCurrentScene(currentScene Scene)
- type FrameRenderer
- type Pipeline
- type Scene
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentRef ¶
type ComponentRef struct { Parent *common.Component Component *common.Component ComputedZ int ComputedPosition image.Point }
func (ComponentRef) ComputeZ ¶
func (ref ComponentRef) ComputeZ() int
type DebugPipeline ¶
type DebugPipeline struct{}
func (*DebugPipeline) Render ¶
func (pipe *DebugPipeline) Render(screen *ebiten.Image, win window.Window)
type DefaultPipeline ¶
type DefaultPipeline struct {
// contains filtered or unexported fields
}
func (*DefaultPipeline) Render ¶
func (pipe *DefaultPipeline) Render(screen *ebiten.Image, win window.Window)
type FrameCache ¶
type FrameCache struct {
// contains filtered or unexported fields
}
func NewFrameCache ¶
func NewFrameCache() FrameCache
func (*FrameCache) CheckCacheInvalidation ¶
func (frameCache *FrameCache) CheckCacheInvalidation(newSize common.Size)
func (*FrameCache) CurrentFrame ¶
func (frameCache *FrameCache) CurrentFrame() *ebiten.Image
func (*FrameCache) InvalidateCache ¶
func (frameCache *FrameCache) InvalidateCache()
func (*FrameCache) Render ¶
func (frameCache *FrameCache) Render(screen *ebiten.Image)
func (*FrameCache) RenderFrame ¶
func (frameCache *FrameCache) RenderFrame(frameRenderer FrameRenderer)
func (*FrameCache) SetCurrentScene ¶
func (frameCache *FrameCache) SetCurrentScene(currentScene Scene)
type FrameRenderer ¶
type FrameRenderer func(sceneGraph []ComponentRef, screen *ebiten.Image)
type Pipeline ¶
func NewDebugPipeline ¶
func NewDebugPipeline() Pipeline
func NewDefaultPipeline ¶
func NewDefaultPipeline() Pipeline
Click to show internal directories.
Click to hide internal directories.