Shader
EditShaders are small GPU programs. See the Shaders guide for a full introduction to Shaders.
Constructors
| lovr.graphics.newShader | Create a new Shader. |
| Shader:clone | Clone a Shader. |
Methods
| Shader:clone | Clone a Shader. |
| Shader:getBufferFormat | Get the format of a buffer in the Shader. |
| Shader:getLabel | Get the debug label of the Shader. |
| Shader:getType | Get the type of the Shader. |
| Shader:getWorkgroupSize | Get the workgroup size of a compute shader. |
| Shader:hasAttribute | Check if the Shader has a given vertex attribute. |
| Shader:hasStage | Check if the Shader has a given stage. |
| Shader:hasVariable | Check if the Shader has a variable. |