@flighthq/render-wgpu 0.5.1-next.4389.185df52 → 0.5.1-next.5076.44cab46
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/.tsbuildinfo.compressed-texture-decoder-contract +1 -0
- package/dist/.tsbuildinfo.contract +1 -0
- package/dist/.tsbuildinfo.runtime +1 -0
- package/dist/compressed-texture-decoder-contract/WgpuCompressedTextureDecoder.d.ts +3 -0
- package/dist/compressed-texture-decoder-contract/WgpuCompressedTextureDecoder.d.ts.map +1 -0
- package/dist/compressed-texture-decoder-contract/WgpuCompressedTextureDecoder.js +2 -0
- package/dist/compressed-texture-decoder-contract/WgpuCompressedTextureDecoder.js.map +1 -0
- package/dist/compressed-texture-decoder-contract/compressedTextureDecoderContract.d.ts +2 -0
- package/dist/compressed-texture-decoder-contract/compressedTextureDecoderContract.d.ts.map +1 -0
- package/dist/compressed-texture-decoder-contract/compressedTextureDecoderContract.js +2 -0
- package/dist/compressed-texture-decoder-contract/compressedTextureDecoderContract.js.map +1 -0
- package/dist/contract.d.ts +1 -0
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +1 -0
- package/dist/contract.js.map +1 -1
- package/dist/contract.render-wgpu-types.d.ts +32 -0
- package/dist/contract.render-wgpu-types.d.ts.map +1 -0
- package/dist/contract.render-wgpu-types.js +2 -0
- package/dist/contract.render-wgpu-types.js.map +1 -0
- package/dist/enableWgpuTextureResolverGuards.d.ts +1 -1
- package/dist/enableWgpuTextureResolverGuards.d.ts.map +1 -1
- package/dist/enableWgpuTextureResolverGuards.js +1 -1
- package/dist/enableWgpuTextureResolverGuards.js.map +1 -1
- package/dist/explainWgpuTextureResolution.d.ts +2 -1
- package/dist/explainWgpuTextureResolution.d.ts.map +1 -1
- package/dist/explainWgpuTextureResolution.js.map +1 -1
- package/dist/explainWgpuUniformEndianness.d.ts +1 -1
- package/dist/explainWgpuUniformEndianness.d.ts.map +1 -1
- package/dist/explainWgpuUniformEndianness.js.map +1 -1
- package/dist/types/Host.d.ts +5 -0
- package/dist/types/Host.d.ts.map +1 -0
- package/dist/types/Host.js +2 -0
- package/dist/types/Host.js.map +1 -0
- package/dist/types/WgpuAdapterCapabilities.d.ts +7 -0
- package/dist/types/WgpuAdapterCapabilities.d.ts.map +1 -0
- package/dist/types/WgpuAdapterCapabilities.js +2 -0
- package/dist/types/WgpuAdapterCapabilities.js.map +1 -0
- package/dist/types/WgpuColorAdjustmentMaterialFeature.d.ts +14 -0
- package/dist/types/WgpuColorAdjustmentMaterialFeature.d.ts.map +1 -0
- package/dist/types/WgpuColorAdjustmentMaterialFeature.js +2 -0
- package/dist/types/WgpuColorAdjustmentMaterialFeature.js.map +1 -0
- package/dist/types/WgpuCompressedTextureSupport.d.ts +6 -0
- package/dist/types/WgpuCompressedTextureSupport.d.ts.map +1 -0
- package/dist/types/WgpuCompressedTextureSupport.js +2 -0
- package/dist/types/WgpuCompressedTextureSupport.js.map +1 -0
- package/dist/types/WgpuCompressedTextureUploader.d.ts +6 -0
- package/dist/types/WgpuCompressedTextureUploader.d.ts.map +1 -0
- package/dist/types/WgpuCompressedTextureUploader.js +2 -0
- package/dist/types/WgpuCompressedTextureUploader.js.map +1 -0
- package/dist/types/WgpuCustomMaterialShaderSource.d.ts +2 -0
- package/dist/types/WgpuCustomMaterialShaderSource.d.ts.map +1 -0
- package/dist/types/WgpuCustomMaterialShaderSource.js +2 -0
- package/dist/types/WgpuCustomMaterialShaderSource.js.map +1 -0
- package/dist/types/WgpuDeviceRuntime.d.ts +47 -0
- package/dist/types/WgpuDeviceRuntime.d.ts.map +1 -0
- package/dist/types/WgpuDeviceRuntime.js +2 -0
- package/dist/types/WgpuDeviceRuntime.js.map +1 -0
- package/dist/types/WgpuDeviceSignals.d.ts +5 -0
- package/dist/types/WgpuDeviceSignals.d.ts.map +1 -0
- package/dist/types/WgpuDeviceSignals.js +2 -0
- package/dist/types/WgpuDeviceSignals.js.map +1 -0
- package/dist/types/WgpuDeviceState.d.ts +6 -0
- package/dist/types/WgpuDeviceState.d.ts.map +1 -0
- package/dist/types/WgpuDeviceState.js +2 -0
- package/dist/types/WgpuDeviceState.js.map +1 -0
- package/dist/types/WgpuEffectState.d.ts +18 -0
- package/dist/types/WgpuEffectState.d.ts.map +1 -0
- package/dist/types/WgpuEffectState.js +2 -0
- package/dist/types/WgpuEffectState.js.map +1 -0
- package/dist/types/WgpuFullscreenPipeline.d.ts +10 -0
- package/dist/types/WgpuFullscreenPipeline.d.ts.map +1 -0
- package/dist/types/WgpuFullscreenPipeline.js +2 -0
- package/dist/types/WgpuFullscreenPipeline.js.map +1 -0
- package/dist/types/WgpuHost.d.ts +2 -0
- package/dist/types/WgpuHost.d.ts.map +1 -0
- package/dist/types/WgpuHost.js +2 -0
- package/dist/types/WgpuHost.js.map +1 -0
- package/dist/types/WgpuMeshMaterialRenderer.d.ts +11 -0
- package/dist/types/WgpuMeshMaterialRenderer.d.ts.map +1 -0
- package/dist/types/WgpuMeshMaterialRenderer.js +2 -0
- package/dist/types/WgpuMeshMaterialRenderer.js.map +1 -0
- package/dist/types/WgpuModifierSnippet.d.ts +16 -0
- package/dist/types/WgpuModifierSnippet.d.ts.map +1 -0
- package/dist/types/WgpuModifierSnippet.js +2 -0
- package/dist/types/WgpuModifierSnippet.js.map +1 -0
- package/dist/types/WgpuParticleResources.d.ts +7 -0
- package/dist/types/WgpuParticleResources.d.ts.map +1 -0
- package/dist/types/WgpuParticleResources.js +2 -0
- package/dist/types/WgpuParticleResources.js.map +1 -0
- package/dist/types/WgpuQuadBatchResources.d.ts +8 -0
- package/dist/types/WgpuQuadBatchResources.d.ts.map +1 -0
- package/dist/types/WgpuQuadBatchResources.js +2 -0
- package/dist/types/WgpuQuadBatchResources.js.map +1 -0
- package/dist/types/WgpuQuadMaterialRenderer.d.ts +8 -0
- package/dist/types/WgpuQuadMaterialRenderer.d.ts.map +1 -0
- package/dist/types/WgpuQuadMaterialRenderer.js +2 -0
- package/dist/types/WgpuQuadMaterialRenderer.js.map +1 -0
- package/dist/types/WgpuRenderOptions.d.ts +13 -0
- package/dist/types/WgpuRenderOptions.d.ts.map +1 -0
- package/dist/types/WgpuRenderOptions.js +2 -0
- package/dist/types/WgpuRenderOptions.js.map +1 -0
- package/dist/types/WgpuRenderPass.d.ts +28 -0
- package/dist/types/WgpuRenderPass.d.ts.map +1 -0
- package/dist/types/WgpuRenderPass.js +2 -0
- package/dist/types/WgpuRenderPass.js.map +1 -0
- package/dist/types/WgpuRenderState.d.ts +237 -0
- package/dist/types/WgpuRenderState.d.ts.map +1 -0
- package/dist/types/WgpuRenderState.js +2 -0
- package/dist/types/WgpuRenderState.js.map +1 -0
- package/dist/types/WgpuRenderStateOptions.d.ts +31 -0
- package/dist/types/WgpuRenderStateOptions.d.ts.map +1 -0
- package/dist/types/WgpuRenderStateOptions.js +2 -0
- package/dist/types/WgpuRenderStateOptions.js.map +1 -0
- package/dist/types/WgpuRenderTarget.d.ts +54 -0
- package/dist/types/WgpuRenderTarget.d.ts.map +1 -0
- package/dist/types/WgpuRenderTarget.js +2 -0
- package/dist/types/WgpuRenderTarget.js.map +1 -0
- package/dist/types/WgpuRenderTexture.d.ts +24 -0
- package/dist/types/WgpuRenderTexture.d.ts.map +1 -0
- package/dist/types/WgpuRenderTexture.js +2 -0
- package/dist/types/WgpuRenderTexture.js.map +1 -0
- package/dist/types/WgpuScene3DRuntime.d.ts +6 -0
- package/dist/types/WgpuScene3DRuntime.d.ts.map +1 -0
- package/dist/types/WgpuScene3DRuntime.js +2 -0
- package/dist/types/WgpuScene3DRuntime.js.map +1 -0
- package/dist/types/WgpuShapeMesh.d.ts +7 -0
- package/dist/types/WgpuShapeMesh.d.ts.map +1 -0
- package/dist/types/WgpuShapeMesh.js +2 -0
- package/dist/types/WgpuShapeMesh.js.map +1 -0
- package/dist/types/WgpuSkinningAdapter.d.ts +15 -0
- package/dist/types/WgpuSkinningAdapter.d.ts.map +1 -0
- package/dist/types/WgpuSkinningAdapter.js +2 -0
- package/dist/types/WgpuSkinningAdapter.js.map +1 -0
- package/dist/types/WgpuSurface.d.ts +2 -0
- package/dist/types/WgpuSurface.d.ts.map +1 -0
- package/dist/types/WgpuSurface.js +2 -0
- package/dist/types/WgpuSurface.js.map +1 -0
- package/dist/types/WgpuTextureResolver.d.ts +4 -0
- package/dist/types/WgpuTextureResolver.d.ts.map +1 -0
- package/dist/types/WgpuTextureResolver.js +2 -0
- package/dist/types/WgpuTextureResolver.js.map +1 -0
- package/dist/types/WgpuUniformEndianness.d.ts +7 -0
- package/dist/types/WgpuUniformEndianness.d.ts.map +1 -0
- package/dist/types/WgpuUniformEndianness.js +2 -0
- package/dist/types/WgpuUniformEndianness.js.map +1 -0
- package/dist/types/WgpuVelocityWriter.d.ts +11 -0
- package/dist/types/WgpuVelocityWriter.d.ts.map +1 -0
- package/dist/types/WgpuVelocityWriter.js +2 -0
- package/dist/types/WgpuVelocityWriter.js.map +1 -0
- package/dist/wgpuAdapterCapabilities.d.ts +1 -1
- package/dist/wgpuAdapterCapabilities.d.ts.map +1 -1
- package/dist/wgpuCompressedTexture.d.ts +3 -1
- package/dist/wgpuCompressedTexture.d.ts.map +1 -1
- package/dist/wgpuCompressedTexture.js.map +1 -1
- package/dist/wgpuDeviceLoss.d.ts +1 -1
- package/dist/wgpuDeviceLoss.d.ts.map +1 -1
- package/dist/wgpuDraw.d.ts +8 -2
- package/dist/wgpuDraw.d.ts.map +1 -1
- package/dist/wgpuDraw.js +1 -1
- package/dist/wgpuDraw.js.map +1 -1
- package/dist/wgpuExternalTexture.d.ts +5 -1
- package/dist/wgpuExternalTexture.d.ts.map +1 -1
- package/dist/wgpuExternalTexture.js +1 -1
- package/dist/wgpuExternalTexture.js.map +1 -1
- package/dist/wgpuFrame.d.ts +1 -1
- package/dist/wgpuFrame.d.ts.map +1 -1
- package/dist/wgpuFrame.js.map +1 -1
- package/dist/wgpuFullscreenPass.d.ts +2 -1
- package/dist/wgpuFullscreenPass.d.ts.map +1 -1
- package/dist/wgpuFullscreenPass.js.map +1 -1
- package/dist/wgpuHost.d.ts +2 -1
- package/dist/wgpuHost.d.ts.map +1 -1
- package/dist/wgpuHost.js +1 -1
- package/dist/wgpuHost.js.map +1 -1
- package/dist/wgpuMipmap.d.ts +1 -1
- package/dist/wgpuMipmap.d.ts.map +1 -1
- package/dist/wgpuMipmap.js.map +1 -1
- package/dist/wgpuQuadMaterialRegistry.d.ts +3 -1
- package/dist/wgpuQuadMaterialRegistry.d.ts.map +1 -1
- package/dist/wgpuQuadMaterialRegistry.js +2 -1
- package/dist/wgpuQuadMaterialRegistry.js.map +1 -1
- package/dist/wgpuRenderPass.d.ts +2 -1
- package/dist/wgpuRenderPass.d.ts.map +1 -1
- package/dist/wgpuRenderState.d.ts +5 -1
- package/dist/wgpuRenderState.d.ts.map +1 -1
- package/dist/wgpuRenderState.js +1 -2
- package/dist/wgpuRenderState.js.map +1 -1
- package/dist/wgpuRenderTarget.d.ts +2 -1
- package/dist/wgpuRenderTarget.d.ts.map +1 -1
- package/dist/wgpuRenderTarget.js.map +1 -1
- package/dist/wgpuRenderTargetPool.d.ts +3 -1
- package/dist/wgpuRenderTargetPool.d.ts.map +1 -1
- package/dist/wgpuRenderTargetPool.js.map +1 -1
- package/dist/wgpuRenderTexture.d.ts +3 -1
- package/dist/wgpuRenderTexture.d.ts.map +1 -1
- package/dist/wgpuRenderTexture.js.map +1 -1
- package/dist/wgpuRenderTexturePool.d.ts +3 -1
- package/dist/wgpuRenderTexturePool.d.ts.map +1 -1
- package/dist/wgpuRenderTexturePool.js.map +1 -1
- package/dist/wgpuScissor.d.ts +1 -1
- package/dist/wgpuScissor.d.ts.map +1 -1
- package/dist/wgpuScissor.js.map +1 -1
- package/dist/wgpuScreenAntialias.d.ts +1 -1
- package/dist/wgpuScreenAntialias.d.ts.map +1 -1
- package/dist/wgpuScreenAntialias.js.map +1 -1
- package/dist/wgpuScreenCapture.d.ts +2 -1
- package/dist/wgpuScreenCapture.d.ts.map +1 -1
- package/dist/wgpuScreenCapture.js.map +1 -1
- package/dist/wgpuScreenRenderTarget.d.ts +3 -1
- package/dist/wgpuScreenRenderTarget.d.ts.map +1 -1
- package/dist/wgpuScreenRenderTarget.js.map +1 -1
- package/dist/wgpuShader.d.ts +5 -2
- package/dist/wgpuShader.d.ts.map +1 -1
- package/dist/wgpuShader.js +1 -1
- package/dist/wgpuShader.js.map +1 -1
- package/dist/wgpuShaderBinding.d.ts +3 -1
- package/dist/wgpuShaderBinding.d.ts.map +1 -1
- package/dist/wgpuShaderBinding.js.map +1 -1
- package/dist/wgpuShaderRegistry.d.ts +1 -1
- package/dist/wgpuShaderRegistry.d.ts.map +1 -1
- package/dist/wgpuShaderRegistry.js.map +1 -1
- package/dist/wgpuTestHelper.d.ts +2 -1
- package/dist/wgpuTestHelper.d.ts.map +1 -1
- package/dist/wgpuTextureRenderTarget.d.ts +5 -1
- package/dist/wgpuTextureRenderTarget.d.ts.map +1 -1
- package/dist/wgpuTextureRenderTarget.js.map +1 -1
- package/dist/wgpuTextureResolver.d.ts +3 -1
- package/dist/wgpuTextureResolver.d.ts.map +1 -1
- package/dist/wgpuTextureResolver.js +2 -1
- package/dist/wgpuTextureResolver.js.map +1 -1
- package/dist/wgpuTextureUpload.d.ts +1 -1
- package/package.json +32 -12
- package/src/enableWgpuTextureResolverGuards.test.ts +2 -1
- package/src/explainWgpuTextureResolution.test.ts +1 -1
- package/src/wgpuCompressedTexture.test.ts +4 -2
- package/src/wgpuDeviceLoss.test.ts +2 -2
- package/src/wgpuDraw.test.ts +6 -9
- package/src/wgpuExternalTexture.test.ts +1 -1
- package/src/wgpuHost.test.ts +1 -1
- package/src/wgpuMipmap.test.ts +1 -2
- package/src/wgpuQuadMaterialRegistry.test.ts +6 -8
- package/src/wgpuRenderState.test.ts +7 -7
- package/src/wgpuRenderTarget.test.ts +1 -2
- package/src/wgpuRenderTexture.test.ts +3 -2
- package/src/wgpuScreenCapture.test.ts +1 -1
- package/src/wgpuScreenRenderTarget.test.ts +2 -1
- package/src/wgpuShader.test.ts +2 -1
- package/src/wgpuShaderBinding.test.ts +1 -1
- package/src/wgpuShaderRegistry.test.ts +1 -2
- package/src/wgpuTextureResolver.test.ts +4 -2
- package/src/wgpuTextureUpload.test.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compressedTextureDecoderContract.js","sourceRoot":"","sources":["../../src/compressed-texture-decoder-contract/compressedTextureDecoderContract.ts"],"names":[],"mappings":""}
|
package/dist/contract.d.ts
CHANGED
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,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|
package/dist/contract.js
CHANGED
package/dist/contract.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type { HostWgpuCapabilities } from './types/Host.ts';
|
|
2
|
+
export type { WgpuAdapterCapabilities } from './types/WgpuAdapterCapabilities.ts';
|
|
3
|
+
export type { WgpuCompressedTextureDecoder } from '@flighthq/render-wgpu/compressed-texture-decoder-contract';
|
|
4
|
+
export type { WgpuCompressedTextureSupport } from './types/WgpuCompressedTextureSupport.ts';
|
|
5
|
+
export type { WgpuCompressedTextureUploader } from './types/WgpuCompressedTextureUploader.ts';
|
|
6
|
+
export type { WgpuColorAdjustmentMaterialFeature, WgpuColorAdjustmentMaterialFeatureGuard, } from './types/WgpuColorAdjustmentMaterialFeature.ts';
|
|
7
|
+
export type { WgpuCustomMaterialShaderSource } from './types/WgpuCustomMaterialShaderSource.ts';
|
|
8
|
+
export type { WgpuDeviceRuntime, WgpuDeviceRuntimeResources } from './types/WgpuDeviceRuntime.ts';
|
|
9
|
+
export type { WgpuDeviceSignals } from './types/WgpuDeviceSignals.ts';
|
|
10
|
+
export type { WgpuDeviceState } from './types/WgpuDeviceState.ts';
|
|
11
|
+
export type { WgpuEffectContext, WgpuEffectRegistration, WgpuEffectResolver, WgpuEffectRunner, } from './types/WgpuEffectState.ts';
|
|
12
|
+
export type { WgpuFullscreenPipeline } from './types/WgpuFullscreenPipeline.ts';
|
|
13
|
+
export type { HostWgpuCapability, WgpuHostAcquisition, WgpuHostAcquisitionOptions, WgpuPresentationSurface, WgpuSurfaceAttachResult, WgpuSurfaceAttachment, } from './types/WgpuHost.ts';
|
|
14
|
+
export type { WgpuMeshMaterialRenderer } from './types/WgpuMeshMaterialRenderer.ts';
|
|
15
|
+
export type { WgpuModifierCompileContext, WgpuModifierContribution, WgpuModifierSnippet, } from './types/WgpuModifierSnippet.ts';
|
|
16
|
+
export type { WgpuParticleResources } from './types/WgpuParticleResources.ts';
|
|
17
|
+
export type { WgpuQuadBatchResources } from './types/WgpuQuadBatchResources.ts';
|
|
18
|
+
export type { WgpuQuadMaterialRenderer } from './types/WgpuQuadMaterialRenderer.ts';
|
|
19
|
+
export type { WgpuRenderOptions } from './types/WgpuRenderOptions.ts';
|
|
20
|
+
export type { WgpuRenderPass, WgpuRenderPassViewport, WgpuSavedPassState } from './types/WgpuRenderPass.ts';
|
|
21
|
+
export type { WgpuBindGroupLayouts, WgpuBitmapShader, WgpuClipContourEntry, WgpuClipContourPipelines, WgpuColorAdjustmentFlush, WgpuMeshInstanceBufferSlot, WgpuOffscreenRenderStateResult, WgpuQuadBatchWriterBufferSlot, WgpuRenderRegistries, WgpuRenderState, WgpuRenderStateRuntime, WgpuScissorRect, WgpuShapeMeshBuffers, WgpuShapeMeshPipeline, WgpuTextureBindings, WgpuTextureEntry, WgpuTextureResource, WgpuTextureSourceTextureEntry, WgpuVideoTextureEntry, } from './types/WgpuRenderState.ts';
|
|
22
|
+
export type { WgpuRenderStateOptions } from './types/WgpuRenderStateOptions.ts';
|
|
23
|
+
export type { WgpuRenderTarget, WgpuRenderTargetPool, WgpuScreenRenderTarget, WgpuScreenRenderTargetOptions, WgpuTextureRenderTarget, } from './types/WgpuRenderTarget.ts';
|
|
24
|
+
export type { WgpuRenderTextureEntry, WgpuRenderTextureExplanation, WgpuRenderTextureGuard, WgpuRenderTexturePool, WgpuRenderTextureStatus, } from './types/WgpuRenderTexture.ts';
|
|
25
|
+
export type { WgpuScene3DPass } from './types/WgpuScene3DRuntime.ts';
|
|
26
|
+
export type { WgpuShapeMesh } from './types/WgpuShapeMesh.ts';
|
|
27
|
+
export type { WgpuSkinningAdapter } from './types/WgpuSkinningAdapter.ts';
|
|
28
|
+
export type { WgpuSurface } from './types/WgpuSurface.ts';
|
|
29
|
+
export type { WgpuTextureResolver } from './types/WgpuTextureResolver.ts';
|
|
30
|
+
export type { WgpuUniformEndiannessExplanation, WgpuUniformEndiannessStatus } from './types/WgpuUniformEndianness.ts';
|
|
31
|
+
export type { WgpuVelocityContext, WgpuVelocityWriter } from './types/WgpuVelocityWriter.ts';
|
|
32
|
+
//# sourceMappingURL=contract.render-wgpu-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.render-wgpu-types.d.ts","sourceRoot":"","sources":["../src/contract.render-wgpu-types.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAClF,YAAY,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AAC9G,YAAY,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAC5F,YAAY,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAC9F,YAAY,EACV,kCAAkC,EAClC,uCAAuC,GACxC,MAAM,+CAA+C,CAAC;AACvD,YAAY,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAChG,YAAY,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAClG,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,YAAY,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,YAAY,EACV,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,YAAY,EACV,0BAA0B,EAC1B,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,gCAAgC,CAAC;AACxC,YAAY,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,YAAY,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,YAAY,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC5G,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,EAC7B,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,6BAA6B,EAC7B,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,YAAY,EAAE,gCAAgC,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACtH,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract.render-wgpu-types.js","sourceRoot":"","sources":["../src/contract.render-wgpu-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LogState } from '@flighthq/log/contract';
|
|
2
|
-
import type { WgpuRenderState } from '
|
|
2
|
+
import type { WgpuRenderState } from './contract.render-wgpu-types.ts';
|
|
3
3
|
export declare function areWgpuTextureResolverGuardsEnabled(state: WgpuRenderState): boolean;
|
|
4
4
|
export declare function enableWgpuTextureResolverGuards(state: WgpuRenderState, logState: LogState | null): void;
|
|
5
5
|
//# sourceMappingURL=enableWgpuTextureResolverGuards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enableWgpuTextureResolverGuards.d.ts","sourceRoot":"","sources":["../src/enableWgpuTextureResolverGuards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"enableWgpuTextureResolverGuards.d.ts","sourceRoot":"","sources":["../src/enableWgpuTextureResolverGuards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAIvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAEnF;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI,CAIvG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { logOnce } from '@flighthq/log/contract';
|
|
2
|
+
import { LogLevel } from '@flighthq/log/contract';
|
|
2
3
|
import { areRenderRegistriesGuardsEnabled, enableRenderRegistriesGuards } from '@flighthq/render/contract';
|
|
3
|
-
import { LogLevel } from '@flighthq/types/contract';
|
|
4
4
|
import { getWgpuRenderStateRuntime } from './wgpuRenderState.js';
|
|
5
5
|
export function areWgpuTextureResolverGuardsEnabled(state) {
|
|
6
6
|
return areRenderRegistriesGuardsEnabled(state);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enableWgpuTextureResolverGuards.js","sourceRoot":"","sources":["../src/enableWgpuTextureResolverGuards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"enableWgpuTextureResolverGuards.js","sourceRoot":"","sources":["../src/enableWgpuTextureResolverGuards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,gCAAgC,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAG3G,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,UAAU,mCAAmC,CAAC,KAAsB;IACxE,OAAO,gCAAgC,CAAC,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,KAAsB,EAAE,QAAyB;IAC/F,4BAA4B,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IAC9C,MAAM,OAAO,GAAG,yBAAyB,CAAC,KAAK,CAAC,CAAC;IACjD,OAAO,CAAC,mBAAmB,GAAG,CAAC,aAAa,EAAE,EAAE,CAAC,uBAAuB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;AACpG,CAAC;AAED,SAAS,uBAAuB,CAAC,QAAyB,EAAE,KAAsB;IAChF,IAAI,QAAQ,KAAK,IAAI;QAAE,OAAO;IAC9B,2EAA2E;IAC3E,OAAO,CACL,QAAQ,EACR,CAAC,EACD,6BAA6B,EAC7B,QAAQ,CAAC,IAAI,EACb;QACE,OAAO,EACL,sOAAsO;QACxO,KAAK;KACN,EACD,aAAa,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import type { TextureLike, TextureResolutionExplanation
|
|
1
|
+
import type { TextureLike, TextureResolutionExplanation } from '@flighthq/texture/contract';
|
|
2
|
+
import type { WgpuRenderState } from './contract.render-wgpu-types.ts';
|
|
2
3
|
export declare function explainWgpuTextureResolution(state: WgpuRenderState, texture: Readonly<TextureLike>): TextureResolutionExplanation;
|
|
3
4
|
//# sourceMappingURL=explainWgpuTextureResolution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainWgpuTextureResolution.d.ts","sourceRoot":"","sources":["../src/explainWgpuTextureResolution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,4BAA4B,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"explainWgpuTextureResolution.d.ts","sourceRoot":"","sources":["../src/explainWgpuTextureResolution.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAE5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,eAAe,EACtB,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC,GAC7B,4BAA4B,CAO9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainWgpuTextureResolution.js","sourceRoot":"","sources":["../src/explainWgpuTextureResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"explainWgpuTextureResolution.js","sourceRoot":"","sources":["../src/explainWgpuTextureResolution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIlE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,UAAU,4BAA4B,CAC1C,KAAsB,EACtB,OAA8B;IAE9B,MAAM,IAAI,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAC3C,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IAC3D,OAAO;QACL,IAAI;QACJ,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,kBAAkB;KACnH,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { WgpuUniformEndiannessExplanation } from '
|
|
1
|
+
import type { WgpuUniformEndiannessExplanation } from './contract.render-wgpu-types.ts';
|
|
2
2
|
export declare function explainWgpuUniformEndianness(): WgpuUniformEndiannessExplanation;
|
|
3
3
|
//# sourceMappingURL=explainWgpuUniformEndianness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainWgpuUniformEndianness.d.ts","sourceRoot":"","sources":["../src/explainWgpuUniformEndianness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"explainWgpuUniformEndianness.d.ts","sourceRoot":"","sources":["../src/explainWgpuUniformEndianness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAOxF,wBAAgB,4BAA4B,IAAI,gCAAgC,CAG/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"explainWgpuUniformEndianness.js","sourceRoot":"","sources":["../src/explainWgpuUniformEndianness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"explainWgpuUniformEndianness.js","sourceRoot":"","sources":["../src/explainWgpuUniformEndianness.ts"],"names":[],"mappings":"AAIA,iGAAiG;AACjG,mGAAmG;AACnG,0FAA0F;AAC1F,mGAAmG;AACnG,6EAA6E;AAC7E,MAAM,UAAU,4BAA4B;IAC1C,MAAM,UAAU,GAAG,eAAe,EAAE,CAAC;IACrC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;AACvF,CAAC;AAED,SAAS,eAAe;IACtB,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;QAC/B,IAAI,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC;QACjC,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI;YAAE,OAAO,KAAK,CAAC;QACpC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI;YAAE,OAAO,QAAQ,CAAC;IACzC,CAAC;IAAC,MAAM,CAAC;QACP,2BAA2B;IAC7B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Host.d.ts","sourceRoot":"","sources":["../../src/types/Host.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Host.js","sourceRoot":"","sources":["../../src/types/Host.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuAdapterCapabilities.d.ts","sourceRoot":"","sources":["../../src/types/WgpuAdapterCapabilities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,yBAAyB,EAAE,OAAO,CAAC;IACnC,sBAAsB,EAAE,OAAO,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuAdapterCapabilities.js","sourceRoot":"","sources":["../../src/types/WgpuAdapterCapabilities.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ColorScaleBias } from '@flighthq/adjustments/contract';
|
|
2
|
+
import type { TintMaterialData } from '@flighthq/materials/contract';
|
|
3
|
+
import type { RenderProxy2D } from '@flighthq/render/contract';
|
|
4
|
+
import type { WgpuColorAdjustmentFlush, WgpuRenderState, WgpuRenderStateRuntime, WgpuShapeMeshBuffers } from './WgpuRenderState.ts';
|
|
5
|
+
import type { WgpuShapeMesh } from './WgpuShapeMesh.ts';
|
|
6
|
+
export interface WgpuColorAdjustmentMaterialFeature {
|
|
7
|
+
readonly fragmentShaderChunk: string;
|
|
8
|
+
readonly matrixFragmentShaderChunk: string;
|
|
9
|
+
drawShapeMeshes?(state: WgpuRenderState, renderProxy: RenderProxy2D, meshes: readonly WgpuShapeMesh[], buffers: WgpuShapeMeshBuffers): void;
|
|
10
|
+
record(runtime: WgpuRenderStateRuntime, colorScaleBias: ColorScaleBias | TintMaterialData | Readonly<Float32Array> | null | undefined, instanceIndex: number): void;
|
|
11
|
+
resolveFlush(state: WgpuRenderState, count: number): WgpuColorAdjustmentFlush | null;
|
|
12
|
+
}
|
|
13
|
+
export type WgpuColorAdjustmentMaterialFeatureGuard = (state: WgpuRenderState, colorScaleBias: Readonly<ColorScaleBias | TintMaterialData | Float32Array>) => void;
|
|
14
|
+
//# sourceMappingURL=WgpuColorAdjustmentMaterialFeature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuColorAdjustmentMaterialFeature.d.ts","sourceRoot":"","sources":["../../src/types/WgpuColorAdjustmentMaterialFeature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,EACV,wBAAwB,EACxB,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKxD,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,eAAe,CAAC,CACd,KAAK,EAAE,eAAe,EACtB,WAAW,EAAE,aAAa,EAC1B,MAAM,EAAE,SAAS,aAAa,EAAE,EAChC,OAAO,EAAE,oBAAoB,GAC5B,IAAI,CAAC;IACR,MAAM,CACJ,OAAO,EAAE,sBAAsB,EAC/B,cAAc,EAAE,cAAc,GAAG,gBAAgB,GAAG,QAAQ,CAAC,YAAY,CAAC,GAAG,IAAI,GAAG,SAAS,EAC7F,aAAa,EAAE,MAAM,GACpB,IAAI,CAAC;IACR,YAAY,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,wBAAwB,GAAG,IAAI,CAAC;CACtF;AAED,MAAM,MAAM,uCAAuC,GAAG,CACpD,KAAK,EAAE,eAAe,EACtB,cAAc,EAAE,QAAQ,CAAC,cAAc,GAAG,gBAAgB,GAAG,YAAY,CAAC,KACvE,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuColorAdjustmentMaterialFeature.js","sourceRoot":"","sources":["../../src/types/WgpuColorAdjustmentMaterialFeature.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuCompressedTextureSupport.d.ts","sourceRoot":"","sources":["../../src/types/WgpuCompressedTextureSupport.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuCompressedTextureSupport.js","sourceRoot":"","sources":["../../src/types/WgpuCompressedTextureSupport.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CompressedImageResource } from '@flighthq/image/contract';
|
|
2
|
+
import type { WgpuCompressedTextureDecoder } from '@flighthq/render-wgpu/compressed-texture-decoder-contract';
|
|
3
|
+
import type { TextureColorSpace } from '@flighthq/texture/contract';
|
|
4
|
+
import type { WgpuRenderState, WgpuTextureEntry } from './WgpuRenderState.ts';
|
|
5
|
+
export type WgpuCompressedTextureUploader = (state: WgpuRenderState, image: Readonly<CompressedImageResource>, decode: WgpuCompressedTextureDecoder | null, colorSpace?: TextureColorSpace) => WgpuTextureEntry | null;
|
|
6
|
+
//# sourceMappingURL=WgpuCompressedTextureUploader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuCompressedTextureUploader.d.ts","sourceRoot":"","sources":["../../src/types/WgpuCompressedTextureUploader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AAC9G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG9E,MAAM,MAAM,6BAA6B,GAAG,CAC1C,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,QAAQ,CAAC,uBAAuB,CAAC,EACxC,MAAM,EAAE,4BAA4B,GAAG,IAAI,EAC3C,UAAU,CAAC,EAAE,iBAAiB,KAC3B,gBAAgB,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuCompressedTextureUploader.js","sourceRoot":"","sources":["../../src/types/WgpuCompressedTextureUploader.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuCustomMaterialShaderSource.d.ts","sourceRoot":"","sources":["../../src/types/WgpuCustomMaterialShaderSource.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuCustomMaterialShaderSource.js","sourceRoot":"","sources":["../../src/types/WgpuCustomMaterialShaderSource.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { EntityRuntime } from '@flighthq/entity/contract';
|
|
2
|
+
import type { ImageResource } from '@flighthq/image/contract';
|
|
3
|
+
import type { ExternalTexture, RenderTexture } from '@flighthq/render/contract';
|
|
4
|
+
import type { TextureSource } from '@flighthq/texture/contract';
|
|
5
|
+
import type { WgpuDeviceSignals } from './WgpuDeviceSignals.ts';
|
|
6
|
+
import type { WgpuParticleResources } from './WgpuParticleResources.ts';
|
|
7
|
+
import type { WgpuQuadBatchResources } from './WgpuQuadBatchResources.ts';
|
|
8
|
+
import type { WgpuShapeMeshPipeline, WgpuTextureEntry, WgpuTextureSourceTextureEntry, WgpuVideoTextureEntry } from './WgpuRenderState.ts';
|
|
9
|
+
import type { WgpuRenderTextureEntry } from './WgpuRenderTexture.ts';
|
|
10
|
+
export interface WgpuDeviceRuntime extends EntityRuntime {
|
|
11
|
+
readonly device: GPUDevice;
|
|
12
|
+
references: number;
|
|
13
|
+
teardowns: Array<(device: GPUDevice) => void>;
|
|
14
|
+
lost: GPUDeviceLostInfo | null;
|
|
15
|
+
signals: WgpuDeviceSignals | null;
|
|
16
|
+
resources: WgpuDeviceRuntimeResources | null;
|
|
17
|
+
pipelineCache: Map<string, GPURenderPipeline>;
|
|
18
|
+
samplerCache: Map<number, GPUSampler>;
|
|
19
|
+
mipmapPipelineCache: Map<GPUTextureFormat, {
|
|
20
|
+
bindGroupLayout: GPUBindGroupLayout;
|
|
21
|
+
pipeline: GPURenderPipeline;
|
|
22
|
+
}>;
|
|
23
|
+
textureCache: WeakMap<CanvasImageSource, WgpuTextureEntry>;
|
|
24
|
+
textureSourcePremultipliedTextureCache: WeakMap<TextureSource, WgpuTextureSourceTextureEntry>;
|
|
25
|
+
textureSourcePremultipliedSrgbTextureCache: WeakMap<TextureSource, WgpuTextureSourceTextureEntry>;
|
|
26
|
+
textureSourceStraightTextureCache: WeakMap<TextureSource, WgpuTextureSourceTextureEntry>;
|
|
27
|
+
textureSourceStraightSrgbTextureCache: WeakMap<TextureSource, WgpuTextureSourceTextureEntry>;
|
|
28
|
+
videoTextureCache?: WeakMap<ImageResource, WgpuVideoTextureEntry>;
|
|
29
|
+
videoSrgbTextureCache?: WeakMap<ImageResource, WgpuVideoTextureEntry>;
|
|
30
|
+
wgpuExternalTextureCache?: WeakMap<ExternalTexture, WgpuTextureEntry>;
|
|
31
|
+
wgpuRenderTextureCache?: WeakMap<RenderTexture, WgpuRenderTextureEntry>;
|
|
32
|
+
sceneMeshUploadCache?: WeakMap<object, object> | null;
|
|
33
|
+
standardMaterialModule?: GPUShaderModule;
|
|
34
|
+
colorScaleBiasModule?: GPUShaderModule;
|
|
35
|
+
packedTintModule?: GPUShaderModule;
|
|
36
|
+
colorMatrixModule?: GPUShaderModule;
|
|
37
|
+
shapeMeshColorScaleBiasPipelines?: Map<string, WgpuShapeMeshPipeline>;
|
|
38
|
+
particleResources?: WgpuParticleResources;
|
|
39
|
+
quadBatchResources?: WgpuQuadBatchResources;
|
|
40
|
+
}
|
|
41
|
+
export interface WgpuDeviceRuntimeResources {
|
|
42
|
+
readonly linearSampler: GPUSampler;
|
|
43
|
+
readonly nearestSampler: GPUSampler;
|
|
44
|
+
readonly textureBindGroupLayout: GPUBindGroupLayout;
|
|
45
|
+
readonly uniformBindGroupLayout: GPUBindGroupLayout;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=WgpuDeviceRuntime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuDeviceRuntime.d.ts","sourceRoot":"","sources":["../../src/types/WgpuDeviceRuntime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EACV,qBAAqB,EACrB,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAErE,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC;IAK9C,IAAI,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC/B,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAElC,SAAS,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC7C,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAC9C,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACtC,mBAAmB,EAAE,GAAG,CAAC,gBAAgB,EAAE;QAAE,eAAe,EAAE,kBAAkB,CAAC;QAAC,QAAQ,EAAE,iBAAiB,CAAA;KAAE,CAAC,CAAC;IACjH,YAAY,EAAE,OAAO,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;IAC3D,sCAAsC,EAAE,OAAO,CAAC,aAAa,EAAE,6BAA6B,CAAC,CAAC;IAC9F,0CAA0C,EAAE,OAAO,CAAC,aAAa,EAAE,6BAA6B,CAAC,CAAC;IAClG,iCAAiC,EAAE,OAAO,CAAC,aAAa,EAAE,6BAA6B,CAAC,CAAC;IACzF,qCAAqC,EAAE,OAAO,CAAC,aAAa,EAAE,6BAA6B,CAAC,CAAC;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC;IAClE,qBAAqB,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC;IACtE,wBAAwB,CAAC,EAAE,OAAO,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;IACtE,sBAAsB,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,sBAAsB,CAAC,CAAC;IACxE,oBAAoB,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACtD,sBAAsB,CAAC,EAAE,eAAe,CAAC;IACzC,oBAAoB,CAAC,EAAE,eAAe,CAAC;IACvC,gBAAgB,CAAC,EAAE,eAAe,CAAC;IACnC,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,gCAAgC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACtE,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAC1C,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;CAC7C;AAKD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;IACnC,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC;IACpC,QAAQ,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;IACpD,QAAQ,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;CACrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuDeviceRuntime.js","sourceRoot":"","sources":["../../src/types/WgpuDeviceRuntime.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuDeviceSignals.d.ts","sourceRoot":"","sources":["../../src/types/WgpuDeviceSignals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAUzD,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,MAAM,CAAC,iBAAiB,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuDeviceSignals.js","sourceRoot":"","sources":["../../src/types/WgpuDeviceSignals.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EntityRaw, EntityRuntime, EntityRuntimeKey } from '@flighthq/entity/contract';
|
|
2
|
+
export interface WgpuDeviceState extends EntityRaw {
|
|
3
|
+
[EntityRuntimeKey]: EntityRuntime | undefined;
|
|
4
|
+
readonly device: GPUDevice;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=WgpuDeviceState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuDeviceState.d.ts","sourceRoot":"","sources":["../../src/types/WgpuDeviceState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE5F,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,CAAC,gBAAgB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuDeviceState.js","sourceRoot":"","sources":["../../src/types/WgpuDeviceState.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Effect } from '@flighthq/effects/contract';
|
|
2
|
+
import type { WgpuRenderState } from './WgpuRenderState.ts';
|
|
3
|
+
import type { WgpuRenderTargetPool, WgpuTextureRenderTarget } from './WgpuRenderTarget.ts';
|
|
4
|
+
export interface WgpuEffectContext {
|
|
5
|
+
readonly state: WgpuRenderState;
|
|
6
|
+
readonly source: Readonly<WgpuTextureRenderTarget>;
|
|
7
|
+
readonly dest: Readonly<WgpuTextureRenderTarget>;
|
|
8
|
+
readonly pool: WgpuRenderTargetPool;
|
|
9
|
+
readonly sceneDepthTexture: GPUTexture | null;
|
|
10
|
+
readonly sceneVelocityTexture: GPUTexture | null;
|
|
11
|
+
}
|
|
12
|
+
export type WgpuEffectRunner = (ctx: Readonly<WgpuEffectContext>, effect: Readonly<Effect>) => void;
|
|
13
|
+
export type WgpuEffectResolver = (state: WgpuRenderState, effect: Readonly<Effect>) => boolean;
|
|
14
|
+
export interface WgpuEffectRegistration {
|
|
15
|
+
readonly isResolvable?: WgpuEffectResolver;
|
|
16
|
+
readonly runner: WgpuEffectRunner;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=WgpuEffectState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuEffectState.d.ts","sourceRoot":"","sources":["../../src/types/WgpuEffectState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAQ3F,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC;IACjD,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,iBAAiB,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,oBAAoB,EAAE,UAAU,GAAG,IAAI,CAAC;CAClD;AAKD,MAAM,MAAM,gBAAgB,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AAEpG,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,OAAO,CAAC;AAE/F,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAC3C,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuEffectState.js","sourceRoot":"","sources":["../../src/types/WgpuEffectState.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EntityRaw, EntityRuntime, EntityRuntimeKey } from '@flighthq/entity/contract';
|
|
2
|
+
export interface WgpuFullscreenPipeline extends EntityRaw {
|
|
3
|
+
[EntityRuntimeKey]: EntityRuntime | undefined;
|
|
4
|
+
readonly pipeline: GPURenderPipeline;
|
|
5
|
+
readonly pipelineLayout: GPUPipelineLayout;
|
|
6
|
+
readonly uniformBindGroupLayout: GPUBindGroupLayout;
|
|
7
|
+
readonly textureBindGroupLayouts: ReadonlyArray<GPUBindGroupLayout>;
|
|
8
|
+
readonly emptyUniformBindGroup: GPUBindGroup;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=WgpuFullscreenPipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuFullscreenPipeline.d.ts","sourceRoot":"","sources":["../../src/types/WgpuFullscreenPipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE5F,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,CAAC,gBAAgB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,cAAc,EAAE,iBAAiB,CAAC;IAC3C,QAAQ,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;IACpD,QAAQ,CAAC,uBAAuB,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACpE,QAAQ,CAAC,qBAAqB,EAAE,YAAY,CAAC;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuFullscreenPipeline.js","sourceRoot":"","sources":["../../src/types/WgpuFullscreenPipeline.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuHost.d.ts","sourceRoot":"","sources":["../../src/types/WgpuHost.ts"],"names":[],"mappings":"AACA,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuHost.js","sourceRoot":"","sources":["../../src/types/WgpuHost.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Camera3D } from '@flighthq/camera/contract';
|
|
2
|
+
import type { Scene3DLightBlock } from '@flighthq/lighting/contract';
|
|
3
|
+
import type { Material } from '@flighthq/materials/contract';
|
|
4
|
+
import type { MeshGeometry } from '@flighthq/meshgeometry/contract';
|
|
5
|
+
import type { Scene3DRenderProxy } from '@flighthq/render/contract';
|
|
6
|
+
import type { WgpuRenderState } from './WgpuRenderState.ts';
|
|
7
|
+
export interface WgpuMeshMaterialRenderer {
|
|
8
|
+
bind(state: WgpuRenderState, material: Readonly<Material> | null, lights: Readonly<Scene3DLightBlock>, camera: Readonly<Camera3D>): void;
|
|
9
|
+
draw(state: WgpuRenderState, proxy: Readonly<Scene3DRenderProxy>, geometry: Readonly<MeshGeometry>): void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=WgpuMeshMaterialRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuMeshMaterialRenderer.d.ts","sourceRoot":"","sources":["../../src/types/WgpuMeshMaterialRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAkB5D,MAAM,WAAW,wBAAwB;IAMvC,IAAI,CACF,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI,EACnC,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EACnC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,GACzB,IAAI,CAAC;IAMR,IAAI,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,QAAQ,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;CAC3G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuMeshMaterialRenderer.js","sourceRoot":"","sources":["../../src/types/WgpuMeshMaterialRenderer.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Modifier, ModifierDefinition } from '@flighthq/shading/contract';
|
|
2
|
+
import type { Texture } from '@flighthq/texture/contract';
|
|
3
|
+
export interface WgpuModifierCompileContext {
|
|
4
|
+
acquireTexture(texture: Readonly<Texture>): number;
|
|
5
|
+
uniformBase: number;
|
|
6
|
+
}
|
|
7
|
+
export interface WgpuModifierContribution {
|
|
8
|
+
declarations?: string;
|
|
9
|
+
source: string;
|
|
10
|
+
}
|
|
11
|
+
export interface WgpuModifierSnippet extends ModifierDefinition {
|
|
12
|
+
bind?(modifier: Readonly<Modifier>, out: Float32Array, offset: number): void;
|
|
13
|
+
contribution(modifier: Readonly<Modifier>, index: number, context: Readonly<WgpuModifierCompileContext>): WgpuModifierContribution;
|
|
14
|
+
textures?(modifier: Readonly<Modifier>, out: (Readonly<Texture> | null)[], offset: number): number;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=WgpuModifierSnippet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuModifierSnippet.d.ts","sourceRoot":"","sources":["../../src/types/WgpuModifierSnippet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,WAAW,0BAA0B;IACzC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB;AAKD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7E,YAAY,CACV,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAC5B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,QAAQ,CAAC,0BAA0B,CAAC,GAC5C,wBAAwB,CAAC;IAG5B,QAAQ,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;CACpG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuModifierSnippet.js","sourceRoot":"","sources":["../../src/types/WgpuModifierSnippet.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuParticleResources.d.ts","sourceRoot":"","sources":["../../src/types/WgpuParticleResources.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,uBAAuB,EAAE,kBAAkB,CAAC;IAC5C,MAAM,EAAE,eAAe,CAAC;IACxB,cAAc,EAAE,iBAAiB,CAAC;IAClC,SAAS,EAAE,GAAG,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuParticleResources.js","sourceRoot":"","sources":["../../src/types/WgpuParticleResources.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface WgpuQuadBatchResources {
|
|
2
|
+
instanceBindGroupLayout: GPUBindGroupLayout;
|
|
3
|
+
materialBindGroupLayout: GPUBindGroupLayout;
|
|
4
|
+
basePipelineLayout: GPUPipelineLayout;
|
|
5
|
+
materialPipelineLayout: GPUPipelineLayout;
|
|
6
|
+
pipelines: WeakMap<GPUShaderModule, Map<string, GPURenderPipeline>>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=WgpuQuadBatchResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuQuadBatchResources.d.ts","sourceRoot":"","sources":["../../src/types/WgpuQuadBatchResources.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,uBAAuB,EAAE,kBAAkB,CAAC;IAC5C,uBAAuB,EAAE,kBAAkB,CAAC;IAC5C,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,sBAAsB,EAAE,iBAAiB,CAAC;IAE1C,SAAS,EAAE,OAAO,CAAC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;CACrE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuQuadBatchResources.js","sourceRoot":"","sources":["../../src/types/WgpuQuadBatchResources.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Material, MaterialData } from '@flighthq/materials/contract';
|
|
2
|
+
import type { WgpuRenderState } from './WgpuRenderState.ts';
|
|
3
|
+
export interface WgpuQuadMaterialRenderer {
|
|
4
|
+
readonly instanceFloatCount: number;
|
|
5
|
+
getShaderModule(state: WgpuRenderState): GPUShaderModule;
|
|
6
|
+
packInstance?(state: WgpuRenderState, material: Readonly<Material> | null, materialData: MaterialData | null, out: Float32Array, offset: number): void;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=WgpuQuadMaterialRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuQuadMaterialRenderer.d.ts","sourceRoot":"","sources":["../../src/types/WgpuQuadMaterialRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAa5D,MAAM,WAAW,wBAAwB;IAIvC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IAOpC,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,eAAe,CAAC;IAKzD,YAAY,CAAC,CACX,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI,EACnC,YAAY,EAAE,YAAY,GAAG,IAAI,EACjC,GAAG,EAAE,YAAY,EACjB,MAAM,EAAE,MAAM,GACb,IAAI,CAAC;CACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WgpuQuadMaterialRenderer.js","sourceRoot":"","sources":["../../src/types/WgpuQuadMaterialRenderer.ts"],"names":[],"mappings":""}
|