getSize.lua 369 B

12345678910111213141516
  1. return {
  2. summary = 'Get the size of the ShaderBlock.',
  3. description = 'Returns the size of the ShaderBlock\'s data, in bytes.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'size',
  8. type = 'number',
  9. description = 'The size of the ShaderBlock, in bytes.'
  10. }
  11. },
  12. related = {
  13. 'ShaderBlock:getOffset',
  14. 'lovr.graphics.newShaderBlock'
  15. }
  16. }