MeshDefine.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Magica Cloth.
  2. // Copyright (c) MagicaSoft, 2020-2022.
  3. // https://magicasoft.jp
  4. namespace MagicaCloth
  5. {
  6. public static partial class Define
  7. {
  8. /// <summary>
  9. /// メッシュ最適化組み合わせ(ビットフラグ)
  10. /// </summary>
  11. public static class OptimizeMesh
  12. {
  13. public const int Unknown = 0x00000000;
  14. public const int Nothing = 0x00000001;
  15. public const int Unity2018_On = 0x00000010;
  16. public const int Unity2019_PolygonOrder = 0x00000100;
  17. public const int Unity2019_VertexOrder = 0x00000200;
  18. }
  19. //=========================================================================================
  20. /// <summary>
  21. /// レンダーメッシュ用
  22. /// </summary>
  23. public static class RenderMesh
  24. {
  25. /// <summary>
  26. /// レンダーメッシュのローカル変換を頂点ごとに実行するか判定するワーカー数の倍率
  27. /// </summary>
  28. public const int WorkerMultiplesOfVertexCollection = 3;
  29. }
  30. }
  31. }