DummyBackend
A Backend used for unit-testing, which renders nothing. By having a backend which doesn't actually render anything, unit tests which are not testing the actual display output do not need to create a window, or use OpenGL.
Functions
Link copied to clipboard
open override fun batch(texture: Texture, tint: Color?, modelMatrix: Matrix?, block: TextureBatch.() -> Unit)
OpenGL is moe efficient when operations can be batched. So rather than call drawTexture multiple times (with the same texture, tint, and modelMatrix), batch them and call TextureBatch.draw instead.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A gradient fill. Each vertex of each triangle has a color.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard