@webgpu/types
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -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 { |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
51991
6
1
0
26