AKL_RenderPipeLine

package
v0.0.0-...-d04e7c8 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderCall

type RenderCall node.BNode[RenderCallContain]

func NewRenderCall

func NewRenderCall(IDrawer draw.ImageDrawer, deph float64) RenderCall

type RenderCallAppend

type RenderCallAppend func(draw.ImageDrawer, float64)

type RenderCallContain

type RenderCallContain struct {
	draw.ImageDrawer
	// contains filtered or unexported fields
}

func (RenderCallContain) String

func (rCallContain RenderCallContain) String() string

type RenderObject

type RenderObject interface {
	RenderCustom(RenderCallAppend, *types.Camera)
}

type RenderObjectDebug

type RenderObjectDebug interface {
	Draw(*ebiten.Image, *types.Camera)
}

type RenderPipeLine

type RenderPipeLine struct {
	Objects *node.LNode[RenderObject]
	First   *RenderCall
	Debug   bool
}

func NewRenderPipeLine

func NewRenderPipeLine(in ...RenderObject) (ret RenderPipeLine)

func (*RenderPipeLine) Add

func (rp *RenderPipeLine) Add(in RenderObject)

func (*RenderPipeLine) Draw

func (rp *RenderPipeLine) Draw(screen *ebiten.Image, camera *types.Camera)

Jump to

Keyboard shortcuts

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