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: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. |