123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- /**
- * Enums
- * @internal
- */
- export var EComponentType;
- (function (EComponentType) {
- EComponentType[EComponentType["BYTE"] = 5120] = "BYTE";
- EComponentType[EComponentType["UNSIGNED_BYTE"] = 5121] = "UNSIGNED_BYTE";
- EComponentType[EComponentType["SHORT"] = 5122] = "SHORT";
- EComponentType[EComponentType["UNSIGNED_SHORT"] = 5123] = "UNSIGNED_SHORT";
- EComponentType[EComponentType["FLOAT"] = 5126] = "FLOAT";
- })(EComponentType || (EComponentType = {}));
- /** @internal */
- export var EShaderType;
- (function (EShaderType) {
- EShaderType[EShaderType["FRAGMENT"] = 35632] = "FRAGMENT";
- EShaderType[EShaderType["VERTEX"] = 35633] = "VERTEX";
- })(EShaderType || (EShaderType = {}));
- /** @internal */
- export var EParameterType;
- (function (EParameterType) {
- EParameterType[EParameterType["BYTE"] = 5120] = "BYTE";
- EParameterType[EParameterType["UNSIGNED_BYTE"] = 5121] = "UNSIGNED_BYTE";
- EParameterType[EParameterType["SHORT"] = 5122] = "SHORT";
- EParameterType[EParameterType["UNSIGNED_SHORT"] = 5123] = "UNSIGNED_SHORT";
- EParameterType[EParameterType["INT"] = 5124] = "INT";
- EParameterType[EParameterType["UNSIGNED_INT"] = 5125] = "UNSIGNED_INT";
- EParameterType[EParameterType["FLOAT"] = 5126] = "FLOAT";
- EParameterType[EParameterType["FLOAT_VEC2"] = 35664] = "FLOAT_VEC2";
- EParameterType[EParameterType["FLOAT_VEC3"] = 35665] = "FLOAT_VEC3";
- EParameterType[EParameterType["FLOAT_VEC4"] = 35666] = "FLOAT_VEC4";
- EParameterType[EParameterType["INT_VEC2"] = 35667] = "INT_VEC2";
- EParameterType[EParameterType["INT_VEC3"] = 35668] = "INT_VEC3";
- EParameterType[EParameterType["INT_VEC4"] = 35669] = "INT_VEC4";
- EParameterType[EParameterType["BOOL"] = 35670] = "BOOL";
- EParameterType[EParameterType["BOOL_VEC2"] = 35671] = "BOOL_VEC2";
- EParameterType[EParameterType["BOOL_VEC3"] = 35672] = "BOOL_VEC3";
- EParameterType[EParameterType["BOOL_VEC4"] = 35673] = "BOOL_VEC4";
- EParameterType[EParameterType["FLOAT_MAT2"] = 35674] = "FLOAT_MAT2";
- EParameterType[EParameterType["FLOAT_MAT3"] = 35675] = "FLOAT_MAT3";
- EParameterType[EParameterType["FLOAT_MAT4"] = 35676] = "FLOAT_MAT4";
- EParameterType[EParameterType["SAMPLER_2D"] = 35678] = "SAMPLER_2D";
- })(EParameterType || (EParameterType = {}));
- /** @internal */
- export var ETextureWrapMode;
- (function (ETextureWrapMode) {
- ETextureWrapMode[ETextureWrapMode["CLAMP_TO_EDGE"] = 33071] = "CLAMP_TO_EDGE";
- ETextureWrapMode[ETextureWrapMode["MIRRORED_REPEAT"] = 33648] = "MIRRORED_REPEAT";
- ETextureWrapMode[ETextureWrapMode["REPEAT"] = 10497] = "REPEAT";
- })(ETextureWrapMode || (ETextureWrapMode = {}));
- /** @internal */
- export var ETextureFilterType;
- (function (ETextureFilterType) {
- ETextureFilterType[ETextureFilterType["NEAREST"] = 9728] = "NEAREST";
- ETextureFilterType[ETextureFilterType["LINEAR"] = 9728] = "LINEAR";
- ETextureFilterType[ETextureFilterType["NEAREST_MIPMAP_NEAREST"] = 9984] = "NEAREST_MIPMAP_NEAREST";
- ETextureFilterType[ETextureFilterType["LINEAR_MIPMAP_NEAREST"] = 9985] = "LINEAR_MIPMAP_NEAREST";
- ETextureFilterType[ETextureFilterType["NEAREST_MIPMAP_LINEAR"] = 9986] = "NEAREST_MIPMAP_LINEAR";
- ETextureFilterType[ETextureFilterType["LINEAR_MIPMAP_LINEAR"] = 9987] = "LINEAR_MIPMAP_LINEAR";
- })(ETextureFilterType || (ETextureFilterType = {}));
- /** @internal */
- export var ETextureFormat;
- (function (ETextureFormat) {
- ETextureFormat[ETextureFormat["ALPHA"] = 6406] = "ALPHA";
- ETextureFormat[ETextureFormat["RGB"] = 6407] = "RGB";
- ETextureFormat[ETextureFormat["RGBA"] = 6408] = "RGBA";
- ETextureFormat[ETextureFormat["LUMINANCE"] = 6409] = "LUMINANCE";
- ETextureFormat[ETextureFormat["LUMINANCE_ALPHA"] = 6410] = "LUMINANCE_ALPHA";
- })(ETextureFormat || (ETextureFormat = {}));
- /** @internal */
- export var ECullingType;
- (function (ECullingType) {
- ECullingType[ECullingType["FRONT"] = 1028] = "FRONT";
- ECullingType[ECullingType["BACK"] = 1029] = "BACK";
- ECullingType[ECullingType["FRONT_AND_BACK"] = 1032] = "FRONT_AND_BACK";
- })(ECullingType || (ECullingType = {}));
- /** @internal */
- export var EBlendingFunction;
- (function (EBlendingFunction) {
- EBlendingFunction[EBlendingFunction["ZERO"] = 0] = "ZERO";
- EBlendingFunction[EBlendingFunction["ONE"] = 1] = "ONE";
- EBlendingFunction[EBlendingFunction["SRC_COLOR"] = 768] = "SRC_COLOR";
- EBlendingFunction[EBlendingFunction["ONE_MINUS_SRC_COLOR"] = 769] = "ONE_MINUS_SRC_COLOR";
- EBlendingFunction[EBlendingFunction["DST_COLOR"] = 774] = "DST_COLOR";
- EBlendingFunction[EBlendingFunction["ONE_MINUS_DST_COLOR"] = 775] = "ONE_MINUS_DST_COLOR";
- EBlendingFunction[EBlendingFunction["SRC_ALPHA"] = 770] = "SRC_ALPHA";
- EBlendingFunction[EBlendingFunction["ONE_MINUS_SRC_ALPHA"] = 771] = "ONE_MINUS_SRC_ALPHA";
- EBlendingFunction[EBlendingFunction["DST_ALPHA"] = 772] = "DST_ALPHA";
- EBlendingFunction[EBlendingFunction["ONE_MINUS_DST_ALPHA"] = 773] = "ONE_MINUS_DST_ALPHA";
- EBlendingFunction[EBlendingFunction["CONSTANT_COLOR"] = 32769] = "CONSTANT_COLOR";
- EBlendingFunction[EBlendingFunction["ONE_MINUS_CONSTANT_COLOR"] = 32770] = "ONE_MINUS_CONSTANT_COLOR";
- EBlendingFunction[EBlendingFunction["CONSTANT_ALPHA"] = 32771] = "CONSTANT_ALPHA";
- EBlendingFunction[EBlendingFunction["ONE_MINUS_CONSTANT_ALPHA"] = 32772] = "ONE_MINUS_CONSTANT_ALPHA";
- EBlendingFunction[EBlendingFunction["SRC_ALPHA_SATURATE"] = 776] = "SRC_ALPHA_SATURATE";
- })(EBlendingFunction || (EBlendingFunction = {}));
- //# sourceMappingURL=glTFLoaderInterfaces.js.map
|