@zephyr3d/device 0.2.8 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base_types.js.map +1 -1
- package/dist/builder/programbuilder.js +5 -3
- package/dist/builder/programbuilder.js.map +1 -1
- package/dist/builder/types.js +2 -2
- package/dist/builder/types.js.map +1 -1
- package/dist/device.js +26 -19
- package/dist/device.js.map +1 -1
- package/dist/helpers/drawtext.js +204 -40
- package/dist/helpers/drawtext.js.map +1 -1
- package/dist/helpers/textureatlas.js +21 -6
- package/dist/helpers/textureatlas.js.map +1 -1
- package/dist/index.d.ts +71 -9
- package/package.json +2 -2
package/dist/builder/types.js
CHANGED
|
@@ -105,7 +105,7 @@ function typeToTypedArray(type) {
|
|
|
105
105
|
/**
|
|
106
106
|
* Primitive types
|
|
107
107
|
* @public
|
|
108
|
-
*/ var PBPrimitiveType =
|
|
108
|
+
*/ var PBPrimitiveType = function(PBPrimitiveType) {
|
|
109
109
|
PBPrimitiveType[PBPrimitiveType["NONE"] = 0] = "NONE";
|
|
110
110
|
PBPrimitiveType[PBPrimitiveType["F16"] = makePrimitiveType(F16_BITMASK, 1, 1, 0)] = "F16";
|
|
111
111
|
PBPrimitiveType[PBPrimitiveType["F16VEC2"] = makePrimitiveType(F16_BITMASK, 1, 2, 0)] = "F16VEC2";
|
|
@@ -247,7 +247,7 @@ const BITFLAG_EXTERNAL = 1 << 11;
|
|
|
247
247
|
/**
|
|
248
248
|
* Texture types
|
|
249
249
|
* @public
|
|
250
|
-
*/ var PBTextureType =
|
|
250
|
+
*/ var PBTextureType = function(PBTextureType) {
|
|
251
251
|
PBTextureType[PBTextureType["TEX_1D"] = BITFLAG_1D | BITFLAG_FLOAT] = "TEX_1D";
|
|
252
252
|
PBTextureType[PBTextureType["ITEX_1D"] = BITFLAG_1D | BITFLAG_INT] = "ITEX_1D";
|
|
253
253
|
PBTextureType[PBTextureType["UTEX_1D"] = BITFLAG_1D | BITFLAG_UINT] = "UTEX_1D";
|