@babylonjs/loaders
Version:
The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.
96 lines • 5.63 kB
JavaScript
/**
* Enums
* @hidden
*/
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 = {}));
/** @hidden */
export var EShaderType;
(function (EShaderType) {
EShaderType[EShaderType["FRAGMENT"] = 35632] = "FRAGMENT";
EShaderType[EShaderType["VERTEX"] = 35633] = "VERTEX";
})(EShaderType || (EShaderType = {}));
/** @hidden */
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 = {}));
/** @hidden */
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 = {}));
/** @hidden */
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 = {}));
/** @hidden */
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 = {}));
/** @hidden */
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 = {}));
/** @hidden */
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