MTLDataType.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. namespace Veldrid.MetalBindings
  2. {
  3. public enum MTLDataType
  4. {
  5. None = 0,
  6. Struct = 1,
  7. Array = 2,
  8. Float = 3,
  9. Float2 = 4,
  10. Float3 = 5,
  11. Float4 = 6,
  12. Float2x2 = 7,
  13. Float2x3 = 8,
  14. Float2x4 = 9,
  15. Float3x2 = 10,
  16. Float3x3 = 11,
  17. Float3x4 = 12,
  18. Float4x2 = 13,
  19. Float4x3 = 14,
  20. Float4x4 = 15,
  21. Half = 16,
  22. Half2 = 17,
  23. Half3 = 18,
  24. Half4 = 19,
  25. Half2x2 = 20,
  26. Half2x3 = 21,
  27. Half2x4 = 22,
  28. Half3x2 = 23,
  29. Half3x3 = 24,
  30. Half3x4 = 25,
  31. Half4x2 = 26,
  32. Half4x3 = 27,
  33. Half4x4 = 28,
  34. Int = 29,
  35. Int2 = 30,
  36. Int3 = 31,
  37. Int4 = 32,
  38. UInt = 33,
  39. UInt2 = 34,
  40. UInt3 = 35,
  41. UInt4 = 36,
  42. Short = 37,
  43. Short2 = 38,
  44. Short3 = 39,
  45. Short4 = 40,
  46. UShort = 41,
  47. UShort2 = 42,
  48. UShort3 = 43,
  49. UShort4 = 44,
  50. Char = 45,
  51. Char2 = 46,
  52. Char3 = 47,
  53. Char4 = 48,
  54. UChar = 49,
  55. UChar2 = 50,
  56. UChar3 = 51,
  57. UChar4 = 52,
  58. Bool = 53,
  59. Bool2 = 54,
  60. Bool3 = 55,
  61. Bool4 = 56,
  62. Texture = 58,
  63. Sampler = 59,
  64. Pointer = 60,
  65. R8Unorm = 62,
  66. R8Snorm = 63,
  67. R16Unorm = 64,
  68. R16Snorm = 65,
  69. RG8Unorm = 66,
  70. RG8Snorm = 67,
  71. RG16Unorm = 68,
  72. RG16Snorm = 69,
  73. RGBA8Unorm = 70,
  74. RGBA8Unorm_sRGB = 71,
  75. RGBA8Snorm = 72,
  76. RGBA16Unorm = 73,
  77. RGBA16Snorm = 74,
  78. RGB10A2Unorm = 75,
  79. RGB9E5Float = 77,
  80. RG11B10Float = 76,
  81. }
  82. }