Skip to content

Commit

Permalink
Update gpuweb
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Sep 30, 2024
1 parent 7541114 commit 711dee7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ interface GPURenderPipelineDescriptor
}

interface GPURequestAdapterOptions {
featureLevel?: any;
featureLevel?: string;
/**
* Optionally provides a hint indicating what class of adapter should be selected from
* the system's available adapters.
Expand Down Expand Up @@ -2070,6 +2070,10 @@ interface GPUCanvasContext {
* Removes the context configuration. Destroys any textures produced while configured.
*/
unconfigure(): undefined;
/**
* Returns the context configuration.
*/
getConfiguration(): GPUCanvasConfiguration | null;
/**
* Get the {@link GPUTexture} that will be composited to the document by the {@link GPUCanvasContext}
* next.
Expand Down
6 changes: 5 additions & 1 deletion generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ interface GPURenderPipelineDescriptor
}

interface GPURequestAdapterOptions {
featureLevel?: any;
featureLevel?: string;
powerPreference?: GPUPowerPreference;
forceFallbackAdapter?: boolean;
}
Expand Down Expand Up @@ -1929,6 +1929,10 @@ interface GPUCanvasContext {
* Removes the context configuration. Destroys any textures produced while configured.
*/
unconfigure(): undefined;
/**
* Returns the context configuration.
*/
getConfiguration(): GPUCanvasConfiguration | null;
/**
* Get the {@link GPUTexture} that will be composited to the document by the {@link GPUCanvasContext}
* next.
Expand Down
2 changes: 1 addition & 1 deletion gpuweb

0 comments on commit 711dee7

Please sign in to comment.