MeshUsage.lua 637 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'How a Mesh is going to be updated.',
  3. description = [[
  4. Meshes can have a usage hint, describing how they are planning on being updated. Setting the
  5. usage hint allows the graphics driver optimize how it handles the data in the Mesh.
  6. ]],
  7. values = {
  8. {
  9. name = 'static',
  10. description = 'The Mesh contents will rarely change.'
  11. },
  12. {
  13. name = 'dynamic',
  14. description = 'The Mesh contents will change often.'
  15. },
  16. {
  17. name = 'stream',
  18. description = [[
  19. The Mesh contents will change constantly, potentially multiple times each frame.
  20. ]]
  21. }
  22. }
  23. }