@antv/g-device-api
Advanced tools
Comparing version 1.3.9 to 1.4.0
/// <reference types="@webgpu/types" /> | ||
import type { Bindings, BindingsDescriptor, Buffer, BufferDescriptor, ComputePass, ComputePipeline, ComputePipelineDescriptor, Device, DeviceLimits, InputLayout, InputLayoutDescriptor, Program, ProgramDescriptor, QueryPool, QueryPoolType, Readback, RenderPass, RenderPassDescriptor, RenderPipeline, RenderPipelineDescriptor, RenderTarget, RenderTargetDescriptor, Resource, Sampler, SamplerBinding, SamplerDescriptor, SwapChain, Texture, TextureDescriptor, VendorInfo } from '../api'; | ||
import { ClipSpaceNearZ, Format, ViewportOrigin } from '../api'; | ||
import type { glsl_compile as glsl_compile_ } from '../../rust/pkg/glsl_wgsl_compiler'; | ||
import type { glsl_compile as glsl_compile_, WGSLComposer } from '../../rust/pkg/glsl_wgsl_compiler'; | ||
import type { IDevice_WebGPU, TextureSharedDescriptor, TextureShared_WebGPU } from './interfaces'; | ||
@@ -34,3 +34,4 @@ export declare class Device_WebGPU implements SwapChain, IDevice_WebGPU { | ||
private glsl_compile; | ||
constructor(adapter: GPUAdapter, device: GPUDevice, canvas: HTMLCanvasElement | OffscreenCanvas, canvasContext: GPUCanvasContext, glsl_compile: typeof glsl_compile_); | ||
private WGSLComposer; | ||
constructor(adapter: GPUAdapter, device: GPUDevice, canvas: HTMLCanvasElement | OffscreenCanvas, canvasContext: GPUCanvasContext, glsl_compile: typeof glsl_compile_, wGSLComposer: WGSLComposer); | ||
destroy(): void; | ||
@@ -37,0 +38,0 @@ configureSwapChain(width: number, height: number): void; |
/// <reference types="@webgpu/types" /> | ||
import type { Bindings, BindingsDescriptor, Buffer, BufferDescriptor, ComputePass, ComputePipeline, ComputePipelineDescriptor, Device, DeviceLimits, InputLayout, InputLayoutDescriptor, Program, ProgramDescriptor, QueryPool, QueryPoolType, Readback, RenderPass, RenderPassDescriptor, RenderPipeline, RenderPipelineDescriptor, RenderTarget, RenderTargetDescriptor, Resource, Sampler, SamplerBinding, SamplerDescriptor, SwapChain, Texture, TextureDescriptor, VendorInfo } from '../api'; | ||
import { ClipSpaceNearZ, Format, ViewportOrigin } from '../api'; | ||
import type { glsl_compile as glsl_compile_ } from '../../rust/pkg/glsl_wgsl_compiler'; | ||
import type { glsl_compile as glsl_compile_, WGSLComposer } from '../../rust/pkg/glsl_wgsl_compiler'; | ||
import type { IDevice_WebGPU, TextureSharedDescriptor, TextureShared_WebGPU } from './interfaces'; | ||
@@ -34,3 +34,4 @@ export declare class Device_WebGPU implements SwapChain, IDevice_WebGPU { | ||
private glsl_compile; | ||
constructor(adapter: GPUAdapter, device: GPUDevice, canvas: HTMLCanvasElement | OffscreenCanvas, canvasContext: GPUCanvasContext, glsl_compile: typeof glsl_compile_); | ||
private WGSLComposer; | ||
constructor(adapter: GPUAdapter, device: GPUDevice, canvas: HTMLCanvasElement | OffscreenCanvas, canvasContext: GPUCanvasContext, glsl_compile: typeof glsl_compile_, wGSLComposer: WGSLComposer); | ||
destroy(): void; | ||
@@ -37,0 +38,0 @@ configureSwapChain(width: number, height: number): void; |
/// <reference types="@webgpu/types" /> | ||
import type { Bindings, BindingsDescriptor, Buffer, BufferDescriptor, ComputePass, ComputePipeline, ComputePipelineDescriptor, Device, DeviceLimits, InputLayout, InputLayoutDescriptor, Program, ProgramDescriptor, QueryPool, QueryPoolType, Readback, RenderPass, RenderPassDescriptor, RenderPipeline, RenderPipelineDescriptor, RenderTarget, RenderTargetDescriptor, Resource, Sampler, SamplerBinding, SamplerDescriptor, SwapChain, Texture, TextureDescriptor, VendorInfo } from '../api'; | ||
import { ClipSpaceNearZ, Format, ViewportOrigin } from '../api'; | ||
import type { glsl_compile as glsl_compile_ } from '../../rust/pkg/glsl_wgsl_compiler'; | ||
import type { glsl_compile as glsl_compile_, WGSLComposer } from '../../rust/pkg/glsl_wgsl_compiler'; | ||
import type { IDevice_WebGPU, TextureSharedDescriptor, TextureShared_WebGPU } from './interfaces'; | ||
@@ -34,3 +34,4 @@ export declare class Device_WebGPU implements SwapChain, IDevice_WebGPU { | ||
private glsl_compile; | ||
constructor(adapter: GPUAdapter, device: GPUDevice, canvas: HTMLCanvasElement | OffscreenCanvas, canvasContext: GPUCanvasContext, glsl_compile: typeof glsl_compile_); | ||
private WGSLComposer; | ||
constructor(adapter: GPUAdapter, device: GPUDevice, canvas: HTMLCanvasElement | OffscreenCanvas, canvasContext: GPUCanvasContext, glsl_compile: typeof glsl_compile_, wGSLComposer: WGSLComposer); | ||
destroy(): void; | ||
@@ -37,0 +38,0 @@ configureSwapChain(width: number, height: number): void; |
{ | ||
"name": "@antv/g-device-api", | ||
"version": "1.3.9", | ||
"version": "1.4.0", | ||
"description": "A Device API references WebGPU implementations", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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 too big to display
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
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 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
3
2164918
164
24297