lovr.graphics.getShader

Returns the active shader.

shader = lovr.graphics.getShader()

Arguments

None

Returns

NameTypeDescription
shaderShaderThe active shader object, or nil if none is active.

See also