MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / draw

Method draw

src/main/java/field/graphics/FBOStack.kt:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 var write = depth - 1
21
22 fun draw(): Boolean {
23 val b = stack[write].draw()
24
25 write = (write + 1) % depth
26 read = (read + 1) % depth
27
28 return b
29 }
30
31 fun getReadFBO(): FBO {
32 return stack[read]

Callers

nothing calls this directly

Calls 1

drawMethod · 0.65

Tested by

no test coverage detected