github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis14.js.wasm.yaml (about)

     1  - File: webref/webgpu.idl
     2    Dict:
     3      Name: GPUCommandBufferDescriptor
     4      Inherits: GPUObjectDescriptorBase
     5      Fields:
     6        - Name: label
     7          Default: '""'
     8          Type:
     9            Name: USVString
    10  - File: webref/webgpu.idl
    11    Interface:
    12      Name: GPUCommandEncoder
    13      ExtAttrs:
    14        - Name: Exposed
    15          Values:
    16            - Window
    17            - DedicatedWorker
    18        - Name: SecureContext
    19      Attrs:
    20        - Name: label
    21          Type:
    22            Name: USVString
    23      Operations:
    24        - Name: beginRenderPass
    25          Args:
    26            - Name: descriptor
    27              Type:
    28                Name: GPURenderPassDescriptor
    29          Returns:
    30            - Name: GPURenderPassEncoder
    31          ExtAttrs:
    32            - Name: Exposed
    33              Values:
    34                - Window
    35                - DedicatedWorker
    36            - Name: SecureContext
    37        - Name: beginComputePass
    38          Args:
    39            - Name: descriptor
    40              Optional: true
    41              Default: '{}'
    42              Type:
    43                Name: GPUComputePassDescriptor
    44          Returns:
    45            - Name: GPUComputePassEncoder
    46          ExtAttrs:
    47            - Name: Exposed
    48              Values:
    49                - Window
    50                - DedicatedWorker
    51            - Name: SecureContext
    52        - Name: copyBufferToBuffer
    53          Args:
    54            - Name: source
    55              Type:
    56                Name: GPUBuffer
    57            - Name: sourceOffset
    58              Type:
    59                Name: GPUSize64
    60            - Name: destination
    61              Type:
    62                Name: GPUBuffer
    63            - Name: destinationOffset
    64              Type:
    65                Name: GPUSize64
    66            - Name: size
    67              Type:
    68                Name: GPUSize64
    69          Returns:
    70            - Name: undefined
    71          ExtAttrs:
    72            - Name: Exposed
    73              Values:
    74                - Window
    75                - DedicatedWorker
    76            - Name: SecureContext
    77        - Name: copyBufferToTexture
    78          Args:
    79            - Name: source
    80              Type:
    81                Name: GPUImageCopyBuffer
    82            - Name: destination
    83              Type:
    84                Name: GPUImageCopyTexture
    85            - Name: copySize
    86              Type:
    87                Name: GPUExtent3D
    88          Returns:
    89            - Name: undefined
    90          ExtAttrs:
    91            - Name: Exposed
    92              Values:
    93                - Window
    94                - DedicatedWorker
    95            - Name: SecureContext
    96        - Name: copyTextureToBuffer
    97          Args:
    98            - Name: source
    99              Type:
   100                Name: GPUImageCopyTexture
   101            - Name: destination
   102              Type:
   103                Name: GPUImageCopyBuffer
   104            - Name: copySize
   105              Type:
   106                Name: GPUExtent3D
   107          Returns:
   108            - Name: undefined
   109          ExtAttrs:
   110            - Name: Exposed
   111              Values:
   112                - Window
   113                - DedicatedWorker
   114            - Name: SecureContext
   115        - Name: copyTextureToTexture
   116          Args:
   117            - Name: source
   118              Type:
   119                Name: GPUImageCopyTexture
   120            - Name: destination
   121              Type:
   122                Name: GPUImageCopyTexture
   123            - Name: copySize
   124              Type:
   125                Name: GPUExtent3D
   126          Returns:
   127            - Name: undefined
   128          ExtAttrs:
   129            - Name: Exposed
   130              Values:
   131                - Window
   132                - DedicatedWorker
   133            - Name: SecureContext
   134        - Name: clearBuffer
   135          Args:
   136            - Name: buffer
   137              Type:
   138                Name: GPUBuffer
   139            - Name: offset
   140              Optional: true
   141              Default: "0"
   142              Type:
   143                Name: GPUSize64
   144            - Name: size
   145              Optional: true
   146              Type:
   147                Name: GPUSize64
   148          Returns:
   149            - Name: undefined
   150          ExtAttrs:
   151            - Name: Exposed
   152              Values:
   153                - Window
   154                - DedicatedWorker
   155            - Name: SecureContext
   156        - Name: writeTimestamp
   157          Args:
   158            - Name: querySet
   159              Type:
   160                Name: GPUQuerySet
   161            - Name: queryIndex
   162              Type:
   163                Name: GPUSize32
   164          Returns:
   165            - Name: undefined
   166          ExtAttrs:
   167            - Name: Exposed
   168              Values:
   169                - Window
   170                - DedicatedWorker
   171            - Name: SecureContext
   172        - Name: resolveQuerySet
   173          Args:
   174            - Name: querySet
   175              Type:
   176                Name: GPUQuerySet
   177            - Name: firstQuery
   178              Type:
   179                Name: GPUSize32
   180            - Name: queryCount
   181              Type:
   182                Name: GPUSize32
   183            - Name: destination
   184              Type:
   185                Name: GPUBuffer
   186            - Name: destinationOffset
   187              Type:
   188                Name: GPUSize64
   189          Returns:
   190            - Name: undefined
   191          ExtAttrs:
   192            - Name: Exposed
   193              Values:
   194                - Window
   195                - DedicatedWorker
   196            - Name: SecureContext
   197        - Name: finish
   198          Args:
   199            - Name: descriptor
   200              Optional: true
   201              Default: '{}'
   202              Type:
   203                Name: GPUCommandBufferDescriptor
   204          Returns:
   205            - Name: GPUCommandBuffer
   206          ExtAttrs:
   207            - Name: Exposed
   208              Values:
   209                - Window
   210                - DedicatedWorker
   211            - Name: SecureContext
   212        - Name: pushDebugGroup
   213          Args:
   214            - Name: groupLabel
   215              Type:
   216                Name: USVString
   217          Returns:
   218            - Name: undefined
   219        - Name: popDebugGroup
   220          Returns:
   221            - Name: undefined
   222        - Name: insertDebugMarker
   223          Args:
   224            - Name: markerLabel
   225              Type:
   226                Name: USVString
   227          Returns:
   228            - Name: undefined
   229  - File: webref/webgpu.idl
   230    Dict:
   231      Name: GPUCommandEncoderDescriptor
   232      Inherits: GPUObjectDescriptorBase
   233      Fields:
   234        - Name: label
   235          Default: '""'
   236          Type:
   237            Name: USVString
   238  - File: webref/webgpu.idl
   239    Enum:
   240      Name: GPUCompareFunction
   241      Values:
   242        - never
   243        - less
   244        - equal
   245        - less-equal
   246        - greater
   247        - not-equal
   248        - greater-equal
   249        - always
   250  - File: webref/webgpu.idl
   251    Interface:
   252      Name: GPUCompilationInfo
   253      ExtAttrs:
   254        - Name: Exposed
   255          Values:
   256            - Window
   257            - DedicatedWorker
   258        - Name: Serializable
   259        - Name: SecureContext
   260      Attrs:
   261        - Name: messages
   262          Readonly: true
   263          Type:
   264            Name: FrozenArray
   265            Params:
   266              - Name: GPUCompilationMessage
   267          ExtAttrs:
   268            - Name: Exposed
   269              Values:
   270                - Window
   271                - DedicatedWorker
   272            - Name: Serializable
   273            - Name: SecureContext
   274  - File: webref/webgpu.idl
   275    Interface:
   276      Name: GPUCompilationMessage
   277      ExtAttrs:
   278        - Name: Exposed
   279          Values:
   280            - Window
   281            - DedicatedWorker
   282        - Name: Serializable
   283        - Name: SecureContext
   284      Attrs:
   285        - Name: message
   286          Readonly: true
   287          Type:
   288            Name: DOMString
   289          ExtAttrs:
   290            - Name: Exposed
   291              Values:
   292                - Window
   293                - DedicatedWorker
   294            - Name: Serializable
   295            - Name: SecureContext
   296        - Name: type
   297          Readonly: true
   298          Type:
   299            Name: GPUCompilationMessageType
   300          ExtAttrs:
   301            - Name: Exposed
   302              Values:
   303                - Window
   304                - DedicatedWorker
   305            - Name: Serializable
   306            - Name: SecureContext
   307        - Name: lineNum
   308          Readonly: true
   309          Type:
   310            Name: unsigned long long
   311          ExtAttrs:
   312            - Name: Exposed
   313              Values:
   314                - Window
   315                - DedicatedWorker
   316            - Name: Serializable
   317            - Name: SecureContext
   318        - Name: linePos
   319          Readonly: true
   320          Type:
   321            Name: unsigned long long
   322          ExtAttrs:
   323            - Name: Exposed
   324              Values:
   325                - Window
   326                - DedicatedWorker
   327            - Name: Serializable
   328            - Name: SecureContext
   329        - Name: offset
   330          Readonly: true
   331          Type:
   332            Name: unsigned long long
   333          ExtAttrs:
   334            - Name: Exposed
   335              Values:
   336                - Window
   337                - DedicatedWorker
   338            - Name: Serializable
   339            - Name: SecureContext
   340        - Name: length
   341          Readonly: true
   342          Type:
   343            Name: unsigned long long
   344          ExtAttrs:
   345            - Name: Exposed
   346              Values:
   347                - Window
   348                - DedicatedWorker
   349            - Name: Serializable
   350            - Name: SecureContext
   351  - File: webref/webgpu.idl
   352    Enum:
   353      Name: GPUCompilationMessageType
   354      Values:
   355        - error
   356        - warning
   357        - info
   358  - File: webref/webgpu.idl
   359    Dict:
   360      Name: GPUComputePassDescriptor
   361      Inherits: GPUObjectDescriptorBase
   362      Fields:
   363        - Name: timestampWrites
   364          Type:
   365            Name: GPUComputePassTimestampWrites
   366        - Name: label
   367          Default: '""'
   368          Type:
   369            Name: USVString
   370  - File: webref/webgpu.idl
   371    Interface:
   372      Name: GPUComputePassEncoder
   373      ExtAttrs:
   374        - Name: Exposed
   375          Values:
   376            - Window
   377            - DedicatedWorker
   378        - Name: SecureContext
   379      Attrs:
   380        - Name: label
   381          Type:
   382            Name: USVString
   383      Operations:
   384        - Name: setPipeline
   385          Args:
   386            - Name: pipeline
   387              Type:
   388                Name: GPUComputePipeline
   389          Returns:
   390            - Name: undefined
   391          ExtAttrs:
   392            - Name: Exposed
   393              Values:
   394                - Window
   395                - DedicatedWorker
   396            - Name: SecureContext
   397        - Name: dispatchWorkgroups
   398          Args:
   399            - Name: workgroupCountX
   400              Type:
   401                Name: GPUSize32
   402            - Name: workgroupCountY
   403              Optional: true
   404              Default: "1"
   405              Type:
   406                Name: GPUSize32
   407            - Name: workgroupCountZ
   408              Optional: true
   409              Default: "1"
   410              Type:
   411                Name: GPUSize32
   412          Returns:
   413            - Name: undefined
   414          ExtAttrs:
   415            - Name: Exposed
   416              Values:
   417                - Window
   418                - DedicatedWorker
   419            - Name: SecureContext
   420        - Name: dispatchWorkgroupsIndirect
   421          Args:
   422            - Name: indirectBuffer
   423              Type:
   424                Name: GPUBuffer
   425            - Name: indirectOffset
   426              Type:
   427                Name: GPUSize64
   428          Returns:
   429            - Name: undefined
   430          ExtAttrs:
   431            - Name: Exposed
   432              Values:
   433                - Window
   434                - DedicatedWorker
   435            - Name: SecureContext
   436        - Name: end
   437          Returns:
   438            - Name: undefined
   439          ExtAttrs:
   440            - Name: Exposed
   441              Values:
   442                - Window
   443                - DedicatedWorker
   444            - Name: SecureContext
   445        - Name: pushDebugGroup
   446          Args:
   447            - Name: groupLabel
   448              Type:
   449                Name: USVString
   450          Returns:
   451            - Name: undefined
   452        - Name: popDebugGroup
   453          Returns:
   454            - Name: undefined
   455        - Name: insertDebugMarker
   456          Args:
   457            - Name: markerLabel
   458              Type:
   459                Name: USVString
   460          Returns:
   461            - Name: undefined
   462        - Name: setBindGroup
   463          Args:
   464            - Name: index
   465              Type:
   466                Name: GPUIndex32
   467            - Name: bindGroup
   468              Type:
   469                Name: GPUBindGroup
   470                Nullable: true
   471            - Name: dynamicOffsets
   472              Optional: true
   473              Default: '[]'
   474              Type:
   475                Name: sequence
   476                Params:
   477                  - Name: GPUBufferDynamicOffset
   478          Returns:
   479            - Name: undefined
   480        - Name: setBindGroup
   481          Args:
   482            - Name: index
   483              Type:
   484                Name: GPUIndex32
   485            - Name: bindGroup
   486              Type:
   487                Name: GPUBindGroup
   488                Nullable: true
   489            - Name: dynamicOffsetsData
   490              Type:
   491                Name: Uint32Array
   492            - Name: dynamicOffsetsDataStart
   493              Type:
   494                Name: GPUSize64
   495            - Name: dynamicOffsetsDataLength
   496              Type:
   497                Name: GPUSize32
   498          Returns:
   499            - Name: undefined
   500  - File: webref/webgpu.idl
   501    Dict:
   502      Name: GPUComputePassTimestampWrites
   503      Fields:
   504        - Name: querySet
   505          Required: true
   506          Type:
   507            Name: GPUQuerySet
   508        - Name: beginningOfPassWriteIndex
   509          Type:
   510            Name: GPUSize32
   511        - Name: endOfPassWriteIndex
   512          Type:
   513            Name: GPUSize32
   514  - File: webref/webgpu.idl
   515    Interface:
   516      Name: GPUComputePipeline
   517      ExtAttrs:
   518        - Name: Exposed
   519          Values:
   520            - Window
   521            - DedicatedWorker
   522        - Name: SecureContext
   523      Attrs:
   524        - Name: label
   525          Type:
   526            Name: USVString
   527      Operations:
   528        - Name: getBindGroupLayout
   529          Args:
   530            - Name: index
   531              Type:
   532                Name: unsigned long
   533          Returns:
   534            - Name: GPUBindGroupLayout
   535          ExtAttrs:
   536            - Name: NewObject
   537  - File: webref/webgpu.idl
   538    Dict:
   539      Name: GPUComputePipelineDescriptor
   540      Inherits: GPUPipelineDescriptorBase
   541      Fields:
   542        - Name: compute
   543          Required: true
   544          Type:
   545            Name: GPUProgrammableStage
   546        - Name: layout
   547          Required: true
   548          Type:
   549            Union:
   550              - Name: GPUPipelineLayout
   551              - Name: GPUAutoLayoutMode
   552        - Name: label
   553          Default: '""'
   554          Type:
   555            Name: USVString
   556  - File: webref/webgpu.idl
   557    Enum:
   558      Name: GPUCullMode
   559      Values:
   560        - none
   561        - front
   562        - back
   563  - File: webref/webgpu.idl
   564    Typedef:
   565      Name: GPUDepthBias
   566      Type:
   567        Name: long
   568  - File: webref/webgpu.idl
   569    Dict:
   570      Name: GPUDepthStencilState
   571      Fields:
   572        - Name: format
   573          Required: true
   574          Type:
   575            Name: GPUTextureFormat
   576        - Name: depthWriteEnabled
   577          Required: true
   578          Type:
   579            Name: boolean
   580        - Name: depthCompare
   581          Required: true
   582          Type:
   583            Name: GPUCompareFunction
   584        - Name: stencilFront
   585          Default: '{}'
   586          Type:
   587            Name: GPUStencilFaceState
   588        - Name: stencilBack
   589          Default: '{}'
   590          Type:
   591            Name: GPUStencilFaceState
   592        - Name: stencilReadMask
   593          Default: "0xFFFFFFFF"
   594          Type:
   595            Name: GPUStencilValue
   596        - Name: stencilWriteMask
   597          Default: "0xFFFFFFFF"
   598          Type:
   599            Name: GPUStencilValue
   600        - Name: depthBias
   601          Default: "0"
   602          Type:
   603            Name: GPUDepthBias
   604        - Name: depthBiasSlopeScale
   605          Default: "0"
   606          Type:
   607            Name: float
   608        - Name: depthBiasClamp
   609          Default: "0"
   610          Type:
   611            Name: float
   612  - File: webref/webgpu.idl
   613    Interface:
   614      Name: GPUDevice
   615      Inherits: EventTarget
   616      ExtAttrs:
   617        - Name: Exposed
   618          Values:
   619            - Window
   620            - DedicatedWorker
   621        - Name: SecureContext
   622      Attrs:
   623        - Name: features
   624          Readonly: true
   625          Type:
   626            Name: GPUSupportedFeatures
   627          ExtAttrs:
   628            - Name: SameObject
   629            - Name: Exposed
   630              Values:
   631                - Window
   632                - DedicatedWorker
   633            - Name: SecureContext
   634        - Name: limits
   635          Readonly: true
   636          Type:
   637            Name: GPUSupportedLimits
   638          ExtAttrs:
   639            - Name: SameObject
   640            - Name: Exposed
   641              Values:
   642                - Window
   643                - DedicatedWorker
   644            - Name: SecureContext
   645        - Name: queue
   646          Readonly: true
   647          Type:
   648            Name: GPUQueue
   649          ExtAttrs:
   650            - Name: SameObject
   651            - Name: Exposed
   652              Values:
   653                - Window
   654                - DedicatedWorker
   655            - Name: SecureContext
   656        - Name: onuncapturederror
   657          Type:
   658            Name: EventHandler
   659          ExtAttrs:
   660            - Name: Exposed
   661              Values:
   662                - Window
   663                - DedicatedWorker
   664        - Name: lost
   665          Readonly: true
   666          Type:
   667            Name: Promise
   668            Params:
   669              - Name: GPUDeviceLostInfo
   670        - Name: label
   671          Type:
   672            Name: USVString
   673      Operations:
   674        - Name: destroy
   675          Returns:
   676            - Name: undefined
   677          ExtAttrs:
   678            - Name: Exposed
   679              Values:
   680                - Window
   681                - DedicatedWorker
   682            - Name: SecureContext
   683        - Name: createBuffer
   684          Args:
   685            - Name: descriptor
   686              Type:
   687                Name: GPUBufferDescriptor
   688          Returns:
   689            - Name: GPUBuffer
   690          ExtAttrs:
   691            - Name: Exposed
   692              Values:
   693                - Window
   694                - DedicatedWorker
   695            - Name: SecureContext
   696        - Name: createTexture
   697          Args:
   698            - Name: descriptor
   699              Type:
   700                Name: GPUTextureDescriptor
   701          Returns:
   702            - Name: GPUTexture
   703          ExtAttrs:
   704            - Name: Exposed
   705              Values:
   706                - Window
   707                - DedicatedWorker
   708            - Name: SecureContext
   709        - Name: createSampler
   710          Args:
   711            - Name: descriptor
   712              Optional: true
   713              Default: '{}'
   714              Type:
   715                Name: GPUSamplerDescriptor
   716          Returns:
   717            - Name: GPUSampler
   718          ExtAttrs:
   719            - Name: Exposed
   720              Values:
   721                - Window
   722                - DedicatedWorker
   723            - Name: SecureContext
   724        - Name: importExternalTexture
   725          Args:
   726            - Name: descriptor
   727              Type:
   728                Name: GPUExternalTextureDescriptor
   729          Returns:
   730            - Name: GPUExternalTexture
   731          ExtAttrs:
   732            - Name: Exposed
   733              Values:
   734                - Window
   735                - DedicatedWorker
   736            - Name: SecureContext
   737        - Name: createBindGroupLayout
   738          Args:
   739            - Name: descriptor
   740              Type:
   741                Name: GPUBindGroupLayoutDescriptor
   742          Returns:
   743            - Name: GPUBindGroupLayout
   744          ExtAttrs:
   745            - Name: Exposed
   746              Values:
   747                - Window
   748                - DedicatedWorker
   749            - Name: SecureContext
   750        - Name: createPipelineLayout
   751          Args:
   752            - Name: descriptor
   753              Type:
   754                Name: GPUPipelineLayoutDescriptor
   755          Returns:
   756            - Name: GPUPipelineLayout
   757          ExtAttrs:
   758            - Name: Exposed
   759              Values:
   760                - Window
   761                - DedicatedWorker
   762            - Name: SecureContext
   763        - Name: createBindGroup
   764          Args:
   765            - Name: descriptor
   766              Type:
   767                Name: GPUBindGroupDescriptor
   768          Returns:
   769            - Name: GPUBindGroup
   770          ExtAttrs:
   771            - Name: Exposed
   772              Values:
   773                - Window
   774                - DedicatedWorker
   775            - Name: SecureContext
   776        - Name: createShaderModule
   777          Args:
   778            - Name: descriptor
   779              Type:
   780                Name: GPUShaderModuleDescriptor
   781          Returns:
   782            - Name: GPUShaderModule
   783          ExtAttrs:
   784            - Name: Exposed
   785              Values:
   786                - Window
   787                - DedicatedWorker
   788            - Name: SecureContext
   789        - Name: createComputePipeline
   790          Args:
   791            - Name: descriptor
   792              Type:
   793                Name: GPUComputePipelineDescriptor
   794          Returns:
   795            - Name: GPUComputePipeline
   796          ExtAttrs:
   797            - Name: Exposed
   798              Values:
   799                - Window
   800                - DedicatedWorker
   801            - Name: SecureContext
   802        - Name: createRenderPipeline
   803          Args:
   804            - Name: descriptor
   805              Type:
   806                Name: GPURenderPipelineDescriptor
   807          Returns:
   808            - Name: GPURenderPipeline
   809          ExtAttrs:
   810            - Name: Exposed
   811              Values:
   812                - Window
   813                - DedicatedWorker
   814            - Name: SecureContext
   815        - Name: createComputePipelineAsync
   816          Args:
   817            - Name: descriptor
   818              Type:
   819                Name: GPUComputePipelineDescriptor
   820          Returns:
   821            - Name: Promise
   822              Params:
   823                - Name: GPUComputePipeline
   824          ExtAttrs:
   825            - Name: Exposed
   826              Values:
   827                - Window
   828                - DedicatedWorker
   829            - Name: SecureContext
   830        - Name: createRenderPipelineAsync
   831          Args:
   832            - Name: descriptor
   833              Type:
   834                Name: GPURenderPipelineDescriptor
   835          Returns:
   836            - Name: Promise
   837              Params:
   838                - Name: GPURenderPipeline
   839          ExtAttrs:
   840            - Name: Exposed
   841              Values:
   842                - Window
   843                - DedicatedWorker
   844            - Name: SecureContext
   845        - Name: createCommandEncoder
   846          Args:
   847            - Name: descriptor
   848              Optional: true
   849              Default: '{}'
   850              Type:
   851                Name: GPUCommandEncoderDescriptor
   852          Returns:
   853            - Name: GPUCommandEncoder
   854          ExtAttrs:
   855            - Name: Exposed
   856              Values:
   857                - Window
   858                - DedicatedWorker
   859            - Name: SecureContext
   860        - Name: createRenderBundleEncoder
   861          Args:
   862            - Name: descriptor
   863              Type:
   864                Name: GPURenderBundleEncoderDescriptor
   865          Returns:
   866            - Name: GPURenderBundleEncoder
   867          ExtAttrs:
   868            - Name: Exposed
   869              Values:
   870                - Window
   871                - DedicatedWorker
   872            - Name: SecureContext
   873        - Name: createQuerySet
   874          Args:
   875            - Name: descriptor
   876              Type:
   877                Name: GPUQuerySetDescriptor
   878          Returns:
   879            - Name: GPUQuerySet
   880          ExtAttrs:
   881            - Name: Exposed
   882              Values:
   883                - Window
   884                - DedicatedWorker
   885            - Name: SecureContext
   886        - Name: pushErrorScope
   887          Args:
   888            - Name: filter
   889              Type:
   890                Name: GPUErrorFilter
   891          Returns:
   892            - Name: undefined
   893        - Name: popErrorScope
   894          Returns:
   895            - Name: Promise
   896              Params:
   897                - Name: GPUError
   898                  Nullable: true
   899  - File: webref/webgpu.idl
   900    Dict:
   901      Name: GPUDeviceDescriptor
   902      Inherits: GPUObjectDescriptorBase
   903      Fields:
   904        - Name: requiredFeatures
   905          Default: '[]'
   906          Type:
   907            Name: sequence
   908            Params:
   909              - Name: GPUFeatureName
   910        - Name: requiredLimits
   911          Default: '{}'
   912          Type:
   913            Name: record
   914            Params:
   915              - Name: DOMString
   916              - Name: GPUSize64
   917        - Name: defaultQueue
   918          Default: '{}'
   919          Type:
   920            Name: GPUQueueDescriptor
   921        - Name: label
   922          Default: '""'
   923          Type:
   924            Name: USVString
   925  - File: webref/webgpu.idl
   926    Interface:
   927      Name: GPUDeviceLostInfo
   928      ExtAttrs:
   929        - Name: Exposed
   930          Values:
   931            - Window
   932            - DedicatedWorker
   933        - Name: SecureContext
   934      Attrs:
   935        - Name: reason
   936          Readonly: true
   937          Type:
   938            Name: GPUDeviceLostReason
   939          ExtAttrs:
   940            - Name: Exposed
   941              Values:
   942                - Window
   943                - DedicatedWorker
   944            - Name: SecureContext
   945        - Name: message
   946          Readonly: true
   947          Type:
   948            Name: DOMString
   949          ExtAttrs:
   950            - Name: Exposed
   951              Values:
   952                - Window
   953                - DedicatedWorker
   954            - Name: SecureContext
   955  - File: webref/webgpu.idl
   956    Enum:
   957      Name: GPUDeviceLostReason
   958      Values:
   959        - unknown
   960        - destroyed
   961  - File: webref/webgpu.idl
   962    Interface:
   963      Name: GPUError
   964      ExtAttrs:
   965        - Name: Exposed
   966          Values:
   967            - Window
   968            - DedicatedWorker
   969        - Name: SecureContext
   970      Attrs:
   971        - Name: message
   972          Readonly: true
   973          Type:
   974            Name: DOMString
   975          ExtAttrs:
   976            - Name: Exposed
   977              Values:
   978                - Window
   979                - DedicatedWorker
   980            - Name: SecureContext
   981  - File: webref/webgpu.idl
   982    Enum:
   983      Name: GPUErrorFilter
   984      Values:
   985        - validation
   986        - out-of-memory
   987        - internal
   988  - File: webref/webgpu.idl
   989    Typedef:
   990      Name: GPUExtent3D
   991      Type:
   992        Union:
   993          - Name: sequence
   994            Params:
   995              - Name: GPUIntegerCoordinate
   996          - Name: GPUExtent3DDict
   997  - File: webref/webgpu.idl
   998    Dict:
   999      Name: GPUExtent3DDict
  1000      Fields:
  1001        - Name: width
  1002          Required: true
  1003          Type:
  1004            Name: GPUIntegerCoordinate
  1005        - Name: height
  1006          Default: "1"
  1007          Type:
  1008            Name: GPUIntegerCoordinate
  1009        - Name: depthOrArrayLayers
  1010          Default: "1"
  1011          Type:
  1012            Name: GPUIntegerCoordinate
  1013  - File: webref/webgpu.idl
  1014    Interface:
  1015      Name: GPUExternalTexture
  1016      ExtAttrs:
  1017        - Name: Exposed
  1018          Values:
  1019            - Window
  1020            - DedicatedWorker
  1021        - Name: SecureContext
  1022      Attrs:
  1023        - Name: label
  1024          Type:
  1025            Name: USVString
  1026  - File: webref/webgpu.idl
  1027    Dict:
  1028      Name: GPUExternalTextureBindingLayout
  1029  - File: webref/webgpu.idl
  1030    Dict:
  1031      Name: GPUExternalTextureDescriptor
  1032      Inherits: GPUObjectDescriptorBase
  1033      Fields:
  1034        - Name: source
  1035          Required: true
  1036          Type:
  1037            Union:
  1038              - Name: HTMLVideoElement
  1039              - Name: VideoFrame
  1040        - Name: colorSpace
  1041          Default: '"srgb"'
  1042          Type:
  1043            Name: PredefinedColorSpace
  1044        - Name: label
  1045          Default: '""'
  1046          Type:
  1047            Name: USVString
  1048  - File: webref/webgpu.idl
  1049    Enum:
  1050      Name: GPUFeatureName
  1051      Values:
  1052        - depth-clip-control
  1053        - depth32float-stencil8
  1054        - texture-compression-bc
  1055        - texture-compression-etc2
  1056        - texture-compression-astc
  1057        - timestamp-query
  1058        - indirect-first-instance
  1059        - shader-f16
  1060        - rg11b10ufloat-renderable
  1061        - bgra8unorm-storage
  1062        - float32-filterable
  1063  - File: webref/webgpu.idl
  1064    Enum:
  1065      Name: GPUFilterMode
  1066      Values:
  1067        - nearest
  1068        - linear
  1069  - File: webref/webgpu.idl
  1070    Typedef:
  1071      Name: GPUFlagsConstant
  1072      Type:
  1073        Name: unsigned long
  1074  - File: webref/webgpu.idl
  1075    Dict:
  1076      Name: GPUFragmentState
  1077      Inherits: GPUProgrammableStage
  1078      Fields:
  1079        - Name: targets
  1080          Required: true
  1081          Type:
  1082            Name: sequence
  1083            Params:
  1084              - Name: GPUColorTargetState
  1085                Nullable: true
  1086        - Name: module
  1087          Required: true
  1088          Type:
  1089            Name: GPUShaderModule
  1090        - Name: entryPoint
  1091          Required: true
  1092          Type:
  1093            Name: USVString
  1094        - Name: constants
  1095          Type:
  1096            Name: record
  1097            Params:
  1098              - Name: USVString
  1099              - Name: GPUPipelineConstantValue
  1100  - File: webref/webgpu.idl
  1101    Enum:
  1102      Name: GPUFrontFace
  1103      Values:
  1104        - ccw
  1105        - cw
  1106  - File: webref/webgpu.idl
  1107    Dict:
  1108      Name: GPUImageCopyBuffer
  1109      Inherits: GPUImageDataLayout
  1110      Fields:
  1111        - Name: buffer
  1112          Required: true
  1113          Type:
  1114            Name: GPUBuffer
  1115        - Name: offset
  1116          Default: "0"
  1117          Type:
  1118            Name: GPUSize64
  1119        - Name: bytesPerRow
  1120          Type:
  1121            Name: GPUSize32
  1122        - Name: rowsPerImage
  1123          Type:
  1124            Name: GPUSize32
  1125  - File: webref/webgpu.idl
  1126    Dict:
  1127      Name: GPUImageCopyExternalImage
  1128      Fields:
  1129        - Name: source
  1130          Required: true
  1131          Type:
  1132            Name: GPUImageCopyExternalImageSource
  1133        - Name: origin
  1134          Default: '{}'
  1135          Type:
  1136            Name: GPUOrigin2D
  1137        - Name: flipY
  1138          Default: "false"
  1139          Type:
  1140            Name: boolean
  1141  - File: webref/webgpu.idl
  1142    Typedef:
  1143      Name: GPUImageCopyExternalImageSource
  1144      Type:
  1145        Union:
  1146          - Name: ImageBitmap
  1147          - Name: ImageData
  1148          - Name: HTMLImageElement
  1149          - Name: HTMLVideoElement
  1150          - Name: VideoFrame
  1151          - Name: HTMLCanvasElement
  1152          - Name: OffscreenCanvas
  1153  - File: webref/webgpu.idl
  1154    Dict:
  1155      Name: GPUImageCopyTexture
  1156      Fields:
  1157        - Name: texture
  1158          Required: true
  1159          Type:
  1160            Name: GPUTexture
  1161        - Name: mipLevel
  1162          Default: "0"
  1163          Type:
  1164            Name: GPUIntegerCoordinate
  1165        - Name: origin
  1166          Default: '{}'
  1167          Type:
  1168            Name: GPUOrigin3D
  1169        - Name: aspect
  1170          Default: '"all"'
  1171          Type:
  1172            Name: GPUTextureAspect
  1173  - File: webref/webgpu.idl
  1174    Dict:
  1175      Name: GPUImageCopyTextureTagged
  1176      Inherits: GPUImageCopyTexture
  1177      Fields:
  1178        - Name: colorSpace
  1179          Default: '"srgb"'
  1180          Type:
  1181            Name: PredefinedColorSpace
  1182        - Name: premultipliedAlpha
  1183          Default: "false"
  1184          Type:
  1185            Name: boolean
  1186        - Name: texture
  1187          Required: true
  1188          Type:
  1189            Name: GPUTexture
  1190        - Name: mipLevel
  1191          Default: "0"
  1192          Type:
  1193            Name: GPUIntegerCoordinate
  1194        - Name: origin
  1195          Default: '{}'
  1196          Type:
  1197            Name: GPUOrigin3D
  1198        - Name: aspect
  1199          Default: '"all"'
  1200          Type:
  1201            Name: GPUTextureAspect
  1202  - File: webref/webgpu.idl
  1203    Dict:
  1204      Name: GPUImageDataLayout
  1205      Fields:
  1206        - Name: offset
  1207          Default: "0"
  1208          Type:
  1209            Name: GPUSize64
  1210        - Name: bytesPerRow
  1211          Type:
  1212            Name: GPUSize32
  1213        - Name: rowsPerImage
  1214          Type:
  1215            Name: GPUSize32
  1216  - File: webref/webgpu.idl
  1217    Typedef:
  1218      Name: GPUIndex32
  1219      Type:
  1220        Name: unsigned long
  1221  - File: webref/webgpu.idl
  1222    Enum:
  1223      Name: GPUIndexFormat
  1224      Values:
  1225        - uint16
  1226        - uint32
  1227  - File: webref/webgpu.idl
  1228    Typedef:
  1229      Name: GPUIntegerCoordinate
  1230      Type:
  1231        Name: unsigned long
  1232  - File: webref/webgpu.idl
  1233    Typedef:
  1234      Name: GPUIntegerCoordinateOut
  1235      Type:
  1236        Name: unsigned long
  1237  - File: webref/webgpu.idl
  1238    Interface:
  1239      Name: GPUInternalError
  1240      Inherits: GPUError
  1241      ExtAttrs:
  1242        - Name: Exposed
  1243          Values:
  1244            - Window
  1245            - DedicatedWorker
  1246        - Name: SecureContext
  1247      Constructors:
  1248        - Args:
  1249            - Name: message
  1250              Type:
  1251                Name: DOMString
  1252          ExtAttrs:
  1253            - Name: Exposed
  1254              Values:
  1255                - Window
  1256                - DedicatedWorker
  1257            - Name: SecureContext
  1258  - File: webref/webgpu.idl
  1259    Enum:
  1260      Name: GPULoadOp
  1261      Values:
  1262        - load
  1263        - clear
  1264  - File: webref/webgpu.idl
  1265    Namespace:
  1266      Name: GPUMapMode
  1267      ExtAttrs:
  1268        - Name: Exposed
  1269          Values:
  1270            - Window
  1271            - DedicatedWorker
  1272        - Name: SecureContext
  1273      Constants:
  1274        - Name: READ
  1275          Value: "0x0001"
  1276          Type:
  1277            Name: GPUFlagsConstant
  1278        - Name: WRITE
  1279          Value: "0x0002"
  1280          Type:
  1281            Name: GPUFlagsConstant
  1282  - File: webref/webgpu.idl
  1283    Typedef:
  1284      Name: GPUMapModeFlags
  1285      Type:
  1286        Name: unsigned long
  1287  - File: webref/webgpu.idl
  1288    Enum:
  1289      Name: GPUMipmapFilterMode
  1290      Values:
  1291        - nearest
  1292        - linear
  1293  - File: webref/webgpu.idl
  1294    Dict:
  1295      Name: GPUMultisampleState
  1296      Fields:
  1297        - Name: count
  1298          Default: "1"
  1299          Type:
  1300            Name: GPUSize32
  1301        - Name: mask
  1302          Default: "0xFFFFFFFF"
  1303          Type:
  1304            Name: GPUSampleMask
  1305        - Name: alphaToCoverageEnabled
  1306          Default: "false"
  1307          Type:
  1308            Name: boolean
  1309  - File: webref/webgpu.idl
  1310    Dict:
  1311      Name: GPUObjectDescriptorBase
  1312      Fields:
  1313        - Name: label
  1314          Default: '""'
  1315          Type:
  1316            Name: USVString
  1317  - File: webref/webgpu.idl
  1318    Typedef:
  1319      Name: GPUOrigin2D
  1320      Type:
  1321        Union:
  1322          - Name: sequence
  1323            Params:
  1324              - Name: GPUIntegerCoordinate
  1325          - Name: GPUOrigin2DDict
  1326  - File: webref/webgpu.idl
  1327    Dict:
  1328      Name: GPUOrigin2DDict
  1329      Fields:
  1330        - Name: x
  1331          Default: "0"
  1332          Type:
  1333            Name: GPUIntegerCoordinate
  1334        - Name: "y"
  1335          Default: "0"
  1336          Type:
  1337            Name: GPUIntegerCoordinate