Files
nothoughts/node_modules/pixi.js/lib/rendering/renderers/shared/geometry/const.mjs.map
2025-08-04 18:57:35 +02:00

1 line
2.1 KiB
Plaintext

{"version":3,"file":"const.mjs","sources":["../../../../../src/rendering/renderers/shared/geometry/const.ts"],"sourcesContent":["import { deprecation, v8_0_0 } from '../../../../utils/logging/deprecation';\n\n/**\n * The different topology types supported by the renderer used to describe how the geometry should be renderer\n * @memberof rendering\n */\nexport type Topology =\n 'point-list'\n | 'line-list'\n | 'line-strip'\n | 'triangle-list'\n | 'triangle-strip';\n\nconst DEPRECATED_DRAW_MODES = {\n POINTS: 'point-list',\n LINES: 'line-list',\n LINE_STRIP: 'line-strip',\n TRIANGLES: 'triangle-list',\n TRIANGLE_STRIP: 'triangle-strip',\n};\n\n/** @deprecated since 8.0.0 */\nexport const DRAW_MODES = new Proxy(DEPRECATED_DRAW_MODES, {\n get(target, prop: keyof typeof DEPRECATED_DRAW_MODES)\n {\n // #if _DEBUG\n deprecation(v8_0_0, `DRAW_MODES.${prop} is deprecated, use '${DEPRECATED_DRAW_MODES[prop]}' instead`);\n // #endif\n\n return target[prop];\n },\n});\n\n/**\n * The different types of vertex formats supported by the renderer\n * @memberof rendering\n */\nexport type VertexFormat =\n | 'uint8x2'\n | 'uint8x4'\n | 'sint8x2'\n | 'sint8x4'\n | 'unorm8x2'\n | 'unorm8x4'\n | 'snorm8x2'\n | 'snorm8x4'\n | 'uint16x2'\n | 'uint16x4'\n | 'sint16x2'\n | 'sint16x4'\n | 'unorm16x2'\n | 'unorm16x4'\n | 'snorm16x2'\n | 'snorm16x4'\n | 'float16x2'\n | 'float16x4'\n | 'float32'\n | 'float32x2'\n | 'float32x3'\n | 'float32x4'\n | 'uint32'\n | 'uint32x2'\n | 'uint32x3'\n | 'uint32x4'\n | 'sint32'\n | 'sint32x2'\n | 'sint32x3'\n | 'sint32x4';\n\n"],"names":[],"mappings":";;;AAaA,MAAM,qBAAwB,GAAA;AAAA,EAC1B,MAAQ,EAAA,YAAA;AAAA,EACR,KAAO,EAAA,WAAA;AAAA,EACP,UAAY,EAAA,YAAA;AAAA,EACZ,SAAW,EAAA,eAAA;AAAA,EACX,cAAgB,EAAA,gBAAA;AACpB,CAAA,CAAA;AAGa,MAAA,UAAA,GAAa,IAAI,KAAA,CAAM,qBAAuB,EAAA;AAAA,EACvD,GAAA,CAAI,QAAQ,IACZ,EAAA;AAEI,IAAA,WAAA,CAAY,QAAQ,CAAc,WAAA,EAAA,IAAI,wBAAwB,qBAAsB,CAAA,IAAI,CAAC,CAAW,SAAA,CAAA,CAAA,CAAA;AAGpG,IAAA,OAAO,OAAO,IAAI,CAAA,CAAA;AAAA,GACtB;AACJ,CAAC;;;;"}