lovr.graphics.getShader
Returns the active shader.
shader = lovr.graphics.getShader()
Arguments
None
Returns
Name | Type | Description |
shader | Shader | The active shader object, or nil if none is active.
|
See also
lovr.graphics.setShader
lovr.graphics
Returns the active shader.
shader = lovr.graphics.getShader()
None
Name | Type | Description |
shader | Shader | The active shader object, or nil if none is active.
|
lovr.graphics.setShader
lovr.graphics