EShaderTypes.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #ifndef IRR_E_SHADER_TYPES_H_INCLUDED
  2. #define IRR_E_SHADER_TYPES_H_INCLUDED
  3. #include "irrTypes.h"
  4. namespace irr
  5. {
  6. namespace video
  7. {
  8. //! Compile target enumeration for the addHighLevelShaderMaterial() method.
  9. enum E_VERTEX_SHADER_TYPE
  10. {
  11. EVST_VS_1_1 = 0,
  12. EVST_VS_2_0,
  13. EVST_VS_2_a,
  14. EVST_VS_3_0,
  15. EVST_VS_4_0,
  16. EVST_VS_4_1,
  17. EVST_VS_5_0,
  18. //! This is not a type, but a value indicating how much types there are.
  19. EVST_COUNT
  20. };
  21. //! Names for all vertex shader types, each entry corresponds to a E_VERTEX_SHADER_TYPE entry.
  22. const c8* const VERTEX_SHADER_TYPE_NAMES[] = {
  23. "vs_1_1",
  24. "vs_2_0",
  25. "vs_2_a",
  26. "vs_3_0",
  27. "vs_4_0",
  28. "vs_4_1",
  29. "vs_5_0",
  30. 0 };
  31. //! Compile target enumeration for the addHighLevelShaderMaterial() method.
  32. enum E_PIXEL_SHADER_TYPE
  33. {
  34. EPST_PS_1_1 = 0,
  35. EPST_PS_1_2,
  36. EPST_PS_1_3,
  37. EPST_PS_1_4,
  38. EPST_PS_2_0,
  39. EPST_PS_2_a,
  40. EPST_PS_2_b,
  41. EPST_PS_3_0,
  42. EPST_PS_4_0,
  43. EPST_PS_4_1,
  44. EPST_PS_5_0,
  45. //! This is not a type, but a value indicating how much types there are.
  46. EPST_COUNT
  47. };
  48. //! Names for all pixel shader types, each entry corresponds to a E_PIXEL_SHADER_TYPE entry.
  49. const c8* const PIXEL_SHADER_TYPE_NAMES[] = {
  50. "ps_1_1",
  51. "ps_1_2",
  52. "ps_1_3",
  53. "ps_1_4",
  54. "ps_2_0",
  55. "ps_2_a",
  56. "ps_2_b",
  57. "ps_3_0",
  58. "ps_4_0",
  59. "ps_4_1",
  60. "ps_5_0",
  61. 0 };
  62. //! Enum for supported geometry shader types
  63. enum E_GEOMETRY_SHADER_TYPE
  64. {
  65. EGST_GS_4_0 = 0,
  66. //! This is not a type, but a value indicating how much types there are.
  67. EGST_COUNT
  68. };
  69. //! String names for supported geometry shader types
  70. const c8* const GEOMETRY_SHADER_TYPE_NAMES[] = {
  71. "gs_4_0",
  72. 0 };
  73. } // end namespace video
  74. } // end namespace irr
  75. #endif // IRR_E_SHADER_TYPES_H_INCLUDED