ShaderType

Shaders can be used for either rendering operations or generic compute tasks. Graphics shaders are created with lovr.graphics.newShader and compute shaders are created with lovr.graphics.newComputeShader. Shader:getType can be used on an existing Shader to figure out what type it is.

ValueDescription
graphicsA graphics shader.
computeA compute shader.

See also