UNPKG

11.8 kBJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', { value: true });
4
5require('./settings.js');
6var color = require('@pixi/color');
7var constants = require('@pixi/constants');
8var extensions = require('@pixi/extensions');
9var math = require('@pixi/math');
10var runner = require('@pixi/runner');
11var settings = require('@pixi/settings');
12var ticker = require('@pixi/ticker');
13var utils$1 = require('@pixi/utils');
14var autoDetectRenderer = require('./autoDetectRenderer.js');
15var BackgroundSystem = require('./background/BackgroundSystem.js');
16var BatchDrawCall = require('./batch/BatchDrawCall.js');
17var BatchGeometry = require('./batch/BatchGeometry.js');
18var BatchRenderer = require('./batch/BatchRenderer.js');
19var BatchShaderGenerator = require('./batch/BatchShaderGenerator.js');
20var BatchSystem = require('./batch/BatchSystem.js');
21var BatchTextureArray = require('./batch/BatchTextureArray.js');
22var ObjectRenderer = require('./batch/ObjectRenderer.js');
23var ContextSystem = require('./context/ContextSystem.js');
24var Filter = require('./filters/Filter.js');
25var FilterState = require('./filters/FilterState.js');
26var FilterSystem = require('./filters/FilterSystem.js');
27require('./filters/IFilterTarget.js');
28var SpriteMaskFilter = require('./filters/spriteMask/SpriteMaskFilter.js');
29var index = require('./fragments/index.js');
30var Framebuffer = require('./framebuffer/Framebuffer.js');
31var FramebufferSystem = require('./framebuffer/FramebufferSystem.js');
32var GLFramebuffer = require('./framebuffer/GLFramebuffer.js');
33var MultisampleSystem = require('./framebuffer/MultisampleSystem.js');
34var Attribute = require('./geometry/Attribute.js');
35var Buffer = require('./geometry/Buffer.js');
36var BufferSystem = require('./geometry/BufferSystem.js');
37var Geometry = require('./geometry/Geometry.js');
38var GeometrySystem = require('./geometry/GeometrySystem.js');
39var ViewableBuffer = require('./geometry/ViewableBuffer.js');
40require('./IRenderer.js');
41var MaskData = require('./mask/MaskData.js');
42var MaskSystem = require('./mask/MaskSystem.js');
43var ScissorSystem = require('./mask/ScissorSystem.js');
44var StencilSystem = require('./mask/StencilSystem.js');
45var PluginSystem = require('./plugin/PluginSystem.js');
46var ProjectionSystem = require('./projection/ProjectionSystem.js');
47var ObjectRendererSystem = require('./render/ObjectRendererSystem.js');
48var Renderer = require('./Renderer.js');
49var BaseRenderTexture = require('./renderTexture/BaseRenderTexture.js');
50var GenerateTextureSystem = require('./renderTexture/GenerateTextureSystem.js');
51var RenderTexture = require('./renderTexture/RenderTexture.js');
52var RenderTexturePool = require('./renderTexture/RenderTexturePool.js');
53var RenderTextureSystem = require('./renderTexture/RenderTextureSystem.js');
54var GLProgram = require('./shader/GLProgram.js');
55var Program = require('./shader/Program.js');
56var Shader = require('./shader/Shader.js');
57var ShaderSystem = require('./shader/ShaderSystem.js');
58var UniformGroup = require('./shader/UniformGroup.js');
59var checkMaxIfStatementsInShader = require('./shader/utils/checkMaxIfStatementsInShader.js');
60var generateProgram = require('./shader/utils/generateProgram.js');
61var generateUniformBufferSync = require('./shader/utils/generateUniformBufferSync.js');
62var getTestContext = require('./shader/utils/getTestContext.js');
63var uniformParsers = require('./shader/utils/uniformParsers.js');
64var unsafeEvalSupported = require('./shader/utils/unsafeEvalSupported.js');
65var StartupSystem = require('./startup/StartupSystem.js');
66var State = require('./state/State.js');
67var StateSystem = require('./state/StateSystem.js');
68require('./system/ISystem.js');
69require('./systems.js');
70var BaseTexture = require('./textures/BaseTexture.js');
71var GLTexture = require('./textures/GLTexture.js');
72require('./textures/resources/index.js');
73var Texture = require('./textures/Texture.js');
74var TextureGCSystem = require('./textures/TextureGCSystem.js');
75var TextureMatrix = require('./textures/TextureMatrix.js');
76var TextureSystem = require('./textures/TextureSystem.js');
77var TextureUvs = require('./textures/TextureUvs.js');
78var TransformFeedback = require('./transformFeedback/TransformFeedback.js');
79var TransformFeedbackSystem = require('./transformFeedback/TransformFeedbackSystem.js');
80var Quad = require('./utils/Quad.js');
81var QuadUv = require('./utils/QuadUv.js');
82var ViewSystem = require('./view/ViewSystem.js');
83var SystemManager = require('./system/SystemManager.js');
84var BaseImageResource = require('./textures/resources/BaseImageResource.js');
85var Resource = require('./textures/resources/Resource.js');
86var AbstractMultiResource = require('./textures/resources/AbstractMultiResource.js');
87var ArrayResource = require('./textures/resources/ArrayResource.js');
88var autoDetectResource = require('./textures/resources/autoDetectResource.js');
89var BufferResource = require('./textures/resources/BufferResource.js');
90var CanvasResource = require('./textures/resources/CanvasResource.js');
91var CubeResource = require('./textures/resources/CubeResource.js');
92var ImageBitmapResource = require('./textures/resources/ImageBitmapResource.js');
93var ImageResource = require('./textures/resources/ImageResource.js');
94var SVGResource = require('./textures/resources/SVGResource.js');
95var VideoResource = require('./textures/resources/VideoResource.js');
96
97function _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
115var utils__namespace = /*#__PURE__*/_interopNamespace(utils$1);
116
117const VERSION = "7.2.1";
118
119exports.utils = utils__namespace;
120exports.autoDetectRenderer = autoDetectRenderer.autoDetectRenderer;
121exports.BackgroundSystem = BackgroundSystem.BackgroundSystem;
122exports.BatchDrawCall = BatchDrawCall.BatchDrawCall;
123exports.BatchGeometry = BatchGeometry.BatchGeometry;
124exports.BatchRenderer = BatchRenderer.BatchRenderer;
125exports.BatchShaderGenerator = BatchShaderGenerator.BatchShaderGenerator;
126exports.BatchSystem = BatchSystem.BatchSystem;
127exports.BatchTextureArray = BatchTextureArray.BatchTextureArray;
128exports.ObjectRenderer = ObjectRenderer.ObjectRenderer;
129exports.ContextSystem = ContextSystem.ContextSystem;
130exports.Filter = Filter.Filter;
131exports.FilterState = FilterState.FilterState;
132exports.FilterSystem = FilterSystem.FilterSystem;
133exports.SpriteMaskFilter = SpriteMaskFilter.SpriteMaskFilter;
134exports.defaultFilterVertex = index.defaultFilterVertex;
135exports.defaultVertex = index.defaultVertex;
136exports.Framebuffer = Framebuffer.Framebuffer;
137exports.FramebufferSystem = FramebufferSystem.FramebufferSystem;
138exports.GLFramebuffer = GLFramebuffer.GLFramebuffer;
139exports.MultisampleSystem = MultisampleSystem.MultisampleSystem;
140exports.Attribute = Attribute.Attribute;
141exports.Buffer = Buffer.Buffer;
142exports.BufferSystem = BufferSystem.BufferSystem;
143exports.Geometry = Geometry.Geometry;
144exports.GeometrySystem = GeometrySystem.GeometrySystem;
145exports.ViewableBuffer = ViewableBuffer.ViewableBuffer;
146exports.MaskData = MaskData.MaskData;
147exports.MaskSystem = MaskSystem.MaskSystem;
148exports.ScissorSystem = ScissorSystem.ScissorSystem;
149exports.StencilSystem = StencilSystem.StencilSystem;
150exports.PluginSystem = PluginSystem.PluginSystem;
151exports.ProjectionSystem = ProjectionSystem.ProjectionSystem;
152exports.ObjectRendererSystem = ObjectRendererSystem.ObjectRendererSystem;
153exports.Renderer = Renderer.Renderer;
154exports.BaseRenderTexture = BaseRenderTexture.BaseRenderTexture;
155exports.GenerateTextureSystem = GenerateTextureSystem.GenerateTextureSystem;
156exports.RenderTexture = RenderTexture.RenderTexture;
157exports.RenderTexturePool = RenderTexturePool.RenderTexturePool;
158exports.RenderTextureSystem = RenderTextureSystem.RenderTextureSystem;
159exports.GLProgram = GLProgram.GLProgram;
160exports.IGLUniformData = GLProgram.IGLUniformData;
161exports.Program = Program.Program;
162exports.Shader = Shader.Shader;
163exports.ShaderSystem = ShaderSystem.ShaderSystem;
164exports.UniformGroup = UniformGroup.UniformGroup;
165exports.checkMaxIfStatementsInShader = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader;
166exports.generateProgram = generateProgram.generateProgram;
167exports.createUBOElements = generateUniformBufferSync.createUBOElements;
168exports.generateUniformBufferSync = generateUniformBufferSync.generateUniformBufferSync;
169exports.getUBOData = generateUniformBufferSync.getUBOData;
170exports.getTestContext = getTestContext.getTestContext;
171exports.uniformParsers = uniformParsers.uniformParsers;
172exports.unsafeEvalSupported = unsafeEvalSupported.unsafeEvalSupported;
173exports.StartupSystem = StartupSystem.StartupSystem;
174exports.State = State.State;
175exports.StateSystem = StateSystem.StateSystem;
176exports.BaseTexture = BaseTexture.BaseTexture;
177exports.GLTexture = GLTexture.GLTexture;
178exports.Texture = Texture.Texture;
179exports.TextureGCSystem = TextureGCSystem.TextureGCSystem;
180exports.TextureMatrix = TextureMatrix.TextureMatrix;
181exports.TextureSystem = TextureSystem.TextureSystem;
182exports.TextureUvs = TextureUvs.TextureUvs;
183exports.TransformFeedback = TransformFeedback.TransformFeedback;
184exports.TransformFeedbackSystem = TransformFeedbackSystem.TransformFeedbackSystem;
185exports.Quad = Quad.Quad;
186exports.QuadUv = QuadUv.QuadUv;
187exports.ViewSystem = ViewSystem.ViewSystem;
188exports.SystemManager = SystemManager.SystemManager;
189exports.BaseImageResource = BaseImageResource.BaseImageResource;
190exports.Resource = Resource.Resource;
191exports.AbstractMultiResource = AbstractMultiResource.AbstractMultiResource;
192exports.ArrayResource = ArrayResource.ArrayResource;
193exports.INSTALLED = autoDetectResource.INSTALLED;
194exports.autoDetectResource = autoDetectResource.autoDetectResource;
195exports.BufferResource = BufferResource.BufferResource;
196exports.CanvasResource = CanvasResource.CanvasResource;
197exports.CubeResource = CubeResource.CubeResource;
198exports.ImageBitmapResource = ImageBitmapResource.ImageBitmapResource;
199exports.ImageResource = ImageResource.ImageResource;
200exports.SVGResource = SVGResource.SVGResource;
201exports.VideoResource = VideoResource.VideoResource;
202exports.VERSION = VERSION;
203Object.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});
209Object.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});
215Object.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});
221Object.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});
227Object.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});
233Object.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});
239Object.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//# sourceMappingURL=index.js.map