Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. GPUOutOfMemoryError
  4. GPUOutOfMemoryError()

GPUOutOfMemoryError: GPUOutOfMemoryError() constructor

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Note: This feature is available inWeb Workers.

TheGPUOutOfMemoryError() constructor creates a newGPUOutOfMemoryError object instance.

Syntax

js
new GPUOutOfMemoryError(message)

Parameters

message

A string providing a human-readable message that explains why the error occurred.

Examples

A developer would not manually use the constructor to create aGPUOutOfMemoryError object. The user agent uses this constructor to create an appropriate object when an out-of-memory error is surfaced byGPUDevice.popErrorScope or theuncapturederror event.

See the mainGPUOutOfMemoryError page for a specific example involving aGPUOutOfMemoryError object instance.

Specifications

Specification
WebGPU
# dom-gpuoutofmemoryerror-gpuoutofmemoryerror

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp