1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', { value: true });
|
4 |
|
5 | require('./settings.js');
|
6 | var color = require('@pixi/color');
|
7 | var constants = require('@pixi/constants');
|
8 | var extensions = require('@pixi/extensions');
|
9 | var math = require('@pixi/math');
|
10 | var runner = require('@pixi/runner');
|
11 | var settings = require('@pixi/settings');
|
12 | var ticker = require('@pixi/ticker');
|
13 | var utils$1 = require('@pixi/utils');
|
14 | var autoDetectRenderer = require('./autoDetectRenderer.js');
|
15 | var BackgroundSystem = require('./background/BackgroundSystem.js');
|
16 | var BatchDrawCall = require('./batch/BatchDrawCall.js');
|
17 | var BatchGeometry = require('./batch/BatchGeometry.js');
|
18 | var BatchRenderer = require('./batch/BatchRenderer.js');
|
19 | var BatchShaderGenerator = require('./batch/BatchShaderGenerator.js');
|
20 | var BatchSystem = require('./batch/BatchSystem.js');
|
21 | var BatchTextureArray = require('./batch/BatchTextureArray.js');
|
22 | var ObjectRenderer = require('./batch/ObjectRenderer.js');
|
23 | var ContextSystem = require('./context/ContextSystem.js');
|
24 | var Filter = require('./filters/Filter.js');
|
25 | var FilterState = require('./filters/FilterState.js');
|
26 | var FilterSystem = require('./filters/FilterSystem.js');
|
27 | require('./filters/IFilterTarget.js');
|
28 | var SpriteMaskFilter = require('./filters/spriteMask/SpriteMaskFilter.js');
|
29 | var index = require('./fragments/index.js');
|
30 | var Framebuffer = require('./framebuffer/Framebuffer.js');
|
31 | var FramebufferSystem = require('./framebuffer/FramebufferSystem.js');
|
32 | var GLFramebuffer = require('./framebuffer/GLFramebuffer.js');
|
33 | var MultisampleSystem = require('./framebuffer/MultisampleSystem.js');
|
34 | var Attribute = require('./geometry/Attribute.js');
|
35 | var Buffer = require('./geometry/Buffer.js');
|
36 | var BufferSystem = require('./geometry/BufferSystem.js');
|
37 | var Geometry = require('./geometry/Geometry.js');
|
38 | var GeometrySystem = require('./geometry/GeometrySystem.js');
|
39 | var ViewableBuffer = require('./geometry/ViewableBuffer.js');
|
40 | require('./IRenderer.js');
|
41 | var MaskData = require('./mask/MaskData.js');
|
42 | var MaskSystem = require('./mask/MaskSystem.js');
|
43 | var ScissorSystem = require('./mask/ScissorSystem.js');
|
44 | var StencilSystem = require('./mask/StencilSystem.js');
|
45 | var PluginSystem = require('./plugin/PluginSystem.js');
|
46 | var ProjectionSystem = require('./projection/ProjectionSystem.js');
|
47 | var ObjectRendererSystem = require('./render/ObjectRendererSystem.js');
|
48 | var Renderer = require('./Renderer.js');
|
49 | var BaseRenderTexture = require('./renderTexture/BaseRenderTexture.js');
|
50 | var GenerateTextureSystem = require('./renderTexture/GenerateTextureSystem.js');
|
51 | var RenderTexture = require('./renderTexture/RenderTexture.js');
|
52 | var RenderTexturePool = require('./renderTexture/RenderTexturePool.js');
|
53 | var RenderTextureSystem = require('./renderTexture/RenderTextureSystem.js');
|
54 | var GLProgram = require('./shader/GLProgram.js');
|
55 | var Program = require('./shader/Program.js');
|
56 | var Shader = require('./shader/Shader.js');
|
57 | var ShaderSystem = require('./shader/ShaderSystem.js');
|
58 | var UniformGroup = require('./shader/UniformGroup.js');
|
59 | var checkMaxIfStatementsInShader = require('./shader/utils/checkMaxIfStatementsInShader.js');
|
60 | var generateProgram = require('./shader/utils/generateProgram.js');
|
61 | var generateUniformBufferSync = require('./shader/utils/generateUniformBufferSync.js');
|
62 | var getTestContext = require('./shader/utils/getTestContext.js');
|
63 | var uniformParsers = require('./shader/utils/uniformParsers.js');
|
64 | var unsafeEvalSupported = require('./shader/utils/unsafeEvalSupported.js');
|
65 | var StartupSystem = require('./startup/StartupSystem.js');
|
66 | var State = require('./state/State.js');
|
67 | var StateSystem = require('./state/StateSystem.js');
|
68 | require('./system/ISystem.js');
|
69 | require('./systems.js');
|
70 | var BaseTexture = require('./textures/BaseTexture.js');
|
71 | var GLTexture = require('./textures/GLTexture.js');
|
72 | require('./textures/resources/index.js');
|
73 | var Texture = require('./textures/Texture.js');
|
74 | var TextureGCSystem = require('./textures/TextureGCSystem.js');
|
75 | var TextureMatrix = require('./textures/TextureMatrix.js');
|
76 | var TextureSystem = require('./textures/TextureSystem.js');
|
77 | var TextureUvs = require('./textures/TextureUvs.js');
|
78 | var TransformFeedback = require('./transformFeedback/TransformFeedback.js');
|
79 | var TransformFeedbackSystem = require('./transformFeedback/TransformFeedbackSystem.js');
|
80 | var Quad = require('./utils/Quad.js');
|
81 | var QuadUv = require('./utils/QuadUv.js');
|
82 | var ViewSystem = require('./view/ViewSystem.js');
|
83 | var SystemManager = require('./system/SystemManager.js');
|
84 | var BaseImageResource = require('./textures/resources/BaseImageResource.js');
|
85 | var Resource = require('./textures/resources/Resource.js');
|
86 | var AbstractMultiResource = require('./textures/resources/AbstractMultiResource.js');
|
87 | var ArrayResource = require('./textures/resources/ArrayResource.js');
|
88 | var autoDetectResource = require('./textures/resources/autoDetectResource.js');
|
89 | var BufferResource = require('./textures/resources/BufferResource.js');
|
90 | var CanvasResource = require('./textures/resources/CanvasResource.js');
|
91 | var CubeResource = require('./textures/resources/CubeResource.js');
|
92 | var ImageBitmapResource = require('./textures/resources/ImageBitmapResource.js');
|
93 | var ImageResource = require('./textures/resources/ImageResource.js');
|
94 | var SVGResource = require('./textures/resources/SVGResource.js');
|
95 | var VideoResource = require('./textures/resources/VideoResource.js');
|
96 |
|
97 | function _interopNamespace(e) {
|
98 | if (e && e.__esModule) return e;
|
99 | var n = Object.create(null);
|
100 | if (e) {
|
101 | Object.keys(e).forEach(function (k) {
|
102 | if (k !== 'default') {
|
103 | var d = Object.getOwnPropertyDescriptor(e, k);
|
104 | Object.defineProperty(n, k, d.get ? d : {
|
105 | enumerable: true,
|
106 | get: function () { return e[k]; }
|
107 | });
|
108 | }
|
109 | });
|
110 | }
|
111 | n["default"] = e;
|
112 | return n;
|
113 | }
|
114 |
|
115 | var utils__namespace = _interopNamespace(utils$1);
|
116 |
|
117 | const VERSION = "7.2.1";
|
118 |
|
119 | exports.utils = utils__namespace;
|
120 | exports.autoDetectRenderer = autoDetectRenderer.autoDetectRenderer;
|
121 | exports.BackgroundSystem = BackgroundSystem.BackgroundSystem;
|
122 | exports.BatchDrawCall = BatchDrawCall.BatchDrawCall;
|
123 | exports.BatchGeometry = BatchGeometry.BatchGeometry;
|
124 | exports.BatchRenderer = BatchRenderer.BatchRenderer;
|
125 | exports.BatchShaderGenerator = BatchShaderGenerator.BatchShaderGenerator;
|
126 | exports.BatchSystem = BatchSystem.BatchSystem;
|
127 | exports.BatchTextureArray = BatchTextureArray.BatchTextureArray;
|
128 | exports.ObjectRenderer = ObjectRenderer.ObjectRenderer;
|
129 | exports.ContextSystem = ContextSystem.ContextSystem;
|
130 | exports.Filter = Filter.Filter;
|
131 | exports.FilterState = FilterState.FilterState;
|
132 | exports.FilterSystem = FilterSystem.FilterSystem;
|
133 | exports.SpriteMaskFilter = SpriteMaskFilter.SpriteMaskFilter;
|
134 | exports.defaultFilterVertex = index.defaultFilterVertex;
|
135 | exports.defaultVertex = index.defaultVertex;
|
136 | exports.Framebuffer = Framebuffer.Framebuffer;
|
137 | exports.FramebufferSystem = FramebufferSystem.FramebufferSystem;
|
138 | exports.GLFramebuffer = GLFramebuffer.GLFramebuffer;
|
139 | exports.MultisampleSystem = MultisampleSystem.MultisampleSystem;
|
140 | exports.Attribute = Attribute.Attribute;
|
141 | exports.Buffer = Buffer.Buffer;
|
142 | exports.BufferSystem = BufferSystem.BufferSystem;
|
143 | exports.Geometry = Geometry.Geometry;
|
144 | exports.GeometrySystem = GeometrySystem.GeometrySystem;
|
145 | exports.ViewableBuffer = ViewableBuffer.ViewableBuffer;
|
146 | exports.MaskData = MaskData.MaskData;
|
147 | exports.MaskSystem = MaskSystem.MaskSystem;
|
148 | exports.ScissorSystem = ScissorSystem.ScissorSystem;
|
149 | exports.StencilSystem = StencilSystem.StencilSystem;
|
150 | exports.PluginSystem = PluginSystem.PluginSystem;
|
151 | exports.ProjectionSystem = ProjectionSystem.ProjectionSystem;
|
152 | exports.ObjectRendererSystem = ObjectRendererSystem.ObjectRendererSystem;
|
153 | exports.Renderer = Renderer.Renderer;
|
154 | exports.BaseRenderTexture = BaseRenderTexture.BaseRenderTexture;
|
155 | exports.GenerateTextureSystem = GenerateTextureSystem.GenerateTextureSystem;
|
156 | exports.RenderTexture = RenderTexture.RenderTexture;
|
157 | exports.RenderTexturePool = RenderTexturePool.RenderTexturePool;
|
158 | exports.RenderTextureSystem = RenderTextureSystem.RenderTextureSystem;
|
159 | exports.GLProgram = GLProgram.GLProgram;
|
160 | exports.IGLUniformData = GLProgram.IGLUniformData;
|
161 | exports.Program = Program.Program;
|
162 | exports.Shader = Shader.Shader;
|
163 | exports.ShaderSystem = ShaderSystem.ShaderSystem;
|
164 | exports.UniformGroup = UniformGroup.UniformGroup;
|
165 | exports.checkMaxIfStatementsInShader = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader;
|
166 | exports.generateProgram = generateProgram.generateProgram;
|
167 | exports.createUBOElements = generateUniformBufferSync.createUBOElements;
|
168 | exports.generateUniformBufferSync = generateUniformBufferSync.generateUniformBufferSync;
|
169 | exports.getUBOData = generateUniformBufferSync.getUBOData;
|
170 | exports.getTestContext = getTestContext.getTestContext;
|
171 | exports.uniformParsers = uniformParsers.uniformParsers;
|
172 | exports.unsafeEvalSupported = unsafeEvalSupported.unsafeEvalSupported;
|
173 | exports.StartupSystem = StartupSystem.StartupSystem;
|
174 | exports.State = State.State;
|
175 | exports.StateSystem = StateSystem.StateSystem;
|
176 | exports.BaseTexture = BaseTexture.BaseTexture;
|
177 | exports.GLTexture = GLTexture.GLTexture;
|
178 | exports.Texture = Texture.Texture;
|
179 | exports.TextureGCSystem = TextureGCSystem.TextureGCSystem;
|
180 | exports.TextureMatrix = TextureMatrix.TextureMatrix;
|
181 | exports.TextureSystem = TextureSystem.TextureSystem;
|
182 | exports.TextureUvs = TextureUvs.TextureUvs;
|
183 | exports.TransformFeedback = TransformFeedback.TransformFeedback;
|
184 | exports.TransformFeedbackSystem = TransformFeedbackSystem.TransformFeedbackSystem;
|
185 | exports.Quad = Quad.Quad;
|
186 | exports.QuadUv = QuadUv.QuadUv;
|
187 | exports.ViewSystem = ViewSystem.ViewSystem;
|
188 | exports.SystemManager = SystemManager.SystemManager;
|
189 | exports.BaseImageResource = BaseImageResource.BaseImageResource;
|
190 | exports.Resource = Resource.Resource;
|
191 | exports.AbstractMultiResource = AbstractMultiResource.AbstractMultiResource;
|
192 | exports.ArrayResource = ArrayResource.ArrayResource;
|
193 | exports.INSTALLED = autoDetectResource.INSTALLED;
|
194 | exports.autoDetectResource = autoDetectResource.autoDetectResource;
|
195 | exports.BufferResource = BufferResource.BufferResource;
|
196 | exports.CanvasResource = CanvasResource.CanvasResource;
|
197 | exports.CubeResource = CubeResource.CubeResource;
|
198 | exports.ImageBitmapResource = ImageBitmapResource.ImageBitmapResource;
|
199 | exports.ImageResource = ImageResource.ImageResource;
|
200 | exports.SVGResource = SVGResource.SVGResource;
|
201 | exports.VideoResource = VideoResource.VideoResource;
|
202 | exports.VERSION = VERSION;
|
203 | Object.keys(color).forEach(function (k) {
|
204 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
205 | enumerable: true,
|
206 | get: function () { return color[k]; }
|
207 | });
|
208 | });
|
209 | Object.keys(constants).forEach(function (k) {
|
210 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
211 | enumerable: true,
|
212 | get: function () { return constants[k]; }
|
213 | });
|
214 | });
|
215 | Object.keys(extensions).forEach(function (k) {
|
216 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
217 | enumerable: true,
|
218 | get: function () { return extensions[k]; }
|
219 | });
|
220 | });
|
221 | Object.keys(math).forEach(function (k) {
|
222 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
223 | enumerable: true,
|
224 | get: function () { return math[k]; }
|
225 | });
|
226 | });
|
227 | Object.keys(runner).forEach(function (k) {
|
228 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
229 | enumerable: true,
|
230 | get: function () { return runner[k]; }
|
231 | });
|
232 | });
|
233 | Object.keys(settings).forEach(function (k) {
|
234 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
235 | enumerable: true,
|
236 | get: function () { return settings[k]; }
|
237 | });
|
238 | });
|
239 | Object.keys(ticker).forEach(function (k) {
|
240 | if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
241 | enumerable: true,
|
242 | get: function () { return ticker[k]; }
|
243 | });
|
244 | });
|
245 |
|