2
0

MeshUsage.generated.cs 820 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Rendering
  7. * @{
  8. */
  9. /// <summary>
  10. /// Planned usage for the mesh. These options usually affect performance and you should specify static if you don't plan
  11. /// on modifying the mesh often, otherwise specify dynamic.
  12. /// </summary>
  13. public enum MeshUsage
  14. {
  15. /// <summary>Specify for a mesh that is not often updated from the CPU.</summary>
  16. Static = 1,
  17. /// <summary>Specify for a mesh that is often updated from the CPU.</summary>
  18. Dynamic = 2,
  19. /// <summary>
  20. /// All mesh data will also be cached in CPU memory, making it available for fast read access from the CPU. Can be
  21. /// combined with other usage flags.
  22. /// </summary>
  23. CPUCached = 4096
  24. }
  25. /** @} */
  26. }