@flighthq/render-gl 0.5.1-next.1471.4e82419 → 0.5.1-next.1505.5790c72
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/README.md +2 -2
- package/dist/contract.d.ts +7 -12
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +7 -12
- package/dist/contract.js.map +1 -1
- package/dist/glTestHelper.d.ts +1 -2
- package/dist/glTestHelper.d.ts.map +1 -1
- package/dist/glTestHelper.js +2 -1
- package/dist/glTestHelper.js.map +1 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/render-gl`. The `@fl
|
|
|
13
13
|
This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
|
|
14
14
|
|
|
15
15
|
- [Flight project](https://github.com/flighthq/flight)
|
|
16
|
-
- [Source for @flighthq/render-gl@0.5.1-next.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/render-gl@0.5.1-next.1505.5790c72](https://github.com/flighthq/flight/tree/5790c722bf2e004f1af3f1d1f9a8fa7469a0a449/packages/render-gl)
|
|
17
|
+
- [License](https://github.com/flighthq/flight/blob/5790c722bf2e004f1af3f1d1f9a8fa7469a0a449/LICENSE.md)
|
package/dist/contract.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export * from './enableGlRenderStateGuards';
|
|
2
|
+
export * from './enableGlRenderTextureGuards';
|
|
3
|
+
export * from './enableGlTextureResolverGuards';
|
|
4
|
+
export * from './explainGlTextureResolution';
|
|
1
5
|
export * from './glCompressedTexture';
|
|
2
6
|
export * from './glCubeRenderTarget';
|
|
3
7
|
export * from './glDraw';
|
|
4
8
|
export * from './glExternalTexture';
|
|
5
|
-
export * from './enableGlRenderTextureGuards';
|
|
6
|
-
export * from './enableGlRenderStateGuards';
|
|
7
|
-
export * from './enableGlTextureResolverGuards';
|
|
8
|
-
export * from './explainGlTextureResolution';
|
|
9
9
|
export * from './glFullscreenPass';
|
|
10
10
|
export * from './glLinearToSrgbPass';
|
|
11
11
|
export * from './glMaterialRegistry';
|
|
@@ -17,20 +17,15 @@ export * from './glRenderPass';
|
|
|
17
17
|
export * from './glRenderState';
|
|
18
18
|
export * from './glRenderStateBracket';
|
|
19
19
|
export * from './glRenderTarget';
|
|
20
|
+
export * from './glRenderTargetPool';
|
|
20
21
|
export * from './glRenderTexture';
|
|
21
22
|
export * from './glRenderTexturePool';
|
|
22
|
-
export * from './glRenderTargetPool';
|
|
23
23
|
export * from './glRenderView';
|
|
24
24
|
export * from './glShader';
|
|
25
25
|
export * from './glShaderBinding';
|
|
26
|
+
export * from './glShaderRegistry';
|
|
26
27
|
export * from './glSkinPaletteTexture';
|
|
27
|
-
export * from './glTextureUpload';
|
|
28
28
|
export * from './glTextureResolver';
|
|
29
|
+
export * from './glTextureUpload';
|
|
29
30
|
export * from './glTextureVideoUpload';
|
|
30
|
-
export { initializeEmptyGlRenderRegistries } from './glPipeline';
|
|
31
|
-
export { initializeDefaultGlBitmapShader, initializeGlBitmapShader } from './glShader';
|
|
32
|
-
export { initializeGlTextureRenderTargetPool } from './glRenderTargetPool';
|
|
33
|
-
export { initializeGlRenderTexturePool } from './glRenderTexturePool';
|
|
34
|
-
export { initializeGlSkinPaletteTexture } from './glSkinPaletteTexture';
|
|
35
|
-
export { initializeGlContextState } from './glRenderState';
|
|
36
31
|
//# sourceMappingURL=contract.d.ts.map
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
package/dist/contract.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export * from './enableGlRenderStateGuards';
|
|
2
|
+
export * from './enableGlRenderTextureGuards';
|
|
3
|
+
export * from './enableGlTextureResolverGuards';
|
|
4
|
+
export * from './explainGlTextureResolution';
|
|
1
5
|
export * from './glCompressedTexture';
|
|
2
6
|
export * from './glCubeRenderTarget';
|
|
3
7
|
export * from './glDraw';
|
|
4
8
|
export * from './glExternalTexture';
|
|
5
|
-
export * from './enableGlRenderTextureGuards';
|
|
6
|
-
export * from './enableGlRenderStateGuards';
|
|
7
|
-
export * from './enableGlTextureResolverGuards';
|
|
8
|
-
export * from './explainGlTextureResolution';
|
|
9
9
|
export * from './glFullscreenPass';
|
|
10
10
|
export * from './glLinearToSrgbPass';
|
|
11
11
|
export * from './glMaterialRegistry';
|
|
@@ -17,20 +17,15 @@ export * from './glRenderPass';
|
|
|
17
17
|
export * from './glRenderState';
|
|
18
18
|
export * from './glRenderStateBracket';
|
|
19
19
|
export * from './glRenderTarget';
|
|
20
|
+
export * from './glRenderTargetPool';
|
|
20
21
|
export * from './glRenderTexture';
|
|
21
22
|
export * from './glRenderTexturePool';
|
|
22
|
-
export * from './glRenderTargetPool';
|
|
23
23
|
export * from './glRenderView';
|
|
24
24
|
export * from './glShader';
|
|
25
25
|
export * from './glShaderBinding';
|
|
26
|
+
export * from './glShaderRegistry';
|
|
26
27
|
export * from './glSkinPaletteTexture';
|
|
27
|
-
export * from './glTextureUpload';
|
|
28
28
|
export * from './glTextureResolver';
|
|
29
|
+
export * from './glTextureUpload';
|
|
29
30
|
export * from './glTextureVideoUpload';
|
|
30
|
-
export { initializeEmptyGlRenderRegistries } from './glPipeline';
|
|
31
|
-
export { initializeDefaultGlBitmapShader, initializeGlBitmapShader } from './glShader';
|
|
32
|
-
export { initializeGlTextureRenderTargetPool } from './glRenderTargetPool';
|
|
33
|
-
export { initializeGlRenderTexturePool } from './glRenderTexturePool';
|
|
34
|
-
export { initializeGlSkinPaletteTexture } from './glSkinPaletteTexture';
|
|
35
|
-
export { initializeGlContextState } from './glRenderState';
|
|
36
31
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC"}
|
package/dist/glTestHelper.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GlRenderState } from '@flighthq/types/contract';
|
|
2
2
|
import type { GlShaderLocations } from '@flighthq/types/contract';
|
|
3
3
|
export declare function createGlState(options?: {
|
|
4
4
|
allowSmoothing?: boolean;
|
|
@@ -8,7 +8,6 @@ export declare function createGlState(options?: {
|
|
|
8
8
|
canvas: HTMLCanvasElement;
|
|
9
9
|
shaderLoc: GlShaderLocations;
|
|
10
10
|
};
|
|
11
|
-
export declare function initializeGlBitmapShader(out: EntityConstruction<GlBitmapShader>, bind: GlBitmapShader['bind'], locations: GlBitmapShader['locations'], program: GlBitmapShader['program']): void;
|
|
12
11
|
export declare function makeGL(width?: number, height?: number): WebGL2RenderingContext;
|
|
13
12
|
export declare function makeShaderLoc(): GlShaderLocations;
|
|
14
13
|
//# sourceMappingURL=glTestHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glTestHelper.d.ts","sourceRoot":"","sources":["../src/glTestHelper.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"glTestHelper.d.ts","sourceRoot":"","sources":["../src/glTestHelper.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAsC,aAAa,EAAwB,MAAM,0BAA0B,CAAC;AAExH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAMlE,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG;IACrE,KAAK,EAAE,aAAa,CAAC;IACrB,EAAE,EAAE,sBAAsB,CAAC;IAC3B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,SAAS,EAAE,iBAAiB,CAAC;CAC9B,CA2DA;AAgBD,wBAAgB,MAAM,CAAC,KAAK,SAAM,EAAE,MAAM,SAAM,GAAG,sBAAsB,CAQxE;AAED,wBAAgB,aAAa,IAAI,iBAAiB,CAYjD"}
|
package/dist/glTestHelper.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { allocateEntity, finishEntity } from '@flighthq/entity/contract';
|
|
2
2
|
import { createRenderState } from '@flighthq/render/contract';
|
|
3
3
|
import { EntityRuntimeKey } from '@flighthq/types/contract';
|
|
4
|
+
import { vi } from 'vitest';
|
|
4
5
|
import { allocateEmptyGlRenderRegistries } from './glPipeline';
|
|
5
6
|
import { createGlContextState, createGlRenderStateRuntime } from './glRenderState';
|
|
6
7
|
export function createGlState(options) {
|
|
@@ -60,7 +61,7 @@ export function createGlState(options) {
|
|
|
60
61
|
state[EntityRuntimeKey] = runtime;
|
|
61
62
|
return { state, gl, canvas, shaderLoc };
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
+
function initializeGlBitmapShader(out, bind, locations, program) {
|
|
64
65
|
out.bind = bind;
|
|
65
66
|
out.locations = locations;
|
|
66
67
|
out.program = program;
|
package/dist/glTestHelper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glTestHelper.js","sourceRoot":"","sources":["../src/glTestHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"glTestHelper.js","sourceRoot":"","sources":["../src/glTestHelper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAEnF,MAAM,UAAU,aAAa,CAAC,OAAsC;IAMlE,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChD,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC;IACnB,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC;IACpB,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;IACpB,MAAM,YAAY,GAAG,oBAAoB,CAAC,EAAE,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,+BAA+B,EAAE,CAAC;IACnD,MAAM,SAAS,GAAG,aAAa,EAAE,CAAC;IAClC,MAAM,KAAK,GAAG,iBAAiB,CAAC;QAC9B,cAAc,EAAE,OAAO,EAAE,cAA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WAAW,EAAE,CAAC;QACd,SAAS,EAAE,EAA0B;QACrC,QAAQ,EAAE,EAA0B;QACpC,aAAa,EAAE,EAA0B;QACzC,YAAY,EAAE,EAA0B;QACxC,oBAAoB,EAAE,EAA0B;QAChD,UAAU,EAAE,EAA0B;KACvC,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { enableGlRenderStateGuards } from './enableGlRenderStateGuards';
|
|
2
|
+
export { enableGlRenderTextureGuards } from './enableGlRenderTextureGuards';
|
|
3
|
+
export { enableGlTextureResolverGuards } from './enableGlTextureResolverGuards';
|
|
4
|
+
export * from './explainGlTextureResolution';
|
|
5
|
+
export { registerGlCompressedTextureDecoder, registerGlCompressedTextureUpload } from './glCompressedTexture';
|
|
6
|
+
export { beginGlCubeRenderFace, createGlCubeRenderTarget, destroyGlCubeRenderTarget, endGlCubeRenderFace, } from './glCubeRenderTarget';
|
|
7
|
+
export { enableGlBlendModeSupport } from './glDraw';
|
|
8
|
+
export { createExternalGlTexture, disposeExternalGlTexture } from './glExternalTexture';
|
|
9
|
+
export { clearGlRenderTarget, clearGlRenderTargetAttachments } from './glFullscreenPass';
|
|
10
|
+
export { allocateEmptyGlRenderRegistries } from './glPipeline';
|
|
11
|
+
export * from './glPresentRenderTarget';
|
|
12
|
+
export { beginGlRenderPass, endGlRenderPass, getGlCurrentRenderPass } from './glRenderPass';
|
|
13
|
+
export { createGlRenderState, destroyGlRenderState } from './glRenderState';
|
|
14
|
+
export * from './glRenderStateBracket';
|
|
15
|
+
export { createGlScreenRenderTarget, createGlTextureRenderTarget, destroyGlTextureRenderTarget, explainGlTextureRenderTarget, isGlRenderTargetFormatSupported, } from './glRenderTarget';
|
|
16
|
+
export { clearGlRenderTexture, destroyGlRenderTexture, explainGlRenderTexture, renderIntoGlRenderTexture, } from './glRenderTexture';
|
|
17
|
+
export { acquireGlRenderTexture, createGlRenderTexturePool, destroyGlRenderTexturePool, releaseGlRenderTexture, withGlRenderTextures, } from './glRenderTexturePool';
|
|
18
|
+
export * from './glRenderView';
|
|
19
|
+
export * from './glTextureResolver';
|
|
2
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,kCAAkC,EAAE,iCAAiC,EAAE,MAAM,uBAAuB,CAAC;AAC9G,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAC/D,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5E,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { enableGlRenderStateGuards } from './enableGlRenderStateGuards';
|
|
2
|
+
export { enableGlRenderTextureGuards } from './enableGlRenderTextureGuards';
|
|
3
|
+
export { enableGlTextureResolverGuards } from './enableGlTextureResolverGuards';
|
|
4
|
+
export * from './explainGlTextureResolution';
|
|
5
|
+
export { registerGlCompressedTextureDecoder, registerGlCompressedTextureUpload } from './glCompressedTexture';
|
|
6
|
+
export { beginGlCubeRenderFace, createGlCubeRenderTarget, destroyGlCubeRenderTarget, endGlCubeRenderFace, } from './glCubeRenderTarget';
|
|
7
|
+
export { enableGlBlendModeSupport } from './glDraw';
|
|
8
|
+
export { createExternalGlTexture, disposeExternalGlTexture } from './glExternalTexture';
|
|
9
|
+
export { clearGlRenderTarget, clearGlRenderTargetAttachments } from './glFullscreenPass';
|
|
10
|
+
export { allocateEmptyGlRenderRegistries } from './glPipeline';
|
|
11
|
+
export * from './glPresentRenderTarget';
|
|
12
|
+
export { beginGlRenderPass, endGlRenderPass, getGlCurrentRenderPass } from './glRenderPass';
|
|
13
|
+
export { createGlRenderState, destroyGlRenderState } from './glRenderState';
|
|
14
|
+
export * from './glRenderStateBracket';
|
|
15
|
+
export { createGlScreenRenderTarget, createGlTextureRenderTarget, destroyGlTextureRenderTarget, explainGlTextureRenderTarget, isGlRenderTargetFormatSupported, } from './glRenderTarget';
|
|
16
|
+
export { clearGlRenderTexture, destroyGlRenderTexture, explainGlRenderTexture, renderIntoGlRenderTexture, } from './glRenderTexture';
|
|
17
|
+
export { acquireGlRenderTexture, createGlRenderTexturePool, destroyGlRenderTexturePool, releaseGlRenderTexture, withGlRenderTextures, } from './glRenderTexturePool';
|
|
18
|
+
export * from './glRenderView';
|
|
19
|
+
export * from './glTextureResolver';
|
|
2
20
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,kCAAkC,EAAE,iCAAiC,EAAE,MAAM,uBAAuB,CAAC;AAC9G,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EAAE,+BAA+B,EAAE,MAAM,cAAc,CAAC;AAC/D,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5E,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,0BAA0B,EAC1B,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/render-gl",
|
|
3
|
-
"version": "0.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.1505.5790c72",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@flighthq/color": "0.5.1-next.
|
|
42
|
-
"@flighthq/entity": "0.5.1-next.
|
|
43
|
-
"@flighthq/geometry": "0.5.1-next.
|
|
44
|
-
"@flighthq/log": "0.5.1-next.
|
|
45
|
-
"@flighthq/node": "0.5.1-next.
|
|
46
|
-
"@flighthq/registry": "0.5.1-next.
|
|
47
|
-
"@flighthq/render": "0.5.1-next.
|
|
48
|
-
"@flighthq/scene2d": "0.5.1-next.
|
|
49
|
-
"@flighthq/signals": "0.5.1-next.
|
|
50
|
-
"@flighthq/texture": "0.5.1-next.
|
|
51
|
-
"@flighthq/types": "0.5.1-next.
|
|
41
|
+
"@flighthq/color": "0.5.1-next.1505.5790c72",
|
|
42
|
+
"@flighthq/entity": "0.5.1-next.1505.5790c72",
|
|
43
|
+
"@flighthq/geometry": "0.5.1-next.1505.5790c72",
|
|
44
|
+
"@flighthq/log": "0.5.1-next.1505.5790c72",
|
|
45
|
+
"@flighthq/node": "0.5.1-next.1505.5790c72",
|
|
46
|
+
"@flighthq/registry": "0.5.1-next.1505.5790c72",
|
|
47
|
+
"@flighthq/render": "0.5.1-next.1505.5790c72",
|
|
48
|
+
"@flighthq/scene2d": "0.5.1-next.1505.5790c72",
|
|
49
|
+
"@flighthq/signals": "0.5.1-next.1505.5790c72",
|
|
50
|
+
"@flighthq/texture": "0.5.1-next.1505.5790c72",
|
|
51
|
+
"@flighthq/types": "0.5.1-next.1505.5790c72"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "^5.3.0"
|