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

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