Package-level declarations

Types

Link copied to clipboard
open class Shader(vertexFile: String, fragmentFile: String)

Shaders can be used to transform the image that is being drawn. There are multiple types of shaders. So far vertex and fragment shaders are supported. The vertex shader acts on all the vertices that are being drawn and allows to modify those. The fragment shader acts on the pixels that are being drawn and can be used to adjust the color of those.