ShaderBlock:getSize
Returns the size of the ShaderBlock's data, in bytes.
size = ShaderBlock:getSize()
Arguments
None
Returns
Name | Type | Description |
size | number | The size of the ShaderBlock, in bytes. |
See also
ShaderBlock:getOffset
lovr.graphics.newShaderBlock
ShaderBlock