@luma.gl/webgpu
Advanced tools
Comparing version 9.0.0-alpha.26 to 9.0.0-alpha.27
/// <reference types="dist" /> | ||
import type { Binding, RenderPass } from '@luma.gl/api'; | ||
import type { Binding, RenderPass, TypedArray } from '@luma.gl/api'; | ||
import { Buffer, RenderPipeline, RenderPipelineProps } from '@luma.gl/api'; | ||
@@ -24,2 +24,4 @@ import type { WebGPUDevice } from '../webgpu-device'; | ||
setAttributes(attributes: Record<string, Buffer>): void; | ||
/** Constant attributes are not available in WebGPU */ | ||
setConstantAttributes(attributes: Record<string, TypedArray>): void; | ||
/** Set the bindings */ | ||
@@ -26,0 +28,0 @@ setBindings(bindings: Record<string, Binding>): void; |
@@ -50,2 +50,5 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
} | ||
setConstantAttributes(attributes) { | ||
console.error('not implemented'); | ||
} | ||
setBindings(bindings) { | ||
@@ -52,0 +55,0 @@ if (!isObjectEmpty(this.props.bindings)) { |
{ | ||
"name": "@luma.gl/webgpu", | ||
"version": "9.0.0-alpha.26", | ||
"version": "9.0.0-alpha.27", | ||
"description": "WebGPU adapter for the luma.gl API", | ||
@@ -40,7 +40,7 @@ "type": "module", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/api": "9.0.0-alpha.26", | ||
"@luma.gl/api": "9.0.0-alpha.27", | ||
"@probe.gl/env": "^4.0.2", | ||
"@webgpu/types": "^0.1.34" | ||
}, | ||
"gitHead": "e255f78c1c0a4555808c6e9282bcecb6accd147b" | ||
"gitHead": "4052244031cb80c27fa0e3fd4c3d5514daa08b78" | ||
} |
@@ -1,2 +0,4 @@ | ||
import type {Binding, RenderPass} from '@luma.gl/api'; | ||
// luma.gl MIT license | ||
import type {Binding, RenderPass, TypedArray} from '@luma.gl/api'; | ||
import {Buffer, RenderPipeline, RenderPipelineProps, cast, log, isObjectEmpty} from '@luma.gl/api'; | ||
@@ -86,2 +88,7 @@ import {applyParametersToRenderPipelineDescriptor} from '../helpers/webgpu-parameters'; | ||
/** Constant attributes are not available in WebGPU */ | ||
setConstantAttributes(attributes: Record<string, TypedArray>): void { | ||
console.error('not implemented'); | ||
} | ||
/** Set the bindings */ | ||
@@ -88,0 +95,0 @@ setBindings(bindings: Record<string, Binding>): void { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
535862
8693
+ Added@luma.gl/api@9.0.0-alpha.27(transitive)
- Removed@luma.gl/api@9.0.0-alpha.26(transitive)
Updated@luma.gl/api@9.0.0-alpha.27