MCPcopy Index your code
hub / github.com/faiface/pixel / TargetTriangles

Interface TargetTriangles

interface.go:76–81  ·  view source on GitHub ↗

TargetTriangles are Triangles generated by a Target with MakeTriangles method. They can be drawn onto that (no other) Target.

Source from the content-addressed store, hash-verified

74// TargetTriangles are Triangles generated by a Target with MakeTriangles method. They can be drawn
75// onto that (no other) Target.
76type TargetTriangles interface {
77 Triangles
78
79 // Draw draws Triangles onto an associated Target.
80 Draw()
81}
82
83// TrianglesPosition specifies Triangles with Position property.
84type TrianglesPosition interface {

Callers

nothing calls this directly

Implementers 10

Drawerdrawer.go
Spritesprite.go
Batchbatch.go
batchPicturebatch.go
Canvaspixelgl/canvas.go
canvasTrianglespixelgl/canvas.go
canvasPicturepixelgl/canvas.go
IMDrawimdraw/imdraw.go
Texttext/text.go

Calls

no outgoing calls

Tested by

no test coverage detected