Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webgpu/types

Package Overview
Dependencies
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webgpu/types - npm Package Compare versions

Comparing version 0.0.31 to 0.0.32

README.md

18

dist/index.d.ts

@@ -33,3 +33,3 @@ // https://github.com/gpuweb/gpuweb/blob/38236513beaf98e1579b212c0df6f33bd19691ab/spec/index.bs

}
export type GPUOrigin3D = [number, number, number] | GPUOrigin3DDict;
export type GPUOrigin3D = number[] | GPUOrigin3DDict;

@@ -41,3 +41,3 @@ export interface GPUExtent3DDict {

}
export type GPUExtent3D = [number, number, number] | GPUExtent3DDict;
export type GPUExtent3D = number[] | GPUExtent3DDict;

@@ -62,2 +62,3 @@ export type GPUBindingResource =

| "sampled-texture"
| "multisampled-texture"
| "readonly-storage-texture"

@@ -143,3 +144,4 @@ | "writeonly-storage-texture";

| "rgb10a2unorm"
| "rg11b10float"
| "rg11b10ufloat"
| "rgb9e5ufloat"
| "rg32uint"

@@ -168,6 +170,6 @@ | "rg32sint"

| "bc6h-rgb-ufloat"
| "bc6h-rgb-sfloat"
| "bc6h-rgb-float"
| "bc7-rgba-unorm"
| "bc7-rgba-unorm-srgb";
export type GPUTextureComponentType = "float" | "sint" | "uint";
export type GPUTextureComponentType = "float" | "sint" | "uint" | "depth-comparison";
export type GPUTextureViewDimension =

@@ -277,3 +279,2 @@ | "1d"

textureComponentType?: GPUTextureComponentType;
multisampled?: boolean;
storageTextureFormat?: GPUTextureFormat;

@@ -774,3 +775,2 @@ }

setIndexBuffer(buffer: GPUBuffer, offset?: number, size?: number): void;
setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: number, size?: number): void;

@@ -816,3 +816,2 @@ setVertexBuffer(slot: number, buffer: GPUBuffer, offset?: number, size?: number): void;

setIndexBuffer(buffer: GPUBuffer, offset?: number): void;
setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: number, size?: number): void;

@@ -887,5 +886,4 @@ setVertexBuffer(slot: number, buffer: GPUBuffer, offset?: number): void;

setIndexBuffer(buffer: GPUBuffer, offset?: number): void;
setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: number, size?: number): void;
setVertexBuffer(slot: number, buffer: GPUBuffer, offset?: number): void;
setVertexBuffer(slot: number, buffer: GPUBuffer, offset?: number, size?: number): void;

@@ -892,0 +890,0 @@ draw(

{
"name": "@webgpu/types",
"version": "0.0.31",
"repository": "gpuweb/types",
"homepage": "https://github.com/gpuweb/types",
"bugs": "https://github.com/gpuweb/types/issues",
"version": "0.0.32",
"main": "",

@@ -5,0 +8,0 @@ "types": "dist/index.d.ts",

@@ -131,4 +131,5 @@ // https://github.com/gpuweb/gpuweb/blob/01b20b4ad93fabae1e8e0d7752515f69708d33e0/spec/index.bs

BGRA8UnormSRGB = 'bgra8unorm-srgb',
RGB9E5Ufloat = 'rgb9e5ufloat',
RGB10A2Unorm = 'rgb10a2unorm',
RG11B10Float = 'rg11b10float',
RG11B10Ufloat = 'rg11b10ufloat',
RG32Uint = 'rg32uint',

@@ -151,2 +152,3 @@ RG32Sint = 'rg32sint',

Uint = 'uint',
DepthComparison = 'depth-comparison',
}

@@ -153,0 +155,0 @@ export const enum TextureViewDimension {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc