Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GradientCreator ¶
type KeyGrabber ¶
type KeyProvider ¶
type KeyProvider interface { PushGrabber(grabber KeyGrabber) PopGrabber() (KeyGrabber, error) PushGrabberAt(grabber KeyGrabber, index uint32) PopGrabberAt(index uint32) (KeyGrabber, error) }
type LineRenderer ¶
type LineRenderer interface { StackRenderer DrawLine(point0 types.Point, point1 types.Point, color types.PaletteIndex) DrawLineWithSampler(point0 types.Point, point0s types.SamplerPoint, point1 types.Point, point1s types.SamplerPoint, sampler Sampler) }
type MouseGrabber ¶
type MouseGrabber interface {
GrabMouse(button glfw.MouseButton, action glfw.Action, mods glfw.ModifierKey, posX float64, posY float64) (continueSearching bool)
}
type MouseProvider ¶
type MouseProvider interface { PushMouseGrabber(grabber MouseGrabber) PopMouseGrabber() (MouseGrabber, error) PushMouseGrabberAt(grabber MouseGrabber, index uint32) PopMouseGrabberAt(index uint32) (MouseGrabber, error) }
type PolyRenderer ¶
type PolyRenderer interface { StackRenderer GetLineRenderer() LineRenderer SetLineRenderer(lr LineRenderer) DrawPoly(poly *types.Poly, sampler Sampler) }
type RawRenderer ¶
type RawRenderer interface { InitRenderer(windowName string, width uint32, height uint32) error GetSize() types.Point TickRenderer() ShouldQuit() bool DeinitRenderer() error DrawBackPixel(x uint32, y uint32, paletteIndex types.PaletteIndex) error FillBack(paletteIndex types.PaletteIndex) error SetPaletteColor(paletteIndex types.PaletteIndex, color types.Color) error }
type Sampler ¶
type Sampler interface {
GetAtPoint(point types.SamplerPoint) types.PaletteIndex
}
type Shape3DRenderer ¶
type Shape3DRenderer interface { StackRenderer GetPolyRenderer() PolyRenderer SetPolyRenderer(pr PolyRenderer) RenderShape(shape Shape3D, cameraPos types.Point3D, cameraRotation types.Rotation3D, sampler Sampler) }
type StackRenderer ¶
type StackRenderer interface { Parent() RawRenderer SetParent(rr RawRenderer) CanUseCurrentRawRenderer() bool }
type WolfRenderer ¶
Click to show internal directories.
Click to hide internal directories.