glTFLoaderInterfaces.js 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**
  2. * Enums
  3. * @internal
  4. */
  5. export var EComponentType;
  6. (function (EComponentType) {
  7. EComponentType[EComponentType["BYTE"] = 5120] = "BYTE";
  8. EComponentType[EComponentType["UNSIGNED_BYTE"] = 5121] = "UNSIGNED_BYTE";
  9. EComponentType[EComponentType["SHORT"] = 5122] = "SHORT";
  10. EComponentType[EComponentType["UNSIGNED_SHORT"] = 5123] = "UNSIGNED_SHORT";
  11. EComponentType[EComponentType["FLOAT"] = 5126] = "FLOAT";
  12. })(EComponentType || (EComponentType = {}));
  13. /** @internal */
  14. export var EShaderType;
  15. (function (EShaderType) {
  16. EShaderType[EShaderType["FRAGMENT"] = 35632] = "FRAGMENT";
  17. EShaderType[EShaderType["VERTEX"] = 35633] = "VERTEX";
  18. })(EShaderType || (EShaderType = {}));
  19. /** @internal */
  20. export var EParameterType;
  21. (function (EParameterType) {
  22. EParameterType[EParameterType["BYTE"] = 5120] = "BYTE";
  23. EParameterType[EParameterType["UNSIGNED_BYTE"] = 5121] = "UNSIGNED_BYTE";
  24. EParameterType[EParameterType["SHORT"] = 5122] = "SHORT";
  25. EParameterType[EParameterType["UNSIGNED_SHORT"] = 5123] = "UNSIGNED_SHORT";
  26. EParameterType[EParameterType["INT"] = 5124] = "INT";
  27. EParameterType[EParameterType["UNSIGNED_INT"] = 5125] = "UNSIGNED_INT";
  28. EParameterType[EParameterType["FLOAT"] = 5126] = "FLOAT";
  29. EParameterType[EParameterType["FLOAT_VEC2"] = 35664] = "FLOAT_VEC2";
  30. EParameterType[EParameterType["FLOAT_VEC3"] = 35665] = "FLOAT_VEC3";
  31. EParameterType[EParameterType["FLOAT_VEC4"] = 35666] = "FLOAT_VEC4";
  32. EParameterType[EParameterType["INT_VEC2"] = 35667] = "INT_VEC2";
  33. EParameterType[EParameterType["INT_VEC3"] = 35668] = "INT_VEC3";
  34. EParameterType[EParameterType["INT_VEC4"] = 35669] = "INT_VEC4";
  35. EParameterType[EParameterType["BOOL"] = 35670] = "BOOL";
  36. EParameterType[EParameterType["BOOL_VEC2"] = 35671] = "BOOL_VEC2";
  37. EParameterType[EParameterType["BOOL_VEC3"] = 35672] = "BOOL_VEC3";
  38. EParameterType[EParameterType["BOOL_VEC4"] = 35673] = "BOOL_VEC4";
  39. EParameterType[EParameterType["FLOAT_MAT2"] = 35674] = "FLOAT_MAT2";
  40. EParameterType[EParameterType["FLOAT_MAT3"] = 35675] = "FLOAT_MAT3";
  41. EParameterType[EParameterType["FLOAT_MAT4"] = 35676] = "FLOAT_MAT4";
  42. EParameterType[EParameterType["SAMPLER_2D"] = 35678] = "SAMPLER_2D";
  43. })(EParameterType || (EParameterType = {}));
  44. /** @internal */
  45. export var ETextureWrapMode;
  46. (function (ETextureWrapMode) {
  47. ETextureWrapMode[ETextureWrapMode["CLAMP_TO_EDGE"] = 33071] = "CLAMP_TO_EDGE";
  48. ETextureWrapMode[ETextureWrapMode["MIRRORED_REPEAT"] = 33648] = "MIRRORED_REPEAT";
  49. ETextureWrapMode[ETextureWrapMode["REPEAT"] = 10497] = "REPEAT";
  50. })(ETextureWrapMode || (ETextureWrapMode = {}));
  51. /** @internal */
  52. export var ETextureFilterType;
  53. (function (ETextureFilterType) {
  54. ETextureFilterType[ETextureFilterType["NEAREST"] = 9728] = "NEAREST";
  55. ETextureFilterType[ETextureFilterType["LINEAR"] = 9728] = "LINEAR";
  56. ETextureFilterType[ETextureFilterType["NEAREST_MIPMAP_NEAREST"] = 9984] = "NEAREST_MIPMAP_NEAREST";
  57. ETextureFilterType[ETextureFilterType["LINEAR_MIPMAP_NEAREST"] = 9985] = "LINEAR_MIPMAP_NEAREST";
  58. ETextureFilterType[ETextureFilterType["NEAREST_MIPMAP_LINEAR"] = 9986] = "NEAREST_MIPMAP_LINEAR";
  59. ETextureFilterType[ETextureFilterType["LINEAR_MIPMAP_LINEAR"] = 9987] = "LINEAR_MIPMAP_LINEAR";
  60. })(ETextureFilterType || (ETextureFilterType = {}));
  61. /** @internal */
  62. export var ETextureFormat;
  63. (function (ETextureFormat) {
  64. ETextureFormat[ETextureFormat["ALPHA"] = 6406] = "ALPHA";
  65. ETextureFormat[ETextureFormat["RGB"] = 6407] = "RGB";
  66. ETextureFormat[ETextureFormat["RGBA"] = 6408] = "RGBA";
  67. ETextureFormat[ETextureFormat["LUMINANCE"] = 6409] = "LUMINANCE";
  68. ETextureFormat[ETextureFormat["LUMINANCE_ALPHA"] = 6410] = "LUMINANCE_ALPHA";
  69. })(ETextureFormat || (ETextureFormat = {}));
  70. /** @internal */
  71. export var ECullingType;
  72. (function (ECullingType) {
  73. ECullingType[ECullingType["FRONT"] = 1028] = "FRONT";
  74. ECullingType[ECullingType["BACK"] = 1029] = "BACK";
  75. ECullingType[ECullingType["FRONT_AND_BACK"] = 1032] = "FRONT_AND_BACK";
  76. })(ECullingType || (ECullingType = {}));
  77. /** @internal */
  78. export var EBlendingFunction;
  79. (function (EBlendingFunction) {
  80. EBlendingFunction[EBlendingFunction["ZERO"] = 0] = "ZERO";
  81. EBlendingFunction[EBlendingFunction["ONE"] = 1] = "ONE";
  82. EBlendingFunction[EBlendingFunction["SRC_COLOR"] = 768] = "SRC_COLOR";
  83. EBlendingFunction[EBlendingFunction["ONE_MINUS_SRC_COLOR"] = 769] = "ONE_MINUS_SRC_COLOR";
  84. EBlendingFunction[EBlendingFunction["DST_COLOR"] = 774] = "DST_COLOR";
  85. EBlendingFunction[EBlendingFunction["ONE_MINUS_DST_COLOR"] = 775] = "ONE_MINUS_DST_COLOR";
  86. EBlendingFunction[EBlendingFunction["SRC_ALPHA"] = 770] = "SRC_ALPHA";
  87. EBlendingFunction[EBlendingFunction["ONE_MINUS_SRC_ALPHA"] = 771] = "ONE_MINUS_SRC_ALPHA";
  88. EBlendingFunction[EBlendingFunction["DST_ALPHA"] = 772] = "DST_ALPHA";
  89. EBlendingFunction[EBlendingFunction["ONE_MINUS_DST_ALPHA"] = 773] = "ONE_MINUS_DST_ALPHA";
  90. EBlendingFunction[EBlendingFunction["CONSTANT_COLOR"] = 32769] = "CONSTANT_COLOR";
  91. EBlendingFunction[EBlendingFunction["ONE_MINUS_CONSTANT_COLOR"] = 32770] = "ONE_MINUS_CONSTANT_COLOR";
  92. EBlendingFunction[EBlendingFunction["CONSTANT_ALPHA"] = 32771] = "CONSTANT_ALPHA";
  93. EBlendingFunction[EBlendingFunction["ONE_MINUS_CONSTANT_ALPHA"] = 32772] = "ONE_MINUS_CONSTANT_ALPHA";
  94. EBlendingFunction[EBlendingFunction["SRC_ALPHA_SATURATE"] = 776] = "SRC_ALPHA_SATURATE";
  95. })(EBlendingFunction || (EBlendingFunction = {}));
  96. //# sourceMappingURL=glTFLoaderInterfaces.js.map