github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/apis14_js_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  package web
     5  
     6  import (
     7  	"github.com/primecitizens/pcz/std/ffi/js"
     8  	"github.com/primecitizens/pcz/std/plat/js/web/bindings"
     9  )
    10  
    11  type VideoTransferCharacteristics uint32
    12  
    13  const (
    14  	_ VideoTransferCharacteristics = iota
    15  
    16  	VideoTransferCharacteristics_BT709
    17  	VideoTransferCharacteristics_SMPTE_170M
    18  	VideoTransferCharacteristics_IEC61966_2_1
    19  	VideoTransferCharacteristics_LINEAR
    20  	VideoTransferCharacteristics_PQ
    21  	VideoTransferCharacteristics_HLG
    22  )
    23  
    24  func (VideoTransferCharacteristics) FromRef(str js.Ref) VideoTransferCharacteristics {
    25  	return VideoTransferCharacteristics(bindings.ConstOfVideoTransferCharacteristics(str))
    26  }
    27  
    28  func (x VideoTransferCharacteristics) String() (string, bool) {
    29  	switch x {
    30  	case VideoTransferCharacteristics_BT709:
    31  		return "bt709", true
    32  	case VideoTransferCharacteristics_SMPTE_170M:
    33  		return "smpte170m", true
    34  	case VideoTransferCharacteristics_IEC61966_2_1:
    35  		return "iec61966-2-1", true
    36  	case VideoTransferCharacteristics_LINEAR:
    37  		return "linear", true
    38  	case VideoTransferCharacteristics_PQ:
    39  		return "pq", true
    40  	case VideoTransferCharacteristics_HLG:
    41  		return "hlg", true
    42  	default:
    43  		return "", false
    44  	}
    45  }
    46  
    47  type VideoMatrixCoefficients uint32
    48  
    49  const (
    50  	_ VideoMatrixCoefficients = iota
    51  
    52  	VideoMatrixCoefficients_RGB
    53  	VideoMatrixCoefficients_BT709
    54  	VideoMatrixCoefficients_BT_470BG
    55  	VideoMatrixCoefficients_SMPTE_170M
    56  	VideoMatrixCoefficients_BT2020_NCL
    57  )
    58  
    59  func (VideoMatrixCoefficients) FromRef(str js.Ref) VideoMatrixCoefficients {
    60  	return VideoMatrixCoefficients(bindings.ConstOfVideoMatrixCoefficients(str))
    61  }
    62  
    63  func (x VideoMatrixCoefficients) String() (string, bool) {
    64  	switch x {
    65  	case VideoMatrixCoefficients_RGB:
    66  		return "rgb", true
    67  	case VideoMatrixCoefficients_BT709:
    68  		return "bt709", true
    69  	case VideoMatrixCoefficients_BT_470BG:
    70  		return "bt470bg", true
    71  	case VideoMatrixCoefficients_SMPTE_170M:
    72  		return "smpte170m", true
    73  	case VideoMatrixCoefficients_BT2020_NCL:
    74  		return "bt2020-ncl", true
    75  	default:
    76  		return "", false
    77  	}
    78  }
    79  
    80  type VideoColorSpaceInit struct {
    81  	// Primaries is "VideoColorSpaceInit.primaries"
    82  	//
    83  	// Optional, defaults to null.
    84  	Primaries VideoColorPrimaries
    85  	// Transfer is "VideoColorSpaceInit.transfer"
    86  	//
    87  	// Optional, defaults to null.
    88  	Transfer VideoTransferCharacteristics
    89  	// Matrix is "VideoColorSpaceInit.matrix"
    90  	//
    91  	// Optional, defaults to null.
    92  	Matrix VideoMatrixCoefficients
    93  	// FullRange is "VideoColorSpaceInit.fullRange"
    94  	//
    95  	// Optional, defaults to null.
    96  	//
    97  	// NOTE: FFI_USE_FullRange MUST be set to true to make this field effective.
    98  	FullRange bool
    99  
   100  	FFI_USE_FullRange bool // for FullRange.
   101  
   102  	FFI_USE bool
   103  }
   104  
   105  // FromRef calls UpdateFrom and returns a VideoColorSpaceInit with all fields set.
   106  func (p VideoColorSpaceInit) FromRef(ref js.Ref) VideoColorSpaceInit {
   107  	p.UpdateFrom(ref)
   108  	return p
   109  }
   110  
   111  // New creates a new VideoColorSpaceInit in the application heap.
   112  func (p VideoColorSpaceInit) New() js.Ref {
   113  	return bindings.VideoColorSpaceInitJSLoad(
   114  		js.Pointer(&p), js.True, 0,
   115  	)
   116  }
   117  
   118  // UpdateFrom copies value of all fields of the heap object to p.
   119  func (p *VideoColorSpaceInit) UpdateFrom(ref js.Ref) {
   120  	bindings.VideoColorSpaceInitJSStore(
   121  		js.Pointer(p), ref,
   122  	)
   123  }
   124  
   125  // Update writes all fields of the p to the heap object referenced by ref.
   126  func (p *VideoColorSpaceInit) Update(ref js.Ref) {
   127  	bindings.VideoColorSpaceInitJSLoad(
   128  		js.Pointer(p), js.False, ref,
   129  	)
   130  }
   131  
   132  // FreeMembers frees fields with heap reference, if recursive is true
   133  // free all heap references reachable from p.
   134  func (p *VideoColorSpaceInit) FreeMembers(recursive bool) {
   135  }
   136  
   137  type VideoFrameBufferInit struct {
   138  	// Format is "VideoFrameBufferInit.format"
   139  	//
   140  	// Required
   141  	Format VideoPixelFormat
   142  	// CodedWidth is "VideoFrameBufferInit.codedWidth"
   143  	//
   144  	// Required
   145  	CodedWidth uint32
   146  	// CodedHeight is "VideoFrameBufferInit.codedHeight"
   147  	//
   148  	// Required
   149  	CodedHeight uint32
   150  	// Timestamp is "VideoFrameBufferInit.timestamp"
   151  	//
   152  	// Required
   153  	Timestamp int64
   154  	// Duration is "VideoFrameBufferInit.duration"
   155  	//
   156  	// Optional
   157  	//
   158  	// NOTE: FFI_USE_Duration MUST be set to true to make this field effective.
   159  	Duration uint64
   160  	// Layout is "VideoFrameBufferInit.layout"
   161  	//
   162  	// Optional
   163  	Layout js.Array[PlaneLayout]
   164  	// VisibleRect is "VideoFrameBufferInit.visibleRect"
   165  	//
   166  	// Optional
   167  	//
   168  	// NOTE: VisibleRect.FFI_USE MUST be set to true to get VisibleRect used.
   169  	VisibleRect DOMRectInit
   170  	// DisplayWidth is "VideoFrameBufferInit.displayWidth"
   171  	//
   172  	// Optional
   173  	//
   174  	// NOTE: FFI_USE_DisplayWidth MUST be set to true to make this field effective.
   175  	DisplayWidth uint32
   176  	// DisplayHeight is "VideoFrameBufferInit.displayHeight"
   177  	//
   178  	// Optional
   179  	//
   180  	// NOTE: FFI_USE_DisplayHeight MUST be set to true to make this field effective.
   181  	DisplayHeight uint32
   182  	// ColorSpace is "VideoFrameBufferInit.colorSpace"
   183  	//
   184  	// Optional
   185  	//
   186  	// NOTE: ColorSpace.FFI_USE MUST be set to true to get ColorSpace used.
   187  	ColorSpace VideoColorSpaceInit
   188  	// Transfer is "VideoFrameBufferInit.transfer"
   189  	//
   190  	// Optional, defaults to [].
   191  	Transfer js.Array[js.ArrayBuffer]
   192  
   193  	FFI_USE_Duration      bool // for Duration.
   194  	FFI_USE_DisplayWidth  bool // for DisplayWidth.
   195  	FFI_USE_DisplayHeight bool // for DisplayHeight.
   196  
   197  	FFI_USE bool
   198  }
   199  
   200  // FromRef calls UpdateFrom and returns a VideoFrameBufferInit with all fields set.
   201  func (p VideoFrameBufferInit) FromRef(ref js.Ref) VideoFrameBufferInit {
   202  	p.UpdateFrom(ref)
   203  	return p
   204  }
   205  
   206  // New creates a new VideoFrameBufferInit in the application heap.
   207  func (p VideoFrameBufferInit) New() js.Ref {
   208  	return bindings.VideoFrameBufferInitJSLoad(
   209  		js.Pointer(&p), js.True, 0,
   210  	)
   211  }
   212  
   213  // UpdateFrom copies value of all fields of the heap object to p.
   214  func (p *VideoFrameBufferInit) UpdateFrom(ref js.Ref) {
   215  	bindings.VideoFrameBufferInitJSStore(
   216  		js.Pointer(p), ref,
   217  	)
   218  }
   219  
   220  // Update writes all fields of the p to the heap object referenced by ref.
   221  func (p *VideoFrameBufferInit) Update(ref js.Ref) {
   222  	bindings.VideoFrameBufferInitJSLoad(
   223  		js.Pointer(p), js.False, ref,
   224  	)
   225  }
   226  
   227  // FreeMembers frees fields with heap reference, if recursive is true
   228  // free all heap references reachable from p.
   229  func (p *VideoFrameBufferInit) FreeMembers(recursive bool) {
   230  	js.Free(
   231  		p.Layout.Ref(),
   232  		p.Transfer.Ref(),
   233  	)
   234  	p.Layout = p.Layout.FromRef(js.Undefined)
   235  	p.Transfer = p.Transfer.FromRef(js.Undefined)
   236  	if recursive {
   237  		p.VisibleRect.FreeMembers(true)
   238  		p.ColorSpace.FreeMembers(true)
   239  	}
   240  }
   241  
   242  type VideoFrameCopyToOptions struct {
   243  	// Rect is "VideoFrameCopyToOptions.rect"
   244  	//
   245  	// Optional
   246  	//
   247  	// NOTE: Rect.FFI_USE MUST be set to true to get Rect used.
   248  	Rect DOMRectInit
   249  	// Layout is "VideoFrameCopyToOptions.layout"
   250  	//
   251  	// Optional
   252  	Layout js.Array[PlaneLayout]
   253  
   254  	FFI_USE bool
   255  }
   256  
   257  // FromRef calls UpdateFrom and returns a VideoFrameCopyToOptions with all fields set.
   258  func (p VideoFrameCopyToOptions) FromRef(ref js.Ref) VideoFrameCopyToOptions {
   259  	p.UpdateFrom(ref)
   260  	return p
   261  }
   262  
   263  // New creates a new VideoFrameCopyToOptions in the application heap.
   264  func (p VideoFrameCopyToOptions) New() js.Ref {
   265  	return bindings.VideoFrameCopyToOptionsJSLoad(
   266  		js.Pointer(&p), js.True, 0,
   267  	)
   268  }
   269  
   270  // UpdateFrom copies value of all fields of the heap object to p.
   271  func (p *VideoFrameCopyToOptions) UpdateFrom(ref js.Ref) {
   272  	bindings.VideoFrameCopyToOptionsJSStore(
   273  		js.Pointer(p), ref,
   274  	)
   275  }
   276  
   277  // Update writes all fields of the p to the heap object referenced by ref.
   278  func (p *VideoFrameCopyToOptions) Update(ref js.Ref) {
   279  	bindings.VideoFrameCopyToOptionsJSLoad(
   280  		js.Pointer(p), js.False, ref,
   281  	)
   282  }
   283  
   284  // FreeMembers frees fields with heap reference, if recursive is true
   285  // free all heap references reachable from p.
   286  func (p *VideoFrameCopyToOptions) FreeMembers(recursive bool) {
   287  	js.Free(
   288  		p.Layout.Ref(),
   289  	)
   290  	p.Layout = p.Layout.FromRef(js.Undefined)
   291  	if recursive {
   292  		p.Rect.FreeMembers(true)
   293  	}
   294  }
   295  
   296  func NewVideoColorSpace(init VideoColorSpaceInit) (ret VideoColorSpace) {
   297  	ret.ref = bindings.NewVideoColorSpaceByVideoColorSpace(
   298  		js.Pointer(&init))
   299  	return
   300  }
   301  
   302  func NewVideoColorSpaceByVideoColorSpace1() (ret VideoColorSpace) {
   303  	ret.ref = bindings.NewVideoColorSpaceByVideoColorSpace1()
   304  	return
   305  }
   306  
   307  type VideoColorSpace struct {
   308  	ref js.Ref
   309  }
   310  
   311  func (this VideoColorSpace) Once() VideoColorSpace {
   312  	this.ref.Once()
   313  	return this
   314  }
   315  
   316  func (this VideoColorSpace) Ref() js.Ref {
   317  	return this.ref
   318  }
   319  
   320  func (this VideoColorSpace) FromRef(ref js.Ref) VideoColorSpace {
   321  	this.ref = ref
   322  	return this
   323  }
   324  
   325  func (this VideoColorSpace) Free() {
   326  	this.ref.Free()
   327  }
   328  
   329  // Primaries returns the value of property "VideoColorSpace.primaries".
   330  //
   331  // It returns ok=false if there is no such property.
   332  func (this VideoColorSpace) Primaries() (ret VideoColorPrimaries, ok bool) {
   333  	ok = js.True == bindings.GetVideoColorSpacePrimaries(
   334  		this.ref, js.Pointer(&ret),
   335  	)
   336  	return
   337  }
   338  
   339  // Transfer returns the value of property "VideoColorSpace.transfer".
   340  //
   341  // It returns ok=false if there is no such property.
   342  func (this VideoColorSpace) Transfer() (ret VideoTransferCharacteristics, ok bool) {
   343  	ok = js.True == bindings.GetVideoColorSpaceTransfer(
   344  		this.ref, js.Pointer(&ret),
   345  	)
   346  	return
   347  }
   348  
   349  // Matrix returns the value of property "VideoColorSpace.matrix".
   350  //
   351  // It returns ok=false if there is no such property.
   352  func (this VideoColorSpace) Matrix() (ret VideoMatrixCoefficients, ok bool) {
   353  	ok = js.True == bindings.GetVideoColorSpaceMatrix(
   354  		this.ref, js.Pointer(&ret),
   355  	)
   356  	return
   357  }
   358  
   359  // FullRange returns the value of property "VideoColorSpace.fullRange".
   360  //
   361  // It returns ok=false if there is no such property.
   362  func (this VideoColorSpace) FullRange() (ret bool, ok bool) {
   363  	ok = js.True == bindings.GetVideoColorSpaceFullRange(
   364  		this.ref, js.Pointer(&ret),
   365  	)
   366  	return
   367  }
   368  
   369  // HasFuncToJSON returns true if the method "VideoColorSpace.toJSON" exists.
   370  func (this VideoColorSpace) HasFuncToJSON() bool {
   371  	return js.True == bindings.HasFuncVideoColorSpaceToJSON(
   372  		this.ref,
   373  	)
   374  }
   375  
   376  // FuncToJSON returns the method "VideoColorSpace.toJSON".
   377  func (this VideoColorSpace) FuncToJSON() (fn js.Func[func() VideoColorSpaceInit]) {
   378  	bindings.FuncVideoColorSpaceToJSON(
   379  		this.ref, js.Pointer(&fn),
   380  	)
   381  	return
   382  }
   383  
   384  // ToJSON calls the method "VideoColorSpace.toJSON".
   385  func (this VideoColorSpace) ToJSON() (ret VideoColorSpaceInit) {
   386  	bindings.CallVideoColorSpaceToJSON(
   387  		this.ref, js.Pointer(&ret),
   388  	)
   389  
   390  	return
   391  }
   392  
   393  // TryToJSON calls the method "VideoColorSpace.toJSON"
   394  // in a try/catch block and returns (_, err, ok = false) when it went through
   395  // the catch clause.
   396  func (this VideoColorSpace) TryToJSON() (ret VideoColorSpaceInit, exception js.Any, ok bool) {
   397  	ok = js.True == bindings.TryVideoColorSpaceToJSON(
   398  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   399  	)
   400  
   401  	return
   402  }
   403  
   404  func NewVideoFrame(image CanvasImageSource, init VideoFrameInit) (ret VideoFrame) {
   405  	ret.ref = bindings.NewVideoFrameByVideoFrame(
   406  		image.Ref(),
   407  		js.Pointer(&init))
   408  	return
   409  }
   410  
   411  func NewVideoFrameByVideoFrame1(image CanvasImageSource) (ret VideoFrame) {
   412  	ret.ref = bindings.NewVideoFrameByVideoFrame1(
   413  		image.Ref())
   414  	return
   415  }
   416  
   417  func NewVideoFrameByVideoFrame2(data AllowSharedBufferSource, init VideoFrameBufferInit) (ret VideoFrame) {
   418  	ret.ref = bindings.NewVideoFrameByVideoFrame2(
   419  		data.Ref(),
   420  		js.Pointer(&init))
   421  	return
   422  }
   423  
   424  type VideoFrame struct {
   425  	ref js.Ref
   426  }
   427  
   428  func (this VideoFrame) Once() VideoFrame {
   429  	this.ref.Once()
   430  	return this
   431  }
   432  
   433  func (this VideoFrame) Ref() js.Ref {
   434  	return this.ref
   435  }
   436  
   437  func (this VideoFrame) FromRef(ref js.Ref) VideoFrame {
   438  	this.ref = ref
   439  	return this
   440  }
   441  
   442  func (this VideoFrame) Free() {
   443  	this.ref.Free()
   444  }
   445  
   446  // Format returns the value of property "VideoFrame.format".
   447  //
   448  // It returns ok=false if there is no such property.
   449  func (this VideoFrame) Format() (ret VideoPixelFormat, ok bool) {
   450  	ok = js.True == bindings.GetVideoFrameFormat(
   451  		this.ref, js.Pointer(&ret),
   452  	)
   453  	return
   454  }
   455  
   456  // CodedWidth returns the value of property "VideoFrame.codedWidth".
   457  //
   458  // It returns ok=false if there is no such property.
   459  func (this VideoFrame) CodedWidth() (ret uint32, ok bool) {
   460  	ok = js.True == bindings.GetVideoFrameCodedWidth(
   461  		this.ref, js.Pointer(&ret),
   462  	)
   463  	return
   464  }
   465  
   466  // CodedHeight returns the value of property "VideoFrame.codedHeight".
   467  //
   468  // It returns ok=false if there is no such property.
   469  func (this VideoFrame) CodedHeight() (ret uint32, ok bool) {
   470  	ok = js.True == bindings.GetVideoFrameCodedHeight(
   471  		this.ref, js.Pointer(&ret),
   472  	)
   473  	return
   474  }
   475  
   476  // CodedRect returns the value of property "VideoFrame.codedRect".
   477  //
   478  // It returns ok=false if there is no such property.
   479  func (this VideoFrame) CodedRect() (ret DOMRectReadOnly, ok bool) {
   480  	ok = js.True == bindings.GetVideoFrameCodedRect(
   481  		this.ref, js.Pointer(&ret),
   482  	)
   483  	return
   484  }
   485  
   486  // VisibleRect returns the value of property "VideoFrame.visibleRect".
   487  //
   488  // It returns ok=false if there is no such property.
   489  func (this VideoFrame) VisibleRect() (ret DOMRectReadOnly, ok bool) {
   490  	ok = js.True == bindings.GetVideoFrameVisibleRect(
   491  		this.ref, js.Pointer(&ret),
   492  	)
   493  	return
   494  }
   495  
   496  // DisplayWidth returns the value of property "VideoFrame.displayWidth".
   497  //
   498  // It returns ok=false if there is no such property.
   499  func (this VideoFrame) DisplayWidth() (ret uint32, ok bool) {
   500  	ok = js.True == bindings.GetVideoFrameDisplayWidth(
   501  		this.ref, js.Pointer(&ret),
   502  	)
   503  	return
   504  }
   505  
   506  // DisplayHeight returns the value of property "VideoFrame.displayHeight".
   507  //
   508  // It returns ok=false if there is no such property.
   509  func (this VideoFrame) DisplayHeight() (ret uint32, ok bool) {
   510  	ok = js.True == bindings.GetVideoFrameDisplayHeight(
   511  		this.ref, js.Pointer(&ret),
   512  	)
   513  	return
   514  }
   515  
   516  // Duration returns the value of property "VideoFrame.duration".
   517  //
   518  // It returns ok=false if there is no such property.
   519  func (this VideoFrame) Duration() (ret uint64, ok bool) {
   520  	ok = js.True == bindings.GetVideoFrameDuration(
   521  		this.ref, js.Pointer(&ret),
   522  	)
   523  	return
   524  }
   525  
   526  // Timestamp returns the value of property "VideoFrame.timestamp".
   527  //
   528  // It returns ok=false if there is no such property.
   529  func (this VideoFrame) Timestamp() (ret int64, ok bool) {
   530  	ok = js.True == bindings.GetVideoFrameTimestamp(
   531  		this.ref, js.Pointer(&ret),
   532  	)
   533  	return
   534  }
   535  
   536  // ColorSpace returns the value of property "VideoFrame.colorSpace".
   537  //
   538  // It returns ok=false if there is no such property.
   539  func (this VideoFrame) ColorSpace() (ret VideoColorSpace, ok bool) {
   540  	ok = js.True == bindings.GetVideoFrameColorSpace(
   541  		this.ref, js.Pointer(&ret),
   542  	)
   543  	return
   544  }
   545  
   546  // HasFuncMetadata returns true if the method "VideoFrame.metadata" exists.
   547  func (this VideoFrame) HasFuncMetadata() bool {
   548  	return js.True == bindings.HasFuncVideoFrameMetadata(
   549  		this.ref,
   550  	)
   551  }
   552  
   553  // FuncMetadata returns the method "VideoFrame.metadata".
   554  func (this VideoFrame) FuncMetadata() (fn js.Func[func() VideoFrameMetadata]) {
   555  	bindings.FuncVideoFrameMetadata(
   556  		this.ref, js.Pointer(&fn),
   557  	)
   558  	return
   559  }
   560  
   561  // Metadata calls the method "VideoFrame.metadata".
   562  func (this VideoFrame) Metadata() (ret VideoFrameMetadata) {
   563  	bindings.CallVideoFrameMetadata(
   564  		this.ref, js.Pointer(&ret),
   565  	)
   566  
   567  	return
   568  }
   569  
   570  // TryMetadata calls the method "VideoFrame.metadata"
   571  // in a try/catch block and returns (_, err, ok = false) when it went through
   572  // the catch clause.
   573  func (this VideoFrame) TryMetadata() (ret VideoFrameMetadata, exception js.Any, ok bool) {
   574  	ok = js.True == bindings.TryVideoFrameMetadata(
   575  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   576  	)
   577  
   578  	return
   579  }
   580  
   581  // HasFuncAllocationSize returns true if the method "VideoFrame.allocationSize" exists.
   582  func (this VideoFrame) HasFuncAllocationSize() bool {
   583  	return js.True == bindings.HasFuncVideoFrameAllocationSize(
   584  		this.ref,
   585  	)
   586  }
   587  
   588  // FuncAllocationSize returns the method "VideoFrame.allocationSize".
   589  func (this VideoFrame) FuncAllocationSize() (fn js.Func[func(options VideoFrameCopyToOptions) uint32]) {
   590  	bindings.FuncVideoFrameAllocationSize(
   591  		this.ref, js.Pointer(&fn),
   592  	)
   593  	return
   594  }
   595  
   596  // AllocationSize calls the method "VideoFrame.allocationSize".
   597  func (this VideoFrame) AllocationSize(options VideoFrameCopyToOptions) (ret uint32) {
   598  	bindings.CallVideoFrameAllocationSize(
   599  		this.ref, js.Pointer(&ret),
   600  		js.Pointer(&options),
   601  	)
   602  
   603  	return
   604  }
   605  
   606  // TryAllocationSize calls the method "VideoFrame.allocationSize"
   607  // in a try/catch block and returns (_, err, ok = false) when it went through
   608  // the catch clause.
   609  func (this VideoFrame) TryAllocationSize(options VideoFrameCopyToOptions) (ret uint32, exception js.Any, ok bool) {
   610  	ok = js.True == bindings.TryVideoFrameAllocationSize(
   611  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   612  		js.Pointer(&options),
   613  	)
   614  
   615  	return
   616  }
   617  
   618  // HasFuncAllocationSize1 returns true if the method "VideoFrame.allocationSize" exists.
   619  func (this VideoFrame) HasFuncAllocationSize1() bool {
   620  	return js.True == bindings.HasFuncVideoFrameAllocationSize1(
   621  		this.ref,
   622  	)
   623  }
   624  
   625  // FuncAllocationSize1 returns the method "VideoFrame.allocationSize".
   626  func (this VideoFrame) FuncAllocationSize1() (fn js.Func[func() uint32]) {
   627  	bindings.FuncVideoFrameAllocationSize1(
   628  		this.ref, js.Pointer(&fn),
   629  	)
   630  	return
   631  }
   632  
   633  // AllocationSize1 calls the method "VideoFrame.allocationSize".
   634  func (this VideoFrame) AllocationSize1() (ret uint32) {
   635  	bindings.CallVideoFrameAllocationSize1(
   636  		this.ref, js.Pointer(&ret),
   637  	)
   638  
   639  	return
   640  }
   641  
   642  // TryAllocationSize1 calls the method "VideoFrame.allocationSize"
   643  // in a try/catch block and returns (_, err, ok = false) when it went through
   644  // the catch clause.
   645  func (this VideoFrame) TryAllocationSize1() (ret uint32, exception js.Any, ok bool) {
   646  	ok = js.True == bindings.TryVideoFrameAllocationSize1(
   647  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   648  	)
   649  
   650  	return
   651  }
   652  
   653  // HasFuncCopyTo returns true if the method "VideoFrame.copyTo" exists.
   654  func (this VideoFrame) HasFuncCopyTo() bool {
   655  	return js.True == bindings.HasFuncVideoFrameCopyTo(
   656  		this.ref,
   657  	)
   658  }
   659  
   660  // FuncCopyTo returns the method "VideoFrame.copyTo".
   661  func (this VideoFrame) FuncCopyTo() (fn js.Func[func(destination AllowSharedBufferSource, options VideoFrameCopyToOptions) js.Promise[js.Array[PlaneLayout]]]) {
   662  	bindings.FuncVideoFrameCopyTo(
   663  		this.ref, js.Pointer(&fn),
   664  	)
   665  	return
   666  }
   667  
   668  // CopyTo calls the method "VideoFrame.copyTo".
   669  func (this VideoFrame) CopyTo(destination AllowSharedBufferSource, options VideoFrameCopyToOptions) (ret js.Promise[js.Array[PlaneLayout]]) {
   670  	bindings.CallVideoFrameCopyTo(
   671  		this.ref, js.Pointer(&ret),
   672  		destination.Ref(),
   673  		js.Pointer(&options),
   674  	)
   675  
   676  	return
   677  }
   678  
   679  // TryCopyTo calls the method "VideoFrame.copyTo"
   680  // in a try/catch block and returns (_, err, ok = false) when it went through
   681  // the catch clause.
   682  func (this VideoFrame) TryCopyTo(destination AllowSharedBufferSource, options VideoFrameCopyToOptions) (ret js.Promise[js.Array[PlaneLayout]], exception js.Any, ok bool) {
   683  	ok = js.True == bindings.TryVideoFrameCopyTo(
   684  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   685  		destination.Ref(),
   686  		js.Pointer(&options),
   687  	)
   688  
   689  	return
   690  }
   691  
   692  // HasFuncCopyTo1 returns true if the method "VideoFrame.copyTo" exists.
   693  func (this VideoFrame) HasFuncCopyTo1() bool {
   694  	return js.True == bindings.HasFuncVideoFrameCopyTo1(
   695  		this.ref,
   696  	)
   697  }
   698  
   699  // FuncCopyTo1 returns the method "VideoFrame.copyTo".
   700  func (this VideoFrame) FuncCopyTo1() (fn js.Func[func(destination AllowSharedBufferSource) js.Promise[js.Array[PlaneLayout]]]) {
   701  	bindings.FuncVideoFrameCopyTo1(
   702  		this.ref, js.Pointer(&fn),
   703  	)
   704  	return
   705  }
   706  
   707  // CopyTo1 calls the method "VideoFrame.copyTo".
   708  func (this VideoFrame) CopyTo1(destination AllowSharedBufferSource) (ret js.Promise[js.Array[PlaneLayout]]) {
   709  	bindings.CallVideoFrameCopyTo1(
   710  		this.ref, js.Pointer(&ret),
   711  		destination.Ref(),
   712  	)
   713  
   714  	return
   715  }
   716  
   717  // TryCopyTo1 calls the method "VideoFrame.copyTo"
   718  // in a try/catch block and returns (_, err, ok = false) when it went through
   719  // the catch clause.
   720  func (this VideoFrame) TryCopyTo1(destination AllowSharedBufferSource) (ret js.Promise[js.Array[PlaneLayout]], exception js.Any, ok bool) {
   721  	ok = js.True == bindings.TryVideoFrameCopyTo1(
   722  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   723  		destination.Ref(),
   724  	)
   725  
   726  	return
   727  }
   728  
   729  // HasFuncClone returns true if the method "VideoFrame.clone" exists.
   730  func (this VideoFrame) HasFuncClone() bool {
   731  	return js.True == bindings.HasFuncVideoFrameClone(
   732  		this.ref,
   733  	)
   734  }
   735  
   736  // FuncClone returns the method "VideoFrame.clone".
   737  func (this VideoFrame) FuncClone() (fn js.Func[func() VideoFrame]) {
   738  	bindings.FuncVideoFrameClone(
   739  		this.ref, js.Pointer(&fn),
   740  	)
   741  	return
   742  }
   743  
   744  // Clone calls the method "VideoFrame.clone".
   745  func (this VideoFrame) Clone() (ret VideoFrame) {
   746  	bindings.CallVideoFrameClone(
   747  		this.ref, js.Pointer(&ret),
   748  	)
   749  
   750  	return
   751  }
   752  
   753  // TryClone calls the method "VideoFrame.clone"
   754  // in a try/catch block and returns (_, err, ok = false) when it went through
   755  // the catch clause.
   756  func (this VideoFrame) TryClone() (ret VideoFrame, exception js.Any, ok bool) {
   757  	ok = js.True == bindings.TryVideoFrameClone(
   758  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   759  	)
   760  
   761  	return
   762  }
   763  
   764  // HasFuncClose returns true if the method "VideoFrame.close" exists.
   765  func (this VideoFrame) HasFuncClose() bool {
   766  	return js.True == bindings.HasFuncVideoFrameClose(
   767  		this.ref,
   768  	)
   769  }
   770  
   771  // FuncClose returns the method "VideoFrame.close".
   772  func (this VideoFrame) FuncClose() (fn js.Func[func()]) {
   773  	bindings.FuncVideoFrameClose(
   774  		this.ref, js.Pointer(&fn),
   775  	)
   776  	return
   777  }
   778  
   779  // Close calls the method "VideoFrame.close".
   780  func (this VideoFrame) Close() (ret js.Void) {
   781  	bindings.CallVideoFrameClose(
   782  		this.ref, js.Pointer(&ret),
   783  	)
   784  
   785  	return
   786  }
   787  
   788  // TryClose calls the method "VideoFrame.close"
   789  // in a try/catch block and returns (_, err, ok = false) when it went through
   790  // the catch clause.
   791  func (this VideoFrame) TryClose() (ret js.Void, exception js.Any, ok bool) {
   792  	ok = js.True == bindings.TryVideoFrameClose(
   793  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   794  	)
   795  
   796  	return
   797  }
   798  
   799  type OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame struct {
   800  	ref js.Ref
   801  }
   802  
   803  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) Ref() js.Ref {
   804  	return x.ref
   805  }
   806  
   807  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) Free() {
   808  	x.ref.Free()
   809  }
   810  
   811  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) FromRef(ref js.Ref) OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame {
   812  	return OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame{
   813  		ref: ref,
   814  	}
   815  }
   816  
   817  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) ImageBitmap() ImageBitmap {
   818  	return ImageBitmap{}.FromRef(x.ref)
   819  }
   820  
   821  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) ImageData() ImageData {
   822  	return ImageData{}.FromRef(x.ref)
   823  }
   824  
   825  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) HTMLImageElement() HTMLImageElement {
   826  	return HTMLImageElement{}.FromRef(x.ref)
   827  }
   828  
   829  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) HTMLCanvasElement() HTMLCanvasElement {
   830  	return HTMLCanvasElement{}.FromRef(x.ref)
   831  }
   832  
   833  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) HTMLVideoElement() HTMLVideoElement {
   834  	return HTMLVideoElement{}.FromRef(x.ref)
   835  }
   836  
   837  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) OffscreenCanvas() OffscreenCanvas {
   838  	return OffscreenCanvas{}.FromRef(x.ref)
   839  }
   840  
   841  func (x OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame) VideoFrame() VideoFrame {
   842  	return VideoFrame{}.FromRef(x.ref)
   843  }
   844  
   845  type TexImageSource = OneOf_ImageBitmap_ImageData_HTMLImageElement_HTMLCanvasElement_HTMLVideoElement_OffscreenCanvas_VideoFrame
   846  
   847  type OneOf_TypedArrayInt32_ArrayGLint struct {
   848  	ref js.Ref
   849  }
   850  
   851  func (x OneOf_TypedArrayInt32_ArrayGLint) Ref() js.Ref {
   852  	return x.ref
   853  }
   854  
   855  func (x OneOf_TypedArrayInt32_ArrayGLint) Free() {
   856  	x.ref.Free()
   857  }
   858  
   859  func (x OneOf_TypedArrayInt32_ArrayGLint) FromRef(ref js.Ref) OneOf_TypedArrayInt32_ArrayGLint {
   860  	return OneOf_TypedArrayInt32_ArrayGLint{
   861  		ref: ref,
   862  	}
   863  }
   864  
   865  func (x OneOf_TypedArrayInt32_ArrayGLint) TypedArrayInt32() js.TypedArray[int32] {
   866  	return js.TypedArray[int32]{}.FromRef(x.ref)
   867  }
   868  
   869  func (x OneOf_TypedArrayInt32_ArrayGLint) ArrayGLint() js.Array[GLint] {
   870  	return js.Array[GLint]{}.FromRef(x.ref)
   871  }
   872  
   873  type Int32List = OneOf_TypedArrayInt32_ArrayGLint
   874  
   875  type WebGLRenderingContext struct {
   876  	ref js.Ref
   877  }
   878  
   879  func (this WebGLRenderingContext) Once() WebGLRenderingContext {
   880  	this.ref.Once()
   881  	return this
   882  }
   883  
   884  func (this WebGLRenderingContext) Ref() js.Ref {
   885  	return this.ref
   886  }
   887  
   888  func (this WebGLRenderingContext) FromRef(ref js.Ref) WebGLRenderingContext {
   889  	this.ref = ref
   890  	return this
   891  }
   892  
   893  func (this WebGLRenderingContext) Free() {
   894  	this.ref.Free()
   895  }
   896  
   897  // Canvas returns the value of property "WebGLRenderingContext.canvas".
   898  //
   899  // It returns ok=false if there is no such property.
   900  func (this WebGLRenderingContext) Canvas() (ret OneOf_HTMLCanvasElement_OffscreenCanvas, ok bool) {
   901  	ok = js.True == bindings.GetWebGLRenderingContextCanvas(
   902  		this.ref, js.Pointer(&ret),
   903  	)
   904  	return
   905  }
   906  
   907  // DrawingBufferWidth returns the value of property "WebGLRenderingContext.drawingBufferWidth".
   908  //
   909  // It returns ok=false if there is no such property.
   910  func (this WebGLRenderingContext) DrawingBufferWidth() (ret GLsizei, ok bool) {
   911  	ok = js.True == bindings.GetWebGLRenderingContextDrawingBufferWidth(
   912  		this.ref, js.Pointer(&ret),
   913  	)
   914  	return
   915  }
   916  
   917  // DrawingBufferHeight returns the value of property "WebGLRenderingContext.drawingBufferHeight".
   918  //
   919  // It returns ok=false if there is no such property.
   920  func (this WebGLRenderingContext) DrawingBufferHeight() (ret GLsizei, ok bool) {
   921  	ok = js.True == bindings.GetWebGLRenderingContextDrawingBufferHeight(
   922  		this.ref, js.Pointer(&ret),
   923  	)
   924  	return
   925  }
   926  
   927  // DrawingBufferColorSpace returns the value of property "WebGLRenderingContext.drawingBufferColorSpace".
   928  //
   929  // It returns ok=false if there is no such property.
   930  func (this WebGLRenderingContext) DrawingBufferColorSpace() (ret PredefinedColorSpace, ok bool) {
   931  	ok = js.True == bindings.GetWebGLRenderingContextDrawingBufferColorSpace(
   932  		this.ref, js.Pointer(&ret),
   933  	)
   934  	return
   935  }
   936  
   937  // SetDrawingBufferColorSpace sets the value of property "WebGLRenderingContext.drawingBufferColorSpace" to val.
   938  //
   939  // It returns false if the property cannot be set.
   940  func (this WebGLRenderingContext) SetDrawingBufferColorSpace(val PredefinedColorSpace) bool {
   941  	return js.True == bindings.SetWebGLRenderingContextDrawingBufferColorSpace(
   942  		this.ref,
   943  		uint32(val),
   944  	)
   945  }
   946  
   947  // UnpackColorSpace returns the value of property "WebGLRenderingContext.unpackColorSpace".
   948  //
   949  // It returns ok=false if there is no such property.
   950  func (this WebGLRenderingContext) UnpackColorSpace() (ret PredefinedColorSpace, ok bool) {
   951  	ok = js.True == bindings.GetWebGLRenderingContextUnpackColorSpace(
   952  		this.ref, js.Pointer(&ret),
   953  	)
   954  	return
   955  }
   956  
   957  // SetUnpackColorSpace sets the value of property "WebGLRenderingContext.unpackColorSpace" to val.
   958  //
   959  // It returns false if the property cannot be set.
   960  func (this WebGLRenderingContext) SetUnpackColorSpace(val PredefinedColorSpace) bool {
   961  	return js.True == bindings.SetWebGLRenderingContextUnpackColorSpace(
   962  		this.ref,
   963  		uint32(val),
   964  	)
   965  }
   966  
   967  // HasFuncGetContextAttributes returns true if the method "WebGLRenderingContext.getContextAttributes" exists.
   968  func (this WebGLRenderingContext) HasFuncGetContextAttributes() bool {
   969  	return js.True == bindings.HasFuncWebGLRenderingContextGetContextAttributes(
   970  		this.ref,
   971  	)
   972  }
   973  
   974  // FuncGetContextAttributes returns the method "WebGLRenderingContext.getContextAttributes".
   975  func (this WebGLRenderingContext) FuncGetContextAttributes() (fn js.Func[func() WebGLContextAttributes]) {
   976  	bindings.FuncWebGLRenderingContextGetContextAttributes(
   977  		this.ref, js.Pointer(&fn),
   978  	)
   979  	return
   980  }
   981  
   982  // GetContextAttributes calls the method "WebGLRenderingContext.getContextAttributes".
   983  func (this WebGLRenderingContext) GetContextAttributes() (ret WebGLContextAttributes) {
   984  	bindings.CallWebGLRenderingContextGetContextAttributes(
   985  		this.ref, js.Pointer(&ret),
   986  	)
   987  
   988  	return
   989  }
   990  
   991  // TryGetContextAttributes calls the method "WebGLRenderingContext.getContextAttributes"
   992  // in a try/catch block and returns (_, err, ok = false) when it went through
   993  // the catch clause.
   994  func (this WebGLRenderingContext) TryGetContextAttributes() (ret WebGLContextAttributes, exception js.Any, ok bool) {
   995  	ok = js.True == bindings.TryWebGLRenderingContextGetContextAttributes(
   996  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
   997  	)
   998  
   999  	return
  1000  }
  1001  
  1002  // HasFuncIsContextLost returns true if the method "WebGLRenderingContext.isContextLost" exists.
  1003  func (this WebGLRenderingContext) HasFuncIsContextLost() bool {
  1004  	return js.True == bindings.HasFuncWebGLRenderingContextIsContextLost(
  1005  		this.ref,
  1006  	)
  1007  }
  1008  
  1009  // FuncIsContextLost returns the method "WebGLRenderingContext.isContextLost".
  1010  func (this WebGLRenderingContext) FuncIsContextLost() (fn js.Func[func() bool]) {
  1011  	bindings.FuncWebGLRenderingContextIsContextLost(
  1012  		this.ref, js.Pointer(&fn),
  1013  	)
  1014  	return
  1015  }
  1016  
  1017  // IsContextLost calls the method "WebGLRenderingContext.isContextLost".
  1018  func (this WebGLRenderingContext) IsContextLost() (ret bool) {
  1019  	bindings.CallWebGLRenderingContextIsContextLost(
  1020  		this.ref, js.Pointer(&ret),
  1021  	)
  1022  
  1023  	return
  1024  }
  1025  
  1026  // TryIsContextLost calls the method "WebGLRenderingContext.isContextLost"
  1027  // in a try/catch block and returns (_, err, ok = false) when it went through
  1028  // the catch clause.
  1029  func (this WebGLRenderingContext) TryIsContextLost() (ret bool, exception js.Any, ok bool) {
  1030  	ok = js.True == bindings.TryWebGLRenderingContextIsContextLost(
  1031  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1032  	)
  1033  
  1034  	return
  1035  }
  1036  
  1037  // HasFuncGetSupportedExtensions returns true if the method "WebGLRenderingContext.getSupportedExtensions" exists.
  1038  func (this WebGLRenderingContext) HasFuncGetSupportedExtensions() bool {
  1039  	return js.True == bindings.HasFuncWebGLRenderingContextGetSupportedExtensions(
  1040  		this.ref,
  1041  	)
  1042  }
  1043  
  1044  // FuncGetSupportedExtensions returns the method "WebGLRenderingContext.getSupportedExtensions".
  1045  func (this WebGLRenderingContext) FuncGetSupportedExtensions() (fn js.Func[func() js.Array[js.String]]) {
  1046  	bindings.FuncWebGLRenderingContextGetSupportedExtensions(
  1047  		this.ref, js.Pointer(&fn),
  1048  	)
  1049  	return
  1050  }
  1051  
  1052  // GetSupportedExtensions calls the method "WebGLRenderingContext.getSupportedExtensions".
  1053  func (this WebGLRenderingContext) GetSupportedExtensions() (ret js.Array[js.String]) {
  1054  	bindings.CallWebGLRenderingContextGetSupportedExtensions(
  1055  		this.ref, js.Pointer(&ret),
  1056  	)
  1057  
  1058  	return
  1059  }
  1060  
  1061  // TryGetSupportedExtensions calls the method "WebGLRenderingContext.getSupportedExtensions"
  1062  // in a try/catch block and returns (_, err, ok = false) when it went through
  1063  // the catch clause.
  1064  func (this WebGLRenderingContext) TryGetSupportedExtensions() (ret js.Array[js.String], exception js.Any, ok bool) {
  1065  	ok = js.True == bindings.TryWebGLRenderingContextGetSupportedExtensions(
  1066  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1067  	)
  1068  
  1069  	return
  1070  }
  1071  
  1072  // HasFuncGetExtension returns true if the method "WebGLRenderingContext.getExtension" exists.
  1073  func (this WebGLRenderingContext) HasFuncGetExtension() bool {
  1074  	return js.True == bindings.HasFuncWebGLRenderingContextGetExtension(
  1075  		this.ref,
  1076  	)
  1077  }
  1078  
  1079  // FuncGetExtension returns the method "WebGLRenderingContext.getExtension".
  1080  func (this WebGLRenderingContext) FuncGetExtension() (fn js.Func[func(name js.String) js.Object]) {
  1081  	bindings.FuncWebGLRenderingContextGetExtension(
  1082  		this.ref, js.Pointer(&fn),
  1083  	)
  1084  	return
  1085  }
  1086  
  1087  // GetExtension calls the method "WebGLRenderingContext.getExtension".
  1088  func (this WebGLRenderingContext) GetExtension(name js.String) (ret js.Object) {
  1089  	bindings.CallWebGLRenderingContextGetExtension(
  1090  		this.ref, js.Pointer(&ret),
  1091  		name.Ref(),
  1092  	)
  1093  
  1094  	return
  1095  }
  1096  
  1097  // TryGetExtension calls the method "WebGLRenderingContext.getExtension"
  1098  // in a try/catch block and returns (_, err, ok = false) when it went through
  1099  // the catch clause.
  1100  func (this WebGLRenderingContext) TryGetExtension(name js.String) (ret js.Object, exception js.Any, ok bool) {
  1101  	ok = js.True == bindings.TryWebGLRenderingContextGetExtension(
  1102  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1103  		name.Ref(),
  1104  	)
  1105  
  1106  	return
  1107  }
  1108  
  1109  // HasFuncActiveTexture returns true if the method "WebGLRenderingContext.activeTexture" exists.
  1110  func (this WebGLRenderingContext) HasFuncActiveTexture() bool {
  1111  	return js.True == bindings.HasFuncWebGLRenderingContextActiveTexture(
  1112  		this.ref,
  1113  	)
  1114  }
  1115  
  1116  // FuncActiveTexture returns the method "WebGLRenderingContext.activeTexture".
  1117  func (this WebGLRenderingContext) FuncActiveTexture() (fn js.Func[func(texture GLenum)]) {
  1118  	bindings.FuncWebGLRenderingContextActiveTexture(
  1119  		this.ref, js.Pointer(&fn),
  1120  	)
  1121  	return
  1122  }
  1123  
  1124  // ActiveTexture calls the method "WebGLRenderingContext.activeTexture".
  1125  func (this WebGLRenderingContext) ActiveTexture(texture GLenum) (ret js.Void) {
  1126  	bindings.CallWebGLRenderingContextActiveTexture(
  1127  		this.ref, js.Pointer(&ret),
  1128  		uint32(texture),
  1129  	)
  1130  
  1131  	return
  1132  }
  1133  
  1134  // TryActiveTexture calls the method "WebGLRenderingContext.activeTexture"
  1135  // in a try/catch block and returns (_, err, ok = false) when it went through
  1136  // the catch clause.
  1137  func (this WebGLRenderingContext) TryActiveTexture(texture GLenum) (ret js.Void, exception js.Any, ok bool) {
  1138  	ok = js.True == bindings.TryWebGLRenderingContextActiveTexture(
  1139  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1140  		uint32(texture),
  1141  	)
  1142  
  1143  	return
  1144  }
  1145  
  1146  // HasFuncAttachShader returns true if the method "WebGLRenderingContext.attachShader" exists.
  1147  func (this WebGLRenderingContext) HasFuncAttachShader() bool {
  1148  	return js.True == bindings.HasFuncWebGLRenderingContextAttachShader(
  1149  		this.ref,
  1150  	)
  1151  }
  1152  
  1153  // FuncAttachShader returns the method "WebGLRenderingContext.attachShader".
  1154  func (this WebGLRenderingContext) FuncAttachShader() (fn js.Func[func(program WebGLProgram, shader WebGLShader)]) {
  1155  	bindings.FuncWebGLRenderingContextAttachShader(
  1156  		this.ref, js.Pointer(&fn),
  1157  	)
  1158  	return
  1159  }
  1160  
  1161  // AttachShader calls the method "WebGLRenderingContext.attachShader".
  1162  func (this WebGLRenderingContext) AttachShader(program WebGLProgram, shader WebGLShader) (ret js.Void) {
  1163  	bindings.CallWebGLRenderingContextAttachShader(
  1164  		this.ref, js.Pointer(&ret),
  1165  		program.Ref(),
  1166  		shader.Ref(),
  1167  	)
  1168  
  1169  	return
  1170  }
  1171  
  1172  // TryAttachShader calls the method "WebGLRenderingContext.attachShader"
  1173  // in a try/catch block and returns (_, err, ok = false) when it went through
  1174  // the catch clause.
  1175  func (this WebGLRenderingContext) TryAttachShader(program WebGLProgram, shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
  1176  	ok = js.True == bindings.TryWebGLRenderingContextAttachShader(
  1177  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1178  		program.Ref(),
  1179  		shader.Ref(),
  1180  	)
  1181  
  1182  	return
  1183  }
  1184  
  1185  // HasFuncBindAttribLocation returns true if the method "WebGLRenderingContext.bindAttribLocation" exists.
  1186  func (this WebGLRenderingContext) HasFuncBindAttribLocation() bool {
  1187  	return js.True == bindings.HasFuncWebGLRenderingContextBindAttribLocation(
  1188  		this.ref,
  1189  	)
  1190  }
  1191  
  1192  // FuncBindAttribLocation returns the method "WebGLRenderingContext.bindAttribLocation".
  1193  func (this WebGLRenderingContext) FuncBindAttribLocation() (fn js.Func[func(program WebGLProgram, index GLuint, name js.String)]) {
  1194  	bindings.FuncWebGLRenderingContextBindAttribLocation(
  1195  		this.ref, js.Pointer(&fn),
  1196  	)
  1197  	return
  1198  }
  1199  
  1200  // BindAttribLocation calls the method "WebGLRenderingContext.bindAttribLocation".
  1201  func (this WebGLRenderingContext) BindAttribLocation(program WebGLProgram, index GLuint, name js.String) (ret js.Void) {
  1202  	bindings.CallWebGLRenderingContextBindAttribLocation(
  1203  		this.ref, js.Pointer(&ret),
  1204  		program.Ref(),
  1205  		uint32(index),
  1206  		name.Ref(),
  1207  	)
  1208  
  1209  	return
  1210  }
  1211  
  1212  // TryBindAttribLocation calls the method "WebGLRenderingContext.bindAttribLocation"
  1213  // in a try/catch block and returns (_, err, ok = false) when it went through
  1214  // the catch clause.
  1215  func (this WebGLRenderingContext) TryBindAttribLocation(program WebGLProgram, index GLuint, name js.String) (ret js.Void, exception js.Any, ok bool) {
  1216  	ok = js.True == bindings.TryWebGLRenderingContextBindAttribLocation(
  1217  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1218  		program.Ref(),
  1219  		uint32(index),
  1220  		name.Ref(),
  1221  	)
  1222  
  1223  	return
  1224  }
  1225  
  1226  // HasFuncBindBuffer returns true if the method "WebGLRenderingContext.bindBuffer" exists.
  1227  func (this WebGLRenderingContext) HasFuncBindBuffer() bool {
  1228  	return js.True == bindings.HasFuncWebGLRenderingContextBindBuffer(
  1229  		this.ref,
  1230  	)
  1231  }
  1232  
  1233  // FuncBindBuffer returns the method "WebGLRenderingContext.bindBuffer".
  1234  func (this WebGLRenderingContext) FuncBindBuffer() (fn js.Func[func(target GLenum, buffer WebGLBuffer)]) {
  1235  	bindings.FuncWebGLRenderingContextBindBuffer(
  1236  		this.ref, js.Pointer(&fn),
  1237  	)
  1238  	return
  1239  }
  1240  
  1241  // BindBuffer calls the method "WebGLRenderingContext.bindBuffer".
  1242  func (this WebGLRenderingContext) BindBuffer(target GLenum, buffer WebGLBuffer) (ret js.Void) {
  1243  	bindings.CallWebGLRenderingContextBindBuffer(
  1244  		this.ref, js.Pointer(&ret),
  1245  		uint32(target),
  1246  		buffer.Ref(),
  1247  	)
  1248  
  1249  	return
  1250  }
  1251  
  1252  // TryBindBuffer calls the method "WebGLRenderingContext.bindBuffer"
  1253  // in a try/catch block and returns (_, err, ok = false) when it went through
  1254  // the catch clause.
  1255  func (this WebGLRenderingContext) TryBindBuffer(target GLenum, buffer WebGLBuffer) (ret js.Void, exception js.Any, ok bool) {
  1256  	ok = js.True == bindings.TryWebGLRenderingContextBindBuffer(
  1257  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1258  		uint32(target),
  1259  		buffer.Ref(),
  1260  	)
  1261  
  1262  	return
  1263  }
  1264  
  1265  // HasFuncBindFramebuffer returns true if the method "WebGLRenderingContext.bindFramebuffer" exists.
  1266  func (this WebGLRenderingContext) HasFuncBindFramebuffer() bool {
  1267  	return js.True == bindings.HasFuncWebGLRenderingContextBindFramebuffer(
  1268  		this.ref,
  1269  	)
  1270  }
  1271  
  1272  // FuncBindFramebuffer returns the method "WebGLRenderingContext.bindFramebuffer".
  1273  func (this WebGLRenderingContext) FuncBindFramebuffer() (fn js.Func[func(target GLenum, framebuffer WebGLFramebuffer)]) {
  1274  	bindings.FuncWebGLRenderingContextBindFramebuffer(
  1275  		this.ref, js.Pointer(&fn),
  1276  	)
  1277  	return
  1278  }
  1279  
  1280  // BindFramebuffer calls the method "WebGLRenderingContext.bindFramebuffer".
  1281  func (this WebGLRenderingContext) BindFramebuffer(target GLenum, framebuffer WebGLFramebuffer) (ret js.Void) {
  1282  	bindings.CallWebGLRenderingContextBindFramebuffer(
  1283  		this.ref, js.Pointer(&ret),
  1284  		uint32(target),
  1285  		framebuffer.Ref(),
  1286  	)
  1287  
  1288  	return
  1289  }
  1290  
  1291  // TryBindFramebuffer calls the method "WebGLRenderingContext.bindFramebuffer"
  1292  // in a try/catch block and returns (_, err, ok = false) when it went through
  1293  // the catch clause.
  1294  func (this WebGLRenderingContext) TryBindFramebuffer(target GLenum, framebuffer WebGLFramebuffer) (ret js.Void, exception js.Any, ok bool) {
  1295  	ok = js.True == bindings.TryWebGLRenderingContextBindFramebuffer(
  1296  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1297  		uint32(target),
  1298  		framebuffer.Ref(),
  1299  	)
  1300  
  1301  	return
  1302  }
  1303  
  1304  // HasFuncBindRenderbuffer returns true if the method "WebGLRenderingContext.bindRenderbuffer" exists.
  1305  func (this WebGLRenderingContext) HasFuncBindRenderbuffer() bool {
  1306  	return js.True == bindings.HasFuncWebGLRenderingContextBindRenderbuffer(
  1307  		this.ref,
  1308  	)
  1309  }
  1310  
  1311  // FuncBindRenderbuffer returns the method "WebGLRenderingContext.bindRenderbuffer".
  1312  func (this WebGLRenderingContext) FuncBindRenderbuffer() (fn js.Func[func(target GLenum, renderbuffer WebGLRenderbuffer)]) {
  1313  	bindings.FuncWebGLRenderingContextBindRenderbuffer(
  1314  		this.ref, js.Pointer(&fn),
  1315  	)
  1316  	return
  1317  }
  1318  
  1319  // BindRenderbuffer calls the method "WebGLRenderingContext.bindRenderbuffer".
  1320  func (this WebGLRenderingContext) BindRenderbuffer(target GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void) {
  1321  	bindings.CallWebGLRenderingContextBindRenderbuffer(
  1322  		this.ref, js.Pointer(&ret),
  1323  		uint32(target),
  1324  		renderbuffer.Ref(),
  1325  	)
  1326  
  1327  	return
  1328  }
  1329  
  1330  // TryBindRenderbuffer calls the method "WebGLRenderingContext.bindRenderbuffer"
  1331  // in a try/catch block and returns (_, err, ok = false) when it went through
  1332  // the catch clause.
  1333  func (this WebGLRenderingContext) TryBindRenderbuffer(target GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void, exception js.Any, ok bool) {
  1334  	ok = js.True == bindings.TryWebGLRenderingContextBindRenderbuffer(
  1335  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1336  		uint32(target),
  1337  		renderbuffer.Ref(),
  1338  	)
  1339  
  1340  	return
  1341  }
  1342  
  1343  // HasFuncBindTexture returns true if the method "WebGLRenderingContext.bindTexture" exists.
  1344  func (this WebGLRenderingContext) HasFuncBindTexture() bool {
  1345  	return js.True == bindings.HasFuncWebGLRenderingContextBindTexture(
  1346  		this.ref,
  1347  	)
  1348  }
  1349  
  1350  // FuncBindTexture returns the method "WebGLRenderingContext.bindTexture".
  1351  func (this WebGLRenderingContext) FuncBindTexture() (fn js.Func[func(target GLenum, texture WebGLTexture)]) {
  1352  	bindings.FuncWebGLRenderingContextBindTexture(
  1353  		this.ref, js.Pointer(&fn),
  1354  	)
  1355  	return
  1356  }
  1357  
  1358  // BindTexture calls the method "WebGLRenderingContext.bindTexture".
  1359  func (this WebGLRenderingContext) BindTexture(target GLenum, texture WebGLTexture) (ret js.Void) {
  1360  	bindings.CallWebGLRenderingContextBindTexture(
  1361  		this.ref, js.Pointer(&ret),
  1362  		uint32(target),
  1363  		texture.Ref(),
  1364  	)
  1365  
  1366  	return
  1367  }
  1368  
  1369  // TryBindTexture calls the method "WebGLRenderingContext.bindTexture"
  1370  // in a try/catch block and returns (_, err, ok = false) when it went through
  1371  // the catch clause.
  1372  func (this WebGLRenderingContext) TryBindTexture(target GLenum, texture WebGLTexture) (ret js.Void, exception js.Any, ok bool) {
  1373  	ok = js.True == bindings.TryWebGLRenderingContextBindTexture(
  1374  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1375  		uint32(target),
  1376  		texture.Ref(),
  1377  	)
  1378  
  1379  	return
  1380  }
  1381  
  1382  // HasFuncBlendColor returns true if the method "WebGLRenderingContext.blendColor" exists.
  1383  func (this WebGLRenderingContext) HasFuncBlendColor() bool {
  1384  	return js.True == bindings.HasFuncWebGLRenderingContextBlendColor(
  1385  		this.ref,
  1386  	)
  1387  }
  1388  
  1389  // FuncBlendColor returns the method "WebGLRenderingContext.blendColor".
  1390  func (this WebGLRenderingContext) FuncBlendColor() (fn js.Func[func(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf)]) {
  1391  	bindings.FuncWebGLRenderingContextBlendColor(
  1392  		this.ref, js.Pointer(&fn),
  1393  	)
  1394  	return
  1395  }
  1396  
  1397  // BlendColor calls the method "WebGLRenderingContext.blendColor".
  1398  func (this WebGLRenderingContext) BlendColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void) {
  1399  	bindings.CallWebGLRenderingContextBlendColor(
  1400  		this.ref, js.Pointer(&ret),
  1401  		float32(red),
  1402  		float32(green),
  1403  		float32(blue),
  1404  		float32(alpha),
  1405  	)
  1406  
  1407  	return
  1408  }
  1409  
  1410  // TryBlendColor calls the method "WebGLRenderingContext.blendColor"
  1411  // in a try/catch block and returns (_, err, ok = false) when it went through
  1412  // the catch clause.
  1413  func (this WebGLRenderingContext) TryBlendColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void, exception js.Any, ok bool) {
  1414  	ok = js.True == bindings.TryWebGLRenderingContextBlendColor(
  1415  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1416  		float32(red),
  1417  		float32(green),
  1418  		float32(blue),
  1419  		float32(alpha),
  1420  	)
  1421  
  1422  	return
  1423  }
  1424  
  1425  // HasFuncBlendEquation returns true if the method "WebGLRenderingContext.blendEquation" exists.
  1426  func (this WebGLRenderingContext) HasFuncBlendEquation() bool {
  1427  	return js.True == bindings.HasFuncWebGLRenderingContextBlendEquation(
  1428  		this.ref,
  1429  	)
  1430  }
  1431  
  1432  // FuncBlendEquation returns the method "WebGLRenderingContext.blendEquation".
  1433  func (this WebGLRenderingContext) FuncBlendEquation() (fn js.Func[func(mode GLenum)]) {
  1434  	bindings.FuncWebGLRenderingContextBlendEquation(
  1435  		this.ref, js.Pointer(&fn),
  1436  	)
  1437  	return
  1438  }
  1439  
  1440  // BlendEquation calls the method "WebGLRenderingContext.blendEquation".
  1441  func (this WebGLRenderingContext) BlendEquation(mode GLenum) (ret js.Void) {
  1442  	bindings.CallWebGLRenderingContextBlendEquation(
  1443  		this.ref, js.Pointer(&ret),
  1444  		uint32(mode),
  1445  	)
  1446  
  1447  	return
  1448  }
  1449  
  1450  // TryBlendEquation calls the method "WebGLRenderingContext.blendEquation"
  1451  // in a try/catch block and returns (_, err, ok = false) when it went through
  1452  // the catch clause.
  1453  func (this WebGLRenderingContext) TryBlendEquation(mode GLenum) (ret js.Void, exception js.Any, ok bool) {
  1454  	ok = js.True == bindings.TryWebGLRenderingContextBlendEquation(
  1455  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1456  		uint32(mode),
  1457  	)
  1458  
  1459  	return
  1460  }
  1461  
  1462  // HasFuncBlendEquationSeparate returns true if the method "WebGLRenderingContext.blendEquationSeparate" exists.
  1463  func (this WebGLRenderingContext) HasFuncBlendEquationSeparate() bool {
  1464  	return js.True == bindings.HasFuncWebGLRenderingContextBlendEquationSeparate(
  1465  		this.ref,
  1466  	)
  1467  }
  1468  
  1469  // FuncBlendEquationSeparate returns the method "WebGLRenderingContext.blendEquationSeparate".
  1470  func (this WebGLRenderingContext) FuncBlendEquationSeparate() (fn js.Func[func(modeRGB GLenum, modeAlpha GLenum)]) {
  1471  	bindings.FuncWebGLRenderingContextBlendEquationSeparate(
  1472  		this.ref, js.Pointer(&fn),
  1473  	)
  1474  	return
  1475  }
  1476  
  1477  // BlendEquationSeparate calls the method "WebGLRenderingContext.blendEquationSeparate".
  1478  func (this WebGLRenderingContext) BlendEquationSeparate(modeRGB GLenum, modeAlpha GLenum) (ret js.Void) {
  1479  	bindings.CallWebGLRenderingContextBlendEquationSeparate(
  1480  		this.ref, js.Pointer(&ret),
  1481  		uint32(modeRGB),
  1482  		uint32(modeAlpha),
  1483  	)
  1484  
  1485  	return
  1486  }
  1487  
  1488  // TryBlendEquationSeparate calls the method "WebGLRenderingContext.blendEquationSeparate"
  1489  // in a try/catch block and returns (_, err, ok = false) when it went through
  1490  // the catch clause.
  1491  func (this WebGLRenderingContext) TryBlendEquationSeparate(modeRGB GLenum, modeAlpha GLenum) (ret js.Void, exception js.Any, ok bool) {
  1492  	ok = js.True == bindings.TryWebGLRenderingContextBlendEquationSeparate(
  1493  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1494  		uint32(modeRGB),
  1495  		uint32(modeAlpha),
  1496  	)
  1497  
  1498  	return
  1499  }
  1500  
  1501  // HasFuncBlendFunc returns true if the method "WebGLRenderingContext.blendFunc" exists.
  1502  func (this WebGLRenderingContext) HasFuncBlendFunc() bool {
  1503  	return js.True == bindings.HasFuncWebGLRenderingContextBlendFunc(
  1504  		this.ref,
  1505  	)
  1506  }
  1507  
  1508  // FuncBlendFunc returns the method "WebGLRenderingContext.blendFunc".
  1509  func (this WebGLRenderingContext) FuncBlendFunc() (fn js.Func[func(sfactor GLenum, dfactor GLenum)]) {
  1510  	bindings.FuncWebGLRenderingContextBlendFunc(
  1511  		this.ref, js.Pointer(&fn),
  1512  	)
  1513  	return
  1514  }
  1515  
  1516  // BlendFunc calls the method "WebGLRenderingContext.blendFunc".
  1517  func (this WebGLRenderingContext) BlendFunc(sfactor GLenum, dfactor GLenum) (ret js.Void) {
  1518  	bindings.CallWebGLRenderingContextBlendFunc(
  1519  		this.ref, js.Pointer(&ret),
  1520  		uint32(sfactor),
  1521  		uint32(dfactor),
  1522  	)
  1523  
  1524  	return
  1525  }
  1526  
  1527  // TryBlendFunc calls the method "WebGLRenderingContext.blendFunc"
  1528  // in a try/catch block and returns (_, err, ok = false) when it went through
  1529  // the catch clause.
  1530  func (this WebGLRenderingContext) TryBlendFunc(sfactor GLenum, dfactor GLenum) (ret js.Void, exception js.Any, ok bool) {
  1531  	ok = js.True == bindings.TryWebGLRenderingContextBlendFunc(
  1532  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1533  		uint32(sfactor),
  1534  		uint32(dfactor),
  1535  	)
  1536  
  1537  	return
  1538  }
  1539  
  1540  // HasFuncBlendFuncSeparate returns true if the method "WebGLRenderingContext.blendFuncSeparate" exists.
  1541  func (this WebGLRenderingContext) HasFuncBlendFuncSeparate() bool {
  1542  	return js.True == bindings.HasFuncWebGLRenderingContextBlendFuncSeparate(
  1543  		this.ref,
  1544  	)
  1545  }
  1546  
  1547  // FuncBlendFuncSeparate returns the method "WebGLRenderingContext.blendFuncSeparate".
  1548  func (this WebGLRenderingContext) FuncBlendFuncSeparate() (fn js.Func[func(srcRGB GLenum, dstRGB GLenum, srcAlpha GLenum, dstAlpha GLenum)]) {
  1549  	bindings.FuncWebGLRenderingContextBlendFuncSeparate(
  1550  		this.ref, js.Pointer(&fn),
  1551  	)
  1552  	return
  1553  }
  1554  
  1555  // BlendFuncSeparate calls the method "WebGLRenderingContext.blendFuncSeparate".
  1556  func (this WebGLRenderingContext) BlendFuncSeparate(srcRGB GLenum, dstRGB GLenum, srcAlpha GLenum, dstAlpha GLenum) (ret js.Void) {
  1557  	bindings.CallWebGLRenderingContextBlendFuncSeparate(
  1558  		this.ref, js.Pointer(&ret),
  1559  		uint32(srcRGB),
  1560  		uint32(dstRGB),
  1561  		uint32(srcAlpha),
  1562  		uint32(dstAlpha),
  1563  	)
  1564  
  1565  	return
  1566  }
  1567  
  1568  // TryBlendFuncSeparate calls the method "WebGLRenderingContext.blendFuncSeparate"
  1569  // in a try/catch block and returns (_, err, ok = false) when it went through
  1570  // the catch clause.
  1571  func (this WebGLRenderingContext) TryBlendFuncSeparate(srcRGB GLenum, dstRGB GLenum, srcAlpha GLenum, dstAlpha GLenum) (ret js.Void, exception js.Any, ok bool) {
  1572  	ok = js.True == bindings.TryWebGLRenderingContextBlendFuncSeparate(
  1573  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1574  		uint32(srcRGB),
  1575  		uint32(dstRGB),
  1576  		uint32(srcAlpha),
  1577  		uint32(dstAlpha),
  1578  	)
  1579  
  1580  	return
  1581  }
  1582  
  1583  // HasFuncCheckFramebufferStatus returns true if the method "WebGLRenderingContext.checkFramebufferStatus" exists.
  1584  func (this WebGLRenderingContext) HasFuncCheckFramebufferStatus() bool {
  1585  	return js.True == bindings.HasFuncWebGLRenderingContextCheckFramebufferStatus(
  1586  		this.ref,
  1587  	)
  1588  }
  1589  
  1590  // FuncCheckFramebufferStatus returns the method "WebGLRenderingContext.checkFramebufferStatus".
  1591  func (this WebGLRenderingContext) FuncCheckFramebufferStatus() (fn js.Func[func(target GLenum) GLenum]) {
  1592  	bindings.FuncWebGLRenderingContextCheckFramebufferStatus(
  1593  		this.ref, js.Pointer(&fn),
  1594  	)
  1595  	return
  1596  }
  1597  
  1598  // CheckFramebufferStatus calls the method "WebGLRenderingContext.checkFramebufferStatus".
  1599  func (this WebGLRenderingContext) CheckFramebufferStatus(target GLenum) (ret GLenum) {
  1600  	bindings.CallWebGLRenderingContextCheckFramebufferStatus(
  1601  		this.ref, js.Pointer(&ret),
  1602  		uint32(target),
  1603  	)
  1604  
  1605  	return
  1606  }
  1607  
  1608  // TryCheckFramebufferStatus calls the method "WebGLRenderingContext.checkFramebufferStatus"
  1609  // in a try/catch block and returns (_, err, ok = false) when it went through
  1610  // the catch clause.
  1611  func (this WebGLRenderingContext) TryCheckFramebufferStatus(target GLenum) (ret GLenum, exception js.Any, ok bool) {
  1612  	ok = js.True == bindings.TryWebGLRenderingContextCheckFramebufferStatus(
  1613  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1614  		uint32(target),
  1615  	)
  1616  
  1617  	return
  1618  }
  1619  
  1620  // HasFuncClear returns true if the method "WebGLRenderingContext.clear" exists.
  1621  func (this WebGLRenderingContext) HasFuncClear() bool {
  1622  	return js.True == bindings.HasFuncWebGLRenderingContextClear(
  1623  		this.ref,
  1624  	)
  1625  }
  1626  
  1627  // FuncClear returns the method "WebGLRenderingContext.clear".
  1628  func (this WebGLRenderingContext) FuncClear() (fn js.Func[func(mask GLbitfield)]) {
  1629  	bindings.FuncWebGLRenderingContextClear(
  1630  		this.ref, js.Pointer(&fn),
  1631  	)
  1632  	return
  1633  }
  1634  
  1635  // Clear calls the method "WebGLRenderingContext.clear".
  1636  func (this WebGLRenderingContext) Clear(mask GLbitfield) (ret js.Void) {
  1637  	bindings.CallWebGLRenderingContextClear(
  1638  		this.ref, js.Pointer(&ret),
  1639  		uint32(mask),
  1640  	)
  1641  
  1642  	return
  1643  }
  1644  
  1645  // TryClear calls the method "WebGLRenderingContext.clear"
  1646  // in a try/catch block and returns (_, err, ok = false) when it went through
  1647  // the catch clause.
  1648  func (this WebGLRenderingContext) TryClear(mask GLbitfield) (ret js.Void, exception js.Any, ok bool) {
  1649  	ok = js.True == bindings.TryWebGLRenderingContextClear(
  1650  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1651  		uint32(mask),
  1652  	)
  1653  
  1654  	return
  1655  }
  1656  
  1657  // HasFuncClearColor returns true if the method "WebGLRenderingContext.clearColor" exists.
  1658  func (this WebGLRenderingContext) HasFuncClearColor() bool {
  1659  	return js.True == bindings.HasFuncWebGLRenderingContextClearColor(
  1660  		this.ref,
  1661  	)
  1662  }
  1663  
  1664  // FuncClearColor returns the method "WebGLRenderingContext.clearColor".
  1665  func (this WebGLRenderingContext) FuncClearColor() (fn js.Func[func(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf)]) {
  1666  	bindings.FuncWebGLRenderingContextClearColor(
  1667  		this.ref, js.Pointer(&fn),
  1668  	)
  1669  	return
  1670  }
  1671  
  1672  // ClearColor calls the method "WebGLRenderingContext.clearColor".
  1673  func (this WebGLRenderingContext) ClearColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void) {
  1674  	bindings.CallWebGLRenderingContextClearColor(
  1675  		this.ref, js.Pointer(&ret),
  1676  		float32(red),
  1677  		float32(green),
  1678  		float32(blue),
  1679  		float32(alpha),
  1680  	)
  1681  
  1682  	return
  1683  }
  1684  
  1685  // TryClearColor calls the method "WebGLRenderingContext.clearColor"
  1686  // in a try/catch block and returns (_, err, ok = false) when it went through
  1687  // the catch clause.
  1688  func (this WebGLRenderingContext) TryClearColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void, exception js.Any, ok bool) {
  1689  	ok = js.True == bindings.TryWebGLRenderingContextClearColor(
  1690  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1691  		float32(red),
  1692  		float32(green),
  1693  		float32(blue),
  1694  		float32(alpha),
  1695  	)
  1696  
  1697  	return
  1698  }
  1699  
  1700  // HasFuncClearDepth returns true if the method "WebGLRenderingContext.clearDepth" exists.
  1701  func (this WebGLRenderingContext) HasFuncClearDepth() bool {
  1702  	return js.True == bindings.HasFuncWebGLRenderingContextClearDepth(
  1703  		this.ref,
  1704  	)
  1705  }
  1706  
  1707  // FuncClearDepth returns the method "WebGLRenderingContext.clearDepth".
  1708  func (this WebGLRenderingContext) FuncClearDepth() (fn js.Func[func(depth GLclampf)]) {
  1709  	bindings.FuncWebGLRenderingContextClearDepth(
  1710  		this.ref, js.Pointer(&fn),
  1711  	)
  1712  	return
  1713  }
  1714  
  1715  // ClearDepth calls the method "WebGLRenderingContext.clearDepth".
  1716  func (this WebGLRenderingContext) ClearDepth(depth GLclampf) (ret js.Void) {
  1717  	bindings.CallWebGLRenderingContextClearDepth(
  1718  		this.ref, js.Pointer(&ret),
  1719  		float32(depth),
  1720  	)
  1721  
  1722  	return
  1723  }
  1724  
  1725  // TryClearDepth calls the method "WebGLRenderingContext.clearDepth"
  1726  // in a try/catch block and returns (_, err, ok = false) when it went through
  1727  // the catch clause.
  1728  func (this WebGLRenderingContext) TryClearDepth(depth GLclampf) (ret js.Void, exception js.Any, ok bool) {
  1729  	ok = js.True == bindings.TryWebGLRenderingContextClearDepth(
  1730  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1731  		float32(depth),
  1732  	)
  1733  
  1734  	return
  1735  }
  1736  
  1737  // HasFuncClearStencil returns true if the method "WebGLRenderingContext.clearStencil" exists.
  1738  func (this WebGLRenderingContext) HasFuncClearStencil() bool {
  1739  	return js.True == bindings.HasFuncWebGLRenderingContextClearStencil(
  1740  		this.ref,
  1741  	)
  1742  }
  1743  
  1744  // FuncClearStencil returns the method "WebGLRenderingContext.clearStencil".
  1745  func (this WebGLRenderingContext) FuncClearStencil() (fn js.Func[func(s GLint)]) {
  1746  	bindings.FuncWebGLRenderingContextClearStencil(
  1747  		this.ref, js.Pointer(&fn),
  1748  	)
  1749  	return
  1750  }
  1751  
  1752  // ClearStencil calls the method "WebGLRenderingContext.clearStencil".
  1753  func (this WebGLRenderingContext) ClearStencil(s GLint) (ret js.Void) {
  1754  	bindings.CallWebGLRenderingContextClearStencil(
  1755  		this.ref, js.Pointer(&ret),
  1756  		int32(s),
  1757  	)
  1758  
  1759  	return
  1760  }
  1761  
  1762  // TryClearStencil calls the method "WebGLRenderingContext.clearStencil"
  1763  // in a try/catch block and returns (_, err, ok = false) when it went through
  1764  // the catch clause.
  1765  func (this WebGLRenderingContext) TryClearStencil(s GLint) (ret js.Void, exception js.Any, ok bool) {
  1766  	ok = js.True == bindings.TryWebGLRenderingContextClearStencil(
  1767  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1768  		int32(s),
  1769  	)
  1770  
  1771  	return
  1772  }
  1773  
  1774  // HasFuncColorMask returns true if the method "WebGLRenderingContext.colorMask" exists.
  1775  func (this WebGLRenderingContext) HasFuncColorMask() bool {
  1776  	return js.True == bindings.HasFuncWebGLRenderingContextColorMask(
  1777  		this.ref,
  1778  	)
  1779  }
  1780  
  1781  // FuncColorMask returns the method "WebGLRenderingContext.colorMask".
  1782  func (this WebGLRenderingContext) FuncColorMask() (fn js.Func[func(red GLboolean, green GLboolean, blue GLboolean, alpha GLboolean)]) {
  1783  	bindings.FuncWebGLRenderingContextColorMask(
  1784  		this.ref, js.Pointer(&fn),
  1785  	)
  1786  	return
  1787  }
  1788  
  1789  // ColorMask calls the method "WebGLRenderingContext.colorMask".
  1790  func (this WebGLRenderingContext) ColorMask(red GLboolean, green GLboolean, blue GLboolean, alpha GLboolean) (ret js.Void) {
  1791  	bindings.CallWebGLRenderingContextColorMask(
  1792  		this.ref, js.Pointer(&ret),
  1793  		js.Bool(bool(red)),
  1794  		js.Bool(bool(green)),
  1795  		js.Bool(bool(blue)),
  1796  		js.Bool(bool(alpha)),
  1797  	)
  1798  
  1799  	return
  1800  }
  1801  
  1802  // TryColorMask calls the method "WebGLRenderingContext.colorMask"
  1803  // in a try/catch block and returns (_, err, ok = false) when it went through
  1804  // the catch clause.
  1805  func (this WebGLRenderingContext) TryColorMask(red GLboolean, green GLboolean, blue GLboolean, alpha GLboolean) (ret js.Void, exception js.Any, ok bool) {
  1806  	ok = js.True == bindings.TryWebGLRenderingContextColorMask(
  1807  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1808  		js.Bool(bool(red)),
  1809  		js.Bool(bool(green)),
  1810  		js.Bool(bool(blue)),
  1811  		js.Bool(bool(alpha)),
  1812  	)
  1813  
  1814  	return
  1815  }
  1816  
  1817  // HasFuncCompileShader returns true if the method "WebGLRenderingContext.compileShader" exists.
  1818  func (this WebGLRenderingContext) HasFuncCompileShader() bool {
  1819  	return js.True == bindings.HasFuncWebGLRenderingContextCompileShader(
  1820  		this.ref,
  1821  	)
  1822  }
  1823  
  1824  // FuncCompileShader returns the method "WebGLRenderingContext.compileShader".
  1825  func (this WebGLRenderingContext) FuncCompileShader() (fn js.Func[func(shader WebGLShader)]) {
  1826  	bindings.FuncWebGLRenderingContextCompileShader(
  1827  		this.ref, js.Pointer(&fn),
  1828  	)
  1829  	return
  1830  }
  1831  
  1832  // CompileShader calls the method "WebGLRenderingContext.compileShader".
  1833  func (this WebGLRenderingContext) CompileShader(shader WebGLShader) (ret js.Void) {
  1834  	bindings.CallWebGLRenderingContextCompileShader(
  1835  		this.ref, js.Pointer(&ret),
  1836  		shader.Ref(),
  1837  	)
  1838  
  1839  	return
  1840  }
  1841  
  1842  // TryCompileShader calls the method "WebGLRenderingContext.compileShader"
  1843  // in a try/catch block and returns (_, err, ok = false) when it went through
  1844  // the catch clause.
  1845  func (this WebGLRenderingContext) TryCompileShader(shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
  1846  	ok = js.True == bindings.TryWebGLRenderingContextCompileShader(
  1847  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1848  		shader.Ref(),
  1849  	)
  1850  
  1851  	return
  1852  }
  1853  
  1854  // HasFuncCopyTexImage2D returns true if the method "WebGLRenderingContext.copyTexImage2D" exists.
  1855  func (this WebGLRenderingContext) HasFuncCopyTexImage2D() bool {
  1856  	return js.True == bindings.HasFuncWebGLRenderingContextCopyTexImage2D(
  1857  		this.ref,
  1858  	)
  1859  }
  1860  
  1861  // FuncCopyTexImage2D returns the method "WebGLRenderingContext.copyTexImage2D".
  1862  func (this WebGLRenderingContext) FuncCopyTexImage2D() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, x GLint, y GLint, width GLsizei, height GLsizei, border GLint)]) {
  1863  	bindings.FuncWebGLRenderingContextCopyTexImage2D(
  1864  		this.ref, js.Pointer(&fn),
  1865  	)
  1866  	return
  1867  }
  1868  
  1869  // CopyTexImage2D calls the method "WebGLRenderingContext.copyTexImage2D".
  1870  func (this WebGLRenderingContext) CopyTexImage2D(target GLenum, level GLint, internalformat GLenum, x GLint, y GLint, width GLsizei, height GLsizei, border GLint) (ret js.Void) {
  1871  	bindings.CallWebGLRenderingContextCopyTexImage2D(
  1872  		this.ref, js.Pointer(&ret),
  1873  		uint32(target),
  1874  		int32(level),
  1875  		uint32(internalformat),
  1876  		int32(x),
  1877  		int32(y),
  1878  		int32(width),
  1879  		int32(height),
  1880  		int32(border),
  1881  	)
  1882  
  1883  	return
  1884  }
  1885  
  1886  // TryCopyTexImage2D calls the method "WebGLRenderingContext.copyTexImage2D"
  1887  // in a try/catch block and returns (_, err, ok = false) when it went through
  1888  // the catch clause.
  1889  func (this WebGLRenderingContext) TryCopyTexImage2D(target GLenum, level GLint, internalformat GLenum, x GLint, y GLint, width GLsizei, height GLsizei, border GLint) (ret js.Void, exception js.Any, ok bool) {
  1890  	ok = js.True == bindings.TryWebGLRenderingContextCopyTexImage2D(
  1891  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1892  		uint32(target),
  1893  		int32(level),
  1894  		uint32(internalformat),
  1895  		int32(x),
  1896  		int32(y),
  1897  		int32(width),
  1898  		int32(height),
  1899  		int32(border),
  1900  	)
  1901  
  1902  	return
  1903  }
  1904  
  1905  // HasFuncCopyTexSubImage2D returns true if the method "WebGLRenderingContext.copyTexSubImage2D" exists.
  1906  func (this WebGLRenderingContext) HasFuncCopyTexSubImage2D() bool {
  1907  	return js.True == bindings.HasFuncWebGLRenderingContextCopyTexSubImage2D(
  1908  		this.ref,
  1909  	)
  1910  }
  1911  
  1912  // FuncCopyTexSubImage2D returns the method "WebGLRenderingContext.copyTexSubImage2D".
  1913  func (this WebGLRenderingContext) FuncCopyTexSubImage2D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei)]) {
  1914  	bindings.FuncWebGLRenderingContextCopyTexSubImage2D(
  1915  		this.ref, js.Pointer(&fn),
  1916  	)
  1917  	return
  1918  }
  1919  
  1920  // CopyTexSubImage2D calls the method "WebGLRenderingContext.copyTexSubImage2D".
  1921  func (this WebGLRenderingContext) CopyTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
  1922  	bindings.CallWebGLRenderingContextCopyTexSubImage2D(
  1923  		this.ref, js.Pointer(&ret),
  1924  		uint32(target),
  1925  		int32(level),
  1926  		int32(xoffset),
  1927  		int32(yoffset),
  1928  		int32(x),
  1929  		int32(y),
  1930  		int32(width),
  1931  		int32(height),
  1932  	)
  1933  
  1934  	return
  1935  }
  1936  
  1937  // TryCopyTexSubImage2D calls the method "WebGLRenderingContext.copyTexSubImage2D"
  1938  // in a try/catch block and returns (_, err, ok = false) when it went through
  1939  // the catch clause.
  1940  func (this WebGLRenderingContext) TryCopyTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
  1941  	ok = js.True == bindings.TryWebGLRenderingContextCopyTexSubImage2D(
  1942  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1943  		uint32(target),
  1944  		int32(level),
  1945  		int32(xoffset),
  1946  		int32(yoffset),
  1947  		int32(x),
  1948  		int32(y),
  1949  		int32(width),
  1950  		int32(height),
  1951  	)
  1952  
  1953  	return
  1954  }
  1955  
  1956  // HasFuncCreateBuffer returns true if the method "WebGLRenderingContext.createBuffer" exists.
  1957  func (this WebGLRenderingContext) HasFuncCreateBuffer() bool {
  1958  	return js.True == bindings.HasFuncWebGLRenderingContextCreateBuffer(
  1959  		this.ref,
  1960  	)
  1961  }
  1962  
  1963  // FuncCreateBuffer returns the method "WebGLRenderingContext.createBuffer".
  1964  func (this WebGLRenderingContext) FuncCreateBuffer() (fn js.Func[func() WebGLBuffer]) {
  1965  	bindings.FuncWebGLRenderingContextCreateBuffer(
  1966  		this.ref, js.Pointer(&fn),
  1967  	)
  1968  	return
  1969  }
  1970  
  1971  // CreateBuffer calls the method "WebGLRenderingContext.createBuffer".
  1972  func (this WebGLRenderingContext) CreateBuffer() (ret WebGLBuffer) {
  1973  	bindings.CallWebGLRenderingContextCreateBuffer(
  1974  		this.ref, js.Pointer(&ret),
  1975  	)
  1976  
  1977  	return
  1978  }
  1979  
  1980  // TryCreateBuffer calls the method "WebGLRenderingContext.createBuffer"
  1981  // in a try/catch block and returns (_, err, ok = false) when it went through
  1982  // the catch clause.
  1983  func (this WebGLRenderingContext) TryCreateBuffer() (ret WebGLBuffer, exception js.Any, ok bool) {
  1984  	ok = js.True == bindings.TryWebGLRenderingContextCreateBuffer(
  1985  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  1986  	)
  1987  
  1988  	return
  1989  }
  1990  
  1991  // HasFuncCreateFramebuffer returns true if the method "WebGLRenderingContext.createFramebuffer" exists.
  1992  func (this WebGLRenderingContext) HasFuncCreateFramebuffer() bool {
  1993  	return js.True == bindings.HasFuncWebGLRenderingContextCreateFramebuffer(
  1994  		this.ref,
  1995  	)
  1996  }
  1997  
  1998  // FuncCreateFramebuffer returns the method "WebGLRenderingContext.createFramebuffer".
  1999  func (this WebGLRenderingContext) FuncCreateFramebuffer() (fn js.Func[func() WebGLFramebuffer]) {
  2000  	bindings.FuncWebGLRenderingContextCreateFramebuffer(
  2001  		this.ref, js.Pointer(&fn),
  2002  	)
  2003  	return
  2004  }
  2005  
  2006  // CreateFramebuffer calls the method "WebGLRenderingContext.createFramebuffer".
  2007  func (this WebGLRenderingContext) CreateFramebuffer() (ret WebGLFramebuffer) {
  2008  	bindings.CallWebGLRenderingContextCreateFramebuffer(
  2009  		this.ref, js.Pointer(&ret),
  2010  	)
  2011  
  2012  	return
  2013  }
  2014  
  2015  // TryCreateFramebuffer calls the method "WebGLRenderingContext.createFramebuffer"
  2016  // in a try/catch block and returns (_, err, ok = false) when it went through
  2017  // the catch clause.
  2018  func (this WebGLRenderingContext) TryCreateFramebuffer() (ret WebGLFramebuffer, exception js.Any, ok bool) {
  2019  	ok = js.True == bindings.TryWebGLRenderingContextCreateFramebuffer(
  2020  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2021  	)
  2022  
  2023  	return
  2024  }
  2025  
  2026  // HasFuncCreateProgram returns true if the method "WebGLRenderingContext.createProgram" exists.
  2027  func (this WebGLRenderingContext) HasFuncCreateProgram() bool {
  2028  	return js.True == bindings.HasFuncWebGLRenderingContextCreateProgram(
  2029  		this.ref,
  2030  	)
  2031  }
  2032  
  2033  // FuncCreateProgram returns the method "WebGLRenderingContext.createProgram".
  2034  func (this WebGLRenderingContext) FuncCreateProgram() (fn js.Func[func() WebGLProgram]) {
  2035  	bindings.FuncWebGLRenderingContextCreateProgram(
  2036  		this.ref, js.Pointer(&fn),
  2037  	)
  2038  	return
  2039  }
  2040  
  2041  // CreateProgram calls the method "WebGLRenderingContext.createProgram".
  2042  func (this WebGLRenderingContext) CreateProgram() (ret WebGLProgram) {
  2043  	bindings.CallWebGLRenderingContextCreateProgram(
  2044  		this.ref, js.Pointer(&ret),
  2045  	)
  2046  
  2047  	return
  2048  }
  2049  
  2050  // TryCreateProgram calls the method "WebGLRenderingContext.createProgram"
  2051  // in a try/catch block and returns (_, err, ok = false) when it went through
  2052  // the catch clause.
  2053  func (this WebGLRenderingContext) TryCreateProgram() (ret WebGLProgram, exception js.Any, ok bool) {
  2054  	ok = js.True == bindings.TryWebGLRenderingContextCreateProgram(
  2055  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2056  	)
  2057  
  2058  	return
  2059  }
  2060  
  2061  // HasFuncCreateRenderbuffer returns true if the method "WebGLRenderingContext.createRenderbuffer" exists.
  2062  func (this WebGLRenderingContext) HasFuncCreateRenderbuffer() bool {
  2063  	return js.True == bindings.HasFuncWebGLRenderingContextCreateRenderbuffer(
  2064  		this.ref,
  2065  	)
  2066  }
  2067  
  2068  // FuncCreateRenderbuffer returns the method "WebGLRenderingContext.createRenderbuffer".
  2069  func (this WebGLRenderingContext) FuncCreateRenderbuffer() (fn js.Func[func() WebGLRenderbuffer]) {
  2070  	bindings.FuncWebGLRenderingContextCreateRenderbuffer(
  2071  		this.ref, js.Pointer(&fn),
  2072  	)
  2073  	return
  2074  }
  2075  
  2076  // CreateRenderbuffer calls the method "WebGLRenderingContext.createRenderbuffer".
  2077  func (this WebGLRenderingContext) CreateRenderbuffer() (ret WebGLRenderbuffer) {
  2078  	bindings.CallWebGLRenderingContextCreateRenderbuffer(
  2079  		this.ref, js.Pointer(&ret),
  2080  	)
  2081  
  2082  	return
  2083  }
  2084  
  2085  // TryCreateRenderbuffer calls the method "WebGLRenderingContext.createRenderbuffer"
  2086  // in a try/catch block and returns (_, err, ok = false) when it went through
  2087  // the catch clause.
  2088  func (this WebGLRenderingContext) TryCreateRenderbuffer() (ret WebGLRenderbuffer, exception js.Any, ok bool) {
  2089  	ok = js.True == bindings.TryWebGLRenderingContextCreateRenderbuffer(
  2090  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2091  	)
  2092  
  2093  	return
  2094  }
  2095  
  2096  // HasFuncCreateShader returns true if the method "WebGLRenderingContext.createShader" exists.
  2097  func (this WebGLRenderingContext) HasFuncCreateShader() bool {
  2098  	return js.True == bindings.HasFuncWebGLRenderingContextCreateShader(
  2099  		this.ref,
  2100  	)
  2101  }
  2102  
  2103  // FuncCreateShader returns the method "WebGLRenderingContext.createShader".
  2104  func (this WebGLRenderingContext) FuncCreateShader() (fn js.Func[func(typ GLenum) WebGLShader]) {
  2105  	bindings.FuncWebGLRenderingContextCreateShader(
  2106  		this.ref, js.Pointer(&fn),
  2107  	)
  2108  	return
  2109  }
  2110  
  2111  // CreateShader calls the method "WebGLRenderingContext.createShader".
  2112  func (this WebGLRenderingContext) CreateShader(typ GLenum) (ret WebGLShader) {
  2113  	bindings.CallWebGLRenderingContextCreateShader(
  2114  		this.ref, js.Pointer(&ret),
  2115  		uint32(typ),
  2116  	)
  2117  
  2118  	return
  2119  }
  2120  
  2121  // TryCreateShader calls the method "WebGLRenderingContext.createShader"
  2122  // in a try/catch block and returns (_, err, ok = false) when it went through
  2123  // the catch clause.
  2124  func (this WebGLRenderingContext) TryCreateShader(typ GLenum) (ret WebGLShader, exception js.Any, ok bool) {
  2125  	ok = js.True == bindings.TryWebGLRenderingContextCreateShader(
  2126  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2127  		uint32(typ),
  2128  	)
  2129  
  2130  	return
  2131  }
  2132  
  2133  // HasFuncCreateTexture returns true if the method "WebGLRenderingContext.createTexture" exists.
  2134  func (this WebGLRenderingContext) HasFuncCreateTexture() bool {
  2135  	return js.True == bindings.HasFuncWebGLRenderingContextCreateTexture(
  2136  		this.ref,
  2137  	)
  2138  }
  2139  
  2140  // FuncCreateTexture returns the method "WebGLRenderingContext.createTexture".
  2141  func (this WebGLRenderingContext) FuncCreateTexture() (fn js.Func[func() WebGLTexture]) {
  2142  	bindings.FuncWebGLRenderingContextCreateTexture(
  2143  		this.ref, js.Pointer(&fn),
  2144  	)
  2145  	return
  2146  }
  2147  
  2148  // CreateTexture calls the method "WebGLRenderingContext.createTexture".
  2149  func (this WebGLRenderingContext) CreateTexture() (ret WebGLTexture) {
  2150  	bindings.CallWebGLRenderingContextCreateTexture(
  2151  		this.ref, js.Pointer(&ret),
  2152  	)
  2153  
  2154  	return
  2155  }
  2156  
  2157  // TryCreateTexture calls the method "WebGLRenderingContext.createTexture"
  2158  // in a try/catch block and returns (_, err, ok = false) when it went through
  2159  // the catch clause.
  2160  func (this WebGLRenderingContext) TryCreateTexture() (ret WebGLTexture, exception js.Any, ok bool) {
  2161  	ok = js.True == bindings.TryWebGLRenderingContextCreateTexture(
  2162  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2163  	)
  2164  
  2165  	return
  2166  }
  2167  
  2168  // HasFuncCullFace returns true if the method "WebGLRenderingContext.cullFace" exists.
  2169  func (this WebGLRenderingContext) HasFuncCullFace() bool {
  2170  	return js.True == bindings.HasFuncWebGLRenderingContextCullFace(
  2171  		this.ref,
  2172  	)
  2173  }
  2174  
  2175  // FuncCullFace returns the method "WebGLRenderingContext.cullFace".
  2176  func (this WebGLRenderingContext) FuncCullFace() (fn js.Func[func(mode GLenum)]) {
  2177  	bindings.FuncWebGLRenderingContextCullFace(
  2178  		this.ref, js.Pointer(&fn),
  2179  	)
  2180  	return
  2181  }
  2182  
  2183  // CullFace calls the method "WebGLRenderingContext.cullFace".
  2184  func (this WebGLRenderingContext) CullFace(mode GLenum) (ret js.Void) {
  2185  	bindings.CallWebGLRenderingContextCullFace(
  2186  		this.ref, js.Pointer(&ret),
  2187  		uint32(mode),
  2188  	)
  2189  
  2190  	return
  2191  }
  2192  
  2193  // TryCullFace calls the method "WebGLRenderingContext.cullFace"
  2194  // in a try/catch block and returns (_, err, ok = false) when it went through
  2195  // the catch clause.
  2196  func (this WebGLRenderingContext) TryCullFace(mode GLenum) (ret js.Void, exception js.Any, ok bool) {
  2197  	ok = js.True == bindings.TryWebGLRenderingContextCullFace(
  2198  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2199  		uint32(mode),
  2200  	)
  2201  
  2202  	return
  2203  }
  2204  
  2205  // HasFuncDeleteBuffer returns true if the method "WebGLRenderingContext.deleteBuffer" exists.
  2206  func (this WebGLRenderingContext) HasFuncDeleteBuffer() bool {
  2207  	return js.True == bindings.HasFuncWebGLRenderingContextDeleteBuffer(
  2208  		this.ref,
  2209  	)
  2210  }
  2211  
  2212  // FuncDeleteBuffer returns the method "WebGLRenderingContext.deleteBuffer".
  2213  func (this WebGLRenderingContext) FuncDeleteBuffer() (fn js.Func[func(buffer WebGLBuffer)]) {
  2214  	bindings.FuncWebGLRenderingContextDeleteBuffer(
  2215  		this.ref, js.Pointer(&fn),
  2216  	)
  2217  	return
  2218  }
  2219  
  2220  // DeleteBuffer calls the method "WebGLRenderingContext.deleteBuffer".
  2221  func (this WebGLRenderingContext) DeleteBuffer(buffer WebGLBuffer) (ret js.Void) {
  2222  	bindings.CallWebGLRenderingContextDeleteBuffer(
  2223  		this.ref, js.Pointer(&ret),
  2224  		buffer.Ref(),
  2225  	)
  2226  
  2227  	return
  2228  }
  2229  
  2230  // TryDeleteBuffer calls the method "WebGLRenderingContext.deleteBuffer"
  2231  // in a try/catch block and returns (_, err, ok = false) when it went through
  2232  // the catch clause.
  2233  func (this WebGLRenderingContext) TryDeleteBuffer(buffer WebGLBuffer) (ret js.Void, exception js.Any, ok bool) {
  2234  	ok = js.True == bindings.TryWebGLRenderingContextDeleteBuffer(
  2235  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2236  		buffer.Ref(),
  2237  	)
  2238  
  2239  	return
  2240  }
  2241  
  2242  // HasFuncDeleteFramebuffer returns true if the method "WebGLRenderingContext.deleteFramebuffer" exists.
  2243  func (this WebGLRenderingContext) HasFuncDeleteFramebuffer() bool {
  2244  	return js.True == bindings.HasFuncWebGLRenderingContextDeleteFramebuffer(
  2245  		this.ref,
  2246  	)
  2247  }
  2248  
  2249  // FuncDeleteFramebuffer returns the method "WebGLRenderingContext.deleteFramebuffer".
  2250  func (this WebGLRenderingContext) FuncDeleteFramebuffer() (fn js.Func[func(framebuffer WebGLFramebuffer)]) {
  2251  	bindings.FuncWebGLRenderingContextDeleteFramebuffer(
  2252  		this.ref, js.Pointer(&fn),
  2253  	)
  2254  	return
  2255  }
  2256  
  2257  // DeleteFramebuffer calls the method "WebGLRenderingContext.deleteFramebuffer".
  2258  func (this WebGLRenderingContext) DeleteFramebuffer(framebuffer WebGLFramebuffer) (ret js.Void) {
  2259  	bindings.CallWebGLRenderingContextDeleteFramebuffer(
  2260  		this.ref, js.Pointer(&ret),
  2261  		framebuffer.Ref(),
  2262  	)
  2263  
  2264  	return
  2265  }
  2266  
  2267  // TryDeleteFramebuffer calls the method "WebGLRenderingContext.deleteFramebuffer"
  2268  // in a try/catch block and returns (_, err, ok = false) when it went through
  2269  // the catch clause.
  2270  func (this WebGLRenderingContext) TryDeleteFramebuffer(framebuffer WebGLFramebuffer) (ret js.Void, exception js.Any, ok bool) {
  2271  	ok = js.True == bindings.TryWebGLRenderingContextDeleteFramebuffer(
  2272  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2273  		framebuffer.Ref(),
  2274  	)
  2275  
  2276  	return
  2277  }
  2278  
  2279  // HasFuncDeleteProgram returns true if the method "WebGLRenderingContext.deleteProgram" exists.
  2280  func (this WebGLRenderingContext) HasFuncDeleteProgram() bool {
  2281  	return js.True == bindings.HasFuncWebGLRenderingContextDeleteProgram(
  2282  		this.ref,
  2283  	)
  2284  }
  2285  
  2286  // FuncDeleteProgram returns the method "WebGLRenderingContext.deleteProgram".
  2287  func (this WebGLRenderingContext) FuncDeleteProgram() (fn js.Func[func(program WebGLProgram)]) {
  2288  	bindings.FuncWebGLRenderingContextDeleteProgram(
  2289  		this.ref, js.Pointer(&fn),
  2290  	)
  2291  	return
  2292  }
  2293  
  2294  // DeleteProgram calls the method "WebGLRenderingContext.deleteProgram".
  2295  func (this WebGLRenderingContext) DeleteProgram(program WebGLProgram) (ret js.Void) {
  2296  	bindings.CallWebGLRenderingContextDeleteProgram(
  2297  		this.ref, js.Pointer(&ret),
  2298  		program.Ref(),
  2299  	)
  2300  
  2301  	return
  2302  }
  2303  
  2304  // TryDeleteProgram calls the method "WebGLRenderingContext.deleteProgram"
  2305  // in a try/catch block and returns (_, err, ok = false) when it went through
  2306  // the catch clause.
  2307  func (this WebGLRenderingContext) TryDeleteProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
  2308  	ok = js.True == bindings.TryWebGLRenderingContextDeleteProgram(
  2309  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2310  		program.Ref(),
  2311  	)
  2312  
  2313  	return
  2314  }
  2315  
  2316  // HasFuncDeleteRenderbuffer returns true if the method "WebGLRenderingContext.deleteRenderbuffer" exists.
  2317  func (this WebGLRenderingContext) HasFuncDeleteRenderbuffer() bool {
  2318  	return js.True == bindings.HasFuncWebGLRenderingContextDeleteRenderbuffer(
  2319  		this.ref,
  2320  	)
  2321  }
  2322  
  2323  // FuncDeleteRenderbuffer returns the method "WebGLRenderingContext.deleteRenderbuffer".
  2324  func (this WebGLRenderingContext) FuncDeleteRenderbuffer() (fn js.Func[func(renderbuffer WebGLRenderbuffer)]) {
  2325  	bindings.FuncWebGLRenderingContextDeleteRenderbuffer(
  2326  		this.ref, js.Pointer(&fn),
  2327  	)
  2328  	return
  2329  }
  2330  
  2331  // DeleteRenderbuffer calls the method "WebGLRenderingContext.deleteRenderbuffer".
  2332  func (this WebGLRenderingContext) DeleteRenderbuffer(renderbuffer WebGLRenderbuffer) (ret js.Void) {
  2333  	bindings.CallWebGLRenderingContextDeleteRenderbuffer(
  2334  		this.ref, js.Pointer(&ret),
  2335  		renderbuffer.Ref(),
  2336  	)
  2337  
  2338  	return
  2339  }
  2340  
  2341  // TryDeleteRenderbuffer calls the method "WebGLRenderingContext.deleteRenderbuffer"
  2342  // in a try/catch block and returns (_, err, ok = false) when it went through
  2343  // the catch clause.
  2344  func (this WebGLRenderingContext) TryDeleteRenderbuffer(renderbuffer WebGLRenderbuffer) (ret js.Void, exception js.Any, ok bool) {
  2345  	ok = js.True == bindings.TryWebGLRenderingContextDeleteRenderbuffer(
  2346  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2347  		renderbuffer.Ref(),
  2348  	)
  2349  
  2350  	return
  2351  }
  2352  
  2353  // HasFuncDeleteShader returns true if the method "WebGLRenderingContext.deleteShader" exists.
  2354  func (this WebGLRenderingContext) HasFuncDeleteShader() bool {
  2355  	return js.True == bindings.HasFuncWebGLRenderingContextDeleteShader(
  2356  		this.ref,
  2357  	)
  2358  }
  2359  
  2360  // FuncDeleteShader returns the method "WebGLRenderingContext.deleteShader".
  2361  func (this WebGLRenderingContext) FuncDeleteShader() (fn js.Func[func(shader WebGLShader)]) {
  2362  	bindings.FuncWebGLRenderingContextDeleteShader(
  2363  		this.ref, js.Pointer(&fn),
  2364  	)
  2365  	return
  2366  }
  2367  
  2368  // DeleteShader calls the method "WebGLRenderingContext.deleteShader".
  2369  func (this WebGLRenderingContext) DeleteShader(shader WebGLShader) (ret js.Void) {
  2370  	bindings.CallWebGLRenderingContextDeleteShader(
  2371  		this.ref, js.Pointer(&ret),
  2372  		shader.Ref(),
  2373  	)
  2374  
  2375  	return
  2376  }
  2377  
  2378  // TryDeleteShader calls the method "WebGLRenderingContext.deleteShader"
  2379  // in a try/catch block and returns (_, err, ok = false) when it went through
  2380  // the catch clause.
  2381  func (this WebGLRenderingContext) TryDeleteShader(shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
  2382  	ok = js.True == bindings.TryWebGLRenderingContextDeleteShader(
  2383  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2384  		shader.Ref(),
  2385  	)
  2386  
  2387  	return
  2388  }
  2389  
  2390  // HasFuncDeleteTexture returns true if the method "WebGLRenderingContext.deleteTexture" exists.
  2391  func (this WebGLRenderingContext) HasFuncDeleteTexture() bool {
  2392  	return js.True == bindings.HasFuncWebGLRenderingContextDeleteTexture(
  2393  		this.ref,
  2394  	)
  2395  }
  2396  
  2397  // FuncDeleteTexture returns the method "WebGLRenderingContext.deleteTexture".
  2398  func (this WebGLRenderingContext) FuncDeleteTexture() (fn js.Func[func(texture WebGLTexture)]) {
  2399  	bindings.FuncWebGLRenderingContextDeleteTexture(
  2400  		this.ref, js.Pointer(&fn),
  2401  	)
  2402  	return
  2403  }
  2404  
  2405  // DeleteTexture calls the method "WebGLRenderingContext.deleteTexture".
  2406  func (this WebGLRenderingContext) DeleteTexture(texture WebGLTexture) (ret js.Void) {
  2407  	bindings.CallWebGLRenderingContextDeleteTexture(
  2408  		this.ref, js.Pointer(&ret),
  2409  		texture.Ref(),
  2410  	)
  2411  
  2412  	return
  2413  }
  2414  
  2415  // TryDeleteTexture calls the method "WebGLRenderingContext.deleteTexture"
  2416  // in a try/catch block and returns (_, err, ok = false) when it went through
  2417  // the catch clause.
  2418  func (this WebGLRenderingContext) TryDeleteTexture(texture WebGLTexture) (ret js.Void, exception js.Any, ok bool) {
  2419  	ok = js.True == bindings.TryWebGLRenderingContextDeleteTexture(
  2420  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2421  		texture.Ref(),
  2422  	)
  2423  
  2424  	return
  2425  }
  2426  
  2427  // HasFuncDepthFunc returns true if the method "WebGLRenderingContext.depthFunc" exists.
  2428  func (this WebGLRenderingContext) HasFuncDepthFunc() bool {
  2429  	return js.True == bindings.HasFuncWebGLRenderingContextDepthFunc(
  2430  		this.ref,
  2431  	)
  2432  }
  2433  
  2434  // FuncDepthFunc returns the method "WebGLRenderingContext.depthFunc".
  2435  func (this WebGLRenderingContext) FuncDepthFunc() (fn js.Func[func(fn GLenum)]) {
  2436  	bindings.FuncWebGLRenderingContextDepthFunc(
  2437  		this.ref, js.Pointer(&fn),
  2438  	)
  2439  	return
  2440  }
  2441  
  2442  // DepthFunc calls the method "WebGLRenderingContext.depthFunc".
  2443  func (this WebGLRenderingContext) DepthFunc(fn GLenum) (ret js.Void) {
  2444  	bindings.CallWebGLRenderingContextDepthFunc(
  2445  		this.ref, js.Pointer(&ret),
  2446  		uint32(fn),
  2447  	)
  2448  
  2449  	return
  2450  }
  2451  
  2452  // TryDepthFunc calls the method "WebGLRenderingContext.depthFunc"
  2453  // in a try/catch block and returns (_, err, ok = false) when it went through
  2454  // the catch clause.
  2455  func (this WebGLRenderingContext) TryDepthFunc(fn GLenum) (ret js.Void, exception js.Any, ok bool) {
  2456  	ok = js.True == bindings.TryWebGLRenderingContextDepthFunc(
  2457  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2458  		uint32(fn),
  2459  	)
  2460  
  2461  	return
  2462  }
  2463  
  2464  // HasFuncDepthMask returns true if the method "WebGLRenderingContext.depthMask" exists.
  2465  func (this WebGLRenderingContext) HasFuncDepthMask() bool {
  2466  	return js.True == bindings.HasFuncWebGLRenderingContextDepthMask(
  2467  		this.ref,
  2468  	)
  2469  }
  2470  
  2471  // FuncDepthMask returns the method "WebGLRenderingContext.depthMask".
  2472  func (this WebGLRenderingContext) FuncDepthMask() (fn js.Func[func(flag GLboolean)]) {
  2473  	bindings.FuncWebGLRenderingContextDepthMask(
  2474  		this.ref, js.Pointer(&fn),
  2475  	)
  2476  	return
  2477  }
  2478  
  2479  // DepthMask calls the method "WebGLRenderingContext.depthMask".
  2480  func (this WebGLRenderingContext) DepthMask(flag GLboolean) (ret js.Void) {
  2481  	bindings.CallWebGLRenderingContextDepthMask(
  2482  		this.ref, js.Pointer(&ret),
  2483  		js.Bool(bool(flag)),
  2484  	)
  2485  
  2486  	return
  2487  }
  2488  
  2489  // TryDepthMask calls the method "WebGLRenderingContext.depthMask"
  2490  // in a try/catch block and returns (_, err, ok = false) when it went through
  2491  // the catch clause.
  2492  func (this WebGLRenderingContext) TryDepthMask(flag GLboolean) (ret js.Void, exception js.Any, ok bool) {
  2493  	ok = js.True == bindings.TryWebGLRenderingContextDepthMask(
  2494  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2495  		js.Bool(bool(flag)),
  2496  	)
  2497  
  2498  	return
  2499  }
  2500  
  2501  // HasFuncDepthRange returns true if the method "WebGLRenderingContext.depthRange" exists.
  2502  func (this WebGLRenderingContext) HasFuncDepthRange() bool {
  2503  	return js.True == bindings.HasFuncWebGLRenderingContextDepthRange(
  2504  		this.ref,
  2505  	)
  2506  }
  2507  
  2508  // FuncDepthRange returns the method "WebGLRenderingContext.depthRange".
  2509  func (this WebGLRenderingContext) FuncDepthRange() (fn js.Func[func(zNear GLclampf, zFar GLclampf)]) {
  2510  	bindings.FuncWebGLRenderingContextDepthRange(
  2511  		this.ref, js.Pointer(&fn),
  2512  	)
  2513  	return
  2514  }
  2515  
  2516  // DepthRange calls the method "WebGLRenderingContext.depthRange".
  2517  func (this WebGLRenderingContext) DepthRange(zNear GLclampf, zFar GLclampf) (ret js.Void) {
  2518  	bindings.CallWebGLRenderingContextDepthRange(
  2519  		this.ref, js.Pointer(&ret),
  2520  		float32(zNear),
  2521  		float32(zFar),
  2522  	)
  2523  
  2524  	return
  2525  }
  2526  
  2527  // TryDepthRange calls the method "WebGLRenderingContext.depthRange"
  2528  // in a try/catch block and returns (_, err, ok = false) when it went through
  2529  // the catch clause.
  2530  func (this WebGLRenderingContext) TryDepthRange(zNear GLclampf, zFar GLclampf) (ret js.Void, exception js.Any, ok bool) {
  2531  	ok = js.True == bindings.TryWebGLRenderingContextDepthRange(
  2532  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2533  		float32(zNear),
  2534  		float32(zFar),
  2535  	)
  2536  
  2537  	return
  2538  }
  2539  
  2540  // HasFuncDetachShader returns true if the method "WebGLRenderingContext.detachShader" exists.
  2541  func (this WebGLRenderingContext) HasFuncDetachShader() bool {
  2542  	return js.True == bindings.HasFuncWebGLRenderingContextDetachShader(
  2543  		this.ref,
  2544  	)
  2545  }
  2546  
  2547  // FuncDetachShader returns the method "WebGLRenderingContext.detachShader".
  2548  func (this WebGLRenderingContext) FuncDetachShader() (fn js.Func[func(program WebGLProgram, shader WebGLShader)]) {
  2549  	bindings.FuncWebGLRenderingContextDetachShader(
  2550  		this.ref, js.Pointer(&fn),
  2551  	)
  2552  	return
  2553  }
  2554  
  2555  // DetachShader calls the method "WebGLRenderingContext.detachShader".
  2556  func (this WebGLRenderingContext) DetachShader(program WebGLProgram, shader WebGLShader) (ret js.Void) {
  2557  	bindings.CallWebGLRenderingContextDetachShader(
  2558  		this.ref, js.Pointer(&ret),
  2559  		program.Ref(),
  2560  		shader.Ref(),
  2561  	)
  2562  
  2563  	return
  2564  }
  2565  
  2566  // TryDetachShader calls the method "WebGLRenderingContext.detachShader"
  2567  // in a try/catch block and returns (_, err, ok = false) when it went through
  2568  // the catch clause.
  2569  func (this WebGLRenderingContext) TryDetachShader(program WebGLProgram, shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
  2570  	ok = js.True == bindings.TryWebGLRenderingContextDetachShader(
  2571  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2572  		program.Ref(),
  2573  		shader.Ref(),
  2574  	)
  2575  
  2576  	return
  2577  }
  2578  
  2579  // HasFuncDisable returns true if the method "WebGLRenderingContext.disable" exists.
  2580  func (this WebGLRenderingContext) HasFuncDisable() bool {
  2581  	return js.True == bindings.HasFuncWebGLRenderingContextDisable(
  2582  		this.ref,
  2583  	)
  2584  }
  2585  
  2586  // FuncDisable returns the method "WebGLRenderingContext.disable".
  2587  func (this WebGLRenderingContext) FuncDisable() (fn js.Func[func(cap GLenum)]) {
  2588  	bindings.FuncWebGLRenderingContextDisable(
  2589  		this.ref, js.Pointer(&fn),
  2590  	)
  2591  	return
  2592  }
  2593  
  2594  // Disable calls the method "WebGLRenderingContext.disable".
  2595  func (this WebGLRenderingContext) Disable(cap GLenum) (ret js.Void) {
  2596  	bindings.CallWebGLRenderingContextDisable(
  2597  		this.ref, js.Pointer(&ret),
  2598  		uint32(cap),
  2599  	)
  2600  
  2601  	return
  2602  }
  2603  
  2604  // TryDisable calls the method "WebGLRenderingContext.disable"
  2605  // in a try/catch block and returns (_, err, ok = false) when it went through
  2606  // the catch clause.
  2607  func (this WebGLRenderingContext) TryDisable(cap GLenum) (ret js.Void, exception js.Any, ok bool) {
  2608  	ok = js.True == bindings.TryWebGLRenderingContextDisable(
  2609  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2610  		uint32(cap),
  2611  	)
  2612  
  2613  	return
  2614  }
  2615  
  2616  // HasFuncDisableVertexAttribArray returns true if the method "WebGLRenderingContext.disableVertexAttribArray" exists.
  2617  func (this WebGLRenderingContext) HasFuncDisableVertexAttribArray() bool {
  2618  	return js.True == bindings.HasFuncWebGLRenderingContextDisableVertexAttribArray(
  2619  		this.ref,
  2620  	)
  2621  }
  2622  
  2623  // FuncDisableVertexAttribArray returns the method "WebGLRenderingContext.disableVertexAttribArray".
  2624  func (this WebGLRenderingContext) FuncDisableVertexAttribArray() (fn js.Func[func(index GLuint)]) {
  2625  	bindings.FuncWebGLRenderingContextDisableVertexAttribArray(
  2626  		this.ref, js.Pointer(&fn),
  2627  	)
  2628  	return
  2629  }
  2630  
  2631  // DisableVertexAttribArray calls the method "WebGLRenderingContext.disableVertexAttribArray".
  2632  func (this WebGLRenderingContext) DisableVertexAttribArray(index GLuint) (ret js.Void) {
  2633  	bindings.CallWebGLRenderingContextDisableVertexAttribArray(
  2634  		this.ref, js.Pointer(&ret),
  2635  		uint32(index),
  2636  	)
  2637  
  2638  	return
  2639  }
  2640  
  2641  // TryDisableVertexAttribArray calls the method "WebGLRenderingContext.disableVertexAttribArray"
  2642  // in a try/catch block and returns (_, err, ok = false) when it went through
  2643  // the catch clause.
  2644  func (this WebGLRenderingContext) TryDisableVertexAttribArray(index GLuint) (ret js.Void, exception js.Any, ok bool) {
  2645  	ok = js.True == bindings.TryWebGLRenderingContextDisableVertexAttribArray(
  2646  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2647  		uint32(index),
  2648  	)
  2649  
  2650  	return
  2651  }
  2652  
  2653  // HasFuncDrawArrays returns true if the method "WebGLRenderingContext.drawArrays" exists.
  2654  func (this WebGLRenderingContext) HasFuncDrawArrays() bool {
  2655  	return js.True == bindings.HasFuncWebGLRenderingContextDrawArrays(
  2656  		this.ref,
  2657  	)
  2658  }
  2659  
  2660  // FuncDrawArrays returns the method "WebGLRenderingContext.drawArrays".
  2661  func (this WebGLRenderingContext) FuncDrawArrays() (fn js.Func[func(mode GLenum, first GLint, count GLsizei)]) {
  2662  	bindings.FuncWebGLRenderingContextDrawArrays(
  2663  		this.ref, js.Pointer(&fn),
  2664  	)
  2665  	return
  2666  }
  2667  
  2668  // DrawArrays calls the method "WebGLRenderingContext.drawArrays".
  2669  func (this WebGLRenderingContext) DrawArrays(mode GLenum, first GLint, count GLsizei) (ret js.Void) {
  2670  	bindings.CallWebGLRenderingContextDrawArrays(
  2671  		this.ref, js.Pointer(&ret),
  2672  		uint32(mode),
  2673  		int32(first),
  2674  		int32(count),
  2675  	)
  2676  
  2677  	return
  2678  }
  2679  
  2680  // TryDrawArrays calls the method "WebGLRenderingContext.drawArrays"
  2681  // in a try/catch block and returns (_, err, ok = false) when it went through
  2682  // the catch clause.
  2683  func (this WebGLRenderingContext) TryDrawArrays(mode GLenum, first GLint, count GLsizei) (ret js.Void, exception js.Any, ok bool) {
  2684  	ok = js.True == bindings.TryWebGLRenderingContextDrawArrays(
  2685  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2686  		uint32(mode),
  2687  		int32(first),
  2688  		int32(count),
  2689  	)
  2690  
  2691  	return
  2692  }
  2693  
  2694  // HasFuncDrawElements returns true if the method "WebGLRenderingContext.drawElements" exists.
  2695  func (this WebGLRenderingContext) HasFuncDrawElements() bool {
  2696  	return js.True == bindings.HasFuncWebGLRenderingContextDrawElements(
  2697  		this.ref,
  2698  	)
  2699  }
  2700  
  2701  // FuncDrawElements returns the method "WebGLRenderingContext.drawElements".
  2702  func (this WebGLRenderingContext) FuncDrawElements() (fn js.Func[func(mode GLenum, count GLsizei, typ GLenum, offset GLintptr)]) {
  2703  	bindings.FuncWebGLRenderingContextDrawElements(
  2704  		this.ref, js.Pointer(&fn),
  2705  	)
  2706  	return
  2707  }
  2708  
  2709  // DrawElements calls the method "WebGLRenderingContext.drawElements".
  2710  func (this WebGLRenderingContext) DrawElements(mode GLenum, count GLsizei, typ GLenum, offset GLintptr) (ret js.Void) {
  2711  	bindings.CallWebGLRenderingContextDrawElements(
  2712  		this.ref, js.Pointer(&ret),
  2713  		uint32(mode),
  2714  		int32(count),
  2715  		uint32(typ),
  2716  		float64(offset),
  2717  	)
  2718  
  2719  	return
  2720  }
  2721  
  2722  // TryDrawElements calls the method "WebGLRenderingContext.drawElements"
  2723  // in a try/catch block and returns (_, err, ok = false) when it went through
  2724  // the catch clause.
  2725  func (this WebGLRenderingContext) TryDrawElements(mode GLenum, count GLsizei, typ GLenum, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  2726  	ok = js.True == bindings.TryWebGLRenderingContextDrawElements(
  2727  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2728  		uint32(mode),
  2729  		int32(count),
  2730  		uint32(typ),
  2731  		float64(offset),
  2732  	)
  2733  
  2734  	return
  2735  }
  2736  
  2737  // HasFuncEnable returns true if the method "WebGLRenderingContext.enable" exists.
  2738  func (this WebGLRenderingContext) HasFuncEnable() bool {
  2739  	return js.True == bindings.HasFuncWebGLRenderingContextEnable(
  2740  		this.ref,
  2741  	)
  2742  }
  2743  
  2744  // FuncEnable returns the method "WebGLRenderingContext.enable".
  2745  func (this WebGLRenderingContext) FuncEnable() (fn js.Func[func(cap GLenum)]) {
  2746  	bindings.FuncWebGLRenderingContextEnable(
  2747  		this.ref, js.Pointer(&fn),
  2748  	)
  2749  	return
  2750  }
  2751  
  2752  // Enable calls the method "WebGLRenderingContext.enable".
  2753  func (this WebGLRenderingContext) Enable(cap GLenum) (ret js.Void) {
  2754  	bindings.CallWebGLRenderingContextEnable(
  2755  		this.ref, js.Pointer(&ret),
  2756  		uint32(cap),
  2757  	)
  2758  
  2759  	return
  2760  }
  2761  
  2762  // TryEnable calls the method "WebGLRenderingContext.enable"
  2763  // in a try/catch block and returns (_, err, ok = false) when it went through
  2764  // the catch clause.
  2765  func (this WebGLRenderingContext) TryEnable(cap GLenum) (ret js.Void, exception js.Any, ok bool) {
  2766  	ok = js.True == bindings.TryWebGLRenderingContextEnable(
  2767  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2768  		uint32(cap),
  2769  	)
  2770  
  2771  	return
  2772  }
  2773  
  2774  // HasFuncEnableVertexAttribArray returns true if the method "WebGLRenderingContext.enableVertexAttribArray" exists.
  2775  func (this WebGLRenderingContext) HasFuncEnableVertexAttribArray() bool {
  2776  	return js.True == bindings.HasFuncWebGLRenderingContextEnableVertexAttribArray(
  2777  		this.ref,
  2778  	)
  2779  }
  2780  
  2781  // FuncEnableVertexAttribArray returns the method "WebGLRenderingContext.enableVertexAttribArray".
  2782  func (this WebGLRenderingContext) FuncEnableVertexAttribArray() (fn js.Func[func(index GLuint)]) {
  2783  	bindings.FuncWebGLRenderingContextEnableVertexAttribArray(
  2784  		this.ref, js.Pointer(&fn),
  2785  	)
  2786  	return
  2787  }
  2788  
  2789  // EnableVertexAttribArray calls the method "WebGLRenderingContext.enableVertexAttribArray".
  2790  func (this WebGLRenderingContext) EnableVertexAttribArray(index GLuint) (ret js.Void) {
  2791  	bindings.CallWebGLRenderingContextEnableVertexAttribArray(
  2792  		this.ref, js.Pointer(&ret),
  2793  		uint32(index),
  2794  	)
  2795  
  2796  	return
  2797  }
  2798  
  2799  // TryEnableVertexAttribArray calls the method "WebGLRenderingContext.enableVertexAttribArray"
  2800  // in a try/catch block and returns (_, err, ok = false) when it went through
  2801  // the catch clause.
  2802  func (this WebGLRenderingContext) TryEnableVertexAttribArray(index GLuint) (ret js.Void, exception js.Any, ok bool) {
  2803  	ok = js.True == bindings.TryWebGLRenderingContextEnableVertexAttribArray(
  2804  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2805  		uint32(index),
  2806  	)
  2807  
  2808  	return
  2809  }
  2810  
  2811  // HasFuncFinish returns true if the method "WebGLRenderingContext.finish" exists.
  2812  func (this WebGLRenderingContext) HasFuncFinish() bool {
  2813  	return js.True == bindings.HasFuncWebGLRenderingContextFinish(
  2814  		this.ref,
  2815  	)
  2816  }
  2817  
  2818  // FuncFinish returns the method "WebGLRenderingContext.finish".
  2819  func (this WebGLRenderingContext) FuncFinish() (fn js.Func[func()]) {
  2820  	bindings.FuncWebGLRenderingContextFinish(
  2821  		this.ref, js.Pointer(&fn),
  2822  	)
  2823  	return
  2824  }
  2825  
  2826  // Finish calls the method "WebGLRenderingContext.finish".
  2827  func (this WebGLRenderingContext) Finish() (ret js.Void) {
  2828  	bindings.CallWebGLRenderingContextFinish(
  2829  		this.ref, js.Pointer(&ret),
  2830  	)
  2831  
  2832  	return
  2833  }
  2834  
  2835  // TryFinish calls the method "WebGLRenderingContext.finish"
  2836  // in a try/catch block and returns (_, err, ok = false) when it went through
  2837  // the catch clause.
  2838  func (this WebGLRenderingContext) TryFinish() (ret js.Void, exception js.Any, ok bool) {
  2839  	ok = js.True == bindings.TryWebGLRenderingContextFinish(
  2840  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2841  	)
  2842  
  2843  	return
  2844  }
  2845  
  2846  // HasFuncFlush returns true if the method "WebGLRenderingContext.flush" exists.
  2847  func (this WebGLRenderingContext) HasFuncFlush() bool {
  2848  	return js.True == bindings.HasFuncWebGLRenderingContextFlush(
  2849  		this.ref,
  2850  	)
  2851  }
  2852  
  2853  // FuncFlush returns the method "WebGLRenderingContext.flush".
  2854  func (this WebGLRenderingContext) FuncFlush() (fn js.Func[func()]) {
  2855  	bindings.FuncWebGLRenderingContextFlush(
  2856  		this.ref, js.Pointer(&fn),
  2857  	)
  2858  	return
  2859  }
  2860  
  2861  // Flush calls the method "WebGLRenderingContext.flush".
  2862  func (this WebGLRenderingContext) Flush() (ret js.Void) {
  2863  	bindings.CallWebGLRenderingContextFlush(
  2864  		this.ref, js.Pointer(&ret),
  2865  	)
  2866  
  2867  	return
  2868  }
  2869  
  2870  // TryFlush calls the method "WebGLRenderingContext.flush"
  2871  // in a try/catch block and returns (_, err, ok = false) when it went through
  2872  // the catch clause.
  2873  func (this WebGLRenderingContext) TryFlush() (ret js.Void, exception js.Any, ok bool) {
  2874  	ok = js.True == bindings.TryWebGLRenderingContextFlush(
  2875  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2876  	)
  2877  
  2878  	return
  2879  }
  2880  
  2881  // HasFuncFramebufferRenderbuffer returns true if the method "WebGLRenderingContext.framebufferRenderbuffer" exists.
  2882  func (this WebGLRenderingContext) HasFuncFramebufferRenderbuffer() bool {
  2883  	return js.True == bindings.HasFuncWebGLRenderingContextFramebufferRenderbuffer(
  2884  		this.ref,
  2885  	)
  2886  }
  2887  
  2888  // FuncFramebufferRenderbuffer returns the method "WebGLRenderingContext.framebufferRenderbuffer".
  2889  func (this WebGLRenderingContext) FuncFramebufferRenderbuffer() (fn js.Func[func(target GLenum, attachment GLenum, renderbuffertarget GLenum, renderbuffer WebGLRenderbuffer)]) {
  2890  	bindings.FuncWebGLRenderingContextFramebufferRenderbuffer(
  2891  		this.ref, js.Pointer(&fn),
  2892  	)
  2893  	return
  2894  }
  2895  
  2896  // FramebufferRenderbuffer calls the method "WebGLRenderingContext.framebufferRenderbuffer".
  2897  func (this WebGLRenderingContext) FramebufferRenderbuffer(target GLenum, attachment GLenum, renderbuffertarget GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void) {
  2898  	bindings.CallWebGLRenderingContextFramebufferRenderbuffer(
  2899  		this.ref, js.Pointer(&ret),
  2900  		uint32(target),
  2901  		uint32(attachment),
  2902  		uint32(renderbuffertarget),
  2903  		renderbuffer.Ref(),
  2904  	)
  2905  
  2906  	return
  2907  }
  2908  
  2909  // TryFramebufferRenderbuffer calls the method "WebGLRenderingContext.framebufferRenderbuffer"
  2910  // in a try/catch block and returns (_, err, ok = false) when it went through
  2911  // the catch clause.
  2912  func (this WebGLRenderingContext) TryFramebufferRenderbuffer(target GLenum, attachment GLenum, renderbuffertarget GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void, exception js.Any, ok bool) {
  2913  	ok = js.True == bindings.TryWebGLRenderingContextFramebufferRenderbuffer(
  2914  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2915  		uint32(target),
  2916  		uint32(attachment),
  2917  		uint32(renderbuffertarget),
  2918  		renderbuffer.Ref(),
  2919  	)
  2920  
  2921  	return
  2922  }
  2923  
  2924  // HasFuncFramebufferTexture2D returns true if the method "WebGLRenderingContext.framebufferTexture2D" exists.
  2925  func (this WebGLRenderingContext) HasFuncFramebufferTexture2D() bool {
  2926  	return js.True == bindings.HasFuncWebGLRenderingContextFramebufferTexture2D(
  2927  		this.ref,
  2928  	)
  2929  }
  2930  
  2931  // FuncFramebufferTexture2D returns the method "WebGLRenderingContext.framebufferTexture2D".
  2932  func (this WebGLRenderingContext) FuncFramebufferTexture2D() (fn js.Func[func(target GLenum, attachment GLenum, textarget GLenum, texture WebGLTexture, level GLint)]) {
  2933  	bindings.FuncWebGLRenderingContextFramebufferTexture2D(
  2934  		this.ref, js.Pointer(&fn),
  2935  	)
  2936  	return
  2937  }
  2938  
  2939  // FramebufferTexture2D calls the method "WebGLRenderingContext.framebufferTexture2D".
  2940  func (this WebGLRenderingContext) FramebufferTexture2D(target GLenum, attachment GLenum, textarget GLenum, texture WebGLTexture, level GLint) (ret js.Void) {
  2941  	bindings.CallWebGLRenderingContextFramebufferTexture2D(
  2942  		this.ref, js.Pointer(&ret),
  2943  		uint32(target),
  2944  		uint32(attachment),
  2945  		uint32(textarget),
  2946  		texture.Ref(),
  2947  		int32(level),
  2948  	)
  2949  
  2950  	return
  2951  }
  2952  
  2953  // TryFramebufferTexture2D calls the method "WebGLRenderingContext.framebufferTexture2D"
  2954  // in a try/catch block and returns (_, err, ok = false) when it went through
  2955  // the catch clause.
  2956  func (this WebGLRenderingContext) TryFramebufferTexture2D(target GLenum, attachment GLenum, textarget GLenum, texture WebGLTexture, level GLint) (ret js.Void, exception js.Any, ok bool) {
  2957  	ok = js.True == bindings.TryWebGLRenderingContextFramebufferTexture2D(
  2958  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  2959  		uint32(target),
  2960  		uint32(attachment),
  2961  		uint32(textarget),
  2962  		texture.Ref(),
  2963  		int32(level),
  2964  	)
  2965  
  2966  	return
  2967  }
  2968  
  2969  // HasFuncFrontFace returns true if the method "WebGLRenderingContext.frontFace" exists.
  2970  func (this WebGLRenderingContext) HasFuncFrontFace() bool {
  2971  	return js.True == bindings.HasFuncWebGLRenderingContextFrontFace(
  2972  		this.ref,
  2973  	)
  2974  }
  2975  
  2976  // FuncFrontFace returns the method "WebGLRenderingContext.frontFace".
  2977  func (this WebGLRenderingContext) FuncFrontFace() (fn js.Func[func(mode GLenum)]) {
  2978  	bindings.FuncWebGLRenderingContextFrontFace(
  2979  		this.ref, js.Pointer(&fn),
  2980  	)
  2981  	return
  2982  }
  2983  
  2984  // FrontFace calls the method "WebGLRenderingContext.frontFace".
  2985  func (this WebGLRenderingContext) FrontFace(mode GLenum) (ret js.Void) {
  2986  	bindings.CallWebGLRenderingContextFrontFace(
  2987  		this.ref, js.Pointer(&ret),
  2988  		uint32(mode),
  2989  	)
  2990  
  2991  	return
  2992  }
  2993  
  2994  // TryFrontFace calls the method "WebGLRenderingContext.frontFace"
  2995  // in a try/catch block and returns (_, err, ok = false) when it went through
  2996  // the catch clause.
  2997  func (this WebGLRenderingContext) TryFrontFace(mode GLenum) (ret js.Void, exception js.Any, ok bool) {
  2998  	ok = js.True == bindings.TryWebGLRenderingContextFrontFace(
  2999  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3000  		uint32(mode),
  3001  	)
  3002  
  3003  	return
  3004  }
  3005  
  3006  // HasFuncGenerateMipmap returns true if the method "WebGLRenderingContext.generateMipmap" exists.
  3007  func (this WebGLRenderingContext) HasFuncGenerateMipmap() bool {
  3008  	return js.True == bindings.HasFuncWebGLRenderingContextGenerateMipmap(
  3009  		this.ref,
  3010  	)
  3011  }
  3012  
  3013  // FuncGenerateMipmap returns the method "WebGLRenderingContext.generateMipmap".
  3014  func (this WebGLRenderingContext) FuncGenerateMipmap() (fn js.Func[func(target GLenum)]) {
  3015  	bindings.FuncWebGLRenderingContextGenerateMipmap(
  3016  		this.ref, js.Pointer(&fn),
  3017  	)
  3018  	return
  3019  }
  3020  
  3021  // GenerateMipmap calls the method "WebGLRenderingContext.generateMipmap".
  3022  func (this WebGLRenderingContext) GenerateMipmap(target GLenum) (ret js.Void) {
  3023  	bindings.CallWebGLRenderingContextGenerateMipmap(
  3024  		this.ref, js.Pointer(&ret),
  3025  		uint32(target),
  3026  	)
  3027  
  3028  	return
  3029  }
  3030  
  3031  // TryGenerateMipmap calls the method "WebGLRenderingContext.generateMipmap"
  3032  // in a try/catch block and returns (_, err, ok = false) when it went through
  3033  // the catch clause.
  3034  func (this WebGLRenderingContext) TryGenerateMipmap(target GLenum) (ret js.Void, exception js.Any, ok bool) {
  3035  	ok = js.True == bindings.TryWebGLRenderingContextGenerateMipmap(
  3036  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3037  		uint32(target),
  3038  	)
  3039  
  3040  	return
  3041  }
  3042  
  3043  // HasFuncGetActiveAttrib returns true if the method "WebGLRenderingContext.getActiveAttrib" exists.
  3044  func (this WebGLRenderingContext) HasFuncGetActiveAttrib() bool {
  3045  	return js.True == bindings.HasFuncWebGLRenderingContextGetActiveAttrib(
  3046  		this.ref,
  3047  	)
  3048  }
  3049  
  3050  // FuncGetActiveAttrib returns the method "WebGLRenderingContext.getActiveAttrib".
  3051  func (this WebGLRenderingContext) FuncGetActiveAttrib() (fn js.Func[func(program WebGLProgram, index GLuint) WebGLActiveInfo]) {
  3052  	bindings.FuncWebGLRenderingContextGetActiveAttrib(
  3053  		this.ref, js.Pointer(&fn),
  3054  	)
  3055  	return
  3056  }
  3057  
  3058  // GetActiveAttrib calls the method "WebGLRenderingContext.getActiveAttrib".
  3059  func (this WebGLRenderingContext) GetActiveAttrib(program WebGLProgram, index GLuint) (ret WebGLActiveInfo) {
  3060  	bindings.CallWebGLRenderingContextGetActiveAttrib(
  3061  		this.ref, js.Pointer(&ret),
  3062  		program.Ref(),
  3063  		uint32(index),
  3064  	)
  3065  
  3066  	return
  3067  }
  3068  
  3069  // TryGetActiveAttrib calls the method "WebGLRenderingContext.getActiveAttrib"
  3070  // in a try/catch block and returns (_, err, ok = false) when it went through
  3071  // the catch clause.
  3072  func (this WebGLRenderingContext) TryGetActiveAttrib(program WebGLProgram, index GLuint) (ret WebGLActiveInfo, exception js.Any, ok bool) {
  3073  	ok = js.True == bindings.TryWebGLRenderingContextGetActiveAttrib(
  3074  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3075  		program.Ref(),
  3076  		uint32(index),
  3077  	)
  3078  
  3079  	return
  3080  }
  3081  
  3082  // HasFuncGetActiveUniform returns true if the method "WebGLRenderingContext.getActiveUniform" exists.
  3083  func (this WebGLRenderingContext) HasFuncGetActiveUniform() bool {
  3084  	return js.True == bindings.HasFuncWebGLRenderingContextGetActiveUniform(
  3085  		this.ref,
  3086  	)
  3087  }
  3088  
  3089  // FuncGetActiveUniform returns the method "WebGLRenderingContext.getActiveUniform".
  3090  func (this WebGLRenderingContext) FuncGetActiveUniform() (fn js.Func[func(program WebGLProgram, index GLuint) WebGLActiveInfo]) {
  3091  	bindings.FuncWebGLRenderingContextGetActiveUniform(
  3092  		this.ref, js.Pointer(&fn),
  3093  	)
  3094  	return
  3095  }
  3096  
  3097  // GetActiveUniform calls the method "WebGLRenderingContext.getActiveUniform".
  3098  func (this WebGLRenderingContext) GetActiveUniform(program WebGLProgram, index GLuint) (ret WebGLActiveInfo) {
  3099  	bindings.CallWebGLRenderingContextGetActiveUniform(
  3100  		this.ref, js.Pointer(&ret),
  3101  		program.Ref(),
  3102  		uint32(index),
  3103  	)
  3104  
  3105  	return
  3106  }
  3107  
  3108  // TryGetActiveUniform calls the method "WebGLRenderingContext.getActiveUniform"
  3109  // in a try/catch block and returns (_, err, ok = false) when it went through
  3110  // the catch clause.
  3111  func (this WebGLRenderingContext) TryGetActiveUniform(program WebGLProgram, index GLuint) (ret WebGLActiveInfo, exception js.Any, ok bool) {
  3112  	ok = js.True == bindings.TryWebGLRenderingContextGetActiveUniform(
  3113  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3114  		program.Ref(),
  3115  		uint32(index),
  3116  	)
  3117  
  3118  	return
  3119  }
  3120  
  3121  // HasFuncGetAttachedShaders returns true if the method "WebGLRenderingContext.getAttachedShaders" exists.
  3122  func (this WebGLRenderingContext) HasFuncGetAttachedShaders() bool {
  3123  	return js.True == bindings.HasFuncWebGLRenderingContextGetAttachedShaders(
  3124  		this.ref,
  3125  	)
  3126  }
  3127  
  3128  // FuncGetAttachedShaders returns the method "WebGLRenderingContext.getAttachedShaders".
  3129  func (this WebGLRenderingContext) FuncGetAttachedShaders() (fn js.Func[func(program WebGLProgram) js.Array[WebGLShader]]) {
  3130  	bindings.FuncWebGLRenderingContextGetAttachedShaders(
  3131  		this.ref, js.Pointer(&fn),
  3132  	)
  3133  	return
  3134  }
  3135  
  3136  // GetAttachedShaders calls the method "WebGLRenderingContext.getAttachedShaders".
  3137  func (this WebGLRenderingContext) GetAttachedShaders(program WebGLProgram) (ret js.Array[WebGLShader]) {
  3138  	bindings.CallWebGLRenderingContextGetAttachedShaders(
  3139  		this.ref, js.Pointer(&ret),
  3140  		program.Ref(),
  3141  	)
  3142  
  3143  	return
  3144  }
  3145  
  3146  // TryGetAttachedShaders calls the method "WebGLRenderingContext.getAttachedShaders"
  3147  // in a try/catch block and returns (_, err, ok = false) when it went through
  3148  // the catch clause.
  3149  func (this WebGLRenderingContext) TryGetAttachedShaders(program WebGLProgram) (ret js.Array[WebGLShader], exception js.Any, ok bool) {
  3150  	ok = js.True == bindings.TryWebGLRenderingContextGetAttachedShaders(
  3151  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3152  		program.Ref(),
  3153  	)
  3154  
  3155  	return
  3156  }
  3157  
  3158  // HasFuncGetAttribLocation returns true if the method "WebGLRenderingContext.getAttribLocation" exists.
  3159  func (this WebGLRenderingContext) HasFuncGetAttribLocation() bool {
  3160  	return js.True == bindings.HasFuncWebGLRenderingContextGetAttribLocation(
  3161  		this.ref,
  3162  	)
  3163  }
  3164  
  3165  // FuncGetAttribLocation returns the method "WebGLRenderingContext.getAttribLocation".
  3166  func (this WebGLRenderingContext) FuncGetAttribLocation() (fn js.Func[func(program WebGLProgram, name js.String) GLint]) {
  3167  	bindings.FuncWebGLRenderingContextGetAttribLocation(
  3168  		this.ref, js.Pointer(&fn),
  3169  	)
  3170  	return
  3171  }
  3172  
  3173  // GetAttribLocation calls the method "WebGLRenderingContext.getAttribLocation".
  3174  func (this WebGLRenderingContext) GetAttribLocation(program WebGLProgram, name js.String) (ret GLint) {
  3175  	bindings.CallWebGLRenderingContextGetAttribLocation(
  3176  		this.ref, js.Pointer(&ret),
  3177  		program.Ref(),
  3178  		name.Ref(),
  3179  	)
  3180  
  3181  	return
  3182  }
  3183  
  3184  // TryGetAttribLocation calls the method "WebGLRenderingContext.getAttribLocation"
  3185  // in a try/catch block and returns (_, err, ok = false) when it went through
  3186  // the catch clause.
  3187  func (this WebGLRenderingContext) TryGetAttribLocation(program WebGLProgram, name js.String) (ret GLint, exception js.Any, ok bool) {
  3188  	ok = js.True == bindings.TryWebGLRenderingContextGetAttribLocation(
  3189  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3190  		program.Ref(),
  3191  		name.Ref(),
  3192  	)
  3193  
  3194  	return
  3195  }
  3196  
  3197  // HasFuncGetBufferParameter returns true if the method "WebGLRenderingContext.getBufferParameter" exists.
  3198  func (this WebGLRenderingContext) HasFuncGetBufferParameter() bool {
  3199  	return js.True == bindings.HasFuncWebGLRenderingContextGetBufferParameter(
  3200  		this.ref,
  3201  	)
  3202  }
  3203  
  3204  // FuncGetBufferParameter returns the method "WebGLRenderingContext.getBufferParameter".
  3205  func (this WebGLRenderingContext) FuncGetBufferParameter() (fn js.Func[func(target GLenum, pname GLenum) js.Any]) {
  3206  	bindings.FuncWebGLRenderingContextGetBufferParameter(
  3207  		this.ref, js.Pointer(&fn),
  3208  	)
  3209  	return
  3210  }
  3211  
  3212  // GetBufferParameter calls the method "WebGLRenderingContext.getBufferParameter".
  3213  func (this WebGLRenderingContext) GetBufferParameter(target GLenum, pname GLenum) (ret js.Any) {
  3214  	bindings.CallWebGLRenderingContextGetBufferParameter(
  3215  		this.ref, js.Pointer(&ret),
  3216  		uint32(target),
  3217  		uint32(pname),
  3218  	)
  3219  
  3220  	return
  3221  }
  3222  
  3223  // TryGetBufferParameter calls the method "WebGLRenderingContext.getBufferParameter"
  3224  // in a try/catch block and returns (_, err, ok = false) when it went through
  3225  // the catch clause.
  3226  func (this WebGLRenderingContext) TryGetBufferParameter(target GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3227  	ok = js.True == bindings.TryWebGLRenderingContextGetBufferParameter(
  3228  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3229  		uint32(target),
  3230  		uint32(pname),
  3231  	)
  3232  
  3233  	return
  3234  }
  3235  
  3236  // HasFuncGetParameter returns true if the method "WebGLRenderingContext.getParameter" exists.
  3237  func (this WebGLRenderingContext) HasFuncGetParameter() bool {
  3238  	return js.True == bindings.HasFuncWebGLRenderingContextGetParameter(
  3239  		this.ref,
  3240  	)
  3241  }
  3242  
  3243  // FuncGetParameter returns the method "WebGLRenderingContext.getParameter".
  3244  func (this WebGLRenderingContext) FuncGetParameter() (fn js.Func[func(pname GLenum) js.Any]) {
  3245  	bindings.FuncWebGLRenderingContextGetParameter(
  3246  		this.ref, js.Pointer(&fn),
  3247  	)
  3248  	return
  3249  }
  3250  
  3251  // GetParameter calls the method "WebGLRenderingContext.getParameter".
  3252  func (this WebGLRenderingContext) GetParameter(pname GLenum) (ret js.Any) {
  3253  	bindings.CallWebGLRenderingContextGetParameter(
  3254  		this.ref, js.Pointer(&ret),
  3255  		uint32(pname),
  3256  	)
  3257  
  3258  	return
  3259  }
  3260  
  3261  // TryGetParameter calls the method "WebGLRenderingContext.getParameter"
  3262  // in a try/catch block and returns (_, err, ok = false) when it went through
  3263  // the catch clause.
  3264  func (this WebGLRenderingContext) TryGetParameter(pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3265  	ok = js.True == bindings.TryWebGLRenderingContextGetParameter(
  3266  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3267  		uint32(pname),
  3268  	)
  3269  
  3270  	return
  3271  }
  3272  
  3273  // HasFuncGetError returns true if the method "WebGLRenderingContext.getError" exists.
  3274  func (this WebGLRenderingContext) HasFuncGetError() bool {
  3275  	return js.True == bindings.HasFuncWebGLRenderingContextGetError(
  3276  		this.ref,
  3277  	)
  3278  }
  3279  
  3280  // FuncGetError returns the method "WebGLRenderingContext.getError".
  3281  func (this WebGLRenderingContext) FuncGetError() (fn js.Func[func() GLenum]) {
  3282  	bindings.FuncWebGLRenderingContextGetError(
  3283  		this.ref, js.Pointer(&fn),
  3284  	)
  3285  	return
  3286  }
  3287  
  3288  // GetError calls the method "WebGLRenderingContext.getError".
  3289  func (this WebGLRenderingContext) GetError() (ret GLenum) {
  3290  	bindings.CallWebGLRenderingContextGetError(
  3291  		this.ref, js.Pointer(&ret),
  3292  	)
  3293  
  3294  	return
  3295  }
  3296  
  3297  // TryGetError calls the method "WebGLRenderingContext.getError"
  3298  // in a try/catch block and returns (_, err, ok = false) when it went through
  3299  // the catch clause.
  3300  func (this WebGLRenderingContext) TryGetError() (ret GLenum, exception js.Any, ok bool) {
  3301  	ok = js.True == bindings.TryWebGLRenderingContextGetError(
  3302  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3303  	)
  3304  
  3305  	return
  3306  }
  3307  
  3308  // HasFuncGetFramebufferAttachmentParameter returns true if the method "WebGLRenderingContext.getFramebufferAttachmentParameter" exists.
  3309  func (this WebGLRenderingContext) HasFuncGetFramebufferAttachmentParameter() bool {
  3310  	return js.True == bindings.HasFuncWebGLRenderingContextGetFramebufferAttachmentParameter(
  3311  		this.ref,
  3312  	)
  3313  }
  3314  
  3315  // FuncGetFramebufferAttachmentParameter returns the method "WebGLRenderingContext.getFramebufferAttachmentParameter".
  3316  func (this WebGLRenderingContext) FuncGetFramebufferAttachmentParameter() (fn js.Func[func(target GLenum, attachment GLenum, pname GLenum) js.Any]) {
  3317  	bindings.FuncWebGLRenderingContextGetFramebufferAttachmentParameter(
  3318  		this.ref, js.Pointer(&fn),
  3319  	)
  3320  	return
  3321  }
  3322  
  3323  // GetFramebufferAttachmentParameter calls the method "WebGLRenderingContext.getFramebufferAttachmentParameter".
  3324  func (this WebGLRenderingContext) GetFramebufferAttachmentParameter(target GLenum, attachment GLenum, pname GLenum) (ret js.Any) {
  3325  	bindings.CallWebGLRenderingContextGetFramebufferAttachmentParameter(
  3326  		this.ref, js.Pointer(&ret),
  3327  		uint32(target),
  3328  		uint32(attachment),
  3329  		uint32(pname),
  3330  	)
  3331  
  3332  	return
  3333  }
  3334  
  3335  // TryGetFramebufferAttachmentParameter calls the method "WebGLRenderingContext.getFramebufferAttachmentParameter"
  3336  // in a try/catch block and returns (_, err, ok = false) when it went through
  3337  // the catch clause.
  3338  func (this WebGLRenderingContext) TryGetFramebufferAttachmentParameter(target GLenum, attachment GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3339  	ok = js.True == bindings.TryWebGLRenderingContextGetFramebufferAttachmentParameter(
  3340  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3341  		uint32(target),
  3342  		uint32(attachment),
  3343  		uint32(pname),
  3344  	)
  3345  
  3346  	return
  3347  }
  3348  
  3349  // HasFuncGetProgramParameter returns true if the method "WebGLRenderingContext.getProgramParameter" exists.
  3350  func (this WebGLRenderingContext) HasFuncGetProgramParameter() bool {
  3351  	return js.True == bindings.HasFuncWebGLRenderingContextGetProgramParameter(
  3352  		this.ref,
  3353  	)
  3354  }
  3355  
  3356  // FuncGetProgramParameter returns the method "WebGLRenderingContext.getProgramParameter".
  3357  func (this WebGLRenderingContext) FuncGetProgramParameter() (fn js.Func[func(program WebGLProgram, pname GLenum) js.Any]) {
  3358  	bindings.FuncWebGLRenderingContextGetProgramParameter(
  3359  		this.ref, js.Pointer(&fn),
  3360  	)
  3361  	return
  3362  }
  3363  
  3364  // GetProgramParameter calls the method "WebGLRenderingContext.getProgramParameter".
  3365  func (this WebGLRenderingContext) GetProgramParameter(program WebGLProgram, pname GLenum) (ret js.Any) {
  3366  	bindings.CallWebGLRenderingContextGetProgramParameter(
  3367  		this.ref, js.Pointer(&ret),
  3368  		program.Ref(),
  3369  		uint32(pname),
  3370  	)
  3371  
  3372  	return
  3373  }
  3374  
  3375  // TryGetProgramParameter calls the method "WebGLRenderingContext.getProgramParameter"
  3376  // in a try/catch block and returns (_, err, ok = false) when it went through
  3377  // the catch clause.
  3378  func (this WebGLRenderingContext) TryGetProgramParameter(program WebGLProgram, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3379  	ok = js.True == bindings.TryWebGLRenderingContextGetProgramParameter(
  3380  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3381  		program.Ref(),
  3382  		uint32(pname),
  3383  	)
  3384  
  3385  	return
  3386  }
  3387  
  3388  // HasFuncGetProgramInfoLog returns true if the method "WebGLRenderingContext.getProgramInfoLog" exists.
  3389  func (this WebGLRenderingContext) HasFuncGetProgramInfoLog() bool {
  3390  	return js.True == bindings.HasFuncWebGLRenderingContextGetProgramInfoLog(
  3391  		this.ref,
  3392  	)
  3393  }
  3394  
  3395  // FuncGetProgramInfoLog returns the method "WebGLRenderingContext.getProgramInfoLog".
  3396  func (this WebGLRenderingContext) FuncGetProgramInfoLog() (fn js.Func[func(program WebGLProgram) js.String]) {
  3397  	bindings.FuncWebGLRenderingContextGetProgramInfoLog(
  3398  		this.ref, js.Pointer(&fn),
  3399  	)
  3400  	return
  3401  }
  3402  
  3403  // GetProgramInfoLog calls the method "WebGLRenderingContext.getProgramInfoLog".
  3404  func (this WebGLRenderingContext) GetProgramInfoLog(program WebGLProgram) (ret js.String) {
  3405  	bindings.CallWebGLRenderingContextGetProgramInfoLog(
  3406  		this.ref, js.Pointer(&ret),
  3407  		program.Ref(),
  3408  	)
  3409  
  3410  	return
  3411  }
  3412  
  3413  // TryGetProgramInfoLog calls the method "WebGLRenderingContext.getProgramInfoLog"
  3414  // in a try/catch block and returns (_, err, ok = false) when it went through
  3415  // the catch clause.
  3416  func (this WebGLRenderingContext) TryGetProgramInfoLog(program WebGLProgram) (ret js.String, exception js.Any, ok bool) {
  3417  	ok = js.True == bindings.TryWebGLRenderingContextGetProgramInfoLog(
  3418  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3419  		program.Ref(),
  3420  	)
  3421  
  3422  	return
  3423  }
  3424  
  3425  // HasFuncGetRenderbufferParameter returns true if the method "WebGLRenderingContext.getRenderbufferParameter" exists.
  3426  func (this WebGLRenderingContext) HasFuncGetRenderbufferParameter() bool {
  3427  	return js.True == bindings.HasFuncWebGLRenderingContextGetRenderbufferParameter(
  3428  		this.ref,
  3429  	)
  3430  }
  3431  
  3432  // FuncGetRenderbufferParameter returns the method "WebGLRenderingContext.getRenderbufferParameter".
  3433  func (this WebGLRenderingContext) FuncGetRenderbufferParameter() (fn js.Func[func(target GLenum, pname GLenum) js.Any]) {
  3434  	bindings.FuncWebGLRenderingContextGetRenderbufferParameter(
  3435  		this.ref, js.Pointer(&fn),
  3436  	)
  3437  	return
  3438  }
  3439  
  3440  // GetRenderbufferParameter calls the method "WebGLRenderingContext.getRenderbufferParameter".
  3441  func (this WebGLRenderingContext) GetRenderbufferParameter(target GLenum, pname GLenum) (ret js.Any) {
  3442  	bindings.CallWebGLRenderingContextGetRenderbufferParameter(
  3443  		this.ref, js.Pointer(&ret),
  3444  		uint32(target),
  3445  		uint32(pname),
  3446  	)
  3447  
  3448  	return
  3449  }
  3450  
  3451  // TryGetRenderbufferParameter calls the method "WebGLRenderingContext.getRenderbufferParameter"
  3452  // in a try/catch block and returns (_, err, ok = false) when it went through
  3453  // the catch clause.
  3454  func (this WebGLRenderingContext) TryGetRenderbufferParameter(target GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3455  	ok = js.True == bindings.TryWebGLRenderingContextGetRenderbufferParameter(
  3456  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3457  		uint32(target),
  3458  		uint32(pname),
  3459  	)
  3460  
  3461  	return
  3462  }
  3463  
  3464  // HasFuncGetShaderParameter returns true if the method "WebGLRenderingContext.getShaderParameter" exists.
  3465  func (this WebGLRenderingContext) HasFuncGetShaderParameter() bool {
  3466  	return js.True == bindings.HasFuncWebGLRenderingContextGetShaderParameter(
  3467  		this.ref,
  3468  	)
  3469  }
  3470  
  3471  // FuncGetShaderParameter returns the method "WebGLRenderingContext.getShaderParameter".
  3472  func (this WebGLRenderingContext) FuncGetShaderParameter() (fn js.Func[func(shader WebGLShader, pname GLenum) js.Any]) {
  3473  	bindings.FuncWebGLRenderingContextGetShaderParameter(
  3474  		this.ref, js.Pointer(&fn),
  3475  	)
  3476  	return
  3477  }
  3478  
  3479  // GetShaderParameter calls the method "WebGLRenderingContext.getShaderParameter".
  3480  func (this WebGLRenderingContext) GetShaderParameter(shader WebGLShader, pname GLenum) (ret js.Any) {
  3481  	bindings.CallWebGLRenderingContextGetShaderParameter(
  3482  		this.ref, js.Pointer(&ret),
  3483  		shader.Ref(),
  3484  		uint32(pname),
  3485  	)
  3486  
  3487  	return
  3488  }
  3489  
  3490  // TryGetShaderParameter calls the method "WebGLRenderingContext.getShaderParameter"
  3491  // in a try/catch block and returns (_, err, ok = false) when it went through
  3492  // the catch clause.
  3493  func (this WebGLRenderingContext) TryGetShaderParameter(shader WebGLShader, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3494  	ok = js.True == bindings.TryWebGLRenderingContextGetShaderParameter(
  3495  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3496  		shader.Ref(),
  3497  		uint32(pname),
  3498  	)
  3499  
  3500  	return
  3501  }
  3502  
  3503  // HasFuncGetShaderPrecisionFormat returns true if the method "WebGLRenderingContext.getShaderPrecisionFormat" exists.
  3504  func (this WebGLRenderingContext) HasFuncGetShaderPrecisionFormat() bool {
  3505  	return js.True == bindings.HasFuncWebGLRenderingContextGetShaderPrecisionFormat(
  3506  		this.ref,
  3507  	)
  3508  }
  3509  
  3510  // FuncGetShaderPrecisionFormat returns the method "WebGLRenderingContext.getShaderPrecisionFormat".
  3511  func (this WebGLRenderingContext) FuncGetShaderPrecisionFormat() (fn js.Func[func(shadertype GLenum, precisiontype GLenum) WebGLShaderPrecisionFormat]) {
  3512  	bindings.FuncWebGLRenderingContextGetShaderPrecisionFormat(
  3513  		this.ref, js.Pointer(&fn),
  3514  	)
  3515  	return
  3516  }
  3517  
  3518  // GetShaderPrecisionFormat calls the method "WebGLRenderingContext.getShaderPrecisionFormat".
  3519  func (this WebGLRenderingContext) GetShaderPrecisionFormat(shadertype GLenum, precisiontype GLenum) (ret WebGLShaderPrecisionFormat) {
  3520  	bindings.CallWebGLRenderingContextGetShaderPrecisionFormat(
  3521  		this.ref, js.Pointer(&ret),
  3522  		uint32(shadertype),
  3523  		uint32(precisiontype),
  3524  	)
  3525  
  3526  	return
  3527  }
  3528  
  3529  // TryGetShaderPrecisionFormat calls the method "WebGLRenderingContext.getShaderPrecisionFormat"
  3530  // in a try/catch block and returns (_, err, ok = false) when it went through
  3531  // the catch clause.
  3532  func (this WebGLRenderingContext) TryGetShaderPrecisionFormat(shadertype GLenum, precisiontype GLenum) (ret WebGLShaderPrecisionFormat, exception js.Any, ok bool) {
  3533  	ok = js.True == bindings.TryWebGLRenderingContextGetShaderPrecisionFormat(
  3534  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3535  		uint32(shadertype),
  3536  		uint32(precisiontype),
  3537  	)
  3538  
  3539  	return
  3540  }
  3541  
  3542  // HasFuncGetShaderInfoLog returns true if the method "WebGLRenderingContext.getShaderInfoLog" exists.
  3543  func (this WebGLRenderingContext) HasFuncGetShaderInfoLog() bool {
  3544  	return js.True == bindings.HasFuncWebGLRenderingContextGetShaderInfoLog(
  3545  		this.ref,
  3546  	)
  3547  }
  3548  
  3549  // FuncGetShaderInfoLog returns the method "WebGLRenderingContext.getShaderInfoLog".
  3550  func (this WebGLRenderingContext) FuncGetShaderInfoLog() (fn js.Func[func(shader WebGLShader) js.String]) {
  3551  	bindings.FuncWebGLRenderingContextGetShaderInfoLog(
  3552  		this.ref, js.Pointer(&fn),
  3553  	)
  3554  	return
  3555  }
  3556  
  3557  // GetShaderInfoLog calls the method "WebGLRenderingContext.getShaderInfoLog".
  3558  func (this WebGLRenderingContext) GetShaderInfoLog(shader WebGLShader) (ret js.String) {
  3559  	bindings.CallWebGLRenderingContextGetShaderInfoLog(
  3560  		this.ref, js.Pointer(&ret),
  3561  		shader.Ref(),
  3562  	)
  3563  
  3564  	return
  3565  }
  3566  
  3567  // TryGetShaderInfoLog calls the method "WebGLRenderingContext.getShaderInfoLog"
  3568  // in a try/catch block and returns (_, err, ok = false) when it went through
  3569  // the catch clause.
  3570  func (this WebGLRenderingContext) TryGetShaderInfoLog(shader WebGLShader) (ret js.String, exception js.Any, ok bool) {
  3571  	ok = js.True == bindings.TryWebGLRenderingContextGetShaderInfoLog(
  3572  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3573  		shader.Ref(),
  3574  	)
  3575  
  3576  	return
  3577  }
  3578  
  3579  // HasFuncGetShaderSource returns true if the method "WebGLRenderingContext.getShaderSource" exists.
  3580  func (this WebGLRenderingContext) HasFuncGetShaderSource() bool {
  3581  	return js.True == bindings.HasFuncWebGLRenderingContextGetShaderSource(
  3582  		this.ref,
  3583  	)
  3584  }
  3585  
  3586  // FuncGetShaderSource returns the method "WebGLRenderingContext.getShaderSource".
  3587  func (this WebGLRenderingContext) FuncGetShaderSource() (fn js.Func[func(shader WebGLShader) js.String]) {
  3588  	bindings.FuncWebGLRenderingContextGetShaderSource(
  3589  		this.ref, js.Pointer(&fn),
  3590  	)
  3591  	return
  3592  }
  3593  
  3594  // GetShaderSource calls the method "WebGLRenderingContext.getShaderSource".
  3595  func (this WebGLRenderingContext) GetShaderSource(shader WebGLShader) (ret js.String) {
  3596  	bindings.CallWebGLRenderingContextGetShaderSource(
  3597  		this.ref, js.Pointer(&ret),
  3598  		shader.Ref(),
  3599  	)
  3600  
  3601  	return
  3602  }
  3603  
  3604  // TryGetShaderSource calls the method "WebGLRenderingContext.getShaderSource"
  3605  // in a try/catch block and returns (_, err, ok = false) when it went through
  3606  // the catch clause.
  3607  func (this WebGLRenderingContext) TryGetShaderSource(shader WebGLShader) (ret js.String, exception js.Any, ok bool) {
  3608  	ok = js.True == bindings.TryWebGLRenderingContextGetShaderSource(
  3609  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3610  		shader.Ref(),
  3611  	)
  3612  
  3613  	return
  3614  }
  3615  
  3616  // HasFuncGetTexParameter returns true if the method "WebGLRenderingContext.getTexParameter" exists.
  3617  func (this WebGLRenderingContext) HasFuncGetTexParameter() bool {
  3618  	return js.True == bindings.HasFuncWebGLRenderingContextGetTexParameter(
  3619  		this.ref,
  3620  	)
  3621  }
  3622  
  3623  // FuncGetTexParameter returns the method "WebGLRenderingContext.getTexParameter".
  3624  func (this WebGLRenderingContext) FuncGetTexParameter() (fn js.Func[func(target GLenum, pname GLenum) js.Any]) {
  3625  	bindings.FuncWebGLRenderingContextGetTexParameter(
  3626  		this.ref, js.Pointer(&fn),
  3627  	)
  3628  	return
  3629  }
  3630  
  3631  // GetTexParameter calls the method "WebGLRenderingContext.getTexParameter".
  3632  func (this WebGLRenderingContext) GetTexParameter(target GLenum, pname GLenum) (ret js.Any) {
  3633  	bindings.CallWebGLRenderingContextGetTexParameter(
  3634  		this.ref, js.Pointer(&ret),
  3635  		uint32(target),
  3636  		uint32(pname),
  3637  	)
  3638  
  3639  	return
  3640  }
  3641  
  3642  // TryGetTexParameter calls the method "WebGLRenderingContext.getTexParameter"
  3643  // in a try/catch block and returns (_, err, ok = false) when it went through
  3644  // the catch clause.
  3645  func (this WebGLRenderingContext) TryGetTexParameter(target GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3646  	ok = js.True == bindings.TryWebGLRenderingContextGetTexParameter(
  3647  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3648  		uint32(target),
  3649  		uint32(pname),
  3650  	)
  3651  
  3652  	return
  3653  }
  3654  
  3655  // HasFuncGetUniform returns true if the method "WebGLRenderingContext.getUniform" exists.
  3656  func (this WebGLRenderingContext) HasFuncGetUniform() bool {
  3657  	return js.True == bindings.HasFuncWebGLRenderingContextGetUniform(
  3658  		this.ref,
  3659  	)
  3660  }
  3661  
  3662  // FuncGetUniform returns the method "WebGLRenderingContext.getUniform".
  3663  func (this WebGLRenderingContext) FuncGetUniform() (fn js.Func[func(program WebGLProgram, location WebGLUniformLocation) js.Any]) {
  3664  	bindings.FuncWebGLRenderingContextGetUniform(
  3665  		this.ref, js.Pointer(&fn),
  3666  	)
  3667  	return
  3668  }
  3669  
  3670  // GetUniform calls the method "WebGLRenderingContext.getUniform".
  3671  func (this WebGLRenderingContext) GetUniform(program WebGLProgram, location WebGLUniformLocation) (ret js.Any) {
  3672  	bindings.CallWebGLRenderingContextGetUniform(
  3673  		this.ref, js.Pointer(&ret),
  3674  		program.Ref(),
  3675  		location.Ref(),
  3676  	)
  3677  
  3678  	return
  3679  }
  3680  
  3681  // TryGetUniform calls the method "WebGLRenderingContext.getUniform"
  3682  // in a try/catch block and returns (_, err, ok = false) when it went through
  3683  // the catch clause.
  3684  func (this WebGLRenderingContext) TryGetUniform(program WebGLProgram, location WebGLUniformLocation) (ret js.Any, exception js.Any, ok bool) {
  3685  	ok = js.True == bindings.TryWebGLRenderingContextGetUniform(
  3686  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3687  		program.Ref(),
  3688  		location.Ref(),
  3689  	)
  3690  
  3691  	return
  3692  }
  3693  
  3694  // HasFuncGetUniformLocation returns true if the method "WebGLRenderingContext.getUniformLocation" exists.
  3695  func (this WebGLRenderingContext) HasFuncGetUniformLocation() bool {
  3696  	return js.True == bindings.HasFuncWebGLRenderingContextGetUniformLocation(
  3697  		this.ref,
  3698  	)
  3699  }
  3700  
  3701  // FuncGetUniformLocation returns the method "WebGLRenderingContext.getUniformLocation".
  3702  func (this WebGLRenderingContext) FuncGetUniformLocation() (fn js.Func[func(program WebGLProgram, name js.String) WebGLUniformLocation]) {
  3703  	bindings.FuncWebGLRenderingContextGetUniformLocation(
  3704  		this.ref, js.Pointer(&fn),
  3705  	)
  3706  	return
  3707  }
  3708  
  3709  // GetUniformLocation calls the method "WebGLRenderingContext.getUniformLocation".
  3710  func (this WebGLRenderingContext) GetUniformLocation(program WebGLProgram, name js.String) (ret WebGLUniformLocation) {
  3711  	bindings.CallWebGLRenderingContextGetUniformLocation(
  3712  		this.ref, js.Pointer(&ret),
  3713  		program.Ref(),
  3714  		name.Ref(),
  3715  	)
  3716  
  3717  	return
  3718  }
  3719  
  3720  // TryGetUniformLocation calls the method "WebGLRenderingContext.getUniformLocation"
  3721  // in a try/catch block and returns (_, err, ok = false) when it went through
  3722  // the catch clause.
  3723  func (this WebGLRenderingContext) TryGetUniformLocation(program WebGLProgram, name js.String) (ret WebGLUniformLocation, exception js.Any, ok bool) {
  3724  	ok = js.True == bindings.TryWebGLRenderingContextGetUniformLocation(
  3725  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3726  		program.Ref(),
  3727  		name.Ref(),
  3728  	)
  3729  
  3730  	return
  3731  }
  3732  
  3733  // HasFuncGetVertexAttrib returns true if the method "WebGLRenderingContext.getVertexAttrib" exists.
  3734  func (this WebGLRenderingContext) HasFuncGetVertexAttrib() bool {
  3735  	return js.True == bindings.HasFuncWebGLRenderingContextGetVertexAttrib(
  3736  		this.ref,
  3737  	)
  3738  }
  3739  
  3740  // FuncGetVertexAttrib returns the method "WebGLRenderingContext.getVertexAttrib".
  3741  func (this WebGLRenderingContext) FuncGetVertexAttrib() (fn js.Func[func(index GLuint, pname GLenum) js.Any]) {
  3742  	bindings.FuncWebGLRenderingContextGetVertexAttrib(
  3743  		this.ref, js.Pointer(&fn),
  3744  	)
  3745  	return
  3746  }
  3747  
  3748  // GetVertexAttrib calls the method "WebGLRenderingContext.getVertexAttrib".
  3749  func (this WebGLRenderingContext) GetVertexAttrib(index GLuint, pname GLenum) (ret js.Any) {
  3750  	bindings.CallWebGLRenderingContextGetVertexAttrib(
  3751  		this.ref, js.Pointer(&ret),
  3752  		uint32(index),
  3753  		uint32(pname),
  3754  	)
  3755  
  3756  	return
  3757  }
  3758  
  3759  // TryGetVertexAttrib calls the method "WebGLRenderingContext.getVertexAttrib"
  3760  // in a try/catch block and returns (_, err, ok = false) when it went through
  3761  // the catch clause.
  3762  func (this WebGLRenderingContext) TryGetVertexAttrib(index GLuint, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
  3763  	ok = js.True == bindings.TryWebGLRenderingContextGetVertexAttrib(
  3764  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3765  		uint32(index),
  3766  		uint32(pname),
  3767  	)
  3768  
  3769  	return
  3770  }
  3771  
  3772  // HasFuncGetVertexAttribOffset returns true if the method "WebGLRenderingContext.getVertexAttribOffset" exists.
  3773  func (this WebGLRenderingContext) HasFuncGetVertexAttribOffset() bool {
  3774  	return js.True == bindings.HasFuncWebGLRenderingContextGetVertexAttribOffset(
  3775  		this.ref,
  3776  	)
  3777  }
  3778  
  3779  // FuncGetVertexAttribOffset returns the method "WebGLRenderingContext.getVertexAttribOffset".
  3780  func (this WebGLRenderingContext) FuncGetVertexAttribOffset() (fn js.Func[func(index GLuint, pname GLenum) GLintptr]) {
  3781  	bindings.FuncWebGLRenderingContextGetVertexAttribOffset(
  3782  		this.ref, js.Pointer(&fn),
  3783  	)
  3784  	return
  3785  }
  3786  
  3787  // GetVertexAttribOffset calls the method "WebGLRenderingContext.getVertexAttribOffset".
  3788  func (this WebGLRenderingContext) GetVertexAttribOffset(index GLuint, pname GLenum) (ret GLintptr) {
  3789  	bindings.CallWebGLRenderingContextGetVertexAttribOffset(
  3790  		this.ref, js.Pointer(&ret),
  3791  		uint32(index),
  3792  		uint32(pname),
  3793  	)
  3794  
  3795  	return
  3796  }
  3797  
  3798  // TryGetVertexAttribOffset calls the method "WebGLRenderingContext.getVertexAttribOffset"
  3799  // in a try/catch block and returns (_, err, ok = false) when it went through
  3800  // the catch clause.
  3801  func (this WebGLRenderingContext) TryGetVertexAttribOffset(index GLuint, pname GLenum) (ret GLintptr, exception js.Any, ok bool) {
  3802  	ok = js.True == bindings.TryWebGLRenderingContextGetVertexAttribOffset(
  3803  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3804  		uint32(index),
  3805  		uint32(pname),
  3806  	)
  3807  
  3808  	return
  3809  }
  3810  
  3811  // HasFuncHint returns true if the method "WebGLRenderingContext.hint" exists.
  3812  func (this WebGLRenderingContext) HasFuncHint() bool {
  3813  	return js.True == bindings.HasFuncWebGLRenderingContextHint(
  3814  		this.ref,
  3815  	)
  3816  }
  3817  
  3818  // FuncHint returns the method "WebGLRenderingContext.hint".
  3819  func (this WebGLRenderingContext) FuncHint() (fn js.Func[func(target GLenum, mode GLenum)]) {
  3820  	bindings.FuncWebGLRenderingContextHint(
  3821  		this.ref, js.Pointer(&fn),
  3822  	)
  3823  	return
  3824  }
  3825  
  3826  // Hint calls the method "WebGLRenderingContext.hint".
  3827  func (this WebGLRenderingContext) Hint(target GLenum, mode GLenum) (ret js.Void) {
  3828  	bindings.CallWebGLRenderingContextHint(
  3829  		this.ref, js.Pointer(&ret),
  3830  		uint32(target),
  3831  		uint32(mode),
  3832  	)
  3833  
  3834  	return
  3835  }
  3836  
  3837  // TryHint calls the method "WebGLRenderingContext.hint"
  3838  // in a try/catch block and returns (_, err, ok = false) when it went through
  3839  // the catch clause.
  3840  func (this WebGLRenderingContext) TryHint(target GLenum, mode GLenum) (ret js.Void, exception js.Any, ok bool) {
  3841  	ok = js.True == bindings.TryWebGLRenderingContextHint(
  3842  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3843  		uint32(target),
  3844  		uint32(mode),
  3845  	)
  3846  
  3847  	return
  3848  }
  3849  
  3850  // HasFuncIsBuffer returns true if the method "WebGLRenderingContext.isBuffer" exists.
  3851  func (this WebGLRenderingContext) HasFuncIsBuffer() bool {
  3852  	return js.True == bindings.HasFuncWebGLRenderingContextIsBuffer(
  3853  		this.ref,
  3854  	)
  3855  }
  3856  
  3857  // FuncIsBuffer returns the method "WebGLRenderingContext.isBuffer".
  3858  func (this WebGLRenderingContext) FuncIsBuffer() (fn js.Func[func(buffer WebGLBuffer) GLboolean]) {
  3859  	bindings.FuncWebGLRenderingContextIsBuffer(
  3860  		this.ref, js.Pointer(&fn),
  3861  	)
  3862  	return
  3863  }
  3864  
  3865  // IsBuffer calls the method "WebGLRenderingContext.isBuffer".
  3866  func (this WebGLRenderingContext) IsBuffer(buffer WebGLBuffer) (ret GLboolean) {
  3867  	bindings.CallWebGLRenderingContextIsBuffer(
  3868  		this.ref, js.Pointer(&ret),
  3869  		buffer.Ref(),
  3870  	)
  3871  
  3872  	return
  3873  }
  3874  
  3875  // TryIsBuffer calls the method "WebGLRenderingContext.isBuffer"
  3876  // in a try/catch block and returns (_, err, ok = false) when it went through
  3877  // the catch clause.
  3878  func (this WebGLRenderingContext) TryIsBuffer(buffer WebGLBuffer) (ret GLboolean, exception js.Any, ok bool) {
  3879  	ok = js.True == bindings.TryWebGLRenderingContextIsBuffer(
  3880  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3881  		buffer.Ref(),
  3882  	)
  3883  
  3884  	return
  3885  }
  3886  
  3887  // HasFuncIsEnabled returns true if the method "WebGLRenderingContext.isEnabled" exists.
  3888  func (this WebGLRenderingContext) HasFuncIsEnabled() bool {
  3889  	return js.True == bindings.HasFuncWebGLRenderingContextIsEnabled(
  3890  		this.ref,
  3891  	)
  3892  }
  3893  
  3894  // FuncIsEnabled returns the method "WebGLRenderingContext.isEnabled".
  3895  func (this WebGLRenderingContext) FuncIsEnabled() (fn js.Func[func(cap GLenum) GLboolean]) {
  3896  	bindings.FuncWebGLRenderingContextIsEnabled(
  3897  		this.ref, js.Pointer(&fn),
  3898  	)
  3899  	return
  3900  }
  3901  
  3902  // IsEnabled calls the method "WebGLRenderingContext.isEnabled".
  3903  func (this WebGLRenderingContext) IsEnabled(cap GLenum) (ret GLboolean) {
  3904  	bindings.CallWebGLRenderingContextIsEnabled(
  3905  		this.ref, js.Pointer(&ret),
  3906  		uint32(cap),
  3907  	)
  3908  
  3909  	return
  3910  }
  3911  
  3912  // TryIsEnabled calls the method "WebGLRenderingContext.isEnabled"
  3913  // in a try/catch block and returns (_, err, ok = false) when it went through
  3914  // the catch clause.
  3915  func (this WebGLRenderingContext) TryIsEnabled(cap GLenum) (ret GLboolean, exception js.Any, ok bool) {
  3916  	ok = js.True == bindings.TryWebGLRenderingContextIsEnabled(
  3917  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3918  		uint32(cap),
  3919  	)
  3920  
  3921  	return
  3922  }
  3923  
  3924  // HasFuncIsFramebuffer returns true if the method "WebGLRenderingContext.isFramebuffer" exists.
  3925  func (this WebGLRenderingContext) HasFuncIsFramebuffer() bool {
  3926  	return js.True == bindings.HasFuncWebGLRenderingContextIsFramebuffer(
  3927  		this.ref,
  3928  	)
  3929  }
  3930  
  3931  // FuncIsFramebuffer returns the method "WebGLRenderingContext.isFramebuffer".
  3932  func (this WebGLRenderingContext) FuncIsFramebuffer() (fn js.Func[func(framebuffer WebGLFramebuffer) GLboolean]) {
  3933  	bindings.FuncWebGLRenderingContextIsFramebuffer(
  3934  		this.ref, js.Pointer(&fn),
  3935  	)
  3936  	return
  3937  }
  3938  
  3939  // IsFramebuffer calls the method "WebGLRenderingContext.isFramebuffer".
  3940  func (this WebGLRenderingContext) IsFramebuffer(framebuffer WebGLFramebuffer) (ret GLboolean) {
  3941  	bindings.CallWebGLRenderingContextIsFramebuffer(
  3942  		this.ref, js.Pointer(&ret),
  3943  		framebuffer.Ref(),
  3944  	)
  3945  
  3946  	return
  3947  }
  3948  
  3949  // TryIsFramebuffer calls the method "WebGLRenderingContext.isFramebuffer"
  3950  // in a try/catch block and returns (_, err, ok = false) when it went through
  3951  // the catch clause.
  3952  func (this WebGLRenderingContext) TryIsFramebuffer(framebuffer WebGLFramebuffer) (ret GLboolean, exception js.Any, ok bool) {
  3953  	ok = js.True == bindings.TryWebGLRenderingContextIsFramebuffer(
  3954  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3955  		framebuffer.Ref(),
  3956  	)
  3957  
  3958  	return
  3959  }
  3960  
  3961  // HasFuncIsProgram returns true if the method "WebGLRenderingContext.isProgram" exists.
  3962  func (this WebGLRenderingContext) HasFuncIsProgram() bool {
  3963  	return js.True == bindings.HasFuncWebGLRenderingContextIsProgram(
  3964  		this.ref,
  3965  	)
  3966  }
  3967  
  3968  // FuncIsProgram returns the method "WebGLRenderingContext.isProgram".
  3969  func (this WebGLRenderingContext) FuncIsProgram() (fn js.Func[func(program WebGLProgram) GLboolean]) {
  3970  	bindings.FuncWebGLRenderingContextIsProgram(
  3971  		this.ref, js.Pointer(&fn),
  3972  	)
  3973  	return
  3974  }
  3975  
  3976  // IsProgram calls the method "WebGLRenderingContext.isProgram".
  3977  func (this WebGLRenderingContext) IsProgram(program WebGLProgram) (ret GLboolean) {
  3978  	bindings.CallWebGLRenderingContextIsProgram(
  3979  		this.ref, js.Pointer(&ret),
  3980  		program.Ref(),
  3981  	)
  3982  
  3983  	return
  3984  }
  3985  
  3986  // TryIsProgram calls the method "WebGLRenderingContext.isProgram"
  3987  // in a try/catch block and returns (_, err, ok = false) when it went through
  3988  // the catch clause.
  3989  func (this WebGLRenderingContext) TryIsProgram(program WebGLProgram) (ret GLboolean, exception js.Any, ok bool) {
  3990  	ok = js.True == bindings.TryWebGLRenderingContextIsProgram(
  3991  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  3992  		program.Ref(),
  3993  	)
  3994  
  3995  	return
  3996  }
  3997  
  3998  // HasFuncIsRenderbuffer returns true if the method "WebGLRenderingContext.isRenderbuffer" exists.
  3999  func (this WebGLRenderingContext) HasFuncIsRenderbuffer() bool {
  4000  	return js.True == bindings.HasFuncWebGLRenderingContextIsRenderbuffer(
  4001  		this.ref,
  4002  	)
  4003  }
  4004  
  4005  // FuncIsRenderbuffer returns the method "WebGLRenderingContext.isRenderbuffer".
  4006  func (this WebGLRenderingContext) FuncIsRenderbuffer() (fn js.Func[func(renderbuffer WebGLRenderbuffer) GLboolean]) {
  4007  	bindings.FuncWebGLRenderingContextIsRenderbuffer(
  4008  		this.ref, js.Pointer(&fn),
  4009  	)
  4010  	return
  4011  }
  4012  
  4013  // IsRenderbuffer calls the method "WebGLRenderingContext.isRenderbuffer".
  4014  func (this WebGLRenderingContext) IsRenderbuffer(renderbuffer WebGLRenderbuffer) (ret GLboolean) {
  4015  	bindings.CallWebGLRenderingContextIsRenderbuffer(
  4016  		this.ref, js.Pointer(&ret),
  4017  		renderbuffer.Ref(),
  4018  	)
  4019  
  4020  	return
  4021  }
  4022  
  4023  // TryIsRenderbuffer calls the method "WebGLRenderingContext.isRenderbuffer"
  4024  // in a try/catch block and returns (_, err, ok = false) when it went through
  4025  // the catch clause.
  4026  func (this WebGLRenderingContext) TryIsRenderbuffer(renderbuffer WebGLRenderbuffer) (ret GLboolean, exception js.Any, ok bool) {
  4027  	ok = js.True == bindings.TryWebGLRenderingContextIsRenderbuffer(
  4028  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4029  		renderbuffer.Ref(),
  4030  	)
  4031  
  4032  	return
  4033  }
  4034  
  4035  // HasFuncIsShader returns true if the method "WebGLRenderingContext.isShader" exists.
  4036  func (this WebGLRenderingContext) HasFuncIsShader() bool {
  4037  	return js.True == bindings.HasFuncWebGLRenderingContextIsShader(
  4038  		this.ref,
  4039  	)
  4040  }
  4041  
  4042  // FuncIsShader returns the method "WebGLRenderingContext.isShader".
  4043  func (this WebGLRenderingContext) FuncIsShader() (fn js.Func[func(shader WebGLShader) GLboolean]) {
  4044  	bindings.FuncWebGLRenderingContextIsShader(
  4045  		this.ref, js.Pointer(&fn),
  4046  	)
  4047  	return
  4048  }
  4049  
  4050  // IsShader calls the method "WebGLRenderingContext.isShader".
  4051  func (this WebGLRenderingContext) IsShader(shader WebGLShader) (ret GLboolean) {
  4052  	bindings.CallWebGLRenderingContextIsShader(
  4053  		this.ref, js.Pointer(&ret),
  4054  		shader.Ref(),
  4055  	)
  4056  
  4057  	return
  4058  }
  4059  
  4060  // TryIsShader calls the method "WebGLRenderingContext.isShader"
  4061  // in a try/catch block and returns (_, err, ok = false) when it went through
  4062  // the catch clause.
  4063  func (this WebGLRenderingContext) TryIsShader(shader WebGLShader) (ret GLboolean, exception js.Any, ok bool) {
  4064  	ok = js.True == bindings.TryWebGLRenderingContextIsShader(
  4065  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4066  		shader.Ref(),
  4067  	)
  4068  
  4069  	return
  4070  }
  4071  
  4072  // HasFuncIsTexture returns true if the method "WebGLRenderingContext.isTexture" exists.
  4073  func (this WebGLRenderingContext) HasFuncIsTexture() bool {
  4074  	return js.True == bindings.HasFuncWebGLRenderingContextIsTexture(
  4075  		this.ref,
  4076  	)
  4077  }
  4078  
  4079  // FuncIsTexture returns the method "WebGLRenderingContext.isTexture".
  4080  func (this WebGLRenderingContext) FuncIsTexture() (fn js.Func[func(texture WebGLTexture) GLboolean]) {
  4081  	bindings.FuncWebGLRenderingContextIsTexture(
  4082  		this.ref, js.Pointer(&fn),
  4083  	)
  4084  	return
  4085  }
  4086  
  4087  // IsTexture calls the method "WebGLRenderingContext.isTexture".
  4088  func (this WebGLRenderingContext) IsTexture(texture WebGLTexture) (ret GLboolean) {
  4089  	bindings.CallWebGLRenderingContextIsTexture(
  4090  		this.ref, js.Pointer(&ret),
  4091  		texture.Ref(),
  4092  	)
  4093  
  4094  	return
  4095  }
  4096  
  4097  // TryIsTexture calls the method "WebGLRenderingContext.isTexture"
  4098  // in a try/catch block and returns (_, err, ok = false) when it went through
  4099  // the catch clause.
  4100  func (this WebGLRenderingContext) TryIsTexture(texture WebGLTexture) (ret GLboolean, exception js.Any, ok bool) {
  4101  	ok = js.True == bindings.TryWebGLRenderingContextIsTexture(
  4102  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4103  		texture.Ref(),
  4104  	)
  4105  
  4106  	return
  4107  }
  4108  
  4109  // HasFuncLineWidth returns true if the method "WebGLRenderingContext.lineWidth" exists.
  4110  func (this WebGLRenderingContext) HasFuncLineWidth() bool {
  4111  	return js.True == bindings.HasFuncWebGLRenderingContextLineWidth(
  4112  		this.ref,
  4113  	)
  4114  }
  4115  
  4116  // FuncLineWidth returns the method "WebGLRenderingContext.lineWidth".
  4117  func (this WebGLRenderingContext) FuncLineWidth() (fn js.Func[func(width GLfloat)]) {
  4118  	bindings.FuncWebGLRenderingContextLineWidth(
  4119  		this.ref, js.Pointer(&fn),
  4120  	)
  4121  	return
  4122  }
  4123  
  4124  // LineWidth calls the method "WebGLRenderingContext.lineWidth".
  4125  func (this WebGLRenderingContext) LineWidth(width GLfloat) (ret js.Void) {
  4126  	bindings.CallWebGLRenderingContextLineWidth(
  4127  		this.ref, js.Pointer(&ret),
  4128  		float32(width),
  4129  	)
  4130  
  4131  	return
  4132  }
  4133  
  4134  // TryLineWidth calls the method "WebGLRenderingContext.lineWidth"
  4135  // in a try/catch block and returns (_, err, ok = false) when it went through
  4136  // the catch clause.
  4137  func (this WebGLRenderingContext) TryLineWidth(width GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4138  	ok = js.True == bindings.TryWebGLRenderingContextLineWidth(
  4139  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4140  		float32(width),
  4141  	)
  4142  
  4143  	return
  4144  }
  4145  
  4146  // HasFuncLinkProgram returns true if the method "WebGLRenderingContext.linkProgram" exists.
  4147  func (this WebGLRenderingContext) HasFuncLinkProgram() bool {
  4148  	return js.True == bindings.HasFuncWebGLRenderingContextLinkProgram(
  4149  		this.ref,
  4150  	)
  4151  }
  4152  
  4153  // FuncLinkProgram returns the method "WebGLRenderingContext.linkProgram".
  4154  func (this WebGLRenderingContext) FuncLinkProgram() (fn js.Func[func(program WebGLProgram)]) {
  4155  	bindings.FuncWebGLRenderingContextLinkProgram(
  4156  		this.ref, js.Pointer(&fn),
  4157  	)
  4158  	return
  4159  }
  4160  
  4161  // LinkProgram calls the method "WebGLRenderingContext.linkProgram".
  4162  func (this WebGLRenderingContext) LinkProgram(program WebGLProgram) (ret js.Void) {
  4163  	bindings.CallWebGLRenderingContextLinkProgram(
  4164  		this.ref, js.Pointer(&ret),
  4165  		program.Ref(),
  4166  	)
  4167  
  4168  	return
  4169  }
  4170  
  4171  // TryLinkProgram calls the method "WebGLRenderingContext.linkProgram"
  4172  // in a try/catch block and returns (_, err, ok = false) when it went through
  4173  // the catch clause.
  4174  func (this WebGLRenderingContext) TryLinkProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
  4175  	ok = js.True == bindings.TryWebGLRenderingContextLinkProgram(
  4176  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4177  		program.Ref(),
  4178  	)
  4179  
  4180  	return
  4181  }
  4182  
  4183  // HasFuncPixelStorei returns true if the method "WebGLRenderingContext.pixelStorei" exists.
  4184  func (this WebGLRenderingContext) HasFuncPixelStorei() bool {
  4185  	return js.True == bindings.HasFuncWebGLRenderingContextPixelStorei(
  4186  		this.ref,
  4187  	)
  4188  }
  4189  
  4190  // FuncPixelStorei returns the method "WebGLRenderingContext.pixelStorei".
  4191  func (this WebGLRenderingContext) FuncPixelStorei() (fn js.Func[func(pname GLenum, param GLint)]) {
  4192  	bindings.FuncWebGLRenderingContextPixelStorei(
  4193  		this.ref, js.Pointer(&fn),
  4194  	)
  4195  	return
  4196  }
  4197  
  4198  // PixelStorei calls the method "WebGLRenderingContext.pixelStorei".
  4199  func (this WebGLRenderingContext) PixelStorei(pname GLenum, param GLint) (ret js.Void) {
  4200  	bindings.CallWebGLRenderingContextPixelStorei(
  4201  		this.ref, js.Pointer(&ret),
  4202  		uint32(pname),
  4203  		int32(param),
  4204  	)
  4205  
  4206  	return
  4207  }
  4208  
  4209  // TryPixelStorei calls the method "WebGLRenderingContext.pixelStorei"
  4210  // in a try/catch block and returns (_, err, ok = false) when it went through
  4211  // the catch clause.
  4212  func (this WebGLRenderingContext) TryPixelStorei(pname GLenum, param GLint) (ret js.Void, exception js.Any, ok bool) {
  4213  	ok = js.True == bindings.TryWebGLRenderingContextPixelStorei(
  4214  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4215  		uint32(pname),
  4216  		int32(param),
  4217  	)
  4218  
  4219  	return
  4220  }
  4221  
  4222  // HasFuncPolygonOffset returns true if the method "WebGLRenderingContext.polygonOffset" exists.
  4223  func (this WebGLRenderingContext) HasFuncPolygonOffset() bool {
  4224  	return js.True == bindings.HasFuncWebGLRenderingContextPolygonOffset(
  4225  		this.ref,
  4226  	)
  4227  }
  4228  
  4229  // FuncPolygonOffset returns the method "WebGLRenderingContext.polygonOffset".
  4230  func (this WebGLRenderingContext) FuncPolygonOffset() (fn js.Func[func(factor GLfloat, units GLfloat)]) {
  4231  	bindings.FuncWebGLRenderingContextPolygonOffset(
  4232  		this.ref, js.Pointer(&fn),
  4233  	)
  4234  	return
  4235  }
  4236  
  4237  // PolygonOffset calls the method "WebGLRenderingContext.polygonOffset".
  4238  func (this WebGLRenderingContext) PolygonOffset(factor GLfloat, units GLfloat) (ret js.Void) {
  4239  	bindings.CallWebGLRenderingContextPolygonOffset(
  4240  		this.ref, js.Pointer(&ret),
  4241  		float32(factor),
  4242  		float32(units),
  4243  	)
  4244  
  4245  	return
  4246  }
  4247  
  4248  // TryPolygonOffset calls the method "WebGLRenderingContext.polygonOffset"
  4249  // in a try/catch block and returns (_, err, ok = false) when it went through
  4250  // the catch clause.
  4251  func (this WebGLRenderingContext) TryPolygonOffset(factor GLfloat, units GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4252  	ok = js.True == bindings.TryWebGLRenderingContextPolygonOffset(
  4253  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4254  		float32(factor),
  4255  		float32(units),
  4256  	)
  4257  
  4258  	return
  4259  }
  4260  
  4261  // HasFuncRenderbufferStorage returns true if the method "WebGLRenderingContext.renderbufferStorage" exists.
  4262  func (this WebGLRenderingContext) HasFuncRenderbufferStorage() bool {
  4263  	return js.True == bindings.HasFuncWebGLRenderingContextRenderbufferStorage(
  4264  		this.ref,
  4265  	)
  4266  }
  4267  
  4268  // FuncRenderbufferStorage returns the method "WebGLRenderingContext.renderbufferStorage".
  4269  func (this WebGLRenderingContext) FuncRenderbufferStorage() (fn js.Func[func(target GLenum, internalformat GLenum, width GLsizei, height GLsizei)]) {
  4270  	bindings.FuncWebGLRenderingContextRenderbufferStorage(
  4271  		this.ref, js.Pointer(&fn),
  4272  	)
  4273  	return
  4274  }
  4275  
  4276  // RenderbufferStorage calls the method "WebGLRenderingContext.renderbufferStorage".
  4277  func (this WebGLRenderingContext) RenderbufferStorage(target GLenum, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void) {
  4278  	bindings.CallWebGLRenderingContextRenderbufferStorage(
  4279  		this.ref, js.Pointer(&ret),
  4280  		uint32(target),
  4281  		uint32(internalformat),
  4282  		int32(width),
  4283  		int32(height),
  4284  	)
  4285  
  4286  	return
  4287  }
  4288  
  4289  // TryRenderbufferStorage calls the method "WebGLRenderingContext.renderbufferStorage"
  4290  // in a try/catch block and returns (_, err, ok = false) when it went through
  4291  // the catch clause.
  4292  func (this WebGLRenderingContext) TryRenderbufferStorage(target GLenum, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
  4293  	ok = js.True == bindings.TryWebGLRenderingContextRenderbufferStorage(
  4294  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4295  		uint32(target),
  4296  		uint32(internalformat),
  4297  		int32(width),
  4298  		int32(height),
  4299  	)
  4300  
  4301  	return
  4302  }
  4303  
  4304  // HasFuncSampleCoverage returns true if the method "WebGLRenderingContext.sampleCoverage" exists.
  4305  func (this WebGLRenderingContext) HasFuncSampleCoverage() bool {
  4306  	return js.True == bindings.HasFuncWebGLRenderingContextSampleCoverage(
  4307  		this.ref,
  4308  	)
  4309  }
  4310  
  4311  // FuncSampleCoverage returns the method "WebGLRenderingContext.sampleCoverage".
  4312  func (this WebGLRenderingContext) FuncSampleCoverage() (fn js.Func[func(value GLclampf, invert GLboolean)]) {
  4313  	bindings.FuncWebGLRenderingContextSampleCoverage(
  4314  		this.ref, js.Pointer(&fn),
  4315  	)
  4316  	return
  4317  }
  4318  
  4319  // SampleCoverage calls the method "WebGLRenderingContext.sampleCoverage".
  4320  func (this WebGLRenderingContext) SampleCoverage(value GLclampf, invert GLboolean) (ret js.Void) {
  4321  	bindings.CallWebGLRenderingContextSampleCoverage(
  4322  		this.ref, js.Pointer(&ret),
  4323  		float32(value),
  4324  		js.Bool(bool(invert)),
  4325  	)
  4326  
  4327  	return
  4328  }
  4329  
  4330  // TrySampleCoverage calls the method "WebGLRenderingContext.sampleCoverage"
  4331  // in a try/catch block and returns (_, err, ok = false) when it went through
  4332  // the catch clause.
  4333  func (this WebGLRenderingContext) TrySampleCoverage(value GLclampf, invert GLboolean) (ret js.Void, exception js.Any, ok bool) {
  4334  	ok = js.True == bindings.TryWebGLRenderingContextSampleCoverage(
  4335  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4336  		float32(value),
  4337  		js.Bool(bool(invert)),
  4338  	)
  4339  
  4340  	return
  4341  }
  4342  
  4343  // HasFuncScissor returns true if the method "WebGLRenderingContext.scissor" exists.
  4344  func (this WebGLRenderingContext) HasFuncScissor() bool {
  4345  	return js.True == bindings.HasFuncWebGLRenderingContextScissor(
  4346  		this.ref,
  4347  	)
  4348  }
  4349  
  4350  // FuncScissor returns the method "WebGLRenderingContext.scissor".
  4351  func (this WebGLRenderingContext) FuncScissor() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei)]) {
  4352  	bindings.FuncWebGLRenderingContextScissor(
  4353  		this.ref, js.Pointer(&fn),
  4354  	)
  4355  	return
  4356  }
  4357  
  4358  // Scissor calls the method "WebGLRenderingContext.scissor".
  4359  func (this WebGLRenderingContext) Scissor(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
  4360  	bindings.CallWebGLRenderingContextScissor(
  4361  		this.ref, js.Pointer(&ret),
  4362  		int32(x),
  4363  		int32(y),
  4364  		int32(width),
  4365  		int32(height),
  4366  	)
  4367  
  4368  	return
  4369  }
  4370  
  4371  // TryScissor calls the method "WebGLRenderingContext.scissor"
  4372  // in a try/catch block and returns (_, err, ok = false) when it went through
  4373  // the catch clause.
  4374  func (this WebGLRenderingContext) TryScissor(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
  4375  	ok = js.True == bindings.TryWebGLRenderingContextScissor(
  4376  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4377  		int32(x),
  4378  		int32(y),
  4379  		int32(width),
  4380  		int32(height),
  4381  	)
  4382  
  4383  	return
  4384  }
  4385  
  4386  // HasFuncShaderSource returns true if the method "WebGLRenderingContext.shaderSource" exists.
  4387  func (this WebGLRenderingContext) HasFuncShaderSource() bool {
  4388  	return js.True == bindings.HasFuncWebGLRenderingContextShaderSource(
  4389  		this.ref,
  4390  	)
  4391  }
  4392  
  4393  // FuncShaderSource returns the method "WebGLRenderingContext.shaderSource".
  4394  func (this WebGLRenderingContext) FuncShaderSource() (fn js.Func[func(shader WebGLShader, source js.String)]) {
  4395  	bindings.FuncWebGLRenderingContextShaderSource(
  4396  		this.ref, js.Pointer(&fn),
  4397  	)
  4398  	return
  4399  }
  4400  
  4401  // ShaderSource calls the method "WebGLRenderingContext.shaderSource".
  4402  func (this WebGLRenderingContext) ShaderSource(shader WebGLShader, source js.String) (ret js.Void) {
  4403  	bindings.CallWebGLRenderingContextShaderSource(
  4404  		this.ref, js.Pointer(&ret),
  4405  		shader.Ref(),
  4406  		source.Ref(),
  4407  	)
  4408  
  4409  	return
  4410  }
  4411  
  4412  // TryShaderSource calls the method "WebGLRenderingContext.shaderSource"
  4413  // in a try/catch block and returns (_, err, ok = false) when it went through
  4414  // the catch clause.
  4415  func (this WebGLRenderingContext) TryShaderSource(shader WebGLShader, source js.String) (ret js.Void, exception js.Any, ok bool) {
  4416  	ok = js.True == bindings.TryWebGLRenderingContextShaderSource(
  4417  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4418  		shader.Ref(),
  4419  		source.Ref(),
  4420  	)
  4421  
  4422  	return
  4423  }
  4424  
  4425  // HasFuncStencilFunc returns true if the method "WebGLRenderingContext.stencilFunc" exists.
  4426  func (this WebGLRenderingContext) HasFuncStencilFunc() bool {
  4427  	return js.True == bindings.HasFuncWebGLRenderingContextStencilFunc(
  4428  		this.ref,
  4429  	)
  4430  }
  4431  
  4432  // FuncStencilFunc returns the method "WebGLRenderingContext.stencilFunc".
  4433  func (this WebGLRenderingContext) FuncStencilFunc() (fn js.Func[func(fn GLenum, ref GLint, mask GLuint)]) {
  4434  	bindings.FuncWebGLRenderingContextStencilFunc(
  4435  		this.ref, js.Pointer(&fn),
  4436  	)
  4437  	return
  4438  }
  4439  
  4440  // StencilFunc calls the method "WebGLRenderingContext.stencilFunc".
  4441  func (this WebGLRenderingContext) StencilFunc(fn GLenum, ref GLint, mask GLuint) (ret js.Void) {
  4442  	bindings.CallWebGLRenderingContextStencilFunc(
  4443  		this.ref, js.Pointer(&ret),
  4444  		uint32(fn),
  4445  		int32(ref),
  4446  		uint32(mask),
  4447  	)
  4448  
  4449  	return
  4450  }
  4451  
  4452  // TryStencilFunc calls the method "WebGLRenderingContext.stencilFunc"
  4453  // in a try/catch block and returns (_, err, ok = false) when it went through
  4454  // the catch clause.
  4455  func (this WebGLRenderingContext) TryStencilFunc(fn GLenum, ref GLint, mask GLuint) (ret js.Void, exception js.Any, ok bool) {
  4456  	ok = js.True == bindings.TryWebGLRenderingContextStencilFunc(
  4457  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4458  		uint32(fn),
  4459  		int32(ref),
  4460  		uint32(mask),
  4461  	)
  4462  
  4463  	return
  4464  }
  4465  
  4466  // HasFuncStencilFuncSeparate returns true if the method "WebGLRenderingContext.stencilFuncSeparate" exists.
  4467  func (this WebGLRenderingContext) HasFuncStencilFuncSeparate() bool {
  4468  	return js.True == bindings.HasFuncWebGLRenderingContextStencilFuncSeparate(
  4469  		this.ref,
  4470  	)
  4471  }
  4472  
  4473  // FuncStencilFuncSeparate returns the method "WebGLRenderingContext.stencilFuncSeparate".
  4474  func (this WebGLRenderingContext) FuncStencilFuncSeparate() (fn js.Func[func(face GLenum, fn GLenum, ref GLint, mask GLuint)]) {
  4475  	bindings.FuncWebGLRenderingContextStencilFuncSeparate(
  4476  		this.ref, js.Pointer(&fn),
  4477  	)
  4478  	return
  4479  }
  4480  
  4481  // StencilFuncSeparate calls the method "WebGLRenderingContext.stencilFuncSeparate".
  4482  func (this WebGLRenderingContext) StencilFuncSeparate(face GLenum, fn GLenum, ref GLint, mask GLuint) (ret js.Void) {
  4483  	bindings.CallWebGLRenderingContextStencilFuncSeparate(
  4484  		this.ref, js.Pointer(&ret),
  4485  		uint32(face),
  4486  		uint32(fn),
  4487  		int32(ref),
  4488  		uint32(mask),
  4489  	)
  4490  
  4491  	return
  4492  }
  4493  
  4494  // TryStencilFuncSeparate calls the method "WebGLRenderingContext.stencilFuncSeparate"
  4495  // in a try/catch block and returns (_, err, ok = false) when it went through
  4496  // the catch clause.
  4497  func (this WebGLRenderingContext) TryStencilFuncSeparate(face GLenum, fn GLenum, ref GLint, mask GLuint) (ret js.Void, exception js.Any, ok bool) {
  4498  	ok = js.True == bindings.TryWebGLRenderingContextStencilFuncSeparate(
  4499  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4500  		uint32(face),
  4501  		uint32(fn),
  4502  		int32(ref),
  4503  		uint32(mask),
  4504  	)
  4505  
  4506  	return
  4507  }
  4508  
  4509  // HasFuncStencilMask returns true if the method "WebGLRenderingContext.stencilMask" exists.
  4510  func (this WebGLRenderingContext) HasFuncStencilMask() bool {
  4511  	return js.True == bindings.HasFuncWebGLRenderingContextStencilMask(
  4512  		this.ref,
  4513  	)
  4514  }
  4515  
  4516  // FuncStencilMask returns the method "WebGLRenderingContext.stencilMask".
  4517  func (this WebGLRenderingContext) FuncStencilMask() (fn js.Func[func(mask GLuint)]) {
  4518  	bindings.FuncWebGLRenderingContextStencilMask(
  4519  		this.ref, js.Pointer(&fn),
  4520  	)
  4521  	return
  4522  }
  4523  
  4524  // StencilMask calls the method "WebGLRenderingContext.stencilMask".
  4525  func (this WebGLRenderingContext) StencilMask(mask GLuint) (ret js.Void) {
  4526  	bindings.CallWebGLRenderingContextStencilMask(
  4527  		this.ref, js.Pointer(&ret),
  4528  		uint32(mask),
  4529  	)
  4530  
  4531  	return
  4532  }
  4533  
  4534  // TryStencilMask calls the method "WebGLRenderingContext.stencilMask"
  4535  // in a try/catch block and returns (_, err, ok = false) when it went through
  4536  // the catch clause.
  4537  func (this WebGLRenderingContext) TryStencilMask(mask GLuint) (ret js.Void, exception js.Any, ok bool) {
  4538  	ok = js.True == bindings.TryWebGLRenderingContextStencilMask(
  4539  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4540  		uint32(mask),
  4541  	)
  4542  
  4543  	return
  4544  }
  4545  
  4546  // HasFuncStencilMaskSeparate returns true if the method "WebGLRenderingContext.stencilMaskSeparate" exists.
  4547  func (this WebGLRenderingContext) HasFuncStencilMaskSeparate() bool {
  4548  	return js.True == bindings.HasFuncWebGLRenderingContextStencilMaskSeparate(
  4549  		this.ref,
  4550  	)
  4551  }
  4552  
  4553  // FuncStencilMaskSeparate returns the method "WebGLRenderingContext.stencilMaskSeparate".
  4554  func (this WebGLRenderingContext) FuncStencilMaskSeparate() (fn js.Func[func(face GLenum, mask GLuint)]) {
  4555  	bindings.FuncWebGLRenderingContextStencilMaskSeparate(
  4556  		this.ref, js.Pointer(&fn),
  4557  	)
  4558  	return
  4559  }
  4560  
  4561  // StencilMaskSeparate calls the method "WebGLRenderingContext.stencilMaskSeparate".
  4562  func (this WebGLRenderingContext) StencilMaskSeparate(face GLenum, mask GLuint) (ret js.Void) {
  4563  	bindings.CallWebGLRenderingContextStencilMaskSeparate(
  4564  		this.ref, js.Pointer(&ret),
  4565  		uint32(face),
  4566  		uint32(mask),
  4567  	)
  4568  
  4569  	return
  4570  }
  4571  
  4572  // TryStencilMaskSeparate calls the method "WebGLRenderingContext.stencilMaskSeparate"
  4573  // in a try/catch block and returns (_, err, ok = false) when it went through
  4574  // the catch clause.
  4575  func (this WebGLRenderingContext) TryStencilMaskSeparate(face GLenum, mask GLuint) (ret js.Void, exception js.Any, ok bool) {
  4576  	ok = js.True == bindings.TryWebGLRenderingContextStencilMaskSeparate(
  4577  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4578  		uint32(face),
  4579  		uint32(mask),
  4580  	)
  4581  
  4582  	return
  4583  }
  4584  
  4585  // HasFuncStencilOp returns true if the method "WebGLRenderingContext.stencilOp" exists.
  4586  func (this WebGLRenderingContext) HasFuncStencilOp() bool {
  4587  	return js.True == bindings.HasFuncWebGLRenderingContextStencilOp(
  4588  		this.ref,
  4589  	)
  4590  }
  4591  
  4592  // FuncStencilOp returns the method "WebGLRenderingContext.stencilOp".
  4593  func (this WebGLRenderingContext) FuncStencilOp() (fn js.Func[func(fail GLenum, zfail GLenum, zpass GLenum)]) {
  4594  	bindings.FuncWebGLRenderingContextStencilOp(
  4595  		this.ref, js.Pointer(&fn),
  4596  	)
  4597  	return
  4598  }
  4599  
  4600  // StencilOp calls the method "WebGLRenderingContext.stencilOp".
  4601  func (this WebGLRenderingContext) StencilOp(fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void) {
  4602  	bindings.CallWebGLRenderingContextStencilOp(
  4603  		this.ref, js.Pointer(&ret),
  4604  		uint32(fail),
  4605  		uint32(zfail),
  4606  		uint32(zpass),
  4607  	)
  4608  
  4609  	return
  4610  }
  4611  
  4612  // TryStencilOp calls the method "WebGLRenderingContext.stencilOp"
  4613  // in a try/catch block and returns (_, err, ok = false) when it went through
  4614  // the catch clause.
  4615  func (this WebGLRenderingContext) TryStencilOp(fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void, exception js.Any, ok bool) {
  4616  	ok = js.True == bindings.TryWebGLRenderingContextStencilOp(
  4617  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4618  		uint32(fail),
  4619  		uint32(zfail),
  4620  		uint32(zpass),
  4621  	)
  4622  
  4623  	return
  4624  }
  4625  
  4626  // HasFuncStencilOpSeparate returns true if the method "WebGLRenderingContext.stencilOpSeparate" exists.
  4627  func (this WebGLRenderingContext) HasFuncStencilOpSeparate() bool {
  4628  	return js.True == bindings.HasFuncWebGLRenderingContextStencilOpSeparate(
  4629  		this.ref,
  4630  	)
  4631  }
  4632  
  4633  // FuncStencilOpSeparate returns the method "WebGLRenderingContext.stencilOpSeparate".
  4634  func (this WebGLRenderingContext) FuncStencilOpSeparate() (fn js.Func[func(face GLenum, fail GLenum, zfail GLenum, zpass GLenum)]) {
  4635  	bindings.FuncWebGLRenderingContextStencilOpSeparate(
  4636  		this.ref, js.Pointer(&fn),
  4637  	)
  4638  	return
  4639  }
  4640  
  4641  // StencilOpSeparate calls the method "WebGLRenderingContext.stencilOpSeparate".
  4642  func (this WebGLRenderingContext) StencilOpSeparate(face GLenum, fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void) {
  4643  	bindings.CallWebGLRenderingContextStencilOpSeparate(
  4644  		this.ref, js.Pointer(&ret),
  4645  		uint32(face),
  4646  		uint32(fail),
  4647  		uint32(zfail),
  4648  		uint32(zpass),
  4649  	)
  4650  
  4651  	return
  4652  }
  4653  
  4654  // TryStencilOpSeparate calls the method "WebGLRenderingContext.stencilOpSeparate"
  4655  // in a try/catch block and returns (_, err, ok = false) when it went through
  4656  // the catch clause.
  4657  func (this WebGLRenderingContext) TryStencilOpSeparate(face GLenum, fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void, exception js.Any, ok bool) {
  4658  	ok = js.True == bindings.TryWebGLRenderingContextStencilOpSeparate(
  4659  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4660  		uint32(face),
  4661  		uint32(fail),
  4662  		uint32(zfail),
  4663  		uint32(zpass),
  4664  	)
  4665  
  4666  	return
  4667  }
  4668  
  4669  // HasFuncTexParameterf returns true if the method "WebGLRenderingContext.texParameterf" exists.
  4670  func (this WebGLRenderingContext) HasFuncTexParameterf() bool {
  4671  	return js.True == bindings.HasFuncWebGLRenderingContextTexParameterf(
  4672  		this.ref,
  4673  	)
  4674  }
  4675  
  4676  // FuncTexParameterf returns the method "WebGLRenderingContext.texParameterf".
  4677  func (this WebGLRenderingContext) FuncTexParameterf() (fn js.Func[func(target GLenum, pname GLenum, param GLfloat)]) {
  4678  	bindings.FuncWebGLRenderingContextTexParameterf(
  4679  		this.ref, js.Pointer(&fn),
  4680  	)
  4681  	return
  4682  }
  4683  
  4684  // TexParameterf calls the method "WebGLRenderingContext.texParameterf".
  4685  func (this WebGLRenderingContext) TexParameterf(target GLenum, pname GLenum, param GLfloat) (ret js.Void) {
  4686  	bindings.CallWebGLRenderingContextTexParameterf(
  4687  		this.ref, js.Pointer(&ret),
  4688  		uint32(target),
  4689  		uint32(pname),
  4690  		float32(param),
  4691  	)
  4692  
  4693  	return
  4694  }
  4695  
  4696  // TryTexParameterf calls the method "WebGLRenderingContext.texParameterf"
  4697  // in a try/catch block and returns (_, err, ok = false) when it went through
  4698  // the catch clause.
  4699  func (this WebGLRenderingContext) TryTexParameterf(target GLenum, pname GLenum, param GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4700  	ok = js.True == bindings.TryWebGLRenderingContextTexParameterf(
  4701  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4702  		uint32(target),
  4703  		uint32(pname),
  4704  		float32(param),
  4705  	)
  4706  
  4707  	return
  4708  }
  4709  
  4710  // HasFuncTexParameteri returns true if the method "WebGLRenderingContext.texParameteri" exists.
  4711  func (this WebGLRenderingContext) HasFuncTexParameteri() bool {
  4712  	return js.True == bindings.HasFuncWebGLRenderingContextTexParameteri(
  4713  		this.ref,
  4714  	)
  4715  }
  4716  
  4717  // FuncTexParameteri returns the method "WebGLRenderingContext.texParameteri".
  4718  func (this WebGLRenderingContext) FuncTexParameteri() (fn js.Func[func(target GLenum, pname GLenum, param GLint)]) {
  4719  	bindings.FuncWebGLRenderingContextTexParameteri(
  4720  		this.ref, js.Pointer(&fn),
  4721  	)
  4722  	return
  4723  }
  4724  
  4725  // TexParameteri calls the method "WebGLRenderingContext.texParameteri".
  4726  func (this WebGLRenderingContext) TexParameteri(target GLenum, pname GLenum, param GLint) (ret js.Void) {
  4727  	bindings.CallWebGLRenderingContextTexParameteri(
  4728  		this.ref, js.Pointer(&ret),
  4729  		uint32(target),
  4730  		uint32(pname),
  4731  		int32(param),
  4732  	)
  4733  
  4734  	return
  4735  }
  4736  
  4737  // TryTexParameteri calls the method "WebGLRenderingContext.texParameteri"
  4738  // in a try/catch block and returns (_, err, ok = false) when it went through
  4739  // the catch clause.
  4740  func (this WebGLRenderingContext) TryTexParameteri(target GLenum, pname GLenum, param GLint) (ret js.Void, exception js.Any, ok bool) {
  4741  	ok = js.True == bindings.TryWebGLRenderingContextTexParameteri(
  4742  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4743  		uint32(target),
  4744  		uint32(pname),
  4745  		int32(param),
  4746  	)
  4747  
  4748  	return
  4749  }
  4750  
  4751  // HasFuncUniform1f returns true if the method "WebGLRenderingContext.uniform1f" exists.
  4752  func (this WebGLRenderingContext) HasFuncUniform1f() bool {
  4753  	return js.True == bindings.HasFuncWebGLRenderingContextUniform1f(
  4754  		this.ref,
  4755  	)
  4756  }
  4757  
  4758  // FuncUniform1f returns the method "WebGLRenderingContext.uniform1f".
  4759  func (this WebGLRenderingContext) FuncUniform1f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat)]) {
  4760  	bindings.FuncWebGLRenderingContextUniform1f(
  4761  		this.ref, js.Pointer(&fn),
  4762  	)
  4763  	return
  4764  }
  4765  
  4766  // Uniform1f calls the method "WebGLRenderingContext.uniform1f".
  4767  func (this WebGLRenderingContext) Uniform1f(location WebGLUniformLocation, x GLfloat) (ret js.Void) {
  4768  	bindings.CallWebGLRenderingContextUniform1f(
  4769  		this.ref, js.Pointer(&ret),
  4770  		location.Ref(),
  4771  		float32(x),
  4772  	)
  4773  
  4774  	return
  4775  }
  4776  
  4777  // TryUniform1f calls the method "WebGLRenderingContext.uniform1f"
  4778  // in a try/catch block and returns (_, err, ok = false) when it went through
  4779  // the catch clause.
  4780  func (this WebGLRenderingContext) TryUniform1f(location WebGLUniformLocation, x GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4781  	ok = js.True == bindings.TryWebGLRenderingContextUniform1f(
  4782  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4783  		location.Ref(),
  4784  		float32(x),
  4785  	)
  4786  
  4787  	return
  4788  }
  4789  
  4790  // HasFuncUniform2f returns true if the method "WebGLRenderingContext.uniform2f" exists.
  4791  func (this WebGLRenderingContext) HasFuncUniform2f() bool {
  4792  	return js.True == bindings.HasFuncWebGLRenderingContextUniform2f(
  4793  		this.ref,
  4794  	)
  4795  }
  4796  
  4797  // FuncUniform2f returns the method "WebGLRenderingContext.uniform2f".
  4798  func (this WebGLRenderingContext) FuncUniform2f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat, y GLfloat)]) {
  4799  	bindings.FuncWebGLRenderingContextUniform2f(
  4800  		this.ref, js.Pointer(&fn),
  4801  	)
  4802  	return
  4803  }
  4804  
  4805  // Uniform2f calls the method "WebGLRenderingContext.uniform2f".
  4806  func (this WebGLRenderingContext) Uniform2f(location WebGLUniformLocation, x GLfloat, y GLfloat) (ret js.Void) {
  4807  	bindings.CallWebGLRenderingContextUniform2f(
  4808  		this.ref, js.Pointer(&ret),
  4809  		location.Ref(),
  4810  		float32(x),
  4811  		float32(y),
  4812  	)
  4813  
  4814  	return
  4815  }
  4816  
  4817  // TryUniform2f calls the method "WebGLRenderingContext.uniform2f"
  4818  // in a try/catch block and returns (_, err, ok = false) when it went through
  4819  // the catch clause.
  4820  func (this WebGLRenderingContext) TryUniform2f(location WebGLUniformLocation, x GLfloat, y GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4821  	ok = js.True == bindings.TryWebGLRenderingContextUniform2f(
  4822  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4823  		location.Ref(),
  4824  		float32(x),
  4825  		float32(y),
  4826  	)
  4827  
  4828  	return
  4829  }
  4830  
  4831  // HasFuncUniform3f returns true if the method "WebGLRenderingContext.uniform3f" exists.
  4832  func (this WebGLRenderingContext) HasFuncUniform3f() bool {
  4833  	return js.True == bindings.HasFuncWebGLRenderingContextUniform3f(
  4834  		this.ref,
  4835  	)
  4836  }
  4837  
  4838  // FuncUniform3f returns the method "WebGLRenderingContext.uniform3f".
  4839  func (this WebGLRenderingContext) FuncUniform3f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat)]) {
  4840  	bindings.FuncWebGLRenderingContextUniform3f(
  4841  		this.ref, js.Pointer(&fn),
  4842  	)
  4843  	return
  4844  }
  4845  
  4846  // Uniform3f calls the method "WebGLRenderingContext.uniform3f".
  4847  func (this WebGLRenderingContext) Uniform3f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat) (ret js.Void) {
  4848  	bindings.CallWebGLRenderingContextUniform3f(
  4849  		this.ref, js.Pointer(&ret),
  4850  		location.Ref(),
  4851  		float32(x),
  4852  		float32(y),
  4853  		float32(z),
  4854  	)
  4855  
  4856  	return
  4857  }
  4858  
  4859  // TryUniform3f calls the method "WebGLRenderingContext.uniform3f"
  4860  // in a try/catch block and returns (_, err, ok = false) when it went through
  4861  // the catch clause.
  4862  func (this WebGLRenderingContext) TryUniform3f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4863  	ok = js.True == bindings.TryWebGLRenderingContextUniform3f(
  4864  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4865  		location.Ref(),
  4866  		float32(x),
  4867  		float32(y),
  4868  		float32(z),
  4869  	)
  4870  
  4871  	return
  4872  }
  4873  
  4874  // HasFuncUniform4f returns true if the method "WebGLRenderingContext.uniform4f" exists.
  4875  func (this WebGLRenderingContext) HasFuncUniform4f() bool {
  4876  	return js.True == bindings.HasFuncWebGLRenderingContextUniform4f(
  4877  		this.ref,
  4878  	)
  4879  }
  4880  
  4881  // FuncUniform4f returns the method "WebGLRenderingContext.uniform4f".
  4882  func (this WebGLRenderingContext) FuncUniform4f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat, w GLfloat)]) {
  4883  	bindings.FuncWebGLRenderingContextUniform4f(
  4884  		this.ref, js.Pointer(&fn),
  4885  	)
  4886  	return
  4887  }
  4888  
  4889  // Uniform4f calls the method "WebGLRenderingContext.uniform4f".
  4890  func (this WebGLRenderingContext) Uniform4f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void) {
  4891  	bindings.CallWebGLRenderingContextUniform4f(
  4892  		this.ref, js.Pointer(&ret),
  4893  		location.Ref(),
  4894  		float32(x),
  4895  		float32(y),
  4896  		float32(z),
  4897  		float32(w),
  4898  	)
  4899  
  4900  	return
  4901  }
  4902  
  4903  // TryUniform4f calls the method "WebGLRenderingContext.uniform4f"
  4904  // in a try/catch block and returns (_, err, ok = false) when it went through
  4905  // the catch clause.
  4906  func (this WebGLRenderingContext) TryUniform4f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void, exception js.Any, ok bool) {
  4907  	ok = js.True == bindings.TryWebGLRenderingContextUniform4f(
  4908  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4909  		location.Ref(),
  4910  		float32(x),
  4911  		float32(y),
  4912  		float32(z),
  4913  		float32(w),
  4914  	)
  4915  
  4916  	return
  4917  }
  4918  
  4919  // HasFuncUniform1i returns true if the method "WebGLRenderingContext.uniform1i" exists.
  4920  func (this WebGLRenderingContext) HasFuncUniform1i() bool {
  4921  	return js.True == bindings.HasFuncWebGLRenderingContextUniform1i(
  4922  		this.ref,
  4923  	)
  4924  }
  4925  
  4926  // FuncUniform1i returns the method "WebGLRenderingContext.uniform1i".
  4927  func (this WebGLRenderingContext) FuncUniform1i() (fn js.Func[func(location WebGLUniformLocation, x GLint)]) {
  4928  	bindings.FuncWebGLRenderingContextUniform1i(
  4929  		this.ref, js.Pointer(&fn),
  4930  	)
  4931  	return
  4932  }
  4933  
  4934  // Uniform1i calls the method "WebGLRenderingContext.uniform1i".
  4935  func (this WebGLRenderingContext) Uniform1i(location WebGLUniformLocation, x GLint) (ret js.Void) {
  4936  	bindings.CallWebGLRenderingContextUniform1i(
  4937  		this.ref, js.Pointer(&ret),
  4938  		location.Ref(),
  4939  		int32(x),
  4940  	)
  4941  
  4942  	return
  4943  }
  4944  
  4945  // TryUniform1i calls the method "WebGLRenderingContext.uniform1i"
  4946  // in a try/catch block and returns (_, err, ok = false) when it went through
  4947  // the catch clause.
  4948  func (this WebGLRenderingContext) TryUniform1i(location WebGLUniformLocation, x GLint) (ret js.Void, exception js.Any, ok bool) {
  4949  	ok = js.True == bindings.TryWebGLRenderingContextUniform1i(
  4950  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4951  		location.Ref(),
  4952  		int32(x),
  4953  	)
  4954  
  4955  	return
  4956  }
  4957  
  4958  // HasFuncUniform2i returns true if the method "WebGLRenderingContext.uniform2i" exists.
  4959  func (this WebGLRenderingContext) HasFuncUniform2i() bool {
  4960  	return js.True == bindings.HasFuncWebGLRenderingContextUniform2i(
  4961  		this.ref,
  4962  	)
  4963  }
  4964  
  4965  // FuncUniform2i returns the method "WebGLRenderingContext.uniform2i".
  4966  func (this WebGLRenderingContext) FuncUniform2i() (fn js.Func[func(location WebGLUniformLocation, x GLint, y GLint)]) {
  4967  	bindings.FuncWebGLRenderingContextUniform2i(
  4968  		this.ref, js.Pointer(&fn),
  4969  	)
  4970  	return
  4971  }
  4972  
  4973  // Uniform2i calls the method "WebGLRenderingContext.uniform2i".
  4974  func (this WebGLRenderingContext) Uniform2i(location WebGLUniformLocation, x GLint, y GLint) (ret js.Void) {
  4975  	bindings.CallWebGLRenderingContextUniform2i(
  4976  		this.ref, js.Pointer(&ret),
  4977  		location.Ref(),
  4978  		int32(x),
  4979  		int32(y),
  4980  	)
  4981  
  4982  	return
  4983  }
  4984  
  4985  // TryUniform2i calls the method "WebGLRenderingContext.uniform2i"
  4986  // in a try/catch block and returns (_, err, ok = false) when it went through
  4987  // the catch clause.
  4988  func (this WebGLRenderingContext) TryUniform2i(location WebGLUniformLocation, x GLint, y GLint) (ret js.Void, exception js.Any, ok bool) {
  4989  	ok = js.True == bindings.TryWebGLRenderingContextUniform2i(
  4990  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  4991  		location.Ref(),
  4992  		int32(x),
  4993  		int32(y),
  4994  	)
  4995  
  4996  	return
  4997  }
  4998  
  4999  // HasFuncUniform3i returns true if the method "WebGLRenderingContext.uniform3i" exists.
  5000  func (this WebGLRenderingContext) HasFuncUniform3i() bool {
  5001  	return js.True == bindings.HasFuncWebGLRenderingContextUniform3i(
  5002  		this.ref,
  5003  	)
  5004  }
  5005  
  5006  // FuncUniform3i returns the method "WebGLRenderingContext.uniform3i".
  5007  func (this WebGLRenderingContext) FuncUniform3i() (fn js.Func[func(location WebGLUniformLocation, x GLint, y GLint, z GLint)]) {
  5008  	bindings.FuncWebGLRenderingContextUniform3i(
  5009  		this.ref, js.Pointer(&fn),
  5010  	)
  5011  	return
  5012  }
  5013  
  5014  // Uniform3i calls the method "WebGLRenderingContext.uniform3i".
  5015  func (this WebGLRenderingContext) Uniform3i(location WebGLUniformLocation, x GLint, y GLint, z GLint) (ret js.Void) {
  5016  	bindings.CallWebGLRenderingContextUniform3i(
  5017  		this.ref, js.Pointer(&ret),
  5018  		location.Ref(),
  5019  		int32(x),
  5020  		int32(y),
  5021  		int32(z),
  5022  	)
  5023  
  5024  	return
  5025  }
  5026  
  5027  // TryUniform3i calls the method "WebGLRenderingContext.uniform3i"
  5028  // in a try/catch block and returns (_, err, ok = false) when it went through
  5029  // the catch clause.
  5030  func (this WebGLRenderingContext) TryUniform3i(location WebGLUniformLocation, x GLint, y GLint, z GLint) (ret js.Void, exception js.Any, ok bool) {
  5031  	ok = js.True == bindings.TryWebGLRenderingContextUniform3i(
  5032  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5033  		location.Ref(),
  5034  		int32(x),
  5035  		int32(y),
  5036  		int32(z),
  5037  	)
  5038  
  5039  	return
  5040  }
  5041  
  5042  // HasFuncUniform4i returns true if the method "WebGLRenderingContext.uniform4i" exists.
  5043  func (this WebGLRenderingContext) HasFuncUniform4i() bool {
  5044  	return js.True == bindings.HasFuncWebGLRenderingContextUniform4i(
  5045  		this.ref,
  5046  	)
  5047  }
  5048  
  5049  // FuncUniform4i returns the method "WebGLRenderingContext.uniform4i".
  5050  func (this WebGLRenderingContext) FuncUniform4i() (fn js.Func[func(location WebGLUniformLocation, x GLint, y GLint, z GLint, w GLint)]) {
  5051  	bindings.FuncWebGLRenderingContextUniform4i(
  5052  		this.ref, js.Pointer(&fn),
  5053  	)
  5054  	return
  5055  }
  5056  
  5057  // Uniform4i calls the method "WebGLRenderingContext.uniform4i".
  5058  func (this WebGLRenderingContext) Uniform4i(location WebGLUniformLocation, x GLint, y GLint, z GLint, w GLint) (ret js.Void) {
  5059  	bindings.CallWebGLRenderingContextUniform4i(
  5060  		this.ref, js.Pointer(&ret),
  5061  		location.Ref(),
  5062  		int32(x),
  5063  		int32(y),
  5064  		int32(z),
  5065  		int32(w),
  5066  	)
  5067  
  5068  	return
  5069  }
  5070  
  5071  // TryUniform4i calls the method "WebGLRenderingContext.uniform4i"
  5072  // in a try/catch block and returns (_, err, ok = false) when it went through
  5073  // the catch clause.
  5074  func (this WebGLRenderingContext) TryUniform4i(location WebGLUniformLocation, x GLint, y GLint, z GLint, w GLint) (ret js.Void, exception js.Any, ok bool) {
  5075  	ok = js.True == bindings.TryWebGLRenderingContextUniform4i(
  5076  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5077  		location.Ref(),
  5078  		int32(x),
  5079  		int32(y),
  5080  		int32(z),
  5081  		int32(w),
  5082  	)
  5083  
  5084  	return
  5085  }
  5086  
  5087  // HasFuncUseProgram returns true if the method "WebGLRenderingContext.useProgram" exists.
  5088  func (this WebGLRenderingContext) HasFuncUseProgram() bool {
  5089  	return js.True == bindings.HasFuncWebGLRenderingContextUseProgram(
  5090  		this.ref,
  5091  	)
  5092  }
  5093  
  5094  // FuncUseProgram returns the method "WebGLRenderingContext.useProgram".
  5095  func (this WebGLRenderingContext) FuncUseProgram() (fn js.Func[func(program WebGLProgram)]) {
  5096  	bindings.FuncWebGLRenderingContextUseProgram(
  5097  		this.ref, js.Pointer(&fn),
  5098  	)
  5099  	return
  5100  }
  5101  
  5102  // UseProgram calls the method "WebGLRenderingContext.useProgram".
  5103  func (this WebGLRenderingContext) UseProgram(program WebGLProgram) (ret js.Void) {
  5104  	bindings.CallWebGLRenderingContextUseProgram(
  5105  		this.ref, js.Pointer(&ret),
  5106  		program.Ref(),
  5107  	)
  5108  
  5109  	return
  5110  }
  5111  
  5112  // TryUseProgram calls the method "WebGLRenderingContext.useProgram"
  5113  // in a try/catch block and returns (_, err, ok = false) when it went through
  5114  // the catch clause.
  5115  func (this WebGLRenderingContext) TryUseProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
  5116  	ok = js.True == bindings.TryWebGLRenderingContextUseProgram(
  5117  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5118  		program.Ref(),
  5119  	)
  5120  
  5121  	return
  5122  }
  5123  
  5124  // HasFuncValidateProgram returns true if the method "WebGLRenderingContext.validateProgram" exists.
  5125  func (this WebGLRenderingContext) HasFuncValidateProgram() bool {
  5126  	return js.True == bindings.HasFuncWebGLRenderingContextValidateProgram(
  5127  		this.ref,
  5128  	)
  5129  }
  5130  
  5131  // FuncValidateProgram returns the method "WebGLRenderingContext.validateProgram".
  5132  func (this WebGLRenderingContext) FuncValidateProgram() (fn js.Func[func(program WebGLProgram)]) {
  5133  	bindings.FuncWebGLRenderingContextValidateProgram(
  5134  		this.ref, js.Pointer(&fn),
  5135  	)
  5136  	return
  5137  }
  5138  
  5139  // ValidateProgram calls the method "WebGLRenderingContext.validateProgram".
  5140  func (this WebGLRenderingContext) ValidateProgram(program WebGLProgram) (ret js.Void) {
  5141  	bindings.CallWebGLRenderingContextValidateProgram(
  5142  		this.ref, js.Pointer(&ret),
  5143  		program.Ref(),
  5144  	)
  5145  
  5146  	return
  5147  }
  5148  
  5149  // TryValidateProgram calls the method "WebGLRenderingContext.validateProgram"
  5150  // in a try/catch block and returns (_, err, ok = false) when it went through
  5151  // the catch clause.
  5152  func (this WebGLRenderingContext) TryValidateProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
  5153  	ok = js.True == bindings.TryWebGLRenderingContextValidateProgram(
  5154  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5155  		program.Ref(),
  5156  	)
  5157  
  5158  	return
  5159  }
  5160  
  5161  // HasFuncVertexAttrib1f returns true if the method "WebGLRenderingContext.vertexAttrib1f" exists.
  5162  func (this WebGLRenderingContext) HasFuncVertexAttrib1f() bool {
  5163  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib1f(
  5164  		this.ref,
  5165  	)
  5166  }
  5167  
  5168  // FuncVertexAttrib1f returns the method "WebGLRenderingContext.vertexAttrib1f".
  5169  func (this WebGLRenderingContext) FuncVertexAttrib1f() (fn js.Func[func(index GLuint, x GLfloat)]) {
  5170  	bindings.FuncWebGLRenderingContextVertexAttrib1f(
  5171  		this.ref, js.Pointer(&fn),
  5172  	)
  5173  	return
  5174  }
  5175  
  5176  // VertexAttrib1f calls the method "WebGLRenderingContext.vertexAttrib1f".
  5177  func (this WebGLRenderingContext) VertexAttrib1f(index GLuint, x GLfloat) (ret js.Void) {
  5178  	bindings.CallWebGLRenderingContextVertexAttrib1f(
  5179  		this.ref, js.Pointer(&ret),
  5180  		uint32(index),
  5181  		float32(x),
  5182  	)
  5183  
  5184  	return
  5185  }
  5186  
  5187  // TryVertexAttrib1f calls the method "WebGLRenderingContext.vertexAttrib1f"
  5188  // in a try/catch block and returns (_, err, ok = false) when it went through
  5189  // the catch clause.
  5190  func (this WebGLRenderingContext) TryVertexAttrib1f(index GLuint, x GLfloat) (ret js.Void, exception js.Any, ok bool) {
  5191  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib1f(
  5192  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5193  		uint32(index),
  5194  		float32(x),
  5195  	)
  5196  
  5197  	return
  5198  }
  5199  
  5200  // HasFuncVertexAttrib2f returns true if the method "WebGLRenderingContext.vertexAttrib2f" exists.
  5201  func (this WebGLRenderingContext) HasFuncVertexAttrib2f() bool {
  5202  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib2f(
  5203  		this.ref,
  5204  	)
  5205  }
  5206  
  5207  // FuncVertexAttrib2f returns the method "WebGLRenderingContext.vertexAttrib2f".
  5208  func (this WebGLRenderingContext) FuncVertexAttrib2f() (fn js.Func[func(index GLuint, x GLfloat, y GLfloat)]) {
  5209  	bindings.FuncWebGLRenderingContextVertexAttrib2f(
  5210  		this.ref, js.Pointer(&fn),
  5211  	)
  5212  	return
  5213  }
  5214  
  5215  // VertexAttrib2f calls the method "WebGLRenderingContext.vertexAttrib2f".
  5216  func (this WebGLRenderingContext) VertexAttrib2f(index GLuint, x GLfloat, y GLfloat) (ret js.Void) {
  5217  	bindings.CallWebGLRenderingContextVertexAttrib2f(
  5218  		this.ref, js.Pointer(&ret),
  5219  		uint32(index),
  5220  		float32(x),
  5221  		float32(y),
  5222  	)
  5223  
  5224  	return
  5225  }
  5226  
  5227  // TryVertexAttrib2f calls the method "WebGLRenderingContext.vertexAttrib2f"
  5228  // in a try/catch block and returns (_, err, ok = false) when it went through
  5229  // the catch clause.
  5230  func (this WebGLRenderingContext) TryVertexAttrib2f(index GLuint, x GLfloat, y GLfloat) (ret js.Void, exception js.Any, ok bool) {
  5231  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib2f(
  5232  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5233  		uint32(index),
  5234  		float32(x),
  5235  		float32(y),
  5236  	)
  5237  
  5238  	return
  5239  }
  5240  
  5241  // HasFuncVertexAttrib3f returns true if the method "WebGLRenderingContext.vertexAttrib3f" exists.
  5242  func (this WebGLRenderingContext) HasFuncVertexAttrib3f() bool {
  5243  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib3f(
  5244  		this.ref,
  5245  	)
  5246  }
  5247  
  5248  // FuncVertexAttrib3f returns the method "WebGLRenderingContext.vertexAttrib3f".
  5249  func (this WebGLRenderingContext) FuncVertexAttrib3f() (fn js.Func[func(index GLuint, x GLfloat, y GLfloat, z GLfloat)]) {
  5250  	bindings.FuncWebGLRenderingContextVertexAttrib3f(
  5251  		this.ref, js.Pointer(&fn),
  5252  	)
  5253  	return
  5254  }
  5255  
  5256  // VertexAttrib3f calls the method "WebGLRenderingContext.vertexAttrib3f".
  5257  func (this WebGLRenderingContext) VertexAttrib3f(index GLuint, x GLfloat, y GLfloat, z GLfloat) (ret js.Void) {
  5258  	bindings.CallWebGLRenderingContextVertexAttrib3f(
  5259  		this.ref, js.Pointer(&ret),
  5260  		uint32(index),
  5261  		float32(x),
  5262  		float32(y),
  5263  		float32(z),
  5264  	)
  5265  
  5266  	return
  5267  }
  5268  
  5269  // TryVertexAttrib3f calls the method "WebGLRenderingContext.vertexAttrib3f"
  5270  // in a try/catch block and returns (_, err, ok = false) when it went through
  5271  // the catch clause.
  5272  func (this WebGLRenderingContext) TryVertexAttrib3f(index GLuint, x GLfloat, y GLfloat, z GLfloat) (ret js.Void, exception js.Any, ok bool) {
  5273  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib3f(
  5274  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5275  		uint32(index),
  5276  		float32(x),
  5277  		float32(y),
  5278  		float32(z),
  5279  	)
  5280  
  5281  	return
  5282  }
  5283  
  5284  // HasFuncVertexAttrib4f returns true if the method "WebGLRenderingContext.vertexAttrib4f" exists.
  5285  func (this WebGLRenderingContext) HasFuncVertexAttrib4f() bool {
  5286  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib4f(
  5287  		this.ref,
  5288  	)
  5289  }
  5290  
  5291  // FuncVertexAttrib4f returns the method "WebGLRenderingContext.vertexAttrib4f".
  5292  func (this WebGLRenderingContext) FuncVertexAttrib4f() (fn js.Func[func(index GLuint, x GLfloat, y GLfloat, z GLfloat, w GLfloat)]) {
  5293  	bindings.FuncWebGLRenderingContextVertexAttrib4f(
  5294  		this.ref, js.Pointer(&fn),
  5295  	)
  5296  	return
  5297  }
  5298  
  5299  // VertexAttrib4f calls the method "WebGLRenderingContext.vertexAttrib4f".
  5300  func (this WebGLRenderingContext) VertexAttrib4f(index GLuint, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void) {
  5301  	bindings.CallWebGLRenderingContextVertexAttrib4f(
  5302  		this.ref, js.Pointer(&ret),
  5303  		uint32(index),
  5304  		float32(x),
  5305  		float32(y),
  5306  		float32(z),
  5307  		float32(w),
  5308  	)
  5309  
  5310  	return
  5311  }
  5312  
  5313  // TryVertexAttrib4f calls the method "WebGLRenderingContext.vertexAttrib4f"
  5314  // in a try/catch block and returns (_, err, ok = false) when it went through
  5315  // the catch clause.
  5316  func (this WebGLRenderingContext) TryVertexAttrib4f(index GLuint, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void, exception js.Any, ok bool) {
  5317  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib4f(
  5318  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5319  		uint32(index),
  5320  		float32(x),
  5321  		float32(y),
  5322  		float32(z),
  5323  		float32(w),
  5324  	)
  5325  
  5326  	return
  5327  }
  5328  
  5329  // HasFuncVertexAttrib1fv returns true if the method "WebGLRenderingContext.vertexAttrib1fv" exists.
  5330  func (this WebGLRenderingContext) HasFuncVertexAttrib1fv() bool {
  5331  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib1fv(
  5332  		this.ref,
  5333  	)
  5334  }
  5335  
  5336  // FuncVertexAttrib1fv returns the method "WebGLRenderingContext.vertexAttrib1fv".
  5337  func (this WebGLRenderingContext) FuncVertexAttrib1fv() (fn js.Func[func(index GLuint, values Float32List)]) {
  5338  	bindings.FuncWebGLRenderingContextVertexAttrib1fv(
  5339  		this.ref, js.Pointer(&fn),
  5340  	)
  5341  	return
  5342  }
  5343  
  5344  // VertexAttrib1fv calls the method "WebGLRenderingContext.vertexAttrib1fv".
  5345  func (this WebGLRenderingContext) VertexAttrib1fv(index GLuint, values Float32List) (ret js.Void) {
  5346  	bindings.CallWebGLRenderingContextVertexAttrib1fv(
  5347  		this.ref, js.Pointer(&ret),
  5348  		uint32(index),
  5349  		values.Ref(),
  5350  	)
  5351  
  5352  	return
  5353  }
  5354  
  5355  // TryVertexAttrib1fv calls the method "WebGLRenderingContext.vertexAttrib1fv"
  5356  // in a try/catch block and returns (_, err, ok = false) when it went through
  5357  // the catch clause.
  5358  func (this WebGLRenderingContext) TryVertexAttrib1fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
  5359  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib1fv(
  5360  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5361  		uint32(index),
  5362  		values.Ref(),
  5363  	)
  5364  
  5365  	return
  5366  }
  5367  
  5368  // HasFuncVertexAttrib2fv returns true if the method "WebGLRenderingContext.vertexAttrib2fv" exists.
  5369  func (this WebGLRenderingContext) HasFuncVertexAttrib2fv() bool {
  5370  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib2fv(
  5371  		this.ref,
  5372  	)
  5373  }
  5374  
  5375  // FuncVertexAttrib2fv returns the method "WebGLRenderingContext.vertexAttrib2fv".
  5376  func (this WebGLRenderingContext) FuncVertexAttrib2fv() (fn js.Func[func(index GLuint, values Float32List)]) {
  5377  	bindings.FuncWebGLRenderingContextVertexAttrib2fv(
  5378  		this.ref, js.Pointer(&fn),
  5379  	)
  5380  	return
  5381  }
  5382  
  5383  // VertexAttrib2fv calls the method "WebGLRenderingContext.vertexAttrib2fv".
  5384  func (this WebGLRenderingContext) VertexAttrib2fv(index GLuint, values Float32List) (ret js.Void) {
  5385  	bindings.CallWebGLRenderingContextVertexAttrib2fv(
  5386  		this.ref, js.Pointer(&ret),
  5387  		uint32(index),
  5388  		values.Ref(),
  5389  	)
  5390  
  5391  	return
  5392  }
  5393  
  5394  // TryVertexAttrib2fv calls the method "WebGLRenderingContext.vertexAttrib2fv"
  5395  // in a try/catch block and returns (_, err, ok = false) when it went through
  5396  // the catch clause.
  5397  func (this WebGLRenderingContext) TryVertexAttrib2fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
  5398  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib2fv(
  5399  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5400  		uint32(index),
  5401  		values.Ref(),
  5402  	)
  5403  
  5404  	return
  5405  }
  5406  
  5407  // HasFuncVertexAttrib3fv returns true if the method "WebGLRenderingContext.vertexAttrib3fv" exists.
  5408  func (this WebGLRenderingContext) HasFuncVertexAttrib3fv() bool {
  5409  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib3fv(
  5410  		this.ref,
  5411  	)
  5412  }
  5413  
  5414  // FuncVertexAttrib3fv returns the method "WebGLRenderingContext.vertexAttrib3fv".
  5415  func (this WebGLRenderingContext) FuncVertexAttrib3fv() (fn js.Func[func(index GLuint, values Float32List)]) {
  5416  	bindings.FuncWebGLRenderingContextVertexAttrib3fv(
  5417  		this.ref, js.Pointer(&fn),
  5418  	)
  5419  	return
  5420  }
  5421  
  5422  // VertexAttrib3fv calls the method "WebGLRenderingContext.vertexAttrib3fv".
  5423  func (this WebGLRenderingContext) VertexAttrib3fv(index GLuint, values Float32List) (ret js.Void) {
  5424  	bindings.CallWebGLRenderingContextVertexAttrib3fv(
  5425  		this.ref, js.Pointer(&ret),
  5426  		uint32(index),
  5427  		values.Ref(),
  5428  	)
  5429  
  5430  	return
  5431  }
  5432  
  5433  // TryVertexAttrib3fv calls the method "WebGLRenderingContext.vertexAttrib3fv"
  5434  // in a try/catch block and returns (_, err, ok = false) when it went through
  5435  // the catch clause.
  5436  func (this WebGLRenderingContext) TryVertexAttrib3fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
  5437  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib3fv(
  5438  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5439  		uint32(index),
  5440  		values.Ref(),
  5441  	)
  5442  
  5443  	return
  5444  }
  5445  
  5446  // HasFuncVertexAttrib4fv returns true if the method "WebGLRenderingContext.vertexAttrib4fv" exists.
  5447  func (this WebGLRenderingContext) HasFuncVertexAttrib4fv() bool {
  5448  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttrib4fv(
  5449  		this.ref,
  5450  	)
  5451  }
  5452  
  5453  // FuncVertexAttrib4fv returns the method "WebGLRenderingContext.vertexAttrib4fv".
  5454  func (this WebGLRenderingContext) FuncVertexAttrib4fv() (fn js.Func[func(index GLuint, values Float32List)]) {
  5455  	bindings.FuncWebGLRenderingContextVertexAttrib4fv(
  5456  		this.ref, js.Pointer(&fn),
  5457  	)
  5458  	return
  5459  }
  5460  
  5461  // VertexAttrib4fv calls the method "WebGLRenderingContext.vertexAttrib4fv".
  5462  func (this WebGLRenderingContext) VertexAttrib4fv(index GLuint, values Float32List) (ret js.Void) {
  5463  	bindings.CallWebGLRenderingContextVertexAttrib4fv(
  5464  		this.ref, js.Pointer(&ret),
  5465  		uint32(index),
  5466  		values.Ref(),
  5467  	)
  5468  
  5469  	return
  5470  }
  5471  
  5472  // TryVertexAttrib4fv calls the method "WebGLRenderingContext.vertexAttrib4fv"
  5473  // in a try/catch block and returns (_, err, ok = false) when it went through
  5474  // the catch clause.
  5475  func (this WebGLRenderingContext) TryVertexAttrib4fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
  5476  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttrib4fv(
  5477  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5478  		uint32(index),
  5479  		values.Ref(),
  5480  	)
  5481  
  5482  	return
  5483  }
  5484  
  5485  // HasFuncVertexAttribPointer returns true if the method "WebGLRenderingContext.vertexAttribPointer" exists.
  5486  func (this WebGLRenderingContext) HasFuncVertexAttribPointer() bool {
  5487  	return js.True == bindings.HasFuncWebGLRenderingContextVertexAttribPointer(
  5488  		this.ref,
  5489  	)
  5490  }
  5491  
  5492  // FuncVertexAttribPointer returns the method "WebGLRenderingContext.vertexAttribPointer".
  5493  func (this WebGLRenderingContext) FuncVertexAttribPointer() (fn js.Func[func(index GLuint, size GLint, typ GLenum, normalized GLboolean, stride GLsizei, offset GLintptr)]) {
  5494  	bindings.FuncWebGLRenderingContextVertexAttribPointer(
  5495  		this.ref, js.Pointer(&fn),
  5496  	)
  5497  	return
  5498  }
  5499  
  5500  // VertexAttribPointer calls the method "WebGLRenderingContext.vertexAttribPointer".
  5501  func (this WebGLRenderingContext) VertexAttribPointer(index GLuint, size GLint, typ GLenum, normalized GLboolean, stride GLsizei, offset GLintptr) (ret js.Void) {
  5502  	bindings.CallWebGLRenderingContextVertexAttribPointer(
  5503  		this.ref, js.Pointer(&ret),
  5504  		uint32(index),
  5505  		int32(size),
  5506  		uint32(typ),
  5507  		js.Bool(bool(normalized)),
  5508  		int32(stride),
  5509  		float64(offset),
  5510  	)
  5511  
  5512  	return
  5513  }
  5514  
  5515  // TryVertexAttribPointer calls the method "WebGLRenderingContext.vertexAttribPointer"
  5516  // in a try/catch block and returns (_, err, ok = false) when it went through
  5517  // the catch clause.
  5518  func (this WebGLRenderingContext) TryVertexAttribPointer(index GLuint, size GLint, typ GLenum, normalized GLboolean, stride GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  5519  	ok = js.True == bindings.TryWebGLRenderingContextVertexAttribPointer(
  5520  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5521  		uint32(index),
  5522  		int32(size),
  5523  		uint32(typ),
  5524  		js.Bool(bool(normalized)),
  5525  		int32(stride),
  5526  		float64(offset),
  5527  	)
  5528  
  5529  	return
  5530  }
  5531  
  5532  // HasFuncViewport returns true if the method "WebGLRenderingContext.viewport" exists.
  5533  func (this WebGLRenderingContext) HasFuncViewport() bool {
  5534  	return js.True == bindings.HasFuncWebGLRenderingContextViewport(
  5535  		this.ref,
  5536  	)
  5537  }
  5538  
  5539  // FuncViewport returns the method "WebGLRenderingContext.viewport".
  5540  func (this WebGLRenderingContext) FuncViewport() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei)]) {
  5541  	bindings.FuncWebGLRenderingContextViewport(
  5542  		this.ref, js.Pointer(&fn),
  5543  	)
  5544  	return
  5545  }
  5546  
  5547  // Viewport calls the method "WebGLRenderingContext.viewport".
  5548  func (this WebGLRenderingContext) Viewport(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
  5549  	bindings.CallWebGLRenderingContextViewport(
  5550  		this.ref, js.Pointer(&ret),
  5551  		int32(x),
  5552  		int32(y),
  5553  		int32(width),
  5554  		int32(height),
  5555  	)
  5556  
  5557  	return
  5558  }
  5559  
  5560  // TryViewport calls the method "WebGLRenderingContext.viewport"
  5561  // in a try/catch block and returns (_, err, ok = false) when it went through
  5562  // the catch clause.
  5563  func (this WebGLRenderingContext) TryViewport(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
  5564  	ok = js.True == bindings.TryWebGLRenderingContextViewport(
  5565  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5566  		int32(x),
  5567  		int32(y),
  5568  		int32(width),
  5569  		int32(height),
  5570  	)
  5571  
  5572  	return
  5573  }
  5574  
  5575  // HasFuncMakeXRCompatible returns true if the method "WebGLRenderingContext.makeXRCompatible" exists.
  5576  func (this WebGLRenderingContext) HasFuncMakeXRCompatible() bool {
  5577  	return js.True == bindings.HasFuncWebGLRenderingContextMakeXRCompatible(
  5578  		this.ref,
  5579  	)
  5580  }
  5581  
  5582  // FuncMakeXRCompatible returns the method "WebGLRenderingContext.makeXRCompatible".
  5583  func (this WebGLRenderingContext) FuncMakeXRCompatible() (fn js.Func[func() js.Promise[js.Void]]) {
  5584  	bindings.FuncWebGLRenderingContextMakeXRCompatible(
  5585  		this.ref, js.Pointer(&fn),
  5586  	)
  5587  	return
  5588  }
  5589  
  5590  // MakeXRCompatible calls the method "WebGLRenderingContext.makeXRCompatible".
  5591  func (this WebGLRenderingContext) MakeXRCompatible() (ret js.Promise[js.Void]) {
  5592  	bindings.CallWebGLRenderingContextMakeXRCompatible(
  5593  		this.ref, js.Pointer(&ret),
  5594  	)
  5595  
  5596  	return
  5597  }
  5598  
  5599  // TryMakeXRCompatible calls the method "WebGLRenderingContext.makeXRCompatible"
  5600  // in a try/catch block and returns (_, err, ok = false) when it went through
  5601  // the catch clause.
  5602  func (this WebGLRenderingContext) TryMakeXRCompatible() (ret js.Promise[js.Void], exception js.Any, ok bool) {
  5603  	ok = js.True == bindings.TryWebGLRenderingContextMakeXRCompatible(
  5604  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5605  	)
  5606  
  5607  	return
  5608  }
  5609  
  5610  // HasFuncBufferData returns true if the method "WebGLRenderingContext.bufferData" exists.
  5611  func (this WebGLRenderingContext) HasFuncBufferData() bool {
  5612  	return js.True == bindings.HasFuncWebGLRenderingContextBufferData(
  5613  		this.ref,
  5614  	)
  5615  }
  5616  
  5617  // FuncBufferData returns the method "WebGLRenderingContext.bufferData".
  5618  func (this WebGLRenderingContext) FuncBufferData() (fn js.Func[func(target GLenum, size GLsizeiptr, usage GLenum)]) {
  5619  	bindings.FuncWebGLRenderingContextBufferData(
  5620  		this.ref, js.Pointer(&fn),
  5621  	)
  5622  	return
  5623  }
  5624  
  5625  // BufferData calls the method "WebGLRenderingContext.bufferData".
  5626  func (this WebGLRenderingContext) BufferData(target GLenum, size GLsizeiptr, usage GLenum) (ret js.Void) {
  5627  	bindings.CallWebGLRenderingContextBufferData(
  5628  		this.ref, js.Pointer(&ret),
  5629  		uint32(target),
  5630  		float64(size),
  5631  		uint32(usage),
  5632  	)
  5633  
  5634  	return
  5635  }
  5636  
  5637  // TryBufferData calls the method "WebGLRenderingContext.bufferData"
  5638  // in a try/catch block and returns (_, err, ok = false) when it went through
  5639  // the catch clause.
  5640  func (this WebGLRenderingContext) TryBufferData(target GLenum, size GLsizeiptr, usage GLenum) (ret js.Void, exception js.Any, ok bool) {
  5641  	ok = js.True == bindings.TryWebGLRenderingContextBufferData(
  5642  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5643  		uint32(target),
  5644  		float64(size),
  5645  		uint32(usage),
  5646  	)
  5647  
  5648  	return
  5649  }
  5650  
  5651  // HasFuncBufferData1 returns true if the method "WebGLRenderingContext.bufferData" exists.
  5652  func (this WebGLRenderingContext) HasFuncBufferData1() bool {
  5653  	return js.True == bindings.HasFuncWebGLRenderingContextBufferData1(
  5654  		this.ref,
  5655  	)
  5656  }
  5657  
  5658  // FuncBufferData1 returns the method "WebGLRenderingContext.bufferData".
  5659  func (this WebGLRenderingContext) FuncBufferData1() (fn js.Func[func(target GLenum, data AllowSharedBufferSource, usage GLenum)]) {
  5660  	bindings.FuncWebGLRenderingContextBufferData1(
  5661  		this.ref, js.Pointer(&fn),
  5662  	)
  5663  	return
  5664  }
  5665  
  5666  // BufferData1 calls the method "WebGLRenderingContext.bufferData".
  5667  func (this WebGLRenderingContext) BufferData1(target GLenum, data AllowSharedBufferSource, usage GLenum) (ret js.Void) {
  5668  	bindings.CallWebGLRenderingContextBufferData1(
  5669  		this.ref, js.Pointer(&ret),
  5670  		uint32(target),
  5671  		data.Ref(),
  5672  		uint32(usage),
  5673  	)
  5674  
  5675  	return
  5676  }
  5677  
  5678  // TryBufferData1 calls the method "WebGLRenderingContext.bufferData"
  5679  // in a try/catch block and returns (_, err, ok = false) when it went through
  5680  // the catch clause.
  5681  func (this WebGLRenderingContext) TryBufferData1(target GLenum, data AllowSharedBufferSource, usage GLenum) (ret js.Void, exception js.Any, ok bool) {
  5682  	ok = js.True == bindings.TryWebGLRenderingContextBufferData1(
  5683  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5684  		uint32(target),
  5685  		data.Ref(),
  5686  		uint32(usage),
  5687  	)
  5688  
  5689  	return
  5690  }
  5691  
  5692  // HasFuncBufferSubData returns true if the method "WebGLRenderingContext.bufferSubData" exists.
  5693  func (this WebGLRenderingContext) HasFuncBufferSubData() bool {
  5694  	return js.True == bindings.HasFuncWebGLRenderingContextBufferSubData(
  5695  		this.ref,
  5696  	)
  5697  }
  5698  
  5699  // FuncBufferSubData returns the method "WebGLRenderingContext.bufferSubData".
  5700  func (this WebGLRenderingContext) FuncBufferSubData() (fn js.Func[func(target GLenum, offset GLintptr, data AllowSharedBufferSource)]) {
  5701  	bindings.FuncWebGLRenderingContextBufferSubData(
  5702  		this.ref, js.Pointer(&fn),
  5703  	)
  5704  	return
  5705  }
  5706  
  5707  // BufferSubData calls the method "WebGLRenderingContext.bufferSubData".
  5708  func (this WebGLRenderingContext) BufferSubData(target GLenum, offset GLintptr, data AllowSharedBufferSource) (ret js.Void) {
  5709  	bindings.CallWebGLRenderingContextBufferSubData(
  5710  		this.ref, js.Pointer(&ret),
  5711  		uint32(target),
  5712  		float64(offset),
  5713  		data.Ref(),
  5714  	)
  5715  
  5716  	return
  5717  }
  5718  
  5719  // TryBufferSubData calls the method "WebGLRenderingContext.bufferSubData"
  5720  // in a try/catch block and returns (_, err, ok = false) when it went through
  5721  // the catch clause.
  5722  func (this WebGLRenderingContext) TryBufferSubData(target GLenum, offset GLintptr, data AllowSharedBufferSource) (ret js.Void, exception js.Any, ok bool) {
  5723  	ok = js.True == bindings.TryWebGLRenderingContextBufferSubData(
  5724  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5725  		uint32(target),
  5726  		float64(offset),
  5727  		data.Ref(),
  5728  	)
  5729  
  5730  	return
  5731  }
  5732  
  5733  // HasFuncCompressedTexImage2D returns true if the method "WebGLRenderingContext.compressedTexImage2D" exists.
  5734  func (this WebGLRenderingContext) HasFuncCompressedTexImage2D() bool {
  5735  	return js.True == bindings.HasFuncWebGLRenderingContextCompressedTexImage2D(
  5736  		this.ref,
  5737  	)
  5738  }
  5739  
  5740  // FuncCompressedTexImage2D returns the method "WebGLRenderingContext.compressedTexImage2D".
  5741  func (this WebGLRenderingContext) FuncCompressedTexImage2D() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, data js.ArrayBufferView)]) {
  5742  	bindings.FuncWebGLRenderingContextCompressedTexImage2D(
  5743  		this.ref, js.Pointer(&fn),
  5744  	)
  5745  	return
  5746  }
  5747  
  5748  // CompressedTexImage2D calls the method "WebGLRenderingContext.compressedTexImage2D".
  5749  func (this WebGLRenderingContext) CompressedTexImage2D(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, data js.ArrayBufferView) (ret js.Void) {
  5750  	bindings.CallWebGLRenderingContextCompressedTexImage2D(
  5751  		this.ref, js.Pointer(&ret),
  5752  		uint32(target),
  5753  		int32(level),
  5754  		uint32(internalformat),
  5755  		int32(width),
  5756  		int32(height),
  5757  		int32(border),
  5758  		data.Ref(),
  5759  	)
  5760  
  5761  	return
  5762  }
  5763  
  5764  // TryCompressedTexImage2D calls the method "WebGLRenderingContext.compressedTexImage2D"
  5765  // in a try/catch block and returns (_, err, ok = false) when it went through
  5766  // the catch clause.
  5767  func (this WebGLRenderingContext) TryCompressedTexImage2D(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, data js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  5768  	ok = js.True == bindings.TryWebGLRenderingContextCompressedTexImage2D(
  5769  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5770  		uint32(target),
  5771  		int32(level),
  5772  		uint32(internalformat),
  5773  		int32(width),
  5774  		int32(height),
  5775  		int32(border),
  5776  		data.Ref(),
  5777  	)
  5778  
  5779  	return
  5780  }
  5781  
  5782  // HasFuncCompressedTexSubImage2D returns true if the method "WebGLRenderingContext.compressedTexSubImage2D" exists.
  5783  func (this WebGLRenderingContext) HasFuncCompressedTexSubImage2D() bool {
  5784  	return js.True == bindings.HasFuncWebGLRenderingContextCompressedTexSubImage2D(
  5785  		this.ref,
  5786  	)
  5787  }
  5788  
  5789  // FuncCompressedTexSubImage2D returns the method "WebGLRenderingContext.compressedTexSubImage2D".
  5790  func (this WebGLRenderingContext) FuncCompressedTexSubImage2D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, data js.ArrayBufferView)]) {
  5791  	bindings.FuncWebGLRenderingContextCompressedTexSubImage2D(
  5792  		this.ref, js.Pointer(&fn),
  5793  	)
  5794  	return
  5795  }
  5796  
  5797  // CompressedTexSubImage2D calls the method "WebGLRenderingContext.compressedTexSubImage2D".
  5798  func (this WebGLRenderingContext) CompressedTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, data js.ArrayBufferView) (ret js.Void) {
  5799  	bindings.CallWebGLRenderingContextCompressedTexSubImage2D(
  5800  		this.ref, js.Pointer(&ret),
  5801  		uint32(target),
  5802  		int32(level),
  5803  		int32(xoffset),
  5804  		int32(yoffset),
  5805  		int32(width),
  5806  		int32(height),
  5807  		uint32(format),
  5808  		data.Ref(),
  5809  	)
  5810  
  5811  	return
  5812  }
  5813  
  5814  // TryCompressedTexSubImage2D calls the method "WebGLRenderingContext.compressedTexSubImage2D"
  5815  // in a try/catch block and returns (_, err, ok = false) when it went through
  5816  // the catch clause.
  5817  func (this WebGLRenderingContext) TryCompressedTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, data js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  5818  	ok = js.True == bindings.TryWebGLRenderingContextCompressedTexSubImage2D(
  5819  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5820  		uint32(target),
  5821  		int32(level),
  5822  		int32(xoffset),
  5823  		int32(yoffset),
  5824  		int32(width),
  5825  		int32(height),
  5826  		uint32(format),
  5827  		data.Ref(),
  5828  	)
  5829  
  5830  	return
  5831  }
  5832  
  5833  // HasFuncReadPixels returns true if the method "WebGLRenderingContext.readPixels" exists.
  5834  func (this WebGLRenderingContext) HasFuncReadPixels() bool {
  5835  	return js.True == bindings.HasFuncWebGLRenderingContextReadPixels(
  5836  		this.ref,
  5837  	)
  5838  }
  5839  
  5840  // FuncReadPixels returns the method "WebGLRenderingContext.readPixels".
  5841  func (this WebGLRenderingContext) FuncReadPixels() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView)]) {
  5842  	bindings.FuncWebGLRenderingContextReadPixels(
  5843  		this.ref, js.Pointer(&fn),
  5844  	)
  5845  	return
  5846  }
  5847  
  5848  // ReadPixels calls the method "WebGLRenderingContext.readPixels".
  5849  func (this WebGLRenderingContext) ReadPixels(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void) {
  5850  	bindings.CallWebGLRenderingContextReadPixels(
  5851  		this.ref, js.Pointer(&ret),
  5852  		int32(x),
  5853  		int32(y),
  5854  		int32(width),
  5855  		int32(height),
  5856  		uint32(format),
  5857  		uint32(typ),
  5858  		pixels.Ref(),
  5859  	)
  5860  
  5861  	return
  5862  }
  5863  
  5864  // TryReadPixels calls the method "WebGLRenderingContext.readPixels"
  5865  // in a try/catch block and returns (_, err, ok = false) when it went through
  5866  // the catch clause.
  5867  func (this WebGLRenderingContext) TryReadPixels(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  5868  	ok = js.True == bindings.TryWebGLRenderingContextReadPixels(
  5869  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5870  		int32(x),
  5871  		int32(y),
  5872  		int32(width),
  5873  		int32(height),
  5874  		uint32(format),
  5875  		uint32(typ),
  5876  		pixels.Ref(),
  5877  	)
  5878  
  5879  	return
  5880  }
  5881  
  5882  // HasFuncTexImage2D returns true if the method "WebGLRenderingContext.texImage2D" exists.
  5883  func (this WebGLRenderingContext) HasFuncTexImage2D() bool {
  5884  	return js.True == bindings.HasFuncWebGLRenderingContextTexImage2D(
  5885  		this.ref,
  5886  	)
  5887  }
  5888  
  5889  // FuncTexImage2D returns the method "WebGLRenderingContext.texImage2D".
  5890  func (this WebGLRenderingContext) FuncTexImage2D() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pixels js.ArrayBufferView)]) {
  5891  	bindings.FuncWebGLRenderingContextTexImage2D(
  5892  		this.ref, js.Pointer(&fn),
  5893  	)
  5894  	return
  5895  }
  5896  
  5897  // TexImage2D calls the method "WebGLRenderingContext.texImage2D".
  5898  func (this WebGLRenderingContext) TexImage2D(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void) {
  5899  	bindings.CallWebGLRenderingContextTexImage2D(
  5900  		this.ref, js.Pointer(&ret),
  5901  		uint32(target),
  5902  		int32(level),
  5903  		int32(internalformat),
  5904  		int32(width),
  5905  		int32(height),
  5906  		int32(border),
  5907  		uint32(format),
  5908  		uint32(typ),
  5909  		pixels.Ref(),
  5910  	)
  5911  
  5912  	return
  5913  }
  5914  
  5915  // TryTexImage2D calls the method "WebGLRenderingContext.texImage2D"
  5916  // in a try/catch block and returns (_, err, ok = false) when it went through
  5917  // the catch clause.
  5918  func (this WebGLRenderingContext) TryTexImage2D(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  5919  	ok = js.True == bindings.TryWebGLRenderingContextTexImage2D(
  5920  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5921  		uint32(target),
  5922  		int32(level),
  5923  		int32(internalformat),
  5924  		int32(width),
  5925  		int32(height),
  5926  		int32(border),
  5927  		uint32(format),
  5928  		uint32(typ),
  5929  		pixels.Ref(),
  5930  	)
  5931  
  5932  	return
  5933  }
  5934  
  5935  // HasFuncTexImage2D1 returns true if the method "WebGLRenderingContext.texImage2D" exists.
  5936  func (this WebGLRenderingContext) HasFuncTexImage2D1() bool {
  5937  	return js.True == bindings.HasFuncWebGLRenderingContextTexImage2D1(
  5938  		this.ref,
  5939  	)
  5940  }
  5941  
  5942  // FuncTexImage2D1 returns the method "WebGLRenderingContext.texImage2D".
  5943  func (this WebGLRenderingContext) FuncTexImage2D1() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, format GLenum, typ GLenum, source TexImageSource)]) {
  5944  	bindings.FuncWebGLRenderingContextTexImage2D1(
  5945  		this.ref, js.Pointer(&fn),
  5946  	)
  5947  	return
  5948  }
  5949  
  5950  // TexImage2D1 calls the method "WebGLRenderingContext.texImage2D".
  5951  func (this WebGLRenderingContext) TexImage2D1(target GLenum, level GLint, internalformat GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
  5952  	bindings.CallWebGLRenderingContextTexImage2D1(
  5953  		this.ref, js.Pointer(&ret),
  5954  		uint32(target),
  5955  		int32(level),
  5956  		int32(internalformat),
  5957  		uint32(format),
  5958  		uint32(typ),
  5959  		source.Ref(),
  5960  	)
  5961  
  5962  	return
  5963  }
  5964  
  5965  // TryTexImage2D1 calls the method "WebGLRenderingContext.texImage2D"
  5966  // in a try/catch block and returns (_, err, ok = false) when it went through
  5967  // the catch clause.
  5968  func (this WebGLRenderingContext) TryTexImage2D1(target GLenum, level GLint, internalformat GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
  5969  	ok = js.True == bindings.TryWebGLRenderingContextTexImage2D1(
  5970  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  5971  		uint32(target),
  5972  		int32(level),
  5973  		int32(internalformat),
  5974  		uint32(format),
  5975  		uint32(typ),
  5976  		source.Ref(),
  5977  	)
  5978  
  5979  	return
  5980  }
  5981  
  5982  // HasFuncTexSubImage2D returns true if the method "WebGLRenderingContext.texSubImage2D" exists.
  5983  func (this WebGLRenderingContext) HasFuncTexSubImage2D() bool {
  5984  	return js.True == bindings.HasFuncWebGLRenderingContextTexSubImage2D(
  5985  		this.ref,
  5986  	)
  5987  }
  5988  
  5989  // FuncTexSubImage2D returns the method "WebGLRenderingContext.texSubImage2D".
  5990  func (this WebGLRenderingContext) FuncTexSubImage2D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView)]) {
  5991  	bindings.FuncWebGLRenderingContextTexSubImage2D(
  5992  		this.ref, js.Pointer(&fn),
  5993  	)
  5994  	return
  5995  }
  5996  
  5997  // TexSubImage2D calls the method "WebGLRenderingContext.texSubImage2D".
  5998  func (this WebGLRenderingContext) TexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void) {
  5999  	bindings.CallWebGLRenderingContextTexSubImage2D(
  6000  		this.ref, js.Pointer(&ret),
  6001  		uint32(target),
  6002  		int32(level),
  6003  		int32(xoffset),
  6004  		int32(yoffset),
  6005  		int32(width),
  6006  		int32(height),
  6007  		uint32(format),
  6008  		uint32(typ),
  6009  		pixels.Ref(),
  6010  	)
  6011  
  6012  	return
  6013  }
  6014  
  6015  // TryTexSubImage2D calls the method "WebGLRenderingContext.texSubImage2D"
  6016  // in a try/catch block and returns (_, err, ok = false) when it went through
  6017  // the catch clause.
  6018  func (this WebGLRenderingContext) TryTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  6019  	ok = js.True == bindings.TryWebGLRenderingContextTexSubImage2D(
  6020  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6021  		uint32(target),
  6022  		int32(level),
  6023  		int32(xoffset),
  6024  		int32(yoffset),
  6025  		int32(width),
  6026  		int32(height),
  6027  		uint32(format),
  6028  		uint32(typ),
  6029  		pixels.Ref(),
  6030  	)
  6031  
  6032  	return
  6033  }
  6034  
  6035  // HasFuncTexSubImage2D1 returns true if the method "WebGLRenderingContext.texSubImage2D" exists.
  6036  func (this WebGLRenderingContext) HasFuncTexSubImage2D1() bool {
  6037  	return js.True == bindings.HasFuncWebGLRenderingContextTexSubImage2D1(
  6038  		this.ref,
  6039  	)
  6040  }
  6041  
  6042  // FuncTexSubImage2D1 returns the method "WebGLRenderingContext.texSubImage2D".
  6043  func (this WebGLRenderingContext) FuncTexSubImage2D1() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, format GLenum, typ GLenum, source TexImageSource)]) {
  6044  	bindings.FuncWebGLRenderingContextTexSubImage2D1(
  6045  		this.ref, js.Pointer(&fn),
  6046  	)
  6047  	return
  6048  }
  6049  
  6050  // TexSubImage2D1 calls the method "WebGLRenderingContext.texSubImage2D".
  6051  func (this WebGLRenderingContext) TexSubImage2D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
  6052  	bindings.CallWebGLRenderingContextTexSubImage2D1(
  6053  		this.ref, js.Pointer(&ret),
  6054  		uint32(target),
  6055  		int32(level),
  6056  		int32(xoffset),
  6057  		int32(yoffset),
  6058  		uint32(format),
  6059  		uint32(typ),
  6060  		source.Ref(),
  6061  	)
  6062  
  6063  	return
  6064  }
  6065  
  6066  // TryTexSubImage2D1 calls the method "WebGLRenderingContext.texSubImage2D"
  6067  // in a try/catch block and returns (_, err, ok = false) when it went through
  6068  // the catch clause.
  6069  func (this WebGLRenderingContext) TryTexSubImage2D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
  6070  	ok = js.True == bindings.TryWebGLRenderingContextTexSubImage2D1(
  6071  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6072  		uint32(target),
  6073  		int32(level),
  6074  		int32(xoffset),
  6075  		int32(yoffset),
  6076  		uint32(format),
  6077  		uint32(typ),
  6078  		source.Ref(),
  6079  	)
  6080  
  6081  	return
  6082  }
  6083  
  6084  // HasFuncUniform1fv returns true if the method "WebGLRenderingContext.uniform1fv" exists.
  6085  func (this WebGLRenderingContext) HasFuncUniform1fv() bool {
  6086  	return js.True == bindings.HasFuncWebGLRenderingContextUniform1fv(
  6087  		this.ref,
  6088  	)
  6089  }
  6090  
  6091  // FuncUniform1fv returns the method "WebGLRenderingContext.uniform1fv".
  6092  func (this WebGLRenderingContext) FuncUniform1fv() (fn js.Func[func(location WebGLUniformLocation, v Float32List)]) {
  6093  	bindings.FuncWebGLRenderingContextUniform1fv(
  6094  		this.ref, js.Pointer(&fn),
  6095  	)
  6096  	return
  6097  }
  6098  
  6099  // Uniform1fv calls the method "WebGLRenderingContext.uniform1fv".
  6100  func (this WebGLRenderingContext) Uniform1fv(location WebGLUniformLocation, v Float32List) (ret js.Void) {
  6101  	bindings.CallWebGLRenderingContextUniform1fv(
  6102  		this.ref, js.Pointer(&ret),
  6103  		location.Ref(),
  6104  		v.Ref(),
  6105  	)
  6106  
  6107  	return
  6108  }
  6109  
  6110  // TryUniform1fv calls the method "WebGLRenderingContext.uniform1fv"
  6111  // in a try/catch block and returns (_, err, ok = false) when it went through
  6112  // the catch clause.
  6113  func (this WebGLRenderingContext) TryUniform1fv(location WebGLUniformLocation, v Float32List) (ret js.Void, exception js.Any, ok bool) {
  6114  	ok = js.True == bindings.TryWebGLRenderingContextUniform1fv(
  6115  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6116  		location.Ref(),
  6117  		v.Ref(),
  6118  	)
  6119  
  6120  	return
  6121  }
  6122  
  6123  // HasFuncUniform2fv returns true if the method "WebGLRenderingContext.uniform2fv" exists.
  6124  func (this WebGLRenderingContext) HasFuncUniform2fv() bool {
  6125  	return js.True == bindings.HasFuncWebGLRenderingContextUniform2fv(
  6126  		this.ref,
  6127  	)
  6128  }
  6129  
  6130  // FuncUniform2fv returns the method "WebGLRenderingContext.uniform2fv".
  6131  func (this WebGLRenderingContext) FuncUniform2fv() (fn js.Func[func(location WebGLUniformLocation, v Float32List)]) {
  6132  	bindings.FuncWebGLRenderingContextUniform2fv(
  6133  		this.ref, js.Pointer(&fn),
  6134  	)
  6135  	return
  6136  }
  6137  
  6138  // Uniform2fv calls the method "WebGLRenderingContext.uniform2fv".
  6139  func (this WebGLRenderingContext) Uniform2fv(location WebGLUniformLocation, v Float32List) (ret js.Void) {
  6140  	bindings.CallWebGLRenderingContextUniform2fv(
  6141  		this.ref, js.Pointer(&ret),
  6142  		location.Ref(),
  6143  		v.Ref(),
  6144  	)
  6145  
  6146  	return
  6147  }
  6148  
  6149  // TryUniform2fv calls the method "WebGLRenderingContext.uniform2fv"
  6150  // in a try/catch block and returns (_, err, ok = false) when it went through
  6151  // the catch clause.
  6152  func (this WebGLRenderingContext) TryUniform2fv(location WebGLUniformLocation, v Float32List) (ret js.Void, exception js.Any, ok bool) {
  6153  	ok = js.True == bindings.TryWebGLRenderingContextUniform2fv(
  6154  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6155  		location.Ref(),
  6156  		v.Ref(),
  6157  	)
  6158  
  6159  	return
  6160  }
  6161  
  6162  // HasFuncUniform3fv returns true if the method "WebGLRenderingContext.uniform3fv" exists.
  6163  func (this WebGLRenderingContext) HasFuncUniform3fv() bool {
  6164  	return js.True == bindings.HasFuncWebGLRenderingContextUniform3fv(
  6165  		this.ref,
  6166  	)
  6167  }
  6168  
  6169  // FuncUniform3fv returns the method "WebGLRenderingContext.uniform3fv".
  6170  func (this WebGLRenderingContext) FuncUniform3fv() (fn js.Func[func(location WebGLUniformLocation, v Float32List)]) {
  6171  	bindings.FuncWebGLRenderingContextUniform3fv(
  6172  		this.ref, js.Pointer(&fn),
  6173  	)
  6174  	return
  6175  }
  6176  
  6177  // Uniform3fv calls the method "WebGLRenderingContext.uniform3fv".
  6178  func (this WebGLRenderingContext) Uniform3fv(location WebGLUniformLocation, v Float32List) (ret js.Void) {
  6179  	bindings.CallWebGLRenderingContextUniform3fv(
  6180  		this.ref, js.Pointer(&ret),
  6181  		location.Ref(),
  6182  		v.Ref(),
  6183  	)
  6184  
  6185  	return
  6186  }
  6187  
  6188  // TryUniform3fv calls the method "WebGLRenderingContext.uniform3fv"
  6189  // in a try/catch block and returns (_, err, ok = false) when it went through
  6190  // the catch clause.
  6191  func (this WebGLRenderingContext) TryUniform3fv(location WebGLUniformLocation, v Float32List) (ret js.Void, exception js.Any, ok bool) {
  6192  	ok = js.True == bindings.TryWebGLRenderingContextUniform3fv(
  6193  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6194  		location.Ref(),
  6195  		v.Ref(),
  6196  	)
  6197  
  6198  	return
  6199  }
  6200  
  6201  // HasFuncUniform4fv returns true if the method "WebGLRenderingContext.uniform4fv" exists.
  6202  func (this WebGLRenderingContext) HasFuncUniform4fv() bool {
  6203  	return js.True == bindings.HasFuncWebGLRenderingContextUniform4fv(
  6204  		this.ref,
  6205  	)
  6206  }
  6207  
  6208  // FuncUniform4fv returns the method "WebGLRenderingContext.uniform4fv".
  6209  func (this WebGLRenderingContext) FuncUniform4fv() (fn js.Func[func(location WebGLUniformLocation, v Float32List)]) {
  6210  	bindings.FuncWebGLRenderingContextUniform4fv(
  6211  		this.ref, js.Pointer(&fn),
  6212  	)
  6213  	return
  6214  }
  6215  
  6216  // Uniform4fv calls the method "WebGLRenderingContext.uniform4fv".
  6217  func (this WebGLRenderingContext) Uniform4fv(location WebGLUniformLocation, v Float32List) (ret js.Void) {
  6218  	bindings.CallWebGLRenderingContextUniform4fv(
  6219  		this.ref, js.Pointer(&ret),
  6220  		location.Ref(),
  6221  		v.Ref(),
  6222  	)
  6223  
  6224  	return
  6225  }
  6226  
  6227  // TryUniform4fv calls the method "WebGLRenderingContext.uniform4fv"
  6228  // in a try/catch block and returns (_, err, ok = false) when it went through
  6229  // the catch clause.
  6230  func (this WebGLRenderingContext) TryUniform4fv(location WebGLUniformLocation, v Float32List) (ret js.Void, exception js.Any, ok bool) {
  6231  	ok = js.True == bindings.TryWebGLRenderingContextUniform4fv(
  6232  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6233  		location.Ref(),
  6234  		v.Ref(),
  6235  	)
  6236  
  6237  	return
  6238  }
  6239  
  6240  // HasFuncUniform1iv returns true if the method "WebGLRenderingContext.uniform1iv" exists.
  6241  func (this WebGLRenderingContext) HasFuncUniform1iv() bool {
  6242  	return js.True == bindings.HasFuncWebGLRenderingContextUniform1iv(
  6243  		this.ref,
  6244  	)
  6245  }
  6246  
  6247  // FuncUniform1iv returns the method "WebGLRenderingContext.uniform1iv".
  6248  func (this WebGLRenderingContext) FuncUniform1iv() (fn js.Func[func(location WebGLUniformLocation, v Int32List)]) {
  6249  	bindings.FuncWebGLRenderingContextUniform1iv(
  6250  		this.ref, js.Pointer(&fn),
  6251  	)
  6252  	return
  6253  }
  6254  
  6255  // Uniform1iv calls the method "WebGLRenderingContext.uniform1iv".
  6256  func (this WebGLRenderingContext) Uniform1iv(location WebGLUniformLocation, v Int32List) (ret js.Void) {
  6257  	bindings.CallWebGLRenderingContextUniform1iv(
  6258  		this.ref, js.Pointer(&ret),
  6259  		location.Ref(),
  6260  		v.Ref(),
  6261  	)
  6262  
  6263  	return
  6264  }
  6265  
  6266  // TryUniform1iv calls the method "WebGLRenderingContext.uniform1iv"
  6267  // in a try/catch block and returns (_, err, ok = false) when it went through
  6268  // the catch clause.
  6269  func (this WebGLRenderingContext) TryUniform1iv(location WebGLUniformLocation, v Int32List) (ret js.Void, exception js.Any, ok bool) {
  6270  	ok = js.True == bindings.TryWebGLRenderingContextUniform1iv(
  6271  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6272  		location.Ref(),
  6273  		v.Ref(),
  6274  	)
  6275  
  6276  	return
  6277  }
  6278  
  6279  // HasFuncUniform2iv returns true if the method "WebGLRenderingContext.uniform2iv" exists.
  6280  func (this WebGLRenderingContext) HasFuncUniform2iv() bool {
  6281  	return js.True == bindings.HasFuncWebGLRenderingContextUniform2iv(
  6282  		this.ref,
  6283  	)
  6284  }
  6285  
  6286  // FuncUniform2iv returns the method "WebGLRenderingContext.uniform2iv".
  6287  func (this WebGLRenderingContext) FuncUniform2iv() (fn js.Func[func(location WebGLUniformLocation, v Int32List)]) {
  6288  	bindings.FuncWebGLRenderingContextUniform2iv(
  6289  		this.ref, js.Pointer(&fn),
  6290  	)
  6291  	return
  6292  }
  6293  
  6294  // Uniform2iv calls the method "WebGLRenderingContext.uniform2iv".
  6295  func (this WebGLRenderingContext) Uniform2iv(location WebGLUniformLocation, v Int32List) (ret js.Void) {
  6296  	bindings.CallWebGLRenderingContextUniform2iv(
  6297  		this.ref, js.Pointer(&ret),
  6298  		location.Ref(),
  6299  		v.Ref(),
  6300  	)
  6301  
  6302  	return
  6303  }
  6304  
  6305  // TryUniform2iv calls the method "WebGLRenderingContext.uniform2iv"
  6306  // in a try/catch block and returns (_, err, ok = false) when it went through
  6307  // the catch clause.
  6308  func (this WebGLRenderingContext) TryUniform2iv(location WebGLUniformLocation, v Int32List) (ret js.Void, exception js.Any, ok bool) {
  6309  	ok = js.True == bindings.TryWebGLRenderingContextUniform2iv(
  6310  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6311  		location.Ref(),
  6312  		v.Ref(),
  6313  	)
  6314  
  6315  	return
  6316  }
  6317  
  6318  // HasFuncUniform3iv returns true if the method "WebGLRenderingContext.uniform3iv" exists.
  6319  func (this WebGLRenderingContext) HasFuncUniform3iv() bool {
  6320  	return js.True == bindings.HasFuncWebGLRenderingContextUniform3iv(
  6321  		this.ref,
  6322  	)
  6323  }
  6324  
  6325  // FuncUniform3iv returns the method "WebGLRenderingContext.uniform3iv".
  6326  func (this WebGLRenderingContext) FuncUniform3iv() (fn js.Func[func(location WebGLUniformLocation, v Int32List)]) {
  6327  	bindings.FuncWebGLRenderingContextUniform3iv(
  6328  		this.ref, js.Pointer(&fn),
  6329  	)
  6330  	return
  6331  }
  6332  
  6333  // Uniform3iv calls the method "WebGLRenderingContext.uniform3iv".
  6334  func (this WebGLRenderingContext) Uniform3iv(location WebGLUniformLocation, v Int32List) (ret js.Void) {
  6335  	bindings.CallWebGLRenderingContextUniform3iv(
  6336  		this.ref, js.Pointer(&ret),
  6337  		location.Ref(),
  6338  		v.Ref(),
  6339  	)
  6340  
  6341  	return
  6342  }
  6343  
  6344  // TryUniform3iv calls the method "WebGLRenderingContext.uniform3iv"
  6345  // in a try/catch block and returns (_, err, ok = false) when it went through
  6346  // the catch clause.
  6347  func (this WebGLRenderingContext) TryUniform3iv(location WebGLUniformLocation, v Int32List) (ret js.Void, exception js.Any, ok bool) {
  6348  	ok = js.True == bindings.TryWebGLRenderingContextUniform3iv(
  6349  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6350  		location.Ref(),
  6351  		v.Ref(),
  6352  	)
  6353  
  6354  	return
  6355  }
  6356  
  6357  // HasFuncUniform4iv returns true if the method "WebGLRenderingContext.uniform4iv" exists.
  6358  func (this WebGLRenderingContext) HasFuncUniform4iv() bool {
  6359  	return js.True == bindings.HasFuncWebGLRenderingContextUniform4iv(
  6360  		this.ref,
  6361  	)
  6362  }
  6363  
  6364  // FuncUniform4iv returns the method "WebGLRenderingContext.uniform4iv".
  6365  func (this WebGLRenderingContext) FuncUniform4iv() (fn js.Func[func(location WebGLUniformLocation, v Int32List)]) {
  6366  	bindings.FuncWebGLRenderingContextUniform4iv(
  6367  		this.ref, js.Pointer(&fn),
  6368  	)
  6369  	return
  6370  }
  6371  
  6372  // Uniform4iv calls the method "WebGLRenderingContext.uniform4iv".
  6373  func (this WebGLRenderingContext) Uniform4iv(location WebGLUniformLocation, v Int32List) (ret js.Void) {
  6374  	bindings.CallWebGLRenderingContextUniform4iv(
  6375  		this.ref, js.Pointer(&ret),
  6376  		location.Ref(),
  6377  		v.Ref(),
  6378  	)
  6379  
  6380  	return
  6381  }
  6382  
  6383  // TryUniform4iv calls the method "WebGLRenderingContext.uniform4iv"
  6384  // in a try/catch block and returns (_, err, ok = false) when it went through
  6385  // the catch clause.
  6386  func (this WebGLRenderingContext) TryUniform4iv(location WebGLUniformLocation, v Int32List) (ret js.Void, exception js.Any, ok bool) {
  6387  	ok = js.True == bindings.TryWebGLRenderingContextUniform4iv(
  6388  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6389  		location.Ref(),
  6390  		v.Ref(),
  6391  	)
  6392  
  6393  	return
  6394  }
  6395  
  6396  // HasFuncUniformMatrix2fv returns true if the method "WebGLRenderingContext.uniformMatrix2fv" exists.
  6397  func (this WebGLRenderingContext) HasFuncUniformMatrix2fv() bool {
  6398  	return js.True == bindings.HasFuncWebGLRenderingContextUniformMatrix2fv(
  6399  		this.ref,
  6400  	)
  6401  }
  6402  
  6403  // FuncUniformMatrix2fv returns the method "WebGLRenderingContext.uniformMatrix2fv".
  6404  func (this WebGLRenderingContext) FuncUniformMatrix2fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, value Float32List)]) {
  6405  	bindings.FuncWebGLRenderingContextUniformMatrix2fv(
  6406  		this.ref, js.Pointer(&fn),
  6407  	)
  6408  	return
  6409  }
  6410  
  6411  // UniformMatrix2fv calls the method "WebGLRenderingContext.uniformMatrix2fv".
  6412  func (this WebGLRenderingContext) UniformMatrix2fv(location WebGLUniformLocation, transpose GLboolean, value Float32List) (ret js.Void) {
  6413  	bindings.CallWebGLRenderingContextUniformMatrix2fv(
  6414  		this.ref, js.Pointer(&ret),
  6415  		location.Ref(),
  6416  		js.Bool(bool(transpose)),
  6417  		value.Ref(),
  6418  	)
  6419  
  6420  	return
  6421  }
  6422  
  6423  // TryUniformMatrix2fv calls the method "WebGLRenderingContext.uniformMatrix2fv"
  6424  // in a try/catch block and returns (_, err, ok = false) when it went through
  6425  // the catch clause.
  6426  func (this WebGLRenderingContext) TryUniformMatrix2fv(location WebGLUniformLocation, transpose GLboolean, value Float32List) (ret js.Void, exception js.Any, ok bool) {
  6427  	ok = js.True == bindings.TryWebGLRenderingContextUniformMatrix2fv(
  6428  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6429  		location.Ref(),
  6430  		js.Bool(bool(transpose)),
  6431  		value.Ref(),
  6432  	)
  6433  
  6434  	return
  6435  }
  6436  
  6437  // HasFuncUniformMatrix3fv returns true if the method "WebGLRenderingContext.uniformMatrix3fv" exists.
  6438  func (this WebGLRenderingContext) HasFuncUniformMatrix3fv() bool {
  6439  	return js.True == bindings.HasFuncWebGLRenderingContextUniformMatrix3fv(
  6440  		this.ref,
  6441  	)
  6442  }
  6443  
  6444  // FuncUniformMatrix3fv returns the method "WebGLRenderingContext.uniformMatrix3fv".
  6445  func (this WebGLRenderingContext) FuncUniformMatrix3fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, value Float32List)]) {
  6446  	bindings.FuncWebGLRenderingContextUniformMatrix3fv(
  6447  		this.ref, js.Pointer(&fn),
  6448  	)
  6449  	return
  6450  }
  6451  
  6452  // UniformMatrix3fv calls the method "WebGLRenderingContext.uniformMatrix3fv".
  6453  func (this WebGLRenderingContext) UniformMatrix3fv(location WebGLUniformLocation, transpose GLboolean, value Float32List) (ret js.Void) {
  6454  	bindings.CallWebGLRenderingContextUniformMatrix3fv(
  6455  		this.ref, js.Pointer(&ret),
  6456  		location.Ref(),
  6457  		js.Bool(bool(transpose)),
  6458  		value.Ref(),
  6459  	)
  6460  
  6461  	return
  6462  }
  6463  
  6464  // TryUniformMatrix3fv calls the method "WebGLRenderingContext.uniformMatrix3fv"
  6465  // in a try/catch block and returns (_, err, ok = false) when it went through
  6466  // the catch clause.
  6467  func (this WebGLRenderingContext) TryUniformMatrix3fv(location WebGLUniformLocation, transpose GLboolean, value Float32List) (ret js.Void, exception js.Any, ok bool) {
  6468  	ok = js.True == bindings.TryWebGLRenderingContextUniformMatrix3fv(
  6469  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6470  		location.Ref(),
  6471  		js.Bool(bool(transpose)),
  6472  		value.Ref(),
  6473  	)
  6474  
  6475  	return
  6476  }
  6477  
  6478  // HasFuncUniformMatrix4fv returns true if the method "WebGLRenderingContext.uniformMatrix4fv" exists.
  6479  func (this WebGLRenderingContext) HasFuncUniformMatrix4fv() bool {
  6480  	return js.True == bindings.HasFuncWebGLRenderingContextUniformMatrix4fv(
  6481  		this.ref,
  6482  	)
  6483  }
  6484  
  6485  // FuncUniformMatrix4fv returns the method "WebGLRenderingContext.uniformMatrix4fv".
  6486  func (this WebGLRenderingContext) FuncUniformMatrix4fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, value Float32List)]) {
  6487  	bindings.FuncWebGLRenderingContextUniformMatrix4fv(
  6488  		this.ref, js.Pointer(&fn),
  6489  	)
  6490  	return
  6491  }
  6492  
  6493  // UniformMatrix4fv calls the method "WebGLRenderingContext.uniformMatrix4fv".
  6494  func (this WebGLRenderingContext) UniformMatrix4fv(location WebGLUniformLocation, transpose GLboolean, value Float32List) (ret js.Void) {
  6495  	bindings.CallWebGLRenderingContextUniformMatrix4fv(
  6496  		this.ref, js.Pointer(&ret),
  6497  		location.Ref(),
  6498  		js.Bool(bool(transpose)),
  6499  		value.Ref(),
  6500  	)
  6501  
  6502  	return
  6503  }
  6504  
  6505  // TryUniformMatrix4fv calls the method "WebGLRenderingContext.uniformMatrix4fv"
  6506  // in a try/catch block and returns (_, err, ok = false) when it went through
  6507  // the catch clause.
  6508  func (this WebGLRenderingContext) TryUniformMatrix4fv(location WebGLUniformLocation, transpose GLboolean, value Float32List) (ret js.Void, exception js.Any, ok bool) {
  6509  	ok = js.True == bindings.TryWebGLRenderingContextUniformMatrix4fv(
  6510  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  6511  		location.Ref(),
  6512  		js.Bool(bool(transpose)),
  6513  		value.Ref(),
  6514  	)
  6515  
  6516  	return
  6517  }
  6518  
  6519  type GLint64 int64
  6520  
  6521  const (
  6522  	WebGL2RenderingContext_READ_BUFFER                                   GLenum = 0x0C02
  6523  	WebGL2RenderingContext_UNPACK_ROW_LENGTH                             GLenum = 0x0CF2
  6524  	WebGL2RenderingContext_UNPACK_SKIP_ROWS                              GLenum = 0x0CF3
  6525  	WebGL2RenderingContext_UNPACK_SKIP_PIXELS                            GLenum = 0x0CF4
  6526  	WebGL2RenderingContext_PACK_ROW_LENGTH                               GLenum = 0x0D02
  6527  	WebGL2RenderingContext_PACK_SKIP_ROWS                                GLenum = 0x0D03
  6528  	WebGL2RenderingContext_PACK_SKIP_PIXELS                              GLenum = 0x0D04
  6529  	WebGL2RenderingContext_COLOR                                         GLenum = 0x1800
  6530  	WebGL2RenderingContext_DEPTH                                         GLenum = 0x1801
  6531  	WebGL2RenderingContext_STENCIL                                       GLenum = 0x1802
  6532  	WebGL2RenderingContext_RED                                           GLenum = 0x1903
  6533  	WebGL2RenderingContext_RGB8                                          GLenum = 0x8051
  6534  	WebGL2RenderingContext_RGBA8                                         GLenum = 0x8058
  6535  	WebGL2RenderingContext_RGB10_A2                                      GLenum = 0x8059
  6536  	WebGL2RenderingContext_TEXTURE_BINDING_3D                            GLenum = 0x806A
  6537  	WebGL2RenderingContext_UNPACK_SKIP_IMAGES                            GLenum = 0x806D
  6538  	WebGL2RenderingContext_UNPACK_IMAGE_HEIGHT                           GLenum = 0x806E
  6539  	WebGL2RenderingContext_TEXTURE_3D                                    GLenum = 0x806F
  6540  	WebGL2RenderingContext_TEXTURE_WRAP_R                                GLenum = 0x8072
  6541  	WebGL2RenderingContext_MAX_3D_TEXTURE_SIZE                           GLenum = 0x8073
  6542  	WebGL2RenderingContext_UNSIGNED_INT_2_10_10_10_REV                   GLenum = 0x8368
  6543  	WebGL2RenderingContext_MAX_ELEMENTS_VERTICES                         GLenum = 0x80E8
  6544  	WebGL2RenderingContext_MAX_ELEMENTS_INDICES                          GLenum = 0x80E9
  6545  	WebGL2RenderingContext_TEXTURE_MIN_LOD                               GLenum = 0x813A
  6546  	WebGL2RenderingContext_TEXTURE_MAX_LOD                               GLenum = 0x813B
  6547  	WebGL2RenderingContext_TEXTURE_BASE_LEVEL                            GLenum = 0x813C
  6548  	WebGL2RenderingContext_TEXTURE_MAX_LEVEL                             GLenum = 0x813D
  6549  	WebGL2RenderingContext_MIN                                           GLenum = 0x8007
  6550  	WebGL2RenderingContext_MAX                                           GLenum = 0x8008
  6551  	WebGL2RenderingContext_DEPTH_COMPONENT24                             GLenum = 0x81A6
  6552  	WebGL2RenderingContext_MAX_TEXTURE_LOD_BIAS                          GLenum = 0x84FD
  6553  	WebGL2RenderingContext_TEXTURE_COMPARE_MODE                          GLenum = 0x884C
  6554  	WebGL2RenderingContext_TEXTURE_COMPARE_FUNC                          GLenum = 0x884D
  6555  	WebGL2RenderingContext_CURRENT_QUERY                                 GLenum = 0x8865
  6556  	WebGL2RenderingContext_QUERY_RESULT                                  GLenum = 0x8866
  6557  	WebGL2RenderingContext_QUERY_RESULT_AVAILABLE                        GLenum = 0x8867
  6558  	WebGL2RenderingContext_STREAM_READ                                   GLenum = 0x88E1
  6559  	WebGL2RenderingContext_STREAM_COPY                                   GLenum = 0x88E2
  6560  	WebGL2RenderingContext_STATIC_READ                                   GLenum = 0x88E5
  6561  	WebGL2RenderingContext_STATIC_COPY                                   GLenum = 0x88E6
  6562  	WebGL2RenderingContext_DYNAMIC_READ                                  GLenum = 0x88E9
  6563  	WebGL2RenderingContext_DYNAMIC_COPY                                  GLenum = 0x88EA
  6564  	WebGL2RenderingContext_MAX_DRAW_BUFFERS                              GLenum = 0x8824
  6565  	WebGL2RenderingContext_DRAW_BUFFER0                                  GLenum = 0x8825
  6566  	WebGL2RenderingContext_DRAW_BUFFER1                                  GLenum = 0x8826
  6567  	WebGL2RenderingContext_DRAW_BUFFER2                                  GLenum = 0x8827
  6568  	WebGL2RenderingContext_DRAW_BUFFER3                                  GLenum = 0x8828
  6569  	WebGL2RenderingContext_DRAW_BUFFER4                                  GLenum = 0x8829
  6570  	WebGL2RenderingContext_DRAW_BUFFER5                                  GLenum = 0x882A
  6571  	WebGL2RenderingContext_DRAW_BUFFER6                                  GLenum = 0x882B
  6572  	WebGL2RenderingContext_DRAW_BUFFER7                                  GLenum = 0x882C
  6573  	WebGL2RenderingContext_DRAW_BUFFER8                                  GLenum = 0x882D
  6574  	WebGL2RenderingContext_DRAW_BUFFER9                                  GLenum = 0x882E
  6575  	WebGL2RenderingContext_DRAW_BUFFER10                                 GLenum = 0x882F
  6576  	WebGL2RenderingContext_DRAW_BUFFER11                                 GLenum = 0x8830
  6577  	WebGL2RenderingContext_DRAW_BUFFER12                                 GLenum = 0x8831
  6578  	WebGL2RenderingContext_DRAW_BUFFER13                                 GLenum = 0x8832
  6579  	WebGL2RenderingContext_DRAW_BUFFER14                                 GLenum = 0x8833
  6580  	WebGL2RenderingContext_DRAW_BUFFER15                                 GLenum = 0x8834
  6581  	WebGL2RenderingContext_MAX_FRAGMENT_UNIFORM_COMPONENTS               GLenum = 0x8B49
  6582  	WebGL2RenderingContext_MAX_VERTEX_UNIFORM_COMPONENTS                 GLenum = 0x8B4A
  6583  	WebGL2RenderingContext_SAMPLER_3D                                    GLenum = 0x8B5F
  6584  	WebGL2RenderingContext_SAMPLER_2D_SHADOW                             GLenum = 0x8B62
  6585  	WebGL2RenderingContext_FRAGMENT_SHADER_DERIVATIVE_HINT               GLenum = 0x8B8B
  6586  	WebGL2RenderingContext_PIXEL_PACK_BUFFER                             GLenum = 0x88EB
  6587  	WebGL2RenderingContext_PIXEL_UNPACK_BUFFER                           GLenum = 0x88EC
  6588  	WebGL2RenderingContext_PIXEL_PACK_BUFFER_BINDING                     GLenum = 0x88ED
  6589  	WebGL2RenderingContext_PIXEL_UNPACK_BUFFER_BINDING                   GLenum = 0x88EF
  6590  	WebGL2RenderingContext_FLOAT_MAT2x3                                  GLenum = 0x8B65
  6591  	WebGL2RenderingContext_FLOAT_MAT2x4                                  GLenum = 0x8B66
  6592  	WebGL2RenderingContext_FLOAT_MAT3x2                                  GLenum = 0x8B67
  6593  	WebGL2RenderingContext_FLOAT_MAT3x4                                  GLenum = 0x8B68
  6594  	WebGL2RenderingContext_FLOAT_MAT4x2                                  GLenum = 0x8B69
  6595  	WebGL2RenderingContext_FLOAT_MAT4x3                                  GLenum = 0x8B6A
  6596  	WebGL2RenderingContext_SRGB                                          GLenum = 0x8C40
  6597  	WebGL2RenderingContext_SRGB8                                         GLenum = 0x8C41
  6598  	WebGL2RenderingContext_SRGB8_ALPHA8                                  GLenum = 0x8C43
  6599  	WebGL2RenderingContext_COMPARE_REF_TO_TEXTURE                        GLenum = 0x884E
  6600  	WebGL2RenderingContext_RGBA32F                                       GLenum = 0x8814
  6601  	WebGL2RenderingContext_RGB32F                                        GLenum = 0x8815
  6602  	WebGL2RenderingContext_RGBA16F                                       GLenum = 0x881A
  6603  	WebGL2RenderingContext_RGB16F                                        GLenum = 0x881B
  6604  	WebGL2RenderingContext_VERTEX_ATTRIB_ARRAY_INTEGER                   GLenum = 0x88FD
  6605  	WebGL2RenderingContext_MAX_ARRAY_TEXTURE_LAYERS                      GLenum = 0x88FF
  6606  	WebGL2RenderingContext_MIN_PROGRAM_TEXEL_OFFSET                      GLenum = 0x8904
  6607  	WebGL2RenderingContext_MAX_PROGRAM_TEXEL_OFFSET                      GLenum = 0x8905
  6608  	WebGL2RenderingContext_MAX_VARYING_COMPONENTS                        GLenum = 0x8B4B
  6609  	WebGL2RenderingContext_TEXTURE_2D_ARRAY                              GLenum = 0x8C1A
  6610  	WebGL2RenderingContext_TEXTURE_BINDING_2D_ARRAY                      GLenum = 0x8C1D
  6611  	WebGL2RenderingContext_R11F_G11F_B10F                                GLenum = 0x8C3A
  6612  	WebGL2RenderingContext_UNSIGNED_INT_10F_11F_11F_REV                  GLenum = 0x8C3B
  6613  	WebGL2RenderingContext_RGB9_E5                                       GLenum = 0x8C3D
  6614  	WebGL2RenderingContext_UNSIGNED_INT_5_9_9_9_REV                      GLenum = 0x8C3E
  6615  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_BUFFER_MODE                GLenum = 0x8C7F
  6616  	WebGL2RenderingContext_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS    GLenum = 0x8C80
  6617  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_VARYINGS                   GLenum = 0x8C83
  6618  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_BUFFER_START               GLenum = 0x8C84
  6619  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_BUFFER_SIZE                GLenum = 0x8C85
  6620  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN         GLenum = 0x8C88
  6621  	WebGL2RenderingContext_RASTERIZER_DISCARD                            GLenum = 0x8C89
  6622  	WebGL2RenderingContext_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS GLenum = 0x8C8A
  6623  	WebGL2RenderingContext_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS       GLenum = 0x8C8B
  6624  	WebGL2RenderingContext_INTERLEAVED_ATTRIBS                           GLenum = 0x8C8C
  6625  	WebGL2RenderingContext_SEPARATE_ATTRIBS                              GLenum = 0x8C8D
  6626  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_BUFFER                     GLenum = 0x8C8E
  6627  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_BUFFER_BINDING             GLenum = 0x8C8F
  6628  	WebGL2RenderingContext_RGBA32UI                                      GLenum = 0x8D70
  6629  	WebGL2RenderingContext_RGB32UI                                       GLenum = 0x8D71
  6630  	WebGL2RenderingContext_RGBA16UI                                      GLenum = 0x8D76
  6631  	WebGL2RenderingContext_RGB16UI                                       GLenum = 0x8D77
  6632  	WebGL2RenderingContext_RGBA8UI                                       GLenum = 0x8D7C
  6633  	WebGL2RenderingContext_RGB8UI                                        GLenum = 0x8D7D
  6634  	WebGL2RenderingContext_RGBA32I                                       GLenum = 0x8D82
  6635  	WebGL2RenderingContext_RGB32I                                        GLenum = 0x8D83
  6636  	WebGL2RenderingContext_RGBA16I                                       GLenum = 0x8D88
  6637  	WebGL2RenderingContext_RGB16I                                        GLenum = 0x8D89
  6638  	WebGL2RenderingContext_RGBA8I                                        GLenum = 0x8D8E
  6639  	WebGL2RenderingContext_RGB8I                                         GLenum = 0x8D8F
  6640  	WebGL2RenderingContext_RED_INTEGER                                   GLenum = 0x8D94
  6641  	WebGL2RenderingContext_RGB_INTEGER                                   GLenum = 0x8D98
  6642  	WebGL2RenderingContext_RGBA_INTEGER                                  GLenum = 0x8D99
  6643  	WebGL2RenderingContext_SAMPLER_2D_ARRAY                              GLenum = 0x8DC1
  6644  	WebGL2RenderingContext_SAMPLER_2D_ARRAY_SHADOW                       GLenum = 0x8DC4
  6645  	WebGL2RenderingContext_SAMPLER_CUBE_SHADOW                           GLenum = 0x8DC5
  6646  	WebGL2RenderingContext_UNSIGNED_INT_VEC2                             GLenum = 0x8DC6
  6647  	WebGL2RenderingContext_UNSIGNED_INT_VEC3                             GLenum = 0x8DC7
  6648  	WebGL2RenderingContext_UNSIGNED_INT_VEC4                             GLenum = 0x8DC8
  6649  	WebGL2RenderingContext_INT_SAMPLER_2D                                GLenum = 0x8DCA
  6650  	WebGL2RenderingContext_INT_SAMPLER_3D                                GLenum = 0x8DCB
  6651  	WebGL2RenderingContext_INT_SAMPLER_CUBE                              GLenum = 0x8DCC
  6652  	WebGL2RenderingContext_INT_SAMPLER_2D_ARRAY                          GLenum = 0x8DCF
  6653  	WebGL2RenderingContext_UNSIGNED_INT_SAMPLER_2D                       GLenum = 0x8DD2
  6654  	WebGL2RenderingContext_UNSIGNED_INT_SAMPLER_3D                       GLenum = 0x8DD3
  6655  	WebGL2RenderingContext_UNSIGNED_INT_SAMPLER_CUBE                     GLenum = 0x8DD4
  6656  	WebGL2RenderingContext_UNSIGNED_INT_SAMPLER_2D_ARRAY                 GLenum = 0x8DD7
  6657  	WebGL2RenderingContext_DEPTH_COMPONENT32F                            GLenum = 0x8CAC
  6658  	WebGL2RenderingContext_DEPTH32F_STENCIL8                             GLenum = 0x8CAD
  6659  	WebGL2RenderingContext_FLOAT_32_UNSIGNED_INT_24_8_REV                GLenum = 0x8DAD
  6660  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING         GLenum = 0x8210
  6661  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE         GLenum = 0x8211
  6662  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_RED_SIZE               GLenum = 0x8212
  6663  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE             GLenum = 0x8213
  6664  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE              GLenum = 0x8214
  6665  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE             GLenum = 0x8215
  6666  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE             GLenum = 0x8216
  6667  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE           GLenum = 0x8217
  6668  	WebGL2RenderingContext_FRAMEBUFFER_DEFAULT                           GLenum = 0x8218
  6669  	WebGL2RenderingContext_UNSIGNED_INT_24_8                             GLenum = 0x84FA
  6670  	WebGL2RenderingContext_DEPTH24_STENCIL8                              GLenum = 0x88F0
  6671  	WebGL2RenderingContext_UNSIGNED_NORMALIZED                           GLenum = 0x8C17
  6672  	WebGL2RenderingContext_DRAW_FRAMEBUFFER_BINDING                      GLenum = 0x8CA6
  6673  	WebGL2RenderingContext_READ_FRAMEBUFFER                              GLenum = 0x8CA8
  6674  	WebGL2RenderingContext_DRAW_FRAMEBUFFER                              GLenum = 0x8CA9
  6675  	WebGL2RenderingContext_READ_FRAMEBUFFER_BINDING                      GLenum = 0x8CAA
  6676  	WebGL2RenderingContext_RENDERBUFFER_SAMPLES                          GLenum = 0x8CAB
  6677  	WebGL2RenderingContext_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER          GLenum = 0x8CD4
  6678  	WebGL2RenderingContext_MAX_COLOR_ATTACHMENTS                         GLenum = 0x8CDF
  6679  	WebGL2RenderingContext_COLOR_ATTACHMENT1                             GLenum = 0x8CE1
  6680  	WebGL2RenderingContext_COLOR_ATTACHMENT2                             GLenum = 0x8CE2
  6681  	WebGL2RenderingContext_COLOR_ATTACHMENT3                             GLenum = 0x8CE3
  6682  	WebGL2RenderingContext_COLOR_ATTACHMENT4                             GLenum = 0x8CE4
  6683  	WebGL2RenderingContext_COLOR_ATTACHMENT5                             GLenum = 0x8CE5
  6684  	WebGL2RenderingContext_COLOR_ATTACHMENT6                             GLenum = 0x8CE6
  6685  	WebGL2RenderingContext_COLOR_ATTACHMENT7                             GLenum = 0x8CE7
  6686  	WebGL2RenderingContext_COLOR_ATTACHMENT8                             GLenum = 0x8CE8
  6687  	WebGL2RenderingContext_COLOR_ATTACHMENT9                             GLenum = 0x8CE9
  6688  	WebGL2RenderingContext_COLOR_ATTACHMENT10                            GLenum = 0x8CEA
  6689  	WebGL2RenderingContext_COLOR_ATTACHMENT11                            GLenum = 0x8CEB
  6690  	WebGL2RenderingContext_COLOR_ATTACHMENT12                            GLenum = 0x8CEC
  6691  	WebGL2RenderingContext_COLOR_ATTACHMENT13                            GLenum = 0x8CED
  6692  	WebGL2RenderingContext_COLOR_ATTACHMENT14                            GLenum = 0x8CEE
  6693  	WebGL2RenderingContext_COLOR_ATTACHMENT15                            GLenum = 0x8CEF
  6694  	WebGL2RenderingContext_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE            GLenum = 0x8D56
  6695  	WebGL2RenderingContext_MAX_SAMPLES                                   GLenum = 0x8D57
  6696  	WebGL2RenderingContext_HALF_FLOAT                                    GLenum = 0x140B
  6697  	WebGL2RenderingContext_RG                                            GLenum = 0x8227
  6698  	WebGL2RenderingContext_RG_INTEGER                                    GLenum = 0x8228
  6699  	WebGL2RenderingContext_R8                                            GLenum = 0x8229
  6700  	WebGL2RenderingContext_RG8                                           GLenum = 0x822B
  6701  	WebGL2RenderingContext_R16F                                          GLenum = 0x822D
  6702  	WebGL2RenderingContext_R32F                                          GLenum = 0x822E
  6703  	WebGL2RenderingContext_RG16F                                         GLenum = 0x822F
  6704  	WebGL2RenderingContext_RG32F                                         GLenum = 0x8230
  6705  	WebGL2RenderingContext_R8I                                           GLenum = 0x8231
  6706  	WebGL2RenderingContext_R8UI                                          GLenum = 0x8232
  6707  	WebGL2RenderingContext_R16I                                          GLenum = 0x8233
  6708  	WebGL2RenderingContext_R16UI                                         GLenum = 0x8234
  6709  	WebGL2RenderingContext_R32I                                          GLenum = 0x8235
  6710  	WebGL2RenderingContext_R32UI                                         GLenum = 0x8236
  6711  	WebGL2RenderingContext_RG8I                                          GLenum = 0x8237
  6712  	WebGL2RenderingContext_RG8UI                                         GLenum = 0x8238
  6713  	WebGL2RenderingContext_RG16I                                         GLenum = 0x8239
  6714  	WebGL2RenderingContext_RG16UI                                        GLenum = 0x823A
  6715  	WebGL2RenderingContext_RG32I                                         GLenum = 0x823B
  6716  	WebGL2RenderingContext_RG32UI                                        GLenum = 0x823C
  6717  	WebGL2RenderingContext_VERTEX_ARRAY_BINDING                          GLenum = 0x85B5
  6718  	WebGL2RenderingContext_R8_SNORM                                      GLenum = 0x8F94
  6719  	WebGL2RenderingContext_RG8_SNORM                                     GLenum = 0x8F95
  6720  	WebGL2RenderingContext_RGB8_SNORM                                    GLenum = 0x8F96
  6721  	WebGL2RenderingContext_RGBA8_SNORM                                   GLenum = 0x8F97
  6722  	WebGL2RenderingContext_SIGNED_NORMALIZED                             GLenum = 0x8F9C
  6723  	WebGL2RenderingContext_COPY_READ_BUFFER                              GLenum = 0x8F36
  6724  	WebGL2RenderingContext_COPY_WRITE_BUFFER                             GLenum = 0x8F37
  6725  	WebGL2RenderingContext_COPY_READ_BUFFER_BINDING                      GLenum = 0x8F36
  6726  	WebGL2RenderingContext_COPY_WRITE_BUFFER_BINDING                     GLenum = 0x8F37
  6727  	WebGL2RenderingContext_UNIFORM_BUFFER                                GLenum = 0x8A11
  6728  	WebGL2RenderingContext_UNIFORM_BUFFER_BINDING                        GLenum = 0x8A28
  6729  	WebGL2RenderingContext_UNIFORM_BUFFER_START                          GLenum = 0x8A29
  6730  	WebGL2RenderingContext_UNIFORM_BUFFER_SIZE                           GLenum = 0x8A2A
  6731  	WebGL2RenderingContext_MAX_VERTEX_UNIFORM_BLOCKS                     GLenum = 0x8A2B
  6732  	WebGL2RenderingContext_MAX_FRAGMENT_UNIFORM_BLOCKS                   GLenum = 0x8A2D
  6733  	WebGL2RenderingContext_MAX_COMBINED_UNIFORM_BLOCKS                   GLenum = 0x8A2E
  6734  	WebGL2RenderingContext_MAX_UNIFORM_BUFFER_BINDINGS                   GLenum = 0x8A2F
  6735  	WebGL2RenderingContext_MAX_UNIFORM_BLOCK_SIZE                        GLenum = 0x8A30
  6736  	WebGL2RenderingContext_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS        GLenum = 0x8A31
  6737  	WebGL2RenderingContext_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS      GLenum = 0x8A33
  6738  	WebGL2RenderingContext_UNIFORM_BUFFER_OFFSET_ALIGNMENT               GLenum = 0x8A34
  6739  	WebGL2RenderingContext_ACTIVE_UNIFORM_BLOCKS                         GLenum = 0x8A36
  6740  	WebGL2RenderingContext_UNIFORM_TYPE                                  GLenum = 0x8A37
  6741  	WebGL2RenderingContext_UNIFORM_SIZE                                  GLenum = 0x8A38
  6742  	WebGL2RenderingContext_UNIFORM_BLOCK_INDEX                           GLenum = 0x8A3A
  6743  	WebGL2RenderingContext_UNIFORM_OFFSET                                GLenum = 0x8A3B
  6744  	WebGL2RenderingContext_UNIFORM_ARRAY_STRIDE                          GLenum = 0x8A3C
  6745  	WebGL2RenderingContext_UNIFORM_MATRIX_STRIDE                         GLenum = 0x8A3D
  6746  	WebGL2RenderingContext_UNIFORM_IS_ROW_MAJOR                          GLenum = 0x8A3E
  6747  	WebGL2RenderingContext_UNIFORM_BLOCK_BINDING                         GLenum = 0x8A3F
  6748  	WebGL2RenderingContext_UNIFORM_BLOCK_DATA_SIZE                       GLenum = 0x8A40
  6749  	WebGL2RenderingContext_UNIFORM_BLOCK_ACTIVE_UNIFORMS                 GLenum = 0x8A42
  6750  	WebGL2RenderingContext_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES          GLenum = 0x8A43
  6751  	WebGL2RenderingContext_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER     GLenum = 0x8A44
  6752  	WebGL2RenderingContext_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER   GLenum = 0x8A46
  6753  	WebGL2RenderingContext_INVALID_INDEX                                 GLenum = 0xFFFFFFFF
  6754  	WebGL2RenderingContext_MAX_VERTEX_OUTPUT_COMPONENTS                  GLenum = 0x9122
  6755  	WebGL2RenderingContext_MAX_FRAGMENT_INPUT_COMPONENTS                 GLenum = 0x9125
  6756  	WebGL2RenderingContext_MAX_SERVER_WAIT_TIMEOUT                       GLenum = 0x9111
  6757  	WebGL2RenderingContext_OBJECT_TYPE                                   GLenum = 0x9112
  6758  	WebGL2RenderingContext_SYNC_CONDITION                                GLenum = 0x9113
  6759  	WebGL2RenderingContext_SYNC_STATUS                                   GLenum = 0x9114
  6760  	WebGL2RenderingContext_SYNC_FLAGS                                    GLenum = 0x9115
  6761  	WebGL2RenderingContext_SYNC_FENCE                                    GLenum = 0x9116
  6762  	WebGL2RenderingContext_SYNC_GPU_COMMANDS_COMPLETE                    GLenum = 0x9117
  6763  	WebGL2RenderingContext_UNSIGNALED                                    GLenum = 0x9118
  6764  	WebGL2RenderingContext_SIGNALED                                      GLenum = 0x9119
  6765  	WebGL2RenderingContext_ALREADY_SIGNALED                              GLenum = 0x911A
  6766  	WebGL2RenderingContext_TIMEOUT_EXPIRED                               GLenum = 0x911B
  6767  	WebGL2RenderingContext_CONDITION_SATISFIED                           GLenum = 0x911C
  6768  	WebGL2RenderingContext_WAIT_FAILED                                   GLenum = 0x911D
  6769  	WebGL2RenderingContext_SYNC_FLUSH_COMMANDS_BIT                       GLenum = 0x00000001
  6770  	WebGL2RenderingContext_VERTEX_ATTRIB_ARRAY_DIVISOR                   GLenum = 0x88FE
  6771  	WebGL2RenderingContext_ANY_SAMPLES_PASSED                            GLenum = 0x8C2F
  6772  	WebGL2RenderingContext_ANY_SAMPLES_PASSED_CONSERVATIVE               GLenum = 0x8D6A
  6773  	WebGL2RenderingContext_SAMPLER_BINDING                               GLenum = 0x8919
  6774  	WebGL2RenderingContext_RGB10_A2UI                                    GLenum = 0x906F
  6775  	WebGL2RenderingContext_INT_2_10_10_10_REV                            GLenum = 0x8D9F
  6776  	WebGL2RenderingContext_TRANSFORM_FEEDBACK                            GLenum = 0x8E22
  6777  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_PAUSED                     GLenum = 0x8E23
  6778  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_ACTIVE                     GLenum = 0x8E24
  6779  	WebGL2RenderingContext_TRANSFORM_FEEDBACK_BINDING                    GLenum = 0x8E25
  6780  	WebGL2RenderingContext_TEXTURE_IMMUTABLE_FORMAT                      GLenum = 0x912F
  6781  	WebGL2RenderingContext_MAX_ELEMENT_INDEX                             GLenum = 0x8D6B
  6782  	WebGL2RenderingContext_TEXTURE_IMMUTABLE_LEVELS                      GLenum = 0x82DF
  6783  )
  6784  
  6785  const (
  6786  	WebGL2RenderingContext_TIMEOUT_IGNORED GLint64 = -1
  6787  )
  6788  
  6789  const (
  6790  	WebGL2RenderingContext_MAX_CLIENT_WAIT_TIMEOUT_WEBGL GLenum = 0x9247
  6791  )
  6792  
  6793  type OneOf_TypedArrayUint32_ArrayGLuint struct {
  6794  	ref js.Ref
  6795  }
  6796  
  6797  func (x OneOf_TypedArrayUint32_ArrayGLuint) Ref() js.Ref {
  6798  	return x.ref
  6799  }
  6800  
  6801  func (x OneOf_TypedArrayUint32_ArrayGLuint) Free() {
  6802  	x.ref.Free()
  6803  }
  6804  
  6805  func (x OneOf_TypedArrayUint32_ArrayGLuint) FromRef(ref js.Ref) OneOf_TypedArrayUint32_ArrayGLuint {
  6806  	return OneOf_TypedArrayUint32_ArrayGLuint{
  6807  		ref: ref,
  6808  	}
  6809  }
  6810  
  6811  func (x OneOf_TypedArrayUint32_ArrayGLuint) TypedArrayUint32() js.TypedArray[uint32] {
  6812  	return js.TypedArray[uint32]{}.FromRef(x.ref)
  6813  }
  6814  
  6815  func (x OneOf_TypedArrayUint32_ArrayGLuint) ArrayGLuint() js.Array[GLuint] {
  6816  	return js.Array[GLuint]{}.FromRef(x.ref)
  6817  }
  6818  
  6819  type Uint32List = OneOf_TypedArrayUint32_ArrayGLuint
  6820  
  6821  type WebGLQuery struct {
  6822  	WebGLObject
  6823  }
  6824  
  6825  func (this WebGLQuery) Once() WebGLQuery {
  6826  	this.ref.Once()
  6827  	return this
  6828  }
  6829  
  6830  func (this WebGLQuery) Ref() js.Ref {
  6831  	return this.WebGLObject.Ref()
  6832  }
  6833  
  6834  func (this WebGLQuery) FromRef(ref js.Ref) WebGLQuery {
  6835  	this.WebGLObject = this.WebGLObject.FromRef(ref)
  6836  	return this
  6837  }
  6838  
  6839  func (this WebGLQuery) Free() {
  6840  	this.ref.Free()
  6841  }
  6842  
  6843  type WebGLSampler struct {
  6844  	WebGLObject
  6845  }
  6846  
  6847  func (this WebGLSampler) Once() WebGLSampler {
  6848  	this.ref.Once()
  6849  	return this
  6850  }
  6851  
  6852  func (this WebGLSampler) Ref() js.Ref {
  6853  	return this.WebGLObject.Ref()
  6854  }
  6855  
  6856  func (this WebGLSampler) FromRef(ref js.Ref) WebGLSampler {
  6857  	this.WebGLObject = this.WebGLObject.FromRef(ref)
  6858  	return this
  6859  }
  6860  
  6861  func (this WebGLSampler) Free() {
  6862  	this.ref.Free()
  6863  }
  6864  
  6865  type WebGLSync struct {
  6866  	WebGLObject
  6867  }
  6868  
  6869  func (this WebGLSync) Once() WebGLSync {
  6870  	this.ref.Once()
  6871  	return this
  6872  }
  6873  
  6874  func (this WebGLSync) Ref() js.Ref {
  6875  	return this.WebGLObject.Ref()
  6876  }
  6877  
  6878  func (this WebGLSync) FromRef(ref js.Ref) WebGLSync {
  6879  	this.WebGLObject = this.WebGLObject.FromRef(ref)
  6880  	return this
  6881  }
  6882  
  6883  func (this WebGLSync) Free() {
  6884  	this.ref.Free()
  6885  }
  6886  
  6887  type GLuint64 uint64
  6888  
  6889  type WebGLTransformFeedback struct {
  6890  	WebGLObject
  6891  }
  6892  
  6893  func (this WebGLTransformFeedback) Once() WebGLTransformFeedback {
  6894  	this.ref.Once()
  6895  	return this
  6896  }
  6897  
  6898  func (this WebGLTransformFeedback) Ref() js.Ref {
  6899  	return this.WebGLObject.Ref()
  6900  }
  6901  
  6902  func (this WebGLTransformFeedback) FromRef(ref js.Ref) WebGLTransformFeedback {
  6903  	this.WebGLObject = this.WebGLObject.FromRef(ref)
  6904  	return this
  6905  }
  6906  
  6907  func (this WebGLTransformFeedback) Free() {
  6908  	this.ref.Free()
  6909  }
  6910  
  6911  type WebGLVertexArrayObject struct {
  6912  	WebGLObject
  6913  }
  6914  
  6915  func (this WebGLVertexArrayObject) Once() WebGLVertexArrayObject {
  6916  	this.ref.Once()
  6917  	return this
  6918  }
  6919  
  6920  func (this WebGLVertexArrayObject) Ref() js.Ref {
  6921  	return this.WebGLObject.Ref()
  6922  }
  6923  
  6924  func (this WebGLVertexArrayObject) FromRef(ref js.Ref) WebGLVertexArrayObject {
  6925  	this.WebGLObject = this.WebGLObject.FromRef(ref)
  6926  	return this
  6927  }
  6928  
  6929  func (this WebGLVertexArrayObject) Free() {
  6930  	this.ref.Free()
  6931  }
  6932  
  6933  type WebGL2RenderingContext struct {
  6934  	ref js.Ref
  6935  }
  6936  
  6937  func (this WebGL2RenderingContext) Once() WebGL2RenderingContext {
  6938  	this.ref.Once()
  6939  	return this
  6940  }
  6941  
  6942  func (this WebGL2RenderingContext) Ref() js.Ref {
  6943  	return this.ref
  6944  }
  6945  
  6946  func (this WebGL2RenderingContext) FromRef(ref js.Ref) WebGL2RenderingContext {
  6947  	this.ref = ref
  6948  	return this
  6949  }
  6950  
  6951  func (this WebGL2RenderingContext) Free() {
  6952  	this.ref.Free()
  6953  }
  6954  
  6955  // Canvas returns the value of property "WebGL2RenderingContext.canvas".
  6956  //
  6957  // It returns ok=false if there is no such property.
  6958  func (this WebGL2RenderingContext) Canvas() (ret OneOf_HTMLCanvasElement_OffscreenCanvas, ok bool) {
  6959  	ok = js.True == bindings.GetWebGL2RenderingContextCanvas(
  6960  		this.ref, js.Pointer(&ret),
  6961  	)
  6962  	return
  6963  }
  6964  
  6965  // DrawingBufferWidth returns the value of property "WebGL2RenderingContext.drawingBufferWidth".
  6966  //
  6967  // It returns ok=false if there is no such property.
  6968  func (this WebGL2RenderingContext) DrawingBufferWidth() (ret GLsizei, ok bool) {
  6969  	ok = js.True == bindings.GetWebGL2RenderingContextDrawingBufferWidth(
  6970  		this.ref, js.Pointer(&ret),
  6971  	)
  6972  	return
  6973  }
  6974  
  6975  // DrawingBufferHeight returns the value of property "WebGL2RenderingContext.drawingBufferHeight".
  6976  //
  6977  // It returns ok=false if there is no such property.
  6978  func (this WebGL2RenderingContext) DrawingBufferHeight() (ret GLsizei, ok bool) {
  6979  	ok = js.True == bindings.GetWebGL2RenderingContextDrawingBufferHeight(
  6980  		this.ref, js.Pointer(&ret),
  6981  	)
  6982  	return
  6983  }
  6984  
  6985  // DrawingBufferColorSpace returns the value of property "WebGL2RenderingContext.drawingBufferColorSpace".
  6986  //
  6987  // It returns ok=false if there is no such property.
  6988  func (this WebGL2RenderingContext) DrawingBufferColorSpace() (ret PredefinedColorSpace, ok bool) {
  6989  	ok = js.True == bindings.GetWebGL2RenderingContextDrawingBufferColorSpace(
  6990  		this.ref, js.Pointer(&ret),
  6991  	)
  6992  	return
  6993  }
  6994  
  6995  // SetDrawingBufferColorSpace sets the value of property "WebGL2RenderingContext.drawingBufferColorSpace" to val.
  6996  //
  6997  // It returns false if the property cannot be set.
  6998  func (this WebGL2RenderingContext) SetDrawingBufferColorSpace(val PredefinedColorSpace) bool {
  6999  	return js.True == bindings.SetWebGL2RenderingContextDrawingBufferColorSpace(
  7000  		this.ref,
  7001  		uint32(val),
  7002  	)
  7003  }
  7004  
  7005  // UnpackColorSpace returns the value of property "WebGL2RenderingContext.unpackColorSpace".
  7006  //
  7007  // It returns ok=false if there is no such property.
  7008  func (this WebGL2RenderingContext) UnpackColorSpace() (ret PredefinedColorSpace, ok bool) {
  7009  	ok = js.True == bindings.GetWebGL2RenderingContextUnpackColorSpace(
  7010  		this.ref, js.Pointer(&ret),
  7011  	)
  7012  	return
  7013  }
  7014  
  7015  // SetUnpackColorSpace sets the value of property "WebGL2RenderingContext.unpackColorSpace" to val.
  7016  //
  7017  // It returns false if the property cannot be set.
  7018  func (this WebGL2RenderingContext) SetUnpackColorSpace(val PredefinedColorSpace) bool {
  7019  	return js.True == bindings.SetWebGL2RenderingContextUnpackColorSpace(
  7020  		this.ref,
  7021  		uint32(val),
  7022  	)
  7023  }
  7024  
  7025  // HasFuncBufferData returns true if the method "WebGL2RenderingContext.bufferData" exists.
  7026  func (this WebGL2RenderingContext) HasFuncBufferData() bool {
  7027  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferData(
  7028  		this.ref,
  7029  	)
  7030  }
  7031  
  7032  // FuncBufferData returns the method "WebGL2RenderingContext.bufferData".
  7033  func (this WebGL2RenderingContext) FuncBufferData() (fn js.Func[func(target GLenum, size GLsizeiptr, usage GLenum)]) {
  7034  	bindings.FuncWebGL2RenderingContextBufferData(
  7035  		this.ref, js.Pointer(&fn),
  7036  	)
  7037  	return
  7038  }
  7039  
  7040  // BufferData calls the method "WebGL2RenderingContext.bufferData".
  7041  func (this WebGL2RenderingContext) BufferData(target GLenum, size GLsizeiptr, usage GLenum) (ret js.Void) {
  7042  	bindings.CallWebGL2RenderingContextBufferData(
  7043  		this.ref, js.Pointer(&ret),
  7044  		uint32(target),
  7045  		float64(size),
  7046  		uint32(usage),
  7047  	)
  7048  
  7049  	return
  7050  }
  7051  
  7052  // TryBufferData calls the method "WebGL2RenderingContext.bufferData"
  7053  // in a try/catch block and returns (_, err, ok = false) when it went through
  7054  // the catch clause.
  7055  func (this WebGL2RenderingContext) TryBufferData(target GLenum, size GLsizeiptr, usage GLenum) (ret js.Void, exception js.Any, ok bool) {
  7056  	ok = js.True == bindings.TryWebGL2RenderingContextBufferData(
  7057  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7058  		uint32(target),
  7059  		float64(size),
  7060  		uint32(usage),
  7061  	)
  7062  
  7063  	return
  7064  }
  7065  
  7066  // HasFuncBufferData1 returns true if the method "WebGL2RenderingContext.bufferData" exists.
  7067  func (this WebGL2RenderingContext) HasFuncBufferData1() bool {
  7068  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferData1(
  7069  		this.ref,
  7070  	)
  7071  }
  7072  
  7073  // FuncBufferData1 returns the method "WebGL2RenderingContext.bufferData".
  7074  func (this WebGL2RenderingContext) FuncBufferData1() (fn js.Func[func(target GLenum, srcData AllowSharedBufferSource, usage GLenum)]) {
  7075  	bindings.FuncWebGL2RenderingContextBufferData1(
  7076  		this.ref, js.Pointer(&fn),
  7077  	)
  7078  	return
  7079  }
  7080  
  7081  // BufferData1 calls the method "WebGL2RenderingContext.bufferData".
  7082  func (this WebGL2RenderingContext) BufferData1(target GLenum, srcData AllowSharedBufferSource, usage GLenum) (ret js.Void) {
  7083  	bindings.CallWebGL2RenderingContextBufferData1(
  7084  		this.ref, js.Pointer(&ret),
  7085  		uint32(target),
  7086  		srcData.Ref(),
  7087  		uint32(usage),
  7088  	)
  7089  
  7090  	return
  7091  }
  7092  
  7093  // TryBufferData1 calls the method "WebGL2RenderingContext.bufferData"
  7094  // in a try/catch block and returns (_, err, ok = false) when it went through
  7095  // the catch clause.
  7096  func (this WebGL2RenderingContext) TryBufferData1(target GLenum, srcData AllowSharedBufferSource, usage GLenum) (ret js.Void, exception js.Any, ok bool) {
  7097  	ok = js.True == bindings.TryWebGL2RenderingContextBufferData1(
  7098  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7099  		uint32(target),
  7100  		srcData.Ref(),
  7101  		uint32(usage),
  7102  	)
  7103  
  7104  	return
  7105  }
  7106  
  7107  // HasFuncBufferSubData returns true if the method "WebGL2RenderingContext.bufferSubData" exists.
  7108  func (this WebGL2RenderingContext) HasFuncBufferSubData() bool {
  7109  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferSubData(
  7110  		this.ref,
  7111  	)
  7112  }
  7113  
  7114  // FuncBufferSubData returns the method "WebGL2RenderingContext.bufferSubData".
  7115  func (this WebGL2RenderingContext) FuncBufferSubData() (fn js.Func[func(target GLenum, dstByteOffset GLintptr, srcData AllowSharedBufferSource)]) {
  7116  	bindings.FuncWebGL2RenderingContextBufferSubData(
  7117  		this.ref, js.Pointer(&fn),
  7118  	)
  7119  	return
  7120  }
  7121  
  7122  // BufferSubData calls the method "WebGL2RenderingContext.bufferSubData".
  7123  func (this WebGL2RenderingContext) BufferSubData(target GLenum, dstByteOffset GLintptr, srcData AllowSharedBufferSource) (ret js.Void) {
  7124  	bindings.CallWebGL2RenderingContextBufferSubData(
  7125  		this.ref, js.Pointer(&ret),
  7126  		uint32(target),
  7127  		float64(dstByteOffset),
  7128  		srcData.Ref(),
  7129  	)
  7130  
  7131  	return
  7132  }
  7133  
  7134  // TryBufferSubData calls the method "WebGL2RenderingContext.bufferSubData"
  7135  // in a try/catch block and returns (_, err, ok = false) when it went through
  7136  // the catch clause.
  7137  func (this WebGL2RenderingContext) TryBufferSubData(target GLenum, dstByteOffset GLintptr, srcData AllowSharedBufferSource) (ret js.Void, exception js.Any, ok bool) {
  7138  	ok = js.True == bindings.TryWebGL2RenderingContextBufferSubData(
  7139  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7140  		uint32(target),
  7141  		float64(dstByteOffset),
  7142  		srcData.Ref(),
  7143  	)
  7144  
  7145  	return
  7146  }
  7147  
  7148  // HasFuncBufferData2 returns true if the method "WebGL2RenderingContext.bufferData" exists.
  7149  func (this WebGL2RenderingContext) HasFuncBufferData2() bool {
  7150  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferData2(
  7151  		this.ref,
  7152  	)
  7153  }
  7154  
  7155  // FuncBufferData2 returns the method "WebGL2RenderingContext.bufferData".
  7156  func (this WebGL2RenderingContext) FuncBufferData2() (fn js.Func[func(target GLenum, srcData js.ArrayBufferView, usage GLenum, srcOffset GLuint, length GLuint)]) {
  7157  	bindings.FuncWebGL2RenderingContextBufferData2(
  7158  		this.ref, js.Pointer(&fn),
  7159  	)
  7160  	return
  7161  }
  7162  
  7163  // BufferData2 calls the method "WebGL2RenderingContext.bufferData".
  7164  func (this WebGL2RenderingContext) BufferData2(target GLenum, srcData js.ArrayBufferView, usage GLenum, srcOffset GLuint, length GLuint) (ret js.Void) {
  7165  	bindings.CallWebGL2RenderingContextBufferData2(
  7166  		this.ref, js.Pointer(&ret),
  7167  		uint32(target),
  7168  		srcData.Ref(),
  7169  		uint32(usage),
  7170  		uint32(srcOffset),
  7171  		uint32(length),
  7172  	)
  7173  
  7174  	return
  7175  }
  7176  
  7177  // TryBufferData2 calls the method "WebGL2RenderingContext.bufferData"
  7178  // in a try/catch block and returns (_, err, ok = false) when it went through
  7179  // the catch clause.
  7180  func (this WebGL2RenderingContext) TryBufferData2(target GLenum, srcData js.ArrayBufferView, usage GLenum, srcOffset GLuint, length GLuint) (ret js.Void, exception js.Any, ok bool) {
  7181  	ok = js.True == bindings.TryWebGL2RenderingContextBufferData2(
  7182  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7183  		uint32(target),
  7184  		srcData.Ref(),
  7185  		uint32(usage),
  7186  		uint32(srcOffset),
  7187  		uint32(length),
  7188  	)
  7189  
  7190  	return
  7191  }
  7192  
  7193  // HasFuncBufferData3 returns true if the method "WebGL2RenderingContext.bufferData" exists.
  7194  func (this WebGL2RenderingContext) HasFuncBufferData3() bool {
  7195  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferData3(
  7196  		this.ref,
  7197  	)
  7198  }
  7199  
  7200  // FuncBufferData3 returns the method "WebGL2RenderingContext.bufferData".
  7201  func (this WebGL2RenderingContext) FuncBufferData3() (fn js.Func[func(target GLenum, srcData js.ArrayBufferView, usage GLenum, srcOffset GLuint)]) {
  7202  	bindings.FuncWebGL2RenderingContextBufferData3(
  7203  		this.ref, js.Pointer(&fn),
  7204  	)
  7205  	return
  7206  }
  7207  
  7208  // BufferData3 calls the method "WebGL2RenderingContext.bufferData".
  7209  func (this WebGL2RenderingContext) BufferData3(target GLenum, srcData js.ArrayBufferView, usage GLenum, srcOffset GLuint) (ret js.Void) {
  7210  	bindings.CallWebGL2RenderingContextBufferData3(
  7211  		this.ref, js.Pointer(&ret),
  7212  		uint32(target),
  7213  		srcData.Ref(),
  7214  		uint32(usage),
  7215  		uint32(srcOffset),
  7216  	)
  7217  
  7218  	return
  7219  }
  7220  
  7221  // TryBufferData3 calls the method "WebGL2RenderingContext.bufferData"
  7222  // in a try/catch block and returns (_, err, ok = false) when it went through
  7223  // the catch clause.
  7224  func (this WebGL2RenderingContext) TryBufferData3(target GLenum, srcData js.ArrayBufferView, usage GLenum, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  7225  	ok = js.True == bindings.TryWebGL2RenderingContextBufferData3(
  7226  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7227  		uint32(target),
  7228  		srcData.Ref(),
  7229  		uint32(usage),
  7230  		uint32(srcOffset),
  7231  	)
  7232  
  7233  	return
  7234  }
  7235  
  7236  // HasFuncBufferSubData1 returns true if the method "WebGL2RenderingContext.bufferSubData" exists.
  7237  func (this WebGL2RenderingContext) HasFuncBufferSubData1() bool {
  7238  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferSubData1(
  7239  		this.ref,
  7240  	)
  7241  }
  7242  
  7243  // FuncBufferSubData1 returns the method "WebGL2RenderingContext.bufferSubData".
  7244  func (this WebGL2RenderingContext) FuncBufferSubData1() (fn js.Func[func(target GLenum, dstByteOffset GLintptr, srcData js.ArrayBufferView, srcOffset GLuint, length GLuint)]) {
  7245  	bindings.FuncWebGL2RenderingContextBufferSubData1(
  7246  		this.ref, js.Pointer(&fn),
  7247  	)
  7248  	return
  7249  }
  7250  
  7251  // BufferSubData1 calls the method "WebGL2RenderingContext.bufferSubData".
  7252  func (this WebGL2RenderingContext) BufferSubData1(target GLenum, dstByteOffset GLintptr, srcData js.ArrayBufferView, srcOffset GLuint, length GLuint) (ret js.Void) {
  7253  	bindings.CallWebGL2RenderingContextBufferSubData1(
  7254  		this.ref, js.Pointer(&ret),
  7255  		uint32(target),
  7256  		float64(dstByteOffset),
  7257  		srcData.Ref(),
  7258  		uint32(srcOffset),
  7259  		uint32(length),
  7260  	)
  7261  
  7262  	return
  7263  }
  7264  
  7265  // TryBufferSubData1 calls the method "WebGL2RenderingContext.bufferSubData"
  7266  // in a try/catch block and returns (_, err, ok = false) when it went through
  7267  // the catch clause.
  7268  func (this WebGL2RenderingContext) TryBufferSubData1(target GLenum, dstByteOffset GLintptr, srcData js.ArrayBufferView, srcOffset GLuint, length GLuint) (ret js.Void, exception js.Any, ok bool) {
  7269  	ok = js.True == bindings.TryWebGL2RenderingContextBufferSubData1(
  7270  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7271  		uint32(target),
  7272  		float64(dstByteOffset),
  7273  		srcData.Ref(),
  7274  		uint32(srcOffset),
  7275  		uint32(length),
  7276  	)
  7277  
  7278  	return
  7279  }
  7280  
  7281  // HasFuncBufferSubData2 returns true if the method "WebGL2RenderingContext.bufferSubData" exists.
  7282  func (this WebGL2RenderingContext) HasFuncBufferSubData2() bool {
  7283  	return js.True == bindings.HasFuncWebGL2RenderingContextBufferSubData2(
  7284  		this.ref,
  7285  	)
  7286  }
  7287  
  7288  // FuncBufferSubData2 returns the method "WebGL2RenderingContext.bufferSubData".
  7289  func (this WebGL2RenderingContext) FuncBufferSubData2() (fn js.Func[func(target GLenum, dstByteOffset GLintptr, srcData js.ArrayBufferView, srcOffset GLuint)]) {
  7290  	bindings.FuncWebGL2RenderingContextBufferSubData2(
  7291  		this.ref, js.Pointer(&fn),
  7292  	)
  7293  	return
  7294  }
  7295  
  7296  // BufferSubData2 calls the method "WebGL2RenderingContext.bufferSubData".
  7297  func (this WebGL2RenderingContext) BufferSubData2(target GLenum, dstByteOffset GLintptr, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
  7298  	bindings.CallWebGL2RenderingContextBufferSubData2(
  7299  		this.ref, js.Pointer(&ret),
  7300  		uint32(target),
  7301  		float64(dstByteOffset),
  7302  		srcData.Ref(),
  7303  		uint32(srcOffset),
  7304  	)
  7305  
  7306  	return
  7307  }
  7308  
  7309  // TryBufferSubData2 calls the method "WebGL2RenderingContext.bufferSubData"
  7310  // in a try/catch block and returns (_, err, ok = false) when it went through
  7311  // the catch clause.
  7312  func (this WebGL2RenderingContext) TryBufferSubData2(target GLenum, dstByteOffset GLintptr, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  7313  	ok = js.True == bindings.TryWebGL2RenderingContextBufferSubData2(
  7314  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7315  		uint32(target),
  7316  		float64(dstByteOffset),
  7317  		srcData.Ref(),
  7318  		uint32(srcOffset),
  7319  	)
  7320  
  7321  	return
  7322  }
  7323  
  7324  // HasFuncTexImage2D returns true if the method "WebGL2RenderingContext.texImage2D" exists.
  7325  func (this WebGL2RenderingContext) HasFuncTexImage2D() bool {
  7326  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage2D(
  7327  		this.ref,
  7328  	)
  7329  }
  7330  
  7331  // FuncTexImage2D returns the method "WebGL2RenderingContext.texImage2D".
  7332  func (this WebGL2RenderingContext) FuncTexImage2D() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pixels js.ArrayBufferView)]) {
  7333  	bindings.FuncWebGL2RenderingContextTexImage2D(
  7334  		this.ref, js.Pointer(&fn),
  7335  	)
  7336  	return
  7337  }
  7338  
  7339  // TexImage2D calls the method "WebGL2RenderingContext.texImage2D".
  7340  func (this WebGL2RenderingContext) TexImage2D(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void) {
  7341  	bindings.CallWebGL2RenderingContextTexImage2D(
  7342  		this.ref, js.Pointer(&ret),
  7343  		uint32(target),
  7344  		int32(level),
  7345  		int32(internalformat),
  7346  		int32(width),
  7347  		int32(height),
  7348  		int32(border),
  7349  		uint32(format),
  7350  		uint32(typ),
  7351  		pixels.Ref(),
  7352  	)
  7353  
  7354  	return
  7355  }
  7356  
  7357  // TryTexImage2D calls the method "WebGL2RenderingContext.texImage2D"
  7358  // in a try/catch block and returns (_, err, ok = false) when it went through
  7359  // the catch clause.
  7360  func (this WebGL2RenderingContext) TryTexImage2D(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  7361  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage2D(
  7362  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7363  		uint32(target),
  7364  		int32(level),
  7365  		int32(internalformat),
  7366  		int32(width),
  7367  		int32(height),
  7368  		int32(border),
  7369  		uint32(format),
  7370  		uint32(typ),
  7371  		pixels.Ref(),
  7372  	)
  7373  
  7374  	return
  7375  }
  7376  
  7377  // HasFuncTexImage2D1 returns true if the method "WebGL2RenderingContext.texImage2D" exists.
  7378  func (this WebGL2RenderingContext) HasFuncTexImage2D1() bool {
  7379  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage2D1(
  7380  		this.ref,
  7381  	)
  7382  }
  7383  
  7384  // FuncTexImage2D1 returns the method "WebGL2RenderingContext.texImage2D".
  7385  func (this WebGL2RenderingContext) FuncTexImage2D1() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, format GLenum, typ GLenum, source TexImageSource)]) {
  7386  	bindings.FuncWebGL2RenderingContextTexImage2D1(
  7387  		this.ref, js.Pointer(&fn),
  7388  	)
  7389  	return
  7390  }
  7391  
  7392  // TexImage2D1 calls the method "WebGL2RenderingContext.texImage2D".
  7393  func (this WebGL2RenderingContext) TexImage2D1(target GLenum, level GLint, internalformat GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
  7394  	bindings.CallWebGL2RenderingContextTexImage2D1(
  7395  		this.ref, js.Pointer(&ret),
  7396  		uint32(target),
  7397  		int32(level),
  7398  		int32(internalformat),
  7399  		uint32(format),
  7400  		uint32(typ),
  7401  		source.Ref(),
  7402  	)
  7403  
  7404  	return
  7405  }
  7406  
  7407  // TryTexImage2D1 calls the method "WebGL2RenderingContext.texImage2D"
  7408  // in a try/catch block and returns (_, err, ok = false) when it went through
  7409  // the catch clause.
  7410  func (this WebGL2RenderingContext) TryTexImage2D1(target GLenum, level GLint, internalformat GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
  7411  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage2D1(
  7412  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7413  		uint32(target),
  7414  		int32(level),
  7415  		int32(internalformat),
  7416  		uint32(format),
  7417  		uint32(typ),
  7418  		source.Ref(),
  7419  	)
  7420  
  7421  	return
  7422  }
  7423  
  7424  // HasFuncTexSubImage2D returns true if the method "WebGL2RenderingContext.texSubImage2D" exists.
  7425  func (this WebGL2RenderingContext) HasFuncTexSubImage2D() bool {
  7426  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage2D(
  7427  		this.ref,
  7428  	)
  7429  }
  7430  
  7431  // FuncTexSubImage2D returns the method "WebGL2RenderingContext.texSubImage2D".
  7432  func (this WebGL2RenderingContext) FuncTexSubImage2D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView)]) {
  7433  	bindings.FuncWebGL2RenderingContextTexSubImage2D(
  7434  		this.ref, js.Pointer(&fn),
  7435  	)
  7436  	return
  7437  }
  7438  
  7439  // TexSubImage2D calls the method "WebGL2RenderingContext.texSubImage2D".
  7440  func (this WebGL2RenderingContext) TexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void) {
  7441  	bindings.CallWebGL2RenderingContextTexSubImage2D(
  7442  		this.ref, js.Pointer(&ret),
  7443  		uint32(target),
  7444  		int32(level),
  7445  		int32(xoffset),
  7446  		int32(yoffset),
  7447  		int32(width),
  7448  		int32(height),
  7449  		uint32(format),
  7450  		uint32(typ),
  7451  		pixels.Ref(),
  7452  	)
  7453  
  7454  	return
  7455  }
  7456  
  7457  // TryTexSubImage2D calls the method "WebGL2RenderingContext.texSubImage2D"
  7458  // in a try/catch block and returns (_, err, ok = false) when it went through
  7459  // the catch clause.
  7460  func (this WebGL2RenderingContext) TryTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pixels js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  7461  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage2D(
  7462  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7463  		uint32(target),
  7464  		int32(level),
  7465  		int32(xoffset),
  7466  		int32(yoffset),
  7467  		int32(width),
  7468  		int32(height),
  7469  		uint32(format),
  7470  		uint32(typ),
  7471  		pixels.Ref(),
  7472  	)
  7473  
  7474  	return
  7475  }
  7476  
  7477  // HasFuncTexSubImage2D1 returns true if the method "WebGL2RenderingContext.texSubImage2D" exists.
  7478  func (this WebGL2RenderingContext) HasFuncTexSubImage2D1() bool {
  7479  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage2D1(
  7480  		this.ref,
  7481  	)
  7482  }
  7483  
  7484  // FuncTexSubImage2D1 returns the method "WebGL2RenderingContext.texSubImage2D".
  7485  func (this WebGL2RenderingContext) FuncTexSubImage2D1() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, format GLenum, typ GLenum, source TexImageSource)]) {
  7486  	bindings.FuncWebGL2RenderingContextTexSubImage2D1(
  7487  		this.ref, js.Pointer(&fn),
  7488  	)
  7489  	return
  7490  }
  7491  
  7492  // TexSubImage2D1 calls the method "WebGL2RenderingContext.texSubImage2D".
  7493  func (this WebGL2RenderingContext) TexSubImage2D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
  7494  	bindings.CallWebGL2RenderingContextTexSubImage2D1(
  7495  		this.ref, js.Pointer(&ret),
  7496  		uint32(target),
  7497  		int32(level),
  7498  		int32(xoffset),
  7499  		int32(yoffset),
  7500  		uint32(format),
  7501  		uint32(typ),
  7502  		source.Ref(),
  7503  	)
  7504  
  7505  	return
  7506  }
  7507  
  7508  // TryTexSubImage2D1 calls the method "WebGL2RenderingContext.texSubImage2D"
  7509  // in a try/catch block and returns (_, err, ok = false) when it went through
  7510  // the catch clause.
  7511  func (this WebGL2RenderingContext) TryTexSubImage2D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
  7512  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage2D1(
  7513  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7514  		uint32(target),
  7515  		int32(level),
  7516  		int32(xoffset),
  7517  		int32(yoffset),
  7518  		uint32(format),
  7519  		uint32(typ),
  7520  		source.Ref(),
  7521  	)
  7522  
  7523  	return
  7524  }
  7525  
  7526  // HasFuncTexImage2D2 returns true if the method "WebGL2RenderingContext.texImage2D" exists.
  7527  func (this WebGL2RenderingContext) HasFuncTexImage2D2() bool {
  7528  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage2D2(
  7529  		this.ref,
  7530  	)
  7531  }
  7532  
  7533  // FuncTexImage2D2 returns the method "WebGL2RenderingContext.texImage2D".
  7534  func (this WebGL2RenderingContext) FuncTexImage2D2() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pboOffset GLintptr)]) {
  7535  	bindings.FuncWebGL2RenderingContextTexImage2D2(
  7536  		this.ref, js.Pointer(&fn),
  7537  	)
  7538  	return
  7539  }
  7540  
  7541  // TexImage2D2 calls the method "WebGL2RenderingContext.texImage2D".
  7542  func (this WebGL2RenderingContext) TexImage2D2(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void) {
  7543  	bindings.CallWebGL2RenderingContextTexImage2D2(
  7544  		this.ref, js.Pointer(&ret),
  7545  		uint32(target),
  7546  		int32(level),
  7547  		int32(internalformat),
  7548  		int32(width),
  7549  		int32(height),
  7550  		int32(border),
  7551  		uint32(format),
  7552  		uint32(typ),
  7553  		float64(pboOffset),
  7554  	)
  7555  
  7556  	return
  7557  }
  7558  
  7559  // TryTexImage2D2 calls the method "WebGL2RenderingContext.texImage2D"
  7560  // in a try/catch block and returns (_, err, ok = false) when it went through
  7561  // the catch clause.
  7562  func (this WebGL2RenderingContext) TryTexImage2D2(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  7563  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage2D2(
  7564  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7565  		uint32(target),
  7566  		int32(level),
  7567  		int32(internalformat),
  7568  		int32(width),
  7569  		int32(height),
  7570  		int32(border),
  7571  		uint32(format),
  7572  		uint32(typ),
  7573  		float64(pboOffset),
  7574  	)
  7575  
  7576  	return
  7577  }
  7578  
  7579  // HasFuncTexImage2D3 returns true if the method "WebGL2RenderingContext.texImage2D" exists.
  7580  func (this WebGL2RenderingContext) HasFuncTexImage2D3() bool {
  7581  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage2D3(
  7582  		this.ref,
  7583  	)
  7584  }
  7585  
  7586  // FuncTexImage2D3 returns the method "WebGL2RenderingContext.texImage2D".
  7587  func (this WebGL2RenderingContext) FuncTexImage2D3() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, source TexImageSource)]) {
  7588  	bindings.FuncWebGL2RenderingContextTexImage2D3(
  7589  		this.ref, js.Pointer(&fn),
  7590  	)
  7591  	return
  7592  }
  7593  
  7594  // TexImage2D3 calls the method "WebGL2RenderingContext.texImage2D".
  7595  func (this WebGL2RenderingContext) TexImage2D3(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
  7596  	bindings.CallWebGL2RenderingContextTexImage2D3(
  7597  		this.ref, js.Pointer(&ret),
  7598  		uint32(target),
  7599  		int32(level),
  7600  		int32(internalformat),
  7601  		int32(width),
  7602  		int32(height),
  7603  		int32(border),
  7604  		uint32(format),
  7605  		uint32(typ),
  7606  		source.Ref(),
  7607  	)
  7608  
  7609  	return
  7610  }
  7611  
  7612  // TryTexImage2D3 calls the method "WebGL2RenderingContext.texImage2D"
  7613  // in a try/catch block and returns (_, err, ok = false) when it went through
  7614  // the catch clause.
  7615  func (this WebGL2RenderingContext) TryTexImage2D3(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
  7616  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage2D3(
  7617  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7618  		uint32(target),
  7619  		int32(level),
  7620  		int32(internalformat),
  7621  		int32(width),
  7622  		int32(height),
  7623  		int32(border),
  7624  		uint32(format),
  7625  		uint32(typ),
  7626  		source.Ref(),
  7627  	)
  7628  
  7629  	return
  7630  }
  7631  
  7632  // HasFuncTexImage2D4 returns true if the method "WebGL2RenderingContext.texImage2D" exists.
  7633  func (this WebGL2RenderingContext) HasFuncTexImage2D4() bool {
  7634  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage2D4(
  7635  		this.ref,
  7636  	)
  7637  }
  7638  
  7639  // FuncTexImage2D4 returns the method "WebGL2RenderingContext.texImage2D".
  7640  func (this WebGL2RenderingContext) FuncTexImage2D4() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint)]) {
  7641  	bindings.FuncWebGL2RenderingContextTexImage2D4(
  7642  		this.ref, js.Pointer(&fn),
  7643  	)
  7644  	return
  7645  }
  7646  
  7647  // TexImage2D4 calls the method "WebGL2RenderingContext.texImage2D".
  7648  func (this WebGL2RenderingContext) TexImage2D4(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
  7649  	bindings.CallWebGL2RenderingContextTexImage2D4(
  7650  		this.ref, js.Pointer(&ret),
  7651  		uint32(target),
  7652  		int32(level),
  7653  		int32(internalformat),
  7654  		int32(width),
  7655  		int32(height),
  7656  		int32(border),
  7657  		uint32(format),
  7658  		uint32(typ),
  7659  		srcData.Ref(),
  7660  		uint32(srcOffset),
  7661  	)
  7662  
  7663  	return
  7664  }
  7665  
  7666  // TryTexImage2D4 calls the method "WebGL2RenderingContext.texImage2D"
  7667  // in a try/catch block and returns (_, err, ok = false) when it went through
  7668  // the catch clause.
  7669  func (this WebGL2RenderingContext) TryTexImage2D4(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  7670  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage2D4(
  7671  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7672  		uint32(target),
  7673  		int32(level),
  7674  		int32(internalformat),
  7675  		int32(width),
  7676  		int32(height),
  7677  		int32(border),
  7678  		uint32(format),
  7679  		uint32(typ),
  7680  		srcData.Ref(),
  7681  		uint32(srcOffset),
  7682  	)
  7683  
  7684  	return
  7685  }
  7686  
  7687  // HasFuncTexSubImage2D2 returns true if the method "WebGL2RenderingContext.texSubImage2D" exists.
  7688  func (this WebGL2RenderingContext) HasFuncTexSubImage2D2() bool {
  7689  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage2D2(
  7690  		this.ref,
  7691  	)
  7692  }
  7693  
  7694  // FuncTexSubImage2D2 returns the method "WebGL2RenderingContext.texSubImage2D".
  7695  func (this WebGL2RenderingContext) FuncTexSubImage2D2() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pboOffset GLintptr)]) {
  7696  	bindings.FuncWebGL2RenderingContextTexSubImage2D2(
  7697  		this.ref, js.Pointer(&fn),
  7698  	)
  7699  	return
  7700  }
  7701  
  7702  // TexSubImage2D2 calls the method "WebGL2RenderingContext.texSubImage2D".
  7703  func (this WebGL2RenderingContext) TexSubImage2D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void) {
  7704  	bindings.CallWebGL2RenderingContextTexSubImage2D2(
  7705  		this.ref, js.Pointer(&ret),
  7706  		uint32(target),
  7707  		int32(level),
  7708  		int32(xoffset),
  7709  		int32(yoffset),
  7710  		int32(width),
  7711  		int32(height),
  7712  		uint32(format),
  7713  		uint32(typ),
  7714  		float64(pboOffset),
  7715  	)
  7716  
  7717  	return
  7718  }
  7719  
  7720  // TryTexSubImage2D2 calls the method "WebGL2RenderingContext.texSubImage2D"
  7721  // in a try/catch block and returns (_, err, ok = false) when it went through
  7722  // the catch clause.
  7723  func (this WebGL2RenderingContext) TryTexSubImage2D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  7724  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage2D2(
  7725  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7726  		uint32(target),
  7727  		int32(level),
  7728  		int32(xoffset),
  7729  		int32(yoffset),
  7730  		int32(width),
  7731  		int32(height),
  7732  		uint32(format),
  7733  		uint32(typ),
  7734  		float64(pboOffset),
  7735  	)
  7736  
  7737  	return
  7738  }
  7739  
  7740  // HasFuncTexSubImage2D3 returns true if the method "WebGL2RenderingContext.texSubImage2D" exists.
  7741  func (this WebGL2RenderingContext) HasFuncTexSubImage2D3() bool {
  7742  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage2D3(
  7743  		this.ref,
  7744  	)
  7745  }
  7746  
  7747  // FuncTexSubImage2D3 returns the method "WebGL2RenderingContext.texSubImage2D".
  7748  func (this WebGL2RenderingContext) FuncTexSubImage2D3() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, source TexImageSource)]) {
  7749  	bindings.FuncWebGL2RenderingContextTexSubImage2D3(
  7750  		this.ref, js.Pointer(&fn),
  7751  	)
  7752  	return
  7753  }
  7754  
  7755  // TexSubImage2D3 calls the method "WebGL2RenderingContext.texSubImage2D".
  7756  func (this WebGL2RenderingContext) TexSubImage2D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
  7757  	bindings.CallWebGL2RenderingContextTexSubImage2D3(
  7758  		this.ref, js.Pointer(&ret),
  7759  		uint32(target),
  7760  		int32(level),
  7761  		int32(xoffset),
  7762  		int32(yoffset),
  7763  		int32(width),
  7764  		int32(height),
  7765  		uint32(format),
  7766  		uint32(typ),
  7767  		source.Ref(),
  7768  	)
  7769  
  7770  	return
  7771  }
  7772  
  7773  // TryTexSubImage2D3 calls the method "WebGL2RenderingContext.texSubImage2D"
  7774  // in a try/catch block and returns (_, err, ok = false) when it went through
  7775  // the catch clause.
  7776  func (this WebGL2RenderingContext) TryTexSubImage2D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
  7777  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage2D3(
  7778  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7779  		uint32(target),
  7780  		int32(level),
  7781  		int32(xoffset),
  7782  		int32(yoffset),
  7783  		int32(width),
  7784  		int32(height),
  7785  		uint32(format),
  7786  		uint32(typ),
  7787  		source.Ref(),
  7788  	)
  7789  
  7790  	return
  7791  }
  7792  
  7793  // HasFuncTexSubImage2D4 returns true if the method "WebGL2RenderingContext.texSubImage2D" exists.
  7794  func (this WebGL2RenderingContext) HasFuncTexSubImage2D4() bool {
  7795  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage2D4(
  7796  		this.ref,
  7797  	)
  7798  }
  7799  
  7800  // FuncTexSubImage2D4 returns the method "WebGL2RenderingContext.texSubImage2D".
  7801  func (this WebGL2RenderingContext) FuncTexSubImage2D4() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint)]) {
  7802  	bindings.FuncWebGL2RenderingContextTexSubImage2D4(
  7803  		this.ref, js.Pointer(&fn),
  7804  	)
  7805  	return
  7806  }
  7807  
  7808  // TexSubImage2D4 calls the method "WebGL2RenderingContext.texSubImage2D".
  7809  func (this WebGL2RenderingContext) TexSubImage2D4(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
  7810  	bindings.CallWebGL2RenderingContextTexSubImage2D4(
  7811  		this.ref, js.Pointer(&ret),
  7812  		uint32(target),
  7813  		int32(level),
  7814  		int32(xoffset),
  7815  		int32(yoffset),
  7816  		int32(width),
  7817  		int32(height),
  7818  		uint32(format),
  7819  		uint32(typ),
  7820  		srcData.Ref(),
  7821  		uint32(srcOffset),
  7822  	)
  7823  
  7824  	return
  7825  }
  7826  
  7827  // TryTexSubImage2D4 calls the method "WebGL2RenderingContext.texSubImage2D"
  7828  // in a try/catch block and returns (_, err, ok = false) when it went through
  7829  // the catch clause.
  7830  func (this WebGL2RenderingContext) TryTexSubImage2D4(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  7831  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage2D4(
  7832  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7833  		uint32(target),
  7834  		int32(level),
  7835  		int32(xoffset),
  7836  		int32(yoffset),
  7837  		int32(width),
  7838  		int32(height),
  7839  		uint32(format),
  7840  		uint32(typ),
  7841  		srcData.Ref(),
  7842  		uint32(srcOffset),
  7843  	)
  7844  
  7845  	return
  7846  }
  7847  
  7848  // HasFuncCompressedTexImage2D returns true if the method "WebGL2RenderingContext.compressedTexImage2D" exists.
  7849  func (this WebGL2RenderingContext) HasFuncCompressedTexImage2D() bool {
  7850  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage2D(
  7851  		this.ref,
  7852  	)
  7853  }
  7854  
  7855  // FuncCompressedTexImage2D returns the method "WebGL2RenderingContext.compressedTexImage2D".
  7856  func (this WebGL2RenderingContext) FuncCompressedTexImage2D() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, imageSize GLsizei, offset GLintptr)]) {
  7857  	bindings.FuncWebGL2RenderingContextCompressedTexImage2D(
  7858  		this.ref, js.Pointer(&fn),
  7859  	)
  7860  	return
  7861  }
  7862  
  7863  // CompressedTexImage2D calls the method "WebGL2RenderingContext.compressedTexImage2D".
  7864  func (this WebGL2RenderingContext) CompressedTexImage2D(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, imageSize GLsizei, offset GLintptr) (ret js.Void) {
  7865  	bindings.CallWebGL2RenderingContextCompressedTexImage2D(
  7866  		this.ref, js.Pointer(&ret),
  7867  		uint32(target),
  7868  		int32(level),
  7869  		uint32(internalformat),
  7870  		int32(width),
  7871  		int32(height),
  7872  		int32(border),
  7873  		int32(imageSize),
  7874  		float64(offset),
  7875  	)
  7876  
  7877  	return
  7878  }
  7879  
  7880  // TryCompressedTexImage2D calls the method "WebGL2RenderingContext.compressedTexImage2D"
  7881  // in a try/catch block and returns (_, err, ok = false) when it went through
  7882  // the catch clause.
  7883  func (this WebGL2RenderingContext) TryCompressedTexImage2D(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, imageSize GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  7884  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage2D(
  7885  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7886  		uint32(target),
  7887  		int32(level),
  7888  		uint32(internalformat),
  7889  		int32(width),
  7890  		int32(height),
  7891  		int32(border),
  7892  		int32(imageSize),
  7893  		float64(offset),
  7894  	)
  7895  
  7896  	return
  7897  }
  7898  
  7899  // HasFuncCompressedTexImage2D1 returns true if the method "WebGL2RenderingContext.compressedTexImage2D" exists.
  7900  func (this WebGL2RenderingContext) HasFuncCompressedTexImage2D1() bool {
  7901  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage2D1(
  7902  		this.ref,
  7903  	)
  7904  }
  7905  
  7906  // FuncCompressedTexImage2D1 returns the method "WebGL2RenderingContext.compressedTexImage2D".
  7907  func (this WebGL2RenderingContext) FuncCompressedTexImage2D1() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint)]) {
  7908  	bindings.FuncWebGL2RenderingContextCompressedTexImage2D1(
  7909  		this.ref, js.Pointer(&fn),
  7910  	)
  7911  	return
  7912  }
  7913  
  7914  // CompressedTexImage2D1 calls the method "WebGL2RenderingContext.compressedTexImage2D".
  7915  func (this WebGL2RenderingContext) CompressedTexImage2D1(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void) {
  7916  	bindings.CallWebGL2RenderingContextCompressedTexImage2D1(
  7917  		this.ref, js.Pointer(&ret),
  7918  		uint32(target),
  7919  		int32(level),
  7920  		uint32(internalformat),
  7921  		int32(width),
  7922  		int32(height),
  7923  		int32(border),
  7924  		srcData.Ref(),
  7925  		uint32(srcOffset),
  7926  		uint32(srcLengthOverride),
  7927  	)
  7928  
  7929  	return
  7930  }
  7931  
  7932  // TryCompressedTexImage2D1 calls the method "WebGL2RenderingContext.compressedTexImage2D"
  7933  // in a try/catch block and returns (_, err, ok = false) when it went through
  7934  // the catch clause.
  7935  func (this WebGL2RenderingContext) TryCompressedTexImage2D1(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void, exception js.Any, ok bool) {
  7936  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage2D1(
  7937  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7938  		uint32(target),
  7939  		int32(level),
  7940  		uint32(internalformat),
  7941  		int32(width),
  7942  		int32(height),
  7943  		int32(border),
  7944  		srcData.Ref(),
  7945  		uint32(srcOffset),
  7946  		uint32(srcLengthOverride),
  7947  	)
  7948  
  7949  	return
  7950  }
  7951  
  7952  // HasFuncCompressedTexImage2D2 returns true if the method "WebGL2RenderingContext.compressedTexImage2D" exists.
  7953  func (this WebGL2RenderingContext) HasFuncCompressedTexImage2D2() bool {
  7954  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage2D2(
  7955  		this.ref,
  7956  	)
  7957  }
  7958  
  7959  // FuncCompressedTexImage2D2 returns the method "WebGL2RenderingContext.compressedTexImage2D".
  7960  func (this WebGL2RenderingContext) FuncCompressedTexImage2D2() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint)]) {
  7961  	bindings.FuncWebGL2RenderingContextCompressedTexImage2D2(
  7962  		this.ref, js.Pointer(&fn),
  7963  	)
  7964  	return
  7965  }
  7966  
  7967  // CompressedTexImage2D2 calls the method "WebGL2RenderingContext.compressedTexImage2D".
  7968  func (this WebGL2RenderingContext) CompressedTexImage2D2(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
  7969  	bindings.CallWebGL2RenderingContextCompressedTexImage2D2(
  7970  		this.ref, js.Pointer(&ret),
  7971  		uint32(target),
  7972  		int32(level),
  7973  		uint32(internalformat),
  7974  		int32(width),
  7975  		int32(height),
  7976  		int32(border),
  7977  		srcData.Ref(),
  7978  		uint32(srcOffset),
  7979  	)
  7980  
  7981  	return
  7982  }
  7983  
  7984  // TryCompressedTexImage2D2 calls the method "WebGL2RenderingContext.compressedTexImage2D"
  7985  // in a try/catch block and returns (_, err, ok = false) when it went through
  7986  // the catch clause.
  7987  func (this WebGL2RenderingContext) TryCompressedTexImage2D2(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  7988  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage2D2(
  7989  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  7990  		uint32(target),
  7991  		int32(level),
  7992  		uint32(internalformat),
  7993  		int32(width),
  7994  		int32(height),
  7995  		int32(border),
  7996  		srcData.Ref(),
  7997  		uint32(srcOffset),
  7998  	)
  7999  
  8000  	return
  8001  }
  8002  
  8003  // HasFuncCompressedTexImage2D3 returns true if the method "WebGL2RenderingContext.compressedTexImage2D" exists.
  8004  func (this WebGL2RenderingContext) HasFuncCompressedTexImage2D3() bool {
  8005  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage2D3(
  8006  		this.ref,
  8007  	)
  8008  }
  8009  
  8010  // FuncCompressedTexImage2D3 returns the method "WebGL2RenderingContext.compressedTexImage2D".
  8011  func (this WebGL2RenderingContext) FuncCompressedTexImage2D3() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView)]) {
  8012  	bindings.FuncWebGL2RenderingContextCompressedTexImage2D3(
  8013  		this.ref, js.Pointer(&fn),
  8014  	)
  8015  	return
  8016  }
  8017  
  8018  // CompressedTexImage2D3 calls the method "WebGL2RenderingContext.compressedTexImage2D".
  8019  func (this WebGL2RenderingContext) CompressedTexImage2D3(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView) (ret js.Void) {
  8020  	bindings.CallWebGL2RenderingContextCompressedTexImage2D3(
  8021  		this.ref, js.Pointer(&ret),
  8022  		uint32(target),
  8023  		int32(level),
  8024  		uint32(internalformat),
  8025  		int32(width),
  8026  		int32(height),
  8027  		int32(border),
  8028  		srcData.Ref(),
  8029  	)
  8030  
  8031  	return
  8032  }
  8033  
  8034  // TryCompressedTexImage2D3 calls the method "WebGL2RenderingContext.compressedTexImage2D"
  8035  // in a try/catch block and returns (_, err, ok = false) when it went through
  8036  // the catch clause.
  8037  func (this WebGL2RenderingContext) TryCompressedTexImage2D3(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, border GLint, srcData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  8038  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage2D3(
  8039  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8040  		uint32(target),
  8041  		int32(level),
  8042  		uint32(internalformat),
  8043  		int32(width),
  8044  		int32(height),
  8045  		int32(border),
  8046  		srcData.Ref(),
  8047  	)
  8048  
  8049  	return
  8050  }
  8051  
  8052  // HasFuncCompressedTexSubImage2D returns true if the method "WebGL2RenderingContext.compressedTexSubImage2D" exists.
  8053  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage2D() bool {
  8054  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage2D(
  8055  		this.ref,
  8056  	)
  8057  }
  8058  
  8059  // FuncCompressedTexSubImage2D returns the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8060  func (this WebGL2RenderingContext) FuncCompressedTexSubImage2D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, imageSize GLsizei, offset GLintptr)]) {
  8061  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage2D(
  8062  		this.ref, js.Pointer(&fn),
  8063  	)
  8064  	return
  8065  }
  8066  
  8067  // CompressedTexSubImage2D calls the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8068  func (this WebGL2RenderingContext) CompressedTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, imageSize GLsizei, offset GLintptr) (ret js.Void) {
  8069  	bindings.CallWebGL2RenderingContextCompressedTexSubImage2D(
  8070  		this.ref, js.Pointer(&ret),
  8071  		uint32(target),
  8072  		int32(level),
  8073  		int32(xoffset),
  8074  		int32(yoffset),
  8075  		int32(width),
  8076  		int32(height),
  8077  		uint32(format),
  8078  		int32(imageSize),
  8079  		float64(offset),
  8080  	)
  8081  
  8082  	return
  8083  }
  8084  
  8085  // TryCompressedTexSubImage2D calls the method "WebGL2RenderingContext.compressedTexSubImage2D"
  8086  // in a try/catch block and returns (_, err, ok = false) when it went through
  8087  // the catch clause.
  8088  func (this WebGL2RenderingContext) TryCompressedTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, imageSize GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  8089  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage2D(
  8090  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8091  		uint32(target),
  8092  		int32(level),
  8093  		int32(xoffset),
  8094  		int32(yoffset),
  8095  		int32(width),
  8096  		int32(height),
  8097  		uint32(format),
  8098  		int32(imageSize),
  8099  		float64(offset),
  8100  	)
  8101  
  8102  	return
  8103  }
  8104  
  8105  // HasFuncCompressedTexSubImage2D1 returns true if the method "WebGL2RenderingContext.compressedTexSubImage2D" exists.
  8106  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage2D1() bool {
  8107  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage2D1(
  8108  		this.ref,
  8109  	)
  8110  }
  8111  
  8112  // FuncCompressedTexSubImage2D1 returns the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8113  func (this WebGL2RenderingContext) FuncCompressedTexSubImage2D1() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint)]) {
  8114  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage2D1(
  8115  		this.ref, js.Pointer(&fn),
  8116  	)
  8117  	return
  8118  }
  8119  
  8120  // CompressedTexSubImage2D1 calls the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8121  func (this WebGL2RenderingContext) CompressedTexSubImage2D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void) {
  8122  	bindings.CallWebGL2RenderingContextCompressedTexSubImage2D1(
  8123  		this.ref, js.Pointer(&ret),
  8124  		uint32(target),
  8125  		int32(level),
  8126  		int32(xoffset),
  8127  		int32(yoffset),
  8128  		int32(width),
  8129  		int32(height),
  8130  		uint32(format),
  8131  		srcData.Ref(),
  8132  		uint32(srcOffset),
  8133  		uint32(srcLengthOverride),
  8134  	)
  8135  
  8136  	return
  8137  }
  8138  
  8139  // TryCompressedTexSubImage2D1 calls the method "WebGL2RenderingContext.compressedTexSubImage2D"
  8140  // in a try/catch block and returns (_, err, ok = false) when it went through
  8141  // the catch clause.
  8142  func (this WebGL2RenderingContext) TryCompressedTexSubImage2D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void, exception js.Any, ok bool) {
  8143  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage2D1(
  8144  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8145  		uint32(target),
  8146  		int32(level),
  8147  		int32(xoffset),
  8148  		int32(yoffset),
  8149  		int32(width),
  8150  		int32(height),
  8151  		uint32(format),
  8152  		srcData.Ref(),
  8153  		uint32(srcOffset),
  8154  		uint32(srcLengthOverride),
  8155  	)
  8156  
  8157  	return
  8158  }
  8159  
  8160  // HasFuncCompressedTexSubImage2D2 returns true if the method "WebGL2RenderingContext.compressedTexSubImage2D" exists.
  8161  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage2D2() bool {
  8162  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage2D2(
  8163  		this.ref,
  8164  	)
  8165  }
  8166  
  8167  // FuncCompressedTexSubImage2D2 returns the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8168  func (this WebGL2RenderingContext) FuncCompressedTexSubImage2D2() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint)]) {
  8169  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage2D2(
  8170  		this.ref, js.Pointer(&fn),
  8171  	)
  8172  	return
  8173  }
  8174  
  8175  // CompressedTexSubImage2D2 calls the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8176  func (this WebGL2RenderingContext) CompressedTexSubImage2D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
  8177  	bindings.CallWebGL2RenderingContextCompressedTexSubImage2D2(
  8178  		this.ref, js.Pointer(&ret),
  8179  		uint32(target),
  8180  		int32(level),
  8181  		int32(xoffset),
  8182  		int32(yoffset),
  8183  		int32(width),
  8184  		int32(height),
  8185  		uint32(format),
  8186  		srcData.Ref(),
  8187  		uint32(srcOffset),
  8188  	)
  8189  
  8190  	return
  8191  }
  8192  
  8193  // TryCompressedTexSubImage2D2 calls the method "WebGL2RenderingContext.compressedTexSubImage2D"
  8194  // in a try/catch block and returns (_, err, ok = false) when it went through
  8195  // the catch clause.
  8196  func (this WebGL2RenderingContext) TryCompressedTexSubImage2D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8197  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage2D2(
  8198  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8199  		uint32(target),
  8200  		int32(level),
  8201  		int32(xoffset),
  8202  		int32(yoffset),
  8203  		int32(width),
  8204  		int32(height),
  8205  		uint32(format),
  8206  		srcData.Ref(),
  8207  		uint32(srcOffset),
  8208  	)
  8209  
  8210  	return
  8211  }
  8212  
  8213  // HasFuncCompressedTexSubImage2D3 returns true if the method "WebGL2RenderingContext.compressedTexSubImage2D" exists.
  8214  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage2D3() bool {
  8215  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage2D3(
  8216  		this.ref,
  8217  	)
  8218  }
  8219  
  8220  // FuncCompressedTexSubImage2D3 returns the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8221  func (this WebGL2RenderingContext) FuncCompressedTexSubImage2D3() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView)]) {
  8222  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage2D3(
  8223  		this.ref, js.Pointer(&fn),
  8224  	)
  8225  	return
  8226  }
  8227  
  8228  // CompressedTexSubImage2D3 calls the method "WebGL2RenderingContext.compressedTexSubImage2D".
  8229  func (this WebGL2RenderingContext) CompressedTexSubImage2D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView) (ret js.Void) {
  8230  	bindings.CallWebGL2RenderingContextCompressedTexSubImage2D3(
  8231  		this.ref, js.Pointer(&ret),
  8232  		uint32(target),
  8233  		int32(level),
  8234  		int32(xoffset),
  8235  		int32(yoffset),
  8236  		int32(width),
  8237  		int32(height),
  8238  		uint32(format),
  8239  		srcData.Ref(),
  8240  	)
  8241  
  8242  	return
  8243  }
  8244  
  8245  // TryCompressedTexSubImage2D3 calls the method "WebGL2RenderingContext.compressedTexSubImage2D"
  8246  // in a try/catch block and returns (_, err, ok = false) when it went through
  8247  // the catch clause.
  8248  func (this WebGL2RenderingContext) TryCompressedTexSubImage2D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, width GLsizei, height GLsizei, format GLenum, srcData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  8249  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage2D3(
  8250  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8251  		uint32(target),
  8252  		int32(level),
  8253  		int32(xoffset),
  8254  		int32(yoffset),
  8255  		int32(width),
  8256  		int32(height),
  8257  		uint32(format),
  8258  		srcData.Ref(),
  8259  	)
  8260  
  8261  	return
  8262  }
  8263  
  8264  // HasFuncUniform1fv returns true if the method "WebGL2RenderingContext.uniform1fv" exists.
  8265  func (this WebGL2RenderingContext) HasFuncUniform1fv() bool {
  8266  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1fv(
  8267  		this.ref,
  8268  	)
  8269  }
  8270  
  8271  // FuncUniform1fv returns the method "WebGL2RenderingContext.uniform1fv".
  8272  func (this WebGL2RenderingContext) FuncUniform1fv() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  8273  	bindings.FuncWebGL2RenderingContextUniform1fv(
  8274  		this.ref, js.Pointer(&fn),
  8275  	)
  8276  	return
  8277  }
  8278  
  8279  // Uniform1fv calls the method "WebGL2RenderingContext.uniform1fv".
  8280  func (this WebGL2RenderingContext) Uniform1fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  8281  	bindings.CallWebGL2RenderingContextUniform1fv(
  8282  		this.ref, js.Pointer(&ret),
  8283  		location.Ref(),
  8284  		data.Ref(),
  8285  		uint32(srcOffset),
  8286  		uint32(srcLength),
  8287  	)
  8288  
  8289  	return
  8290  }
  8291  
  8292  // TryUniform1fv calls the method "WebGL2RenderingContext.uniform1fv"
  8293  // in a try/catch block and returns (_, err, ok = false) when it went through
  8294  // the catch clause.
  8295  func (this WebGL2RenderingContext) TryUniform1fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  8296  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1fv(
  8297  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8298  		location.Ref(),
  8299  		data.Ref(),
  8300  		uint32(srcOffset),
  8301  		uint32(srcLength),
  8302  	)
  8303  
  8304  	return
  8305  }
  8306  
  8307  // HasFuncUniform1fv1 returns true if the method "WebGL2RenderingContext.uniform1fv" exists.
  8308  func (this WebGL2RenderingContext) HasFuncUniform1fv1() bool {
  8309  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1fv1(
  8310  		this.ref,
  8311  	)
  8312  }
  8313  
  8314  // FuncUniform1fv1 returns the method "WebGL2RenderingContext.uniform1fv".
  8315  func (this WebGL2RenderingContext) FuncUniform1fv1() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint)]) {
  8316  	bindings.FuncWebGL2RenderingContextUniform1fv1(
  8317  		this.ref, js.Pointer(&fn),
  8318  	)
  8319  	return
  8320  }
  8321  
  8322  // Uniform1fv1 calls the method "WebGL2RenderingContext.uniform1fv".
  8323  func (this WebGL2RenderingContext) Uniform1fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void) {
  8324  	bindings.CallWebGL2RenderingContextUniform1fv1(
  8325  		this.ref, js.Pointer(&ret),
  8326  		location.Ref(),
  8327  		data.Ref(),
  8328  		uint32(srcOffset),
  8329  	)
  8330  
  8331  	return
  8332  }
  8333  
  8334  // TryUniform1fv1 calls the method "WebGL2RenderingContext.uniform1fv"
  8335  // in a try/catch block and returns (_, err, ok = false) when it went through
  8336  // the catch clause.
  8337  func (this WebGL2RenderingContext) TryUniform1fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8338  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1fv1(
  8339  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8340  		location.Ref(),
  8341  		data.Ref(),
  8342  		uint32(srcOffset),
  8343  	)
  8344  
  8345  	return
  8346  }
  8347  
  8348  // HasFuncUniform1fv2 returns true if the method "WebGL2RenderingContext.uniform1fv" exists.
  8349  func (this WebGL2RenderingContext) HasFuncUniform1fv2() bool {
  8350  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1fv2(
  8351  		this.ref,
  8352  	)
  8353  }
  8354  
  8355  // FuncUniform1fv2 returns the method "WebGL2RenderingContext.uniform1fv".
  8356  func (this WebGL2RenderingContext) FuncUniform1fv2() (fn js.Func[func(location WebGLUniformLocation, data Float32List)]) {
  8357  	bindings.FuncWebGL2RenderingContextUniform1fv2(
  8358  		this.ref, js.Pointer(&fn),
  8359  	)
  8360  	return
  8361  }
  8362  
  8363  // Uniform1fv2 calls the method "WebGL2RenderingContext.uniform1fv".
  8364  func (this WebGL2RenderingContext) Uniform1fv2(location WebGLUniformLocation, data Float32List) (ret js.Void) {
  8365  	bindings.CallWebGL2RenderingContextUniform1fv2(
  8366  		this.ref, js.Pointer(&ret),
  8367  		location.Ref(),
  8368  		data.Ref(),
  8369  	)
  8370  
  8371  	return
  8372  }
  8373  
  8374  // TryUniform1fv2 calls the method "WebGL2RenderingContext.uniform1fv"
  8375  // in a try/catch block and returns (_, err, ok = false) when it went through
  8376  // the catch clause.
  8377  func (this WebGL2RenderingContext) TryUniform1fv2(location WebGLUniformLocation, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  8378  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1fv2(
  8379  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8380  		location.Ref(),
  8381  		data.Ref(),
  8382  	)
  8383  
  8384  	return
  8385  }
  8386  
  8387  // HasFuncUniform2fv returns true if the method "WebGL2RenderingContext.uniform2fv" exists.
  8388  func (this WebGL2RenderingContext) HasFuncUniform2fv() bool {
  8389  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2fv(
  8390  		this.ref,
  8391  	)
  8392  }
  8393  
  8394  // FuncUniform2fv returns the method "WebGL2RenderingContext.uniform2fv".
  8395  func (this WebGL2RenderingContext) FuncUniform2fv() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  8396  	bindings.FuncWebGL2RenderingContextUniform2fv(
  8397  		this.ref, js.Pointer(&fn),
  8398  	)
  8399  	return
  8400  }
  8401  
  8402  // Uniform2fv calls the method "WebGL2RenderingContext.uniform2fv".
  8403  func (this WebGL2RenderingContext) Uniform2fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  8404  	bindings.CallWebGL2RenderingContextUniform2fv(
  8405  		this.ref, js.Pointer(&ret),
  8406  		location.Ref(),
  8407  		data.Ref(),
  8408  		uint32(srcOffset),
  8409  		uint32(srcLength),
  8410  	)
  8411  
  8412  	return
  8413  }
  8414  
  8415  // TryUniform2fv calls the method "WebGL2RenderingContext.uniform2fv"
  8416  // in a try/catch block and returns (_, err, ok = false) when it went through
  8417  // the catch clause.
  8418  func (this WebGL2RenderingContext) TryUniform2fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  8419  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2fv(
  8420  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8421  		location.Ref(),
  8422  		data.Ref(),
  8423  		uint32(srcOffset),
  8424  		uint32(srcLength),
  8425  	)
  8426  
  8427  	return
  8428  }
  8429  
  8430  // HasFuncUniform2fv1 returns true if the method "WebGL2RenderingContext.uniform2fv" exists.
  8431  func (this WebGL2RenderingContext) HasFuncUniform2fv1() bool {
  8432  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2fv1(
  8433  		this.ref,
  8434  	)
  8435  }
  8436  
  8437  // FuncUniform2fv1 returns the method "WebGL2RenderingContext.uniform2fv".
  8438  func (this WebGL2RenderingContext) FuncUniform2fv1() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint)]) {
  8439  	bindings.FuncWebGL2RenderingContextUniform2fv1(
  8440  		this.ref, js.Pointer(&fn),
  8441  	)
  8442  	return
  8443  }
  8444  
  8445  // Uniform2fv1 calls the method "WebGL2RenderingContext.uniform2fv".
  8446  func (this WebGL2RenderingContext) Uniform2fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void) {
  8447  	bindings.CallWebGL2RenderingContextUniform2fv1(
  8448  		this.ref, js.Pointer(&ret),
  8449  		location.Ref(),
  8450  		data.Ref(),
  8451  		uint32(srcOffset),
  8452  	)
  8453  
  8454  	return
  8455  }
  8456  
  8457  // TryUniform2fv1 calls the method "WebGL2RenderingContext.uniform2fv"
  8458  // in a try/catch block and returns (_, err, ok = false) when it went through
  8459  // the catch clause.
  8460  func (this WebGL2RenderingContext) TryUniform2fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8461  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2fv1(
  8462  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8463  		location.Ref(),
  8464  		data.Ref(),
  8465  		uint32(srcOffset),
  8466  	)
  8467  
  8468  	return
  8469  }
  8470  
  8471  // HasFuncUniform2fv2 returns true if the method "WebGL2RenderingContext.uniform2fv" exists.
  8472  func (this WebGL2RenderingContext) HasFuncUniform2fv2() bool {
  8473  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2fv2(
  8474  		this.ref,
  8475  	)
  8476  }
  8477  
  8478  // FuncUniform2fv2 returns the method "WebGL2RenderingContext.uniform2fv".
  8479  func (this WebGL2RenderingContext) FuncUniform2fv2() (fn js.Func[func(location WebGLUniformLocation, data Float32List)]) {
  8480  	bindings.FuncWebGL2RenderingContextUniform2fv2(
  8481  		this.ref, js.Pointer(&fn),
  8482  	)
  8483  	return
  8484  }
  8485  
  8486  // Uniform2fv2 calls the method "WebGL2RenderingContext.uniform2fv".
  8487  func (this WebGL2RenderingContext) Uniform2fv2(location WebGLUniformLocation, data Float32List) (ret js.Void) {
  8488  	bindings.CallWebGL2RenderingContextUniform2fv2(
  8489  		this.ref, js.Pointer(&ret),
  8490  		location.Ref(),
  8491  		data.Ref(),
  8492  	)
  8493  
  8494  	return
  8495  }
  8496  
  8497  // TryUniform2fv2 calls the method "WebGL2RenderingContext.uniform2fv"
  8498  // in a try/catch block and returns (_, err, ok = false) when it went through
  8499  // the catch clause.
  8500  func (this WebGL2RenderingContext) TryUniform2fv2(location WebGLUniformLocation, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  8501  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2fv2(
  8502  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8503  		location.Ref(),
  8504  		data.Ref(),
  8505  	)
  8506  
  8507  	return
  8508  }
  8509  
  8510  // HasFuncUniform3fv returns true if the method "WebGL2RenderingContext.uniform3fv" exists.
  8511  func (this WebGL2RenderingContext) HasFuncUniform3fv() bool {
  8512  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3fv(
  8513  		this.ref,
  8514  	)
  8515  }
  8516  
  8517  // FuncUniform3fv returns the method "WebGL2RenderingContext.uniform3fv".
  8518  func (this WebGL2RenderingContext) FuncUniform3fv() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  8519  	bindings.FuncWebGL2RenderingContextUniform3fv(
  8520  		this.ref, js.Pointer(&fn),
  8521  	)
  8522  	return
  8523  }
  8524  
  8525  // Uniform3fv calls the method "WebGL2RenderingContext.uniform3fv".
  8526  func (this WebGL2RenderingContext) Uniform3fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  8527  	bindings.CallWebGL2RenderingContextUniform3fv(
  8528  		this.ref, js.Pointer(&ret),
  8529  		location.Ref(),
  8530  		data.Ref(),
  8531  		uint32(srcOffset),
  8532  		uint32(srcLength),
  8533  	)
  8534  
  8535  	return
  8536  }
  8537  
  8538  // TryUniform3fv calls the method "WebGL2RenderingContext.uniform3fv"
  8539  // in a try/catch block and returns (_, err, ok = false) when it went through
  8540  // the catch clause.
  8541  func (this WebGL2RenderingContext) TryUniform3fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  8542  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3fv(
  8543  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8544  		location.Ref(),
  8545  		data.Ref(),
  8546  		uint32(srcOffset),
  8547  		uint32(srcLength),
  8548  	)
  8549  
  8550  	return
  8551  }
  8552  
  8553  // HasFuncUniform3fv1 returns true if the method "WebGL2RenderingContext.uniform3fv" exists.
  8554  func (this WebGL2RenderingContext) HasFuncUniform3fv1() bool {
  8555  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3fv1(
  8556  		this.ref,
  8557  	)
  8558  }
  8559  
  8560  // FuncUniform3fv1 returns the method "WebGL2RenderingContext.uniform3fv".
  8561  func (this WebGL2RenderingContext) FuncUniform3fv1() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint)]) {
  8562  	bindings.FuncWebGL2RenderingContextUniform3fv1(
  8563  		this.ref, js.Pointer(&fn),
  8564  	)
  8565  	return
  8566  }
  8567  
  8568  // Uniform3fv1 calls the method "WebGL2RenderingContext.uniform3fv".
  8569  func (this WebGL2RenderingContext) Uniform3fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void) {
  8570  	bindings.CallWebGL2RenderingContextUniform3fv1(
  8571  		this.ref, js.Pointer(&ret),
  8572  		location.Ref(),
  8573  		data.Ref(),
  8574  		uint32(srcOffset),
  8575  	)
  8576  
  8577  	return
  8578  }
  8579  
  8580  // TryUniform3fv1 calls the method "WebGL2RenderingContext.uniform3fv"
  8581  // in a try/catch block and returns (_, err, ok = false) when it went through
  8582  // the catch clause.
  8583  func (this WebGL2RenderingContext) TryUniform3fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8584  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3fv1(
  8585  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8586  		location.Ref(),
  8587  		data.Ref(),
  8588  		uint32(srcOffset),
  8589  	)
  8590  
  8591  	return
  8592  }
  8593  
  8594  // HasFuncUniform3fv2 returns true if the method "WebGL2RenderingContext.uniform3fv" exists.
  8595  func (this WebGL2RenderingContext) HasFuncUniform3fv2() bool {
  8596  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3fv2(
  8597  		this.ref,
  8598  	)
  8599  }
  8600  
  8601  // FuncUniform3fv2 returns the method "WebGL2RenderingContext.uniform3fv".
  8602  func (this WebGL2RenderingContext) FuncUniform3fv2() (fn js.Func[func(location WebGLUniformLocation, data Float32List)]) {
  8603  	bindings.FuncWebGL2RenderingContextUniform3fv2(
  8604  		this.ref, js.Pointer(&fn),
  8605  	)
  8606  	return
  8607  }
  8608  
  8609  // Uniform3fv2 calls the method "WebGL2RenderingContext.uniform3fv".
  8610  func (this WebGL2RenderingContext) Uniform3fv2(location WebGLUniformLocation, data Float32List) (ret js.Void) {
  8611  	bindings.CallWebGL2RenderingContextUniform3fv2(
  8612  		this.ref, js.Pointer(&ret),
  8613  		location.Ref(),
  8614  		data.Ref(),
  8615  	)
  8616  
  8617  	return
  8618  }
  8619  
  8620  // TryUniform3fv2 calls the method "WebGL2RenderingContext.uniform3fv"
  8621  // in a try/catch block and returns (_, err, ok = false) when it went through
  8622  // the catch clause.
  8623  func (this WebGL2RenderingContext) TryUniform3fv2(location WebGLUniformLocation, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  8624  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3fv2(
  8625  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8626  		location.Ref(),
  8627  		data.Ref(),
  8628  	)
  8629  
  8630  	return
  8631  }
  8632  
  8633  // HasFuncUniform4fv returns true if the method "WebGL2RenderingContext.uniform4fv" exists.
  8634  func (this WebGL2RenderingContext) HasFuncUniform4fv() bool {
  8635  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4fv(
  8636  		this.ref,
  8637  	)
  8638  }
  8639  
  8640  // FuncUniform4fv returns the method "WebGL2RenderingContext.uniform4fv".
  8641  func (this WebGL2RenderingContext) FuncUniform4fv() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  8642  	bindings.FuncWebGL2RenderingContextUniform4fv(
  8643  		this.ref, js.Pointer(&fn),
  8644  	)
  8645  	return
  8646  }
  8647  
  8648  // Uniform4fv calls the method "WebGL2RenderingContext.uniform4fv".
  8649  func (this WebGL2RenderingContext) Uniform4fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  8650  	bindings.CallWebGL2RenderingContextUniform4fv(
  8651  		this.ref, js.Pointer(&ret),
  8652  		location.Ref(),
  8653  		data.Ref(),
  8654  		uint32(srcOffset),
  8655  		uint32(srcLength),
  8656  	)
  8657  
  8658  	return
  8659  }
  8660  
  8661  // TryUniform4fv calls the method "WebGL2RenderingContext.uniform4fv"
  8662  // in a try/catch block and returns (_, err, ok = false) when it went through
  8663  // the catch clause.
  8664  func (this WebGL2RenderingContext) TryUniform4fv(location WebGLUniformLocation, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  8665  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4fv(
  8666  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8667  		location.Ref(),
  8668  		data.Ref(),
  8669  		uint32(srcOffset),
  8670  		uint32(srcLength),
  8671  	)
  8672  
  8673  	return
  8674  }
  8675  
  8676  // HasFuncUniform4fv1 returns true if the method "WebGL2RenderingContext.uniform4fv" exists.
  8677  func (this WebGL2RenderingContext) HasFuncUniform4fv1() bool {
  8678  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4fv1(
  8679  		this.ref,
  8680  	)
  8681  }
  8682  
  8683  // FuncUniform4fv1 returns the method "WebGL2RenderingContext.uniform4fv".
  8684  func (this WebGL2RenderingContext) FuncUniform4fv1() (fn js.Func[func(location WebGLUniformLocation, data Float32List, srcOffset GLuint)]) {
  8685  	bindings.FuncWebGL2RenderingContextUniform4fv1(
  8686  		this.ref, js.Pointer(&fn),
  8687  	)
  8688  	return
  8689  }
  8690  
  8691  // Uniform4fv1 calls the method "WebGL2RenderingContext.uniform4fv".
  8692  func (this WebGL2RenderingContext) Uniform4fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void) {
  8693  	bindings.CallWebGL2RenderingContextUniform4fv1(
  8694  		this.ref, js.Pointer(&ret),
  8695  		location.Ref(),
  8696  		data.Ref(),
  8697  		uint32(srcOffset),
  8698  	)
  8699  
  8700  	return
  8701  }
  8702  
  8703  // TryUniform4fv1 calls the method "WebGL2RenderingContext.uniform4fv"
  8704  // in a try/catch block and returns (_, err, ok = false) when it went through
  8705  // the catch clause.
  8706  func (this WebGL2RenderingContext) TryUniform4fv1(location WebGLUniformLocation, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8707  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4fv1(
  8708  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8709  		location.Ref(),
  8710  		data.Ref(),
  8711  		uint32(srcOffset),
  8712  	)
  8713  
  8714  	return
  8715  }
  8716  
  8717  // HasFuncUniform4fv2 returns true if the method "WebGL2RenderingContext.uniform4fv" exists.
  8718  func (this WebGL2RenderingContext) HasFuncUniform4fv2() bool {
  8719  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4fv2(
  8720  		this.ref,
  8721  	)
  8722  }
  8723  
  8724  // FuncUniform4fv2 returns the method "WebGL2RenderingContext.uniform4fv".
  8725  func (this WebGL2RenderingContext) FuncUniform4fv2() (fn js.Func[func(location WebGLUniformLocation, data Float32List)]) {
  8726  	bindings.FuncWebGL2RenderingContextUniform4fv2(
  8727  		this.ref, js.Pointer(&fn),
  8728  	)
  8729  	return
  8730  }
  8731  
  8732  // Uniform4fv2 calls the method "WebGL2RenderingContext.uniform4fv".
  8733  func (this WebGL2RenderingContext) Uniform4fv2(location WebGLUniformLocation, data Float32List) (ret js.Void) {
  8734  	bindings.CallWebGL2RenderingContextUniform4fv2(
  8735  		this.ref, js.Pointer(&ret),
  8736  		location.Ref(),
  8737  		data.Ref(),
  8738  	)
  8739  
  8740  	return
  8741  }
  8742  
  8743  // TryUniform4fv2 calls the method "WebGL2RenderingContext.uniform4fv"
  8744  // in a try/catch block and returns (_, err, ok = false) when it went through
  8745  // the catch clause.
  8746  func (this WebGL2RenderingContext) TryUniform4fv2(location WebGLUniformLocation, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  8747  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4fv2(
  8748  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8749  		location.Ref(),
  8750  		data.Ref(),
  8751  	)
  8752  
  8753  	return
  8754  }
  8755  
  8756  // HasFuncUniform1iv returns true if the method "WebGL2RenderingContext.uniform1iv" exists.
  8757  func (this WebGL2RenderingContext) HasFuncUniform1iv() bool {
  8758  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1iv(
  8759  		this.ref,
  8760  	)
  8761  }
  8762  
  8763  // FuncUniform1iv returns the method "WebGL2RenderingContext.uniform1iv".
  8764  func (this WebGL2RenderingContext) FuncUniform1iv() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint)]) {
  8765  	bindings.FuncWebGL2RenderingContextUniform1iv(
  8766  		this.ref, js.Pointer(&fn),
  8767  	)
  8768  	return
  8769  }
  8770  
  8771  // Uniform1iv calls the method "WebGL2RenderingContext.uniform1iv".
  8772  func (this WebGL2RenderingContext) Uniform1iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  8773  	bindings.CallWebGL2RenderingContextUniform1iv(
  8774  		this.ref, js.Pointer(&ret),
  8775  		location.Ref(),
  8776  		data.Ref(),
  8777  		uint32(srcOffset),
  8778  		uint32(srcLength),
  8779  	)
  8780  
  8781  	return
  8782  }
  8783  
  8784  // TryUniform1iv calls the method "WebGL2RenderingContext.uniform1iv"
  8785  // in a try/catch block and returns (_, err, ok = false) when it went through
  8786  // the catch clause.
  8787  func (this WebGL2RenderingContext) TryUniform1iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  8788  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1iv(
  8789  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8790  		location.Ref(),
  8791  		data.Ref(),
  8792  		uint32(srcOffset),
  8793  		uint32(srcLength),
  8794  	)
  8795  
  8796  	return
  8797  }
  8798  
  8799  // HasFuncUniform1iv1 returns true if the method "WebGL2RenderingContext.uniform1iv" exists.
  8800  func (this WebGL2RenderingContext) HasFuncUniform1iv1() bool {
  8801  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1iv1(
  8802  		this.ref,
  8803  	)
  8804  }
  8805  
  8806  // FuncUniform1iv1 returns the method "WebGL2RenderingContext.uniform1iv".
  8807  func (this WebGL2RenderingContext) FuncUniform1iv1() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint)]) {
  8808  	bindings.FuncWebGL2RenderingContextUniform1iv1(
  8809  		this.ref, js.Pointer(&fn),
  8810  	)
  8811  	return
  8812  }
  8813  
  8814  // Uniform1iv1 calls the method "WebGL2RenderingContext.uniform1iv".
  8815  func (this WebGL2RenderingContext) Uniform1iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void) {
  8816  	bindings.CallWebGL2RenderingContextUniform1iv1(
  8817  		this.ref, js.Pointer(&ret),
  8818  		location.Ref(),
  8819  		data.Ref(),
  8820  		uint32(srcOffset),
  8821  	)
  8822  
  8823  	return
  8824  }
  8825  
  8826  // TryUniform1iv1 calls the method "WebGL2RenderingContext.uniform1iv"
  8827  // in a try/catch block and returns (_, err, ok = false) when it went through
  8828  // the catch clause.
  8829  func (this WebGL2RenderingContext) TryUniform1iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8830  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1iv1(
  8831  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8832  		location.Ref(),
  8833  		data.Ref(),
  8834  		uint32(srcOffset),
  8835  	)
  8836  
  8837  	return
  8838  }
  8839  
  8840  // HasFuncUniform1iv2 returns true if the method "WebGL2RenderingContext.uniform1iv" exists.
  8841  func (this WebGL2RenderingContext) HasFuncUniform1iv2() bool {
  8842  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1iv2(
  8843  		this.ref,
  8844  	)
  8845  }
  8846  
  8847  // FuncUniform1iv2 returns the method "WebGL2RenderingContext.uniform1iv".
  8848  func (this WebGL2RenderingContext) FuncUniform1iv2() (fn js.Func[func(location WebGLUniformLocation, data Int32List)]) {
  8849  	bindings.FuncWebGL2RenderingContextUniform1iv2(
  8850  		this.ref, js.Pointer(&fn),
  8851  	)
  8852  	return
  8853  }
  8854  
  8855  // Uniform1iv2 calls the method "WebGL2RenderingContext.uniform1iv".
  8856  func (this WebGL2RenderingContext) Uniform1iv2(location WebGLUniformLocation, data Int32List) (ret js.Void) {
  8857  	bindings.CallWebGL2RenderingContextUniform1iv2(
  8858  		this.ref, js.Pointer(&ret),
  8859  		location.Ref(),
  8860  		data.Ref(),
  8861  	)
  8862  
  8863  	return
  8864  }
  8865  
  8866  // TryUniform1iv2 calls the method "WebGL2RenderingContext.uniform1iv"
  8867  // in a try/catch block and returns (_, err, ok = false) when it went through
  8868  // the catch clause.
  8869  func (this WebGL2RenderingContext) TryUniform1iv2(location WebGLUniformLocation, data Int32List) (ret js.Void, exception js.Any, ok bool) {
  8870  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1iv2(
  8871  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8872  		location.Ref(),
  8873  		data.Ref(),
  8874  	)
  8875  
  8876  	return
  8877  }
  8878  
  8879  // HasFuncUniform2iv returns true if the method "WebGL2RenderingContext.uniform2iv" exists.
  8880  func (this WebGL2RenderingContext) HasFuncUniform2iv() bool {
  8881  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2iv(
  8882  		this.ref,
  8883  	)
  8884  }
  8885  
  8886  // FuncUniform2iv returns the method "WebGL2RenderingContext.uniform2iv".
  8887  func (this WebGL2RenderingContext) FuncUniform2iv() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint)]) {
  8888  	bindings.FuncWebGL2RenderingContextUniform2iv(
  8889  		this.ref, js.Pointer(&fn),
  8890  	)
  8891  	return
  8892  }
  8893  
  8894  // Uniform2iv calls the method "WebGL2RenderingContext.uniform2iv".
  8895  func (this WebGL2RenderingContext) Uniform2iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  8896  	bindings.CallWebGL2RenderingContextUniform2iv(
  8897  		this.ref, js.Pointer(&ret),
  8898  		location.Ref(),
  8899  		data.Ref(),
  8900  		uint32(srcOffset),
  8901  		uint32(srcLength),
  8902  	)
  8903  
  8904  	return
  8905  }
  8906  
  8907  // TryUniform2iv calls the method "WebGL2RenderingContext.uniform2iv"
  8908  // in a try/catch block and returns (_, err, ok = false) when it went through
  8909  // the catch clause.
  8910  func (this WebGL2RenderingContext) TryUniform2iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  8911  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2iv(
  8912  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8913  		location.Ref(),
  8914  		data.Ref(),
  8915  		uint32(srcOffset),
  8916  		uint32(srcLength),
  8917  	)
  8918  
  8919  	return
  8920  }
  8921  
  8922  // HasFuncUniform2iv1 returns true if the method "WebGL2RenderingContext.uniform2iv" exists.
  8923  func (this WebGL2RenderingContext) HasFuncUniform2iv1() bool {
  8924  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2iv1(
  8925  		this.ref,
  8926  	)
  8927  }
  8928  
  8929  // FuncUniform2iv1 returns the method "WebGL2RenderingContext.uniform2iv".
  8930  func (this WebGL2RenderingContext) FuncUniform2iv1() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint)]) {
  8931  	bindings.FuncWebGL2RenderingContextUniform2iv1(
  8932  		this.ref, js.Pointer(&fn),
  8933  	)
  8934  	return
  8935  }
  8936  
  8937  // Uniform2iv1 calls the method "WebGL2RenderingContext.uniform2iv".
  8938  func (this WebGL2RenderingContext) Uniform2iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void) {
  8939  	bindings.CallWebGL2RenderingContextUniform2iv1(
  8940  		this.ref, js.Pointer(&ret),
  8941  		location.Ref(),
  8942  		data.Ref(),
  8943  		uint32(srcOffset),
  8944  	)
  8945  
  8946  	return
  8947  }
  8948  
  8949  // TryUniform2iv1 calls the method "WebGL2RenderingContext.uniform2iv"
  8950  // in a try/catch block and returns (_, err, ok = false) when it went through
  8951  // the catch clause.
  8952  func (this WebGL2RenderingContext) TryUniform2iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  8953  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2iv1(
  8954  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8955  		location.Ref(),
  8956  		data.Ref(),
  8957  		uint32(srcOffset),
  8958  	)
  8959  
  8960  	return
  8961  }
  8962  
  8963  // HasFuncUniform2iv2 returns true if the method "WebGL2RenderingContext.uniform2iv" exists.
  8964  func (this WebGL2RenderingContext) HasFuncUniform2iv2() bool {
  8965  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2iv2(
  8966  		this.ref,
  8967  	)
  8968  }
  8969  
  8970  // FuncUniform2iv2 returns the method "WebGL2RenderingContext.uniform2iv".
  8971  func (this WebGL2RenderingContext) FuncUniform2iv2() (fn js.Func[func(location WebGLUniformLocation, data Int32List)]) {
  8972  	bindings.FuncWebGL2RenderingContextUniform2iv2(
  8973  		this.ref, js.Pointer(&fn),
  8974  	)
  8975  	return
  8976  }
  8977  
  8978  // Uniform2iv2 calls the method "WebGL2RenderingContext.uniform2iv".
  8979  func (this WebGL2RenderingContext) Uniform2iv2(location WebGLUniformLocation, data Int32List) (ret js.Void) {
  8980  	bindings.CallWebGL2RenderingContextUniform2iv2(
  8981  		this.ref, js.Pointer(&ret),
  8982  		location.Ref(),
  8983  		data.Ref(),
  8984  	)
  8985  
  8986  	return
  8987  }
  8988  
  8989  // TryUniform2iv2 calls the method "WebGL2RenderingContext.uniform2iv"
  8990  // in a try/catch block and returns (_, err, ok = false) when it went through
  8991  // the catch clause.
  8992  func (this WebGL2RenderingContext) TryUniform2iv2(location WebGLUniformLocation, data Int32List) (ret js.Void, exception js.Any, ok bool) {
  8993  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2iv2(
  8994  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  8995  		location.Ref(),
  8996  		data.Ref(),
  8997  	)
  8998  
  8999  	return
  9000  }
  9001  
  9002  // HasFuncUniform3iv returns true if the method "WebGL2RenderingContext.uniform3iv" exists.
  9003  func (this WebGL2RenderingContext) HasFuncUniform3iv() bool {
  9004  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3iv(
  9005  		this.ref,
  9006  	)
  9007  }
  9008  
  9009  // FuncUniform3iv returns the method "WebGL2RenderingContext.uniform3iv".
  9010  func (this WebGL2RenderingContext) FuncUniform3iv() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint)]) {
  9011  	bindings.FuncWebGL2RenderingContextUniform3iv(
  9012  		this.ref, js.Pointer(&fn),
  9013  	)
  9014  	return
  9015  }
  9016  
  9017  // Uniform3iv calls the method "WebGL2RenderingContext.uniform3iv".
  9018  func (this WebGL2RenderingContext) Uniform3iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  9019  	bindings.CallWebGL2RenderingContextUniform3iv(
  9020  		this.ref, js.Pointer(&ret),
  9021  		location.Ref(),
  9022  		data.Ref(),
  9023  		uint32(srcOffset),
  9024  		uint32(srcLength),
  9025  	)
  9026  
  9027  	return
  9028  }
  9029  
  9030  // TryUniform3iv calls the method "WebGL2RenderingContext.uniform3iv"
  9031  // in a try/catch block and returns (_, err, ok = false) when it went through
  9032  // the catch clause.
  9033  func (this WebGL2RenderingContext) TryUniform3iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  9034  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3iv(
  9035  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9036  		location.Ref(),
  9037  		data.Ref(),
  9038  		uint32(srcOffset),
  9039  		uint32(srcLength),
  9040  	)
  9041  
  9042  	return
  9043  }
  9044  
  9045  // HasFuncUniform3iv1 returns true if the method "WebGL2RenderingContext.uniform3iv" exists.
  9046  func (this WebGL2RenderingContext) HasFuncUniform3iv1() bool {
  9047  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3iv1(
  9048  		this.ref,
  9049  	)
  9050  }
  9051  
  9052  // FuncUniform3iv1 returns the method "WebGL2RenderingContext.uniform3iv".
  9053  func (this WebGL2RenderingContext) FuncUniform3iv1() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint)]) {
  9054  	bindings.FuncWebGL2RenderingContextUniform3iv1(
  9055  		this.ref, js.Pointer(&fn),
  9056  	)
  9057  	return
  9058  }
  9059  
  9060  // Uniform3iv1 calls the method "WebGL2RenderingContext.uniform3iv".
  9061  func (this WebGL2RenderingContext) Uniform3iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void) {
  9062  	bindings.CallWebGL2RenderingContextUniform3iv1(
  9063  		this.ref, js.Pointer(&ret),
  9064  		location.Ref(),
  9065  		data.Ref(),
  9066  		uint32(srcOffset),
  9067  	)
  9068  
  9069  	return
  9070  }
  9071  
  9072  // TryUniform3iv1 calls the method "WebGL2RenderingContext.uniform3iv"
  9073  // in a try/catch block and returns (_, err, ok = false) when it went through
  9074  // the catch clause.
  9075  func (this WebGL2RenderingContext) TryUniform3iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9076  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3iv1(
  9077  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9078  		location.Ref(),
  9079  		data.Ref(),
  9080  		uint32(srcOffset),
  9081  	)
  9082  
  9083  	return
  9084  }
  9085  
  9086  // HasFuncUniform3iv2 returns true if the method "WebGL2RenderingContext.uniform3iv" exists.
  9087  func (this WebGL2RenderingContext) HasFuncUniform3iv2() bool {
  9088  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3iv2(
  9089  		this.ref,
  9090  	)
  9091  }
  9092  
  9093  // FuncUniform3iv2 returns the method "WebGL2RenderingContext.uniform3iv".
  9094  func (this WebGL2RenderingContext) FuncUniform3iv2() (fn js.Func[func(location WebGLUniformLocation, data Int32List)]) {
  9095  	bindings.FuncWebGL2RenderingContextUniform3iv2(
  9096  		this.ref, js.Pointer(&fn),
  9097  	)
  9098  	return
  9099  }
  9100  
  9101  // Uniform3iv2 calls the method "WebGL2RenderingContext.uniform3iv".
  9102  func (this WebGL2RenderingContext) Uniform3iv2(location WebGLUniformLocation, data Int32List) (ret js.Void) {
  9103  	bindings.CallWebGL2RenderingContextUniform3iv2(
  9104  		this.ref, js.Pointer(&ret),
  9105  		location.Ref(),
  9106  		data.Ref(),
  9107  	)
  9108  
  9109  	return
  9110  }
  9111  
  9112  // TryUniform3iv2 calls the method "WebGL2RenderingContext.uniform3iv"
  9113  // in a try/catch block and returns (_, err, ok = false) when it went through
  9114  // the catch clause.
  9115  func (this WebGL2RenderingContext) TryUniform3iv2(location WebGLUniformLocation, data Int32List) (ret js.Void, exception js.Any, ok bool) {
  9116  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3iv2(
  9117  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9118  		location.Ref(),
  9119  		data.Ref(),
  9120  	)
  9121  
  9122  	return
  9123  }
  9124  
  9125  // HasFuncUniform4iv returns true if the method "WebGL2RenderingContext.uniform4iv" exists.
  9126  func (this WebGL2RenderingContext) HasFuncUniform4iv() bool {
  9127  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4iv(
  9128  		this.ref,
  9129  	)
  9130  }
  9131  
  9132  // FuncUniform4iv returns the method "WebGL2RenderingContext.uniform4iv".
  9133  func (this WebGL2RenderingContext) FuncUniform4iv() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint)]) {
  9134  	bindings.FuncWebGL2RenderingContextUniform4iv(
  9135  		this.ref, js.Pointer(&fn),
  9136  	)
  9137  	return
  9138  }
  9139  
  9140  // Uniform4iv calls the method "WebGL2RenderingContext.uniform4iv".
  9141  func (this WebGL2RenderingContext) Uniform4iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  9142  	bindings.CallWebGL2RenderingContextUniform4iv(
  9143  		this.ref, js.Pointer(&ret),
  9144  		location.Ref(),
  9145  		data.Ref(),
  9146  		uint32(srcOffset),
  9147  		uint32(srcLength),
  9148  	)
  9149  
  9150  	return
  9151  }
  9152  
  9153  // TryUniform4iv calls the method "WebGL2RenderingContext.uniform4iv"
  9154  // in a try/catch block and returns (_, err, ok = false) when it went through
  9155  // the catch clause.
  9156  func (this WebGL2RenderingContext) TryUniform4iv(location WebGLUniformLocation, data Int32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  9157  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4iv(
  9158  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9159  		location.Ref(),
  9160  		data.Ref(),
  9161  		uint32(srcOffset),
  9162  		uint32(srcLength),
  9163  	)
  9164  
  9165  	return
  9166  }
  9167  
  9168  // HasFuncUniform4iv1 returns true if the method "WebGL2RenderingContext.uniform4iv" exists.
  9169  func (this WebGL2RenderingContext) HasFuncUniform4iv1() bool {
  9170  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4iv1(
  9171  		this.ref,
  9172  	)
  9173  }
  9174  
  9175  // FuncUniform4iv1 returns the method "WebGL2RenderingContext.uniform4iv".
  9176  func (this WebGL2RenderingContext) FuncUniform4iv1() (fn js.Func[func(location WebGLUniformLocation, data Int32List, srcOffset GLuint)]) {
  9177  	bindings.FuncWebGL2RenderingContextUniform4iv1(
  9178  		this.ref, js.Pointer(&fn),
  9179  	)
  9180  	return
  9181  }
  9182  
  9183  // Uniform4iv1 calls the method "WebGL2RenderingContext.uniform4iv".
  9184  func (this WebGL2RenderingContext) Uniform4iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void) {
  9185  	bindings.CallWebGL2RenderingContextUniform4iv1(
  9186  		this.ref, js.Pointer(&ret),
  9187  		location.Ref(),
  9188  		data.Ref(),
  9189  		uint32(srcOffset),
  9190  	)
  9191  
  9192  	return
  9193  }
  9194  
  9195  // TryUniform4iv1 calls the method "WebGL2RenderingContext.uniform4iv"
  9196  // in a try/catch block and returns (_, err, ok = false) when it went through
  9197  // the catch clause.
  9198  func (this WebGL2RenderingContext) TryUniform4iv1(location WebGLUniformLocation, data Int32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9199  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4iv1(
  9200  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9201  		location.Ref(),
  9202  		data.Ref(),
  9203  		uint32(srcOffset),
  9204  	)
  9205  
  9206  	return
  9207  }
  9208  
  9209  // HasFuncUniform4iv2 returns true if the method "WebGL2RenderingContext.uniform4iv" exists.
  9210  func (this WebGL2RenderingContext) HasFuncUniform4iv2() bool {
  9211  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4iv2(
  9212  		this.ref,
  9213  	)
  9214  }
  9215  
  9216  // FuncUniform4iv2 returns the method "WebGL2RenderingContext.uniform4iv".
  9217  func (this WebGL2RenderingContext) FuncUniform4iv2() (fn js.Func[func(location WebGLUniformLocation, data Int32List)]) {
  9218  	bindings.FuncWebGL2RenderingContextUniform4iv2(
  9219  		this.ref, js.Pointer(&fn),
  9220  	)
  9221  	return
  9222  }
  9223  
  9224  // Uniform4iv2 calls the method "WebGL2RenderingContext.uniform4iv".
  9225  func (this WebGL2RenderingContext) Uniform4iv2(location WebGLUniformLocation, data Int32List) (ret js.Void) {
  9226  	bindings.CallWebGL2RenderingContextUniform4iv2(
  9227  		this.ref, js.Pointer(&ret),
  9228  		location.Ref(),
  9229  		data.Ref(),
  9230  	)
  9231  
  9232  	return
  9233  }
  9234  
  9235  // TryUniform4iv2 calls the method "WebGL2RenderingContext.uniform4iv"
  9236  // in a try/catch block and returns (_, err, ok = false) when it went through
  9237  // the catch clause.
  9238  func (this WebGL2RenderingContext) TryUniform4iv2(location WebGLUniformLocation, data Int32List) (ret js.Void, exception js.Any, ok bool) {
  9239  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4iv2(
  9240  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9241  		location.Ref(),
  9242  		data.Ref(),
  9243  	)
  9244  
  9245  	return
  9246  }
  9247  
  9248  // HasFuncUniformMatrix2fv returns true if the method "WebGL2RenderingContext.uniformMatrix2fv" exists.
  9249  func (this WebGL2RenderingContext) HasFuncUniformMatrix2fv() bool {
  9250  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2fv(
  9251  		this.ref,
  9252  	)
  9253  }
  9254  
  9255  // FuncUniformMatrix2fv returns the method "WebGL2RenderingContext.uniformMatrix2fv".
  9256  func (this WebGL2RenderingContext) FuncUniformMatrix2fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  9257  	bindings.FuncWebGL2RenderingContextUniformMatrix2fv(
  9258  		this.ref, js.Pointer(&fn),
  9259  	)
  9260  	return
  9261  }
  9262  
  9263  // UniformMatrix2fv calls the method "WebGL2RenderingContext.uniformMatrix2fv".
  9264  func (this WebGL2RenderingContext) UniformMatrix2fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  9265  	bindings.CallWebGL2RenderingContextUniformMatrix2fv(
  9266  		this.ref, js.Pointer(&ret),
  9267  		location.Ref(),
  9268  		js.Bool(bool(transpose)),
  9269  		data.Ref(),
  9270  		uint32(srcOffset),
  9271  		uint32(srcLength),
  9272  	)
  9273  
  9274  	return
  9275  }
  9276  
  9277  // TryUniformMatrix2fv calls the method "WebGL2RenderingContext.uniformMatrix2fv"
  9278  // in a try/catch block and returns (_, err, ok = false) when it went through
  9279  // the catch clause.
  9280  func (this WebGL2RenderingContext) TryUniformMatrix2fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  9281  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2fv(
  9282  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9283  		location.Ref(),
  9284  		js.Bool(bool(transpose)),
  9285  		data.Ref(),
  9286  		uint32(srcOffset),
  9287  		uint32(srcLength),
  9288  	)
  9289  
  9290  	return
  9291  }
  9292  
  9293  // HasFuncUniformMatrix2fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix2fv" exists.
  9294  func (this WebGL2RenderingContext) HasFuncUniformMatrix2fv1() bool {
  9295  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2fv1(
  9296  		this.ref,
  9297  	)
  9298  }
  9299  
  9300  // FuncUniformMatrix2fv1 returns the method "WebGL2RenderingContext.uniformMatrix2fv".
  9301  func (this WebGL2RenderingContext) FuncUniformMatrix2fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
  9302  	bindings.FuncWebGL2RenderingContextUniformMatrix2fv1(
  9303  		this.ref, js.Pointer(&fn),
  9304  	)
  9305  	return
  9306  }
  9307  
  9308  // UniformMatrix2fv1 calls the method "WebGL2RenderingContext.uniformMatrix2fv".
  9309  func (this WebGL2RenderingContext) UniformMatrix2fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
  9310  	bindings.CallWebGL2RenderingContextUniformMatrix2fv1(
  9311  		this.ref, js.Pointer(&ret),
  9312  		location.Ref(),
  9313  		js.Bool(bool(transpose)),
  9314  		data.Ref(),
  9315  		uint32(srcOffset),
  9316  	)
  9317  
  9318  	return
  9319  }
  9320  
  9321  // TryUniformMatrix2fv1 calls the method "WebGL2RenderingContext.uniformMatrix2fv"
  9322  // in a try/catch block and returns (_, err, ok = false) when it went through
  9323  // the catch clause.
  9324  func (this WebGL2RenderingContext) TryUniformMatrix2fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9325  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2fv1(
  9326  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9327  		location.Ref(),
  9328  		js.Bool(bool(transpose)),
  9329  		data.Ref(),
  9330  		uint32(srcOffset),
  9331  	)
  9332  
  9333  	return
  9334  }
  9335  
  9336  // HasFuncUniformMatrix2fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix2fv" exists.
  9337  func (this WebGL2RenderingContext) HasFuncUniformMatrix2fv2() bool {
  9338  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2fv2(
  9339  		this.ref,
  9340  	)
  9341  }
  9342  
  9343  // FuncUniformMatrix2fv2 returns the method "WebGL2RenderingContext.uniformMatrix2fv".
  9344  func (this WebGL2RenderingContext) FuncUniformMatrix2fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
  9345  	bindings.FuncWebGL2RenderingContextUniformMatrix2fv2(
  9346  		this.ref, js.Pointer(&fn),
  9347  	)
  9348  	return
  9349  }
  9350  
  9351  // UniformMatrix2fv2 calls the method "WebGL2RenderingContext.uniformMatrix2fv".
  9352  func (this WebGL2RenderingContext) UniformMatrix2fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
  9353  	bindings.CallWebGL2RenderingContextUniformMatrix2fv2(
  9354  		this.ref, js.Pointer(&ret),
  9355  		location.Ref(),
  9356  		js.Bool(bool(transpose)),
  9357  		data.Ref(),
  9358  	)
  9359  
  9360  	return
  9361  }
  9362  
  9363  // TryUniformMatrix2fv2 calls the method "WebGL2RenderingContext.uniformMatrix2fv"
  9364  // in a try/catch block and returns (_, err, ok = false) when it went through
  9365  // the catch clause.
  9366  func (this WebGL2RenderingContext) TryUniformMatrix2fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  9367  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2fv2(
  9368  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9369  		location.Ref(),
  9370  		js.Bool(bool(transpose)),
  9371  		data.Ref(),
  9372  	)
  9373  
  9374  	return
  9375  }
  9376  
  9377  // HasFuncUniformMatrix3fv returns true if the method "WebGL2RenderingContext.uniformMatrix3fv" exists.
  9378  func (this WebGL2RenderingContext) HasFuncUniformMatrix3fv() bool {
  9379  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3fv(
  9380  		this.ref,
  9381  	)
  9382  }
  9383  
  9384  // FuncUniformMatrix3fv returns the method "WebGL2RenderingContext.uniformMatrix3fv".
  9385  func (this WebGL2RenderingContext) FuncUniformMatrix3fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  9386  	bindings.FuncWebGL2RenderingContextUniformMatrix3fv(
  9387  		this.ref, js.Pointer(&fn),
  9388  	)
  9389  	return
  9390  }
  9391  
  9392  // UniformMatrix3fv calls the method "WebGL2RenderingContext.uniformMatrix3fv".
  9393  func (this WebGL2RenderingContext) UniformMatrix3fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  9394  	bindings.CallWebGL2RenderingContextUniformMatrix3fv(
  9395  		this.ref, js.Pointer(&ret),
  9396  		location.Ref(),
  9397  		js.Bool(bool(transpose)),
  9398  		data.Ref(),
  9399  		uint32(srcOffset),
  9400  		uint32(srcLength),
  9401  	)
  9402  
  9403  	return
  9404  }
  9405  
  9406  // TryUniformMatrix3fv calls the method "WebGL2RenderingContext.uniformMatrix3fv"
  9407  // in a try/catch block and returns (_, err, ok = false) when it went through
  9408  // the catch clause.
  9409  func (this WebGL2RenderingContext) TryUniformMatrix3fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  9410  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3fv(
  9411  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9412  		location.Ref(),
  9413  		js.Bool(bool(transpose)),
  9414  		data.Ref(),
  9415  		uint32(srcOffset),
  9416  		uint32(srcLength),
  9417  	)
  9418  
  9419  	return
  9420  }
  9421  
  9422  // HasFuncUniformMatrix3fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix3fv" exists.
  9423  func (this WebGL2RenderingContext) HasFuncUniformMatrix3fv1() bool {
  9424  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3fv1(
  9425  		this.ref,
  9426  	)
  9427  }
  9428  
  9429  // FuncUniformMatrix3fv1 returns the method "WebGL2RenderingContext.uniformMatrix3fv".
  9430  func (this WebGL2RenderingContext) FuncUniformMatrix3fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
  9431  	bindings.FuncWebGL2RenderingContextUniformMatrix3fv1(
  9432  		this.ref, js.Pointer(&fn),
  9433  	)
  9434  	return
  9435  }
  9436  
  9437  // UniformMatrix3fv1 calls the method "WebGL2RenderingContext.uniformMatrix3fv".
  9438  func (this WebGL2RenderingContext) UniformMatrix3fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
  9439  	bindings.CallWebGL2RenderingContextUniformMatrix3fv1(
  9440  		this.ref, js.Pointer(&ret),
  9441  		location.Ref(),
  9442  		js.Bool(bool(transpose)),
  9443  		data.Ref(),
  9444  		uint32(srcOffset),
  9445  	)
  9446  
  9447  	return
  9448  }
  9449  
  9450  // TryUniformMatrix3fv1 calls the method "WebGL2RenderingContext.uniformMatrix3fv"
  9451  // in a try/catch block and returns (_, err, ok = false) when it went through
  9452  // the catch clause.
  9453  func (this WebGL2RenderingContext) TryUniformMatrix3fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9454  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3fv1(
  9455  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9456  		location.Ref(),
  9457  		js.Bool(bool(transpose)),
  9458  		data.Ref(),
  9459  		uint32(srcOffset),
  9460  	)
  9461  
  9462  	return
  9463  }
  9464  
  9465  // HasFuncUniformMatrix3fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix3fv" exists.
  9466  func (this WebGL2RenderingContext) HasFuncUniformMatrix3fv2() bool {
  9467  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3fv2(
  9468  		this.ref,
  9469  	)
  9470  }
  9471  
  9472  // FuncUniformMatrix3fv2 returns the method "WebGL2RenderingContext.uniformMatrix3fv".
  9473  func (this WebGL2RenderingContext) FuncUniformMatrix3fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
  9474  	bindings.FuncWebGL2RenderingContextUniformMatrix3fv2(
  9475  		this.ref, js.Pointer(&fn),
  9476  	)
  9477  	return
  9478  }
  9479  
  9480  // UniformMatrix3fv2 calls the method "WebGL2RenderingContext.uniformMatrix3fv".
  9481  func (this WebGL2RenderingContext) UniformMatrix3fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
  9482  	bindings.CallWebGL2RenderingContextUniformMatrix3fv2(
  9483  		this.ref, js.Pointer(&ret),
  9484  		location.Ref(),
  9485  		js.Bool(bool(transpose)),
  9486  		data.Ref(),
  9487  	)
  9488  
  9489  	return
  9490  }
  9491  
  9492  // TryUniformMatrix3fv2 calls the method "WebGL2RenderingContext.uniformMatrix3fv"
  9493  // in a try/catch block and returns (_, err, ok = false) when it went through
  9494  // the catch clause.
  9495  func (this WebGL2RenderingContext) TryUniformMatrix3fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  9496  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3fv2(
  9497  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9498  		location.Ref(),
  9499  		js.Bool(bool(transpose)),
  9500  		data.Ref(),
  9501  	)
  9502  
  9503  	return
  9504  }
  9505  
  9506  // HasFuncUniformMatrix4fv returns true if the method "WebGL2RenderingContext.uniformMatrix4fv" exists.
  9507  func (this WebGL2RenderingContext) HasFuncUniformMatrix4fv() bool {
  9508  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4fv(
  9509  		this.ref,
  9510  	)
  9511  }
  9512  
  9513  // FuncUniformMatrix4fv returns the method "WebGL2RenderingContext.uniformMatrix4fv".
  9514  func (this WebGL2RenderingContext) FuncUniformMatrix4fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
  9515  	bindings.FuncWebGL2RenderingContextUniformMatrix4fv(
  9516  		this.ref, js.Pointer(&fn),
  9517  	)
  9518  	return
  9519  }
  9520  
  9521  // UniformMatrix4fv calls the method "WebGL2RenderingContext.uniformMatrix4fv".
  9522  func (this WebGL2RenderingContext) UniformMatrix4fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
  9523  	bindings.CallWebGL2RenderingContextUniformMatrix4fv(
  9524  		this.ref, js.Pointer(&ret),
  9525  		location.Ref(),
  9526  		js.Bool(bool(transpose)),
  9527  		data.Ref(),
  9528  		uint32(srcOffset),
  9529  		uint32(srcLength),
  9530  	)
  9531  
  9532  	return
  9533  }
  9534  
  9535  // TryUniformMatrix4fv calls the method "WebGL2RenderingContext.uniformMatrix4fv"
  9536  // in a try/catch block and returns (_, err, ok = false) when it went through
  9537  // the catch clause.
  9538  func (this WebGL2RenderingContext) TryUniformMatrix4fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
  9539  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4fv(
  9540  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9541  		location.Ref(),
  9542  		js.Bool(bool(transpose)),
  9543  		data.Ref(),
  9544  		uint32(srcOffset),
  9545  		uint32(srcLength),
  9546  	)
  9547  
  9548  	return
  9549  }
  9550  
  9551  // HasFuncUniformMatrix4fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix4fv" exists.
  9552  func (this WebGL2RenderingContext) HasFuncUniformMatrix4fv1() bool {
  9553  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4fv1(
  9554  		this.ref,
  9555  	)
  9556  }
  9557  
  9558  // FuncUniformMatrix4fv1 returns the method "WebGL2RenderingContext.uniformMatrix4fv".
  9559  func (this WebGL2RenderingContext) FuncUniformMatrix4fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
  9560  	bindings.FuncWebGL2RenderingContextUniformMatrix4fv1(
  9561  		this.ref, js.Pointer(&fn),
  9562  	)
  9563  	return
  9564  }
  9565  
  9566  // UniformMatrix4fv1 calls the method "WebGL2RenderingContext.uniformMatrix4fv".
  9567  func (this WebGL2RenderingContext) UniformMatrix4fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
  9568  	bindings.CallWebGL2RenderingContextUniformMatrix4fv1(
  9569  		this.ref, js.Pointer(&ret),
  9570  		location.Ref(),
  9571  		js.Bool(bool(transpose)),
  9572  		data.Ref(),
  9573  		uint32(srcOffset),
  9574  	)
  9575  
  9576  	return
  9577  }
  9578  
  9579  // TryUniformMatrix4fv1 calls the method "WebGL2RenderingContext.uniformMatrix4fv"
  9580  // in a try/catch block and returns (_, err, ok = false) when it went through
  9581  // the catch clause.
  9582  func (this WebGL2RenderingContext) TryUniformMatrix4fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9583  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4fv1(
  9584  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9585  		location.Ref(),
  9586  		js.Bool(bool(transpose)),
  9587  		data.Ref(),
  9588  		uint32(srcOffset),
  9589  	)
  9590  
  9591  	return
  9592  }
  9593  
  9594  // HasFuncUniformMatrix4fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix4fv" exists.
  9595  func (this WebGL2RenderingContext) HasFuncUniformMatrix4fv2() bool {
  9596  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4fv2(
  9597  		this.ref,
  9598  	)
  9599  }
  9600  
  9601  // FuncUniformMatrix4fv2 returns the method "WebGL2RenderingContext.uniformMatrix4fv".
  9602  func (this WebGL2RenderingContext) FuncUniformMatrix4fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
  9603  	bindings.FuncWebGL2RenderingContextUniformMatrix4fv2(
  9604  		this.ref, js.Pointer(&fn),
  9605  	)
  9606  	return
  9607  }
  9608  
  9609  // UniformMatrix4fv2 calls the method "WebGL2RenderingContext.uniformMatrix4fv".
  9610  func (this WebGL2RenderingContext) UniformMatrix4fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
  9611  	bindings.CallWebGL2RenderingContextUniformMatrix4fv2(
  9612  		this.ref, js.Pointer(&ret),
  9613  		location.Ref(),
  9614  		js.Bool(bool(transpose)),
  9615  		data.Ref(),
  9616  	)
  9617  
  9618  	return
  9619  }
  9620  
  9621  // TryUniformMatrix4fv2 calls the method "WebGL2RenderingContext.uniformMatrix4fv"
  9622  // in a try/catch block and returns (_, err, ok = false) when it went through
  9623  // the catch clause.
  9624  func (this WebGL2RenderingContext) TryUniformMatrix4fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
  9625  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4fv2(
  9626  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9627  		location.Ref(),
  9628  		js.Bool(bool(transpose)),
  9629  		data.Ref(),
  9630  	)
  9631  
  9632  	return
  9633  }
  9634  
  9635  // HasFuncReadPixels returns true if the method "WebGL2RenderingContext.readPixels" exists.
  9636  func (this WebGL2RenderingContext) HasFuncReadPixels() bool {
  9637  	return js.True == bindings.HasFuncWebGL2RenderingContextReadPixels(
  9638  		this.ref,
  9639  	)
  9640  }
  9641  
  9642  // FuncReadPixels returns the method "WebGL2RenderingContext.readPixels".
  9643  func (this WebGL2RenderingContext) FuncReadPixels() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, dstData js.ArrayBufferView)]) {
  9644  	bindings.FuncWebGL2RenderingContextReadPixels(
  9645  		this.ref, js.Pointer(&fn),
  9646  	)
  9647  	return
  9648  }
  9649  
  9650  // ReadPixels calls the method "WebGL2RenderingContext.readPixels".
  9651  func (this WebGL2RenderingContext) ReadPixels(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, dstData js.ArrayBufferView) (ret js.Void) {
  9652  	bindings.CallWebGL2RenderingContextReadPixels(
  9653  		this.ref, js.Pointer(&ret),
  9654  		int32(x),
  9655  		int32(y),
  9656  		int32(width),
  9657  		int32(height),
  9658  		uint32(format),
  9659  		uint32(typ),
  9660  		dstData.Ref(),
  9661  	)
  9662  
  9663  	return
  9664  }
  9665  
  9666  // TryReadPixels calls the method "WebGL2RenderingContext.readPixels"
  9667  // in a try/catch block and returns (_, err, ok = false) when it went through
  9668  // the catch clause.
  9669  func (this WebGL2RenderingContext) TryReadPixels(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, dstData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  9670  	ok = js.True == bindings.TryWebGL2RenderingContextReadPixels(
  9671  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9672  		int32(x),
  9673  		int32(y),
  9674  		int32(width),
  9675  		int32(height),
  9676  		uint32(format),
  9677  		uint32(typ),
  9678  		dstData.Ref(),
  9679  	)
  9680  
  9681  	return
  9682  }
  9683  
  9684  // HasFuncReadPixels1 returns true if the method "WebGL2RenderingContext.readPixels" exists.
  9685  func (this WebGL2RenderingContext) HasFuncReadPixels1() bool {
  9686  	return js.True == bindings.HasFuncWebGL2RenderingContextReadPixels1(
  9687  		this.ref,
  9688  	)
  9689  }
  9690  
  9691  // FuncReadPixels1 returns the method "WebGL2RenderingContext.readPixels".
  9692  func (this WebGL2RenderingContext) FuncReadPixels1() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, offset GLintptr)]) {
  9693  	bindings.FuncWebGL2RenderingContextReadPixels1(
  9694  		this.ref, js.Pointer(&fn),
  9695  	)
  9696  	return
  9697  }
  9698  
  9699  // ReadPixels1 calls the method "WebGL2RenderingContext.readPixels".
  9700  func (this WebGL2RenderingContext) ReadPixels1(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, offset GLintptr) (ret js.Void) {
  9701  	bindings.CallWebGL2RenderingContextReadPixels1(
  9702  		this.ref, js.Pointer(&ret),
  9703  		int32(x),
  9704  		int32(y),
  9705  		int32(width),
  9706  		int32(height),
  9707  		uint32(format),
  9708  		uint32(typ),
  9709  		float64(offset),
  9710  	)
  9711  
  9712  	return
  9713  }
  9714  
  9715  // TryReadPixels1 calls the method "WebGL2RenderingContext.readPixels"
  9716  // in a try/catch block and returns (_, err, ok = false) when it went through
  9717  // the catch clause.
  9718  func (this WebGL2RenderingContext) TryReadPixels1(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
  9719  	ok = js.True == bindings.TryWebGL2RenderingContextReadPixels1(
  9720  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9721  		int32(x),
  9722  		int32(y),
  9723  		int32(width),
  9724  		int32(height),
  9725  		uint32(format),
  9726  		uint32(typ),
  9727  		float64(offset),
  9728  	)
  9729  
  9730  	return
  9731  }
  9732  
  9733  // HasFuncReadPixels2 returns true if the method "WebGL2RenderingContext.readPixels" exists.
  9734  func (this WebGL2RenderingContext) HasFuncReadPixels2() bool {
  9735  	return js.True == bindings.HasFuncWebGL2RenderingContextReadPixels2(
  9736  		this.ref,
  9737  	)
  9738  }
  9739  
  9740  // FuncReadPixels2 returns the method "WebGL2RenderingContext.readPixels".
  9741  func (this WebGL2RenderingContext) FuncReadPixels2() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, dstData js.ArrayBufferView, dstOffset GLuint)]) {
  9742  	bindings.FuncWebGL2RenderingContextReadPixels2(
  9743  		this.ref, js.Pointer(&fn),
  9744  	)
  9745  	return
  9746  }
  9747  
  9748  // ReadPixels2 calls the method "WebGL2RenderingContext.readPixels".
  9749  func (this WebGL2RenderingContext) ReadPixels2(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, dstData js.ArrayBufferView, dstOffset GLuint) (ret js.Void) {
  9750  	bindings.CallWebGL2RenderingContextReadPixels2(
  9751  		this.ref, js.Pointer(&ret),
  9752  		int32(x),
  9753  		int32(y),
  9754  		int32(width),
  9755  		int32(height),
  9756  		uint32(format),
  9757  		uint32(typ),
  9758  		dstData.Ref(),
  9759  		uint32(dstOffset),
  9760  	)
  9761  
  9762  	return
  9763  }
  9764  
  9765  // TryReadPixels2 calls the method "WebGL2RenderingContext.readPixels"
  9766  // in a try/catch block and returns (_, err, ok = false) when it went through
  9767  // the catch clause.
  9768  func (this WebGL2RenderingContext) TryReadPixels2(x GLint, y GLint, width GLsizei, height GLsizei, format GLenum, typ GLenum, dstData js.ArrayBufferView, dstOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9769  	ok = js.True == bindings.TryWebGL2RenderingContextReadPixels2(
  9770  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9771  		int32(x),
  9772  		int32(y),
  9773  		int32(width),
  9774  		int32(height),
  9775  		uint32(format),
  9776  		uint32(typ),
  9777  		dstData.Ref(),
  9778  		uint32(dstOffset),
  9779  	)
  9780  
  9781  	return
  9782  }
  9783  
  9784  // HasFuncCopyBufferSubData returns true if the method "WebGL2RenderingContext.copyBufferSubData" exists.
  9785  func (this WebGL2RenderingContext) HasFuncCopyBufferSubData() bool {
  9786  	return js.True == bindings.HasFuncWebGL2RenderingContextCopyBufferSubData(
  9787  		this.ref,
  9788  	)
  9789  }
  9790  
  9791  // FuncCopyBufferSubData returns the method "WebGL2RenderingContext.copyBufferSubData".
  9792  func (this WebGL2RenderingContext) FuncCopyBufferSubData() (fn js.Func[func(readTarget GLenum, writeTarget GLenum, readOffset GLintptr, writeOffset GLintptr, size GLsizeiptr)]) {
  9793  	bindings.FuncWebGL2RenderingContextCopyBufferSubData(
  9794  		this.ref, js.Pointer(&fn),
  9795  	)
  9796  	return
  9797  }
  9798  
  9799  // CopyBufferSubData calls the method "WebGL2RenderingContext.copyBufferSubData".
  9800  func (this WebGL2RenderingContext) CopyBufferSubData(readTarget GLenum, writeTarget GLenum, readOffset GLintptr, writeOffset GLintptr, size GLsizeiptr) (ret js.Void) {
  9801  	bindings.CallWebGL2RenderingContextCopyBufferSubData(
  9802  		this.ref, js.Pointer(&ret),
  9803  		uint32(readTarget),
  9804  		uint32(writeTarget),
  9805  		float64(readOffset),
  9806  		float64(writeOffset),
  9807  		float64(size),
  9808  	)
  9809  
  9810  	return
  9811  }
  9812  
  9813  // TryCopyBufferSubData calls the method "WebGL2RenderingContext.copyBufferSubData"
  9814  // in a try/catch block and returns (_, err, ok = false) when it went through
  9815  // the catch clause.
  9816  func (this WebGL2RenderingContext) TryCopyBufferSubData(readTarget GLenum, writeTarget GLenum, readOffset GLintptr, writeOffset GLintptr, size GLsizeiptr) (ret js.Void, exception js.Any, ok bool) {
  9817  	ok = js.True == bindings.TryWebGL2RenderingContextCopyBufferSubData(
  9818  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9819  		uint32(readTarget),
  9820  		uint32(writeTarget),
  9821  		float64(readOffset),
  9822  		float64(writeOffset),
  9823  		float64(size),
  9824  	)
  9825  
  9826  	return
  9827  }
  9828  
  9829  // HasFuncGetBufferSubData returns true if the method "WebGL2RenderingContext.getBufferSubData" exists.
  9830  func (this WebGL2RenderingContext) HasFuncGetBufferSubData() bool {
  9831  	return js.True == bindings.HasFuncWebGL2RenderingContextGetBufferSubData(
  9832  		this.ref,
  9833  	)
  9834  }
  9835  
  9836  // FuncGetBufferSubData returns the method "WebGL2RenderingContext.getBufferSubData".
  9837  func (this WebGL2RenderingContext) FuncGetBufferSubData() (fn js.Func[func(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView, dstOffset GLuint, length GLuint)]) {
  9838  	bindings.FuncWebGL2RenderingContextGetBufferSubData(
  9839  		this.ref, js.Pointer(&fn),
  9840  	)
  9841  	return
  9842  }
  9843  
  9844  // GetBufferSubData calls the method "WebGL2RenderingContext.getBufferSubData".
  9845  func (this WebGL2RenderingContext) GetBufferSubData(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView, dstOffset GLuint, length GLuint) (ret js.Void) {
  9846  	bindings.CallWebGL2RenderingContextGetBufferSubData(
  9847  		this.ref, js.Pointer(&ret),
  9848  		uint32(target),
  9849  		float64(srcByteOffset),
  9850  		dstBuffer.Ref(),
  9851  		uint32(dstOffset),
  9852  		uint32(length),
  9853  	)
  9854  
  9855  	return
  9856  }
  9857  
  9858  // TryGetBufferSubData calls the method "WebGL2RenderingContext.getBufferSubData"
  9859  // in a try/catch block and returns (_, err, ok = false) when it went through
  9860  // the catch clause.
  9861  func (this WebGL2RenderingContext) TryGetBufferSubData(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView, dstOffset GLuint, length GLuint) (ret js.Void, exception js.Any, ok bool) {
  9862  	ok = js.True == bindings.TryWebGL2RenderingContextGetBufferSubData(
  9863  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9864  		uint32(target),
  9865  		float64(srcByteOffset),
  9866  		dstBuffer.Ref(),
  9867  		uint32(dstOffset),
  9868  		uint32(length),
  9869  	)
  9870  
  9871  	return
  9872  }
  9873  
  9874  // HasFuncGetBufferSubData1 returns true if the method "WebGL2RenderingContext.getBufferSubData" exists.
  9875  func (this WebGL2RenderingContext) HasFuncGetBufferSubData1() bool {
  9876  	return js.True == bindings.HasFuncWebGL2RenderingContextGetBufferSubData1(
  9877  		this.ref,
  9878  	)
  9879  }
  9880  
  9881  // FuncGetBufferSubData1 returns the method "WebGL2RenderingContext.getBufferSubData".
  9882  func (this WebGL2RenderingContext) FuncGetBufferSubData1() (fn js.Func[func(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView, dstOffset GLuint)]) {
  9883  	bindings.FuncWebGL2RenderingContextGetBufferSubData1(
  9884  		this.ref, js.Pointer(&fn),
  9885  	)
  9886  	return
  9887  }
  9888  
  9889  // GetBufferSubData1 calls the method "WebGL2RenderingContext.getBufferSubData".
  9890  func (this WebGL2RenderingContext) GetBufferSubData1(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView, dstOffset GLuint) (ret js.Void) {
  9891  	bindings.CallWebGL2RenderingContextGetBufferSubData1(
  9892  		this.ref, js.Pointer(&ret),
  9893  		uint32(target),
  9894  		float64(srcByteOffset),
  9895  		dstBuffer.Ref(),
  9896  		uint32(dstOffset),
  9897  	)
  9898  
  9899  	return
  9900  }
  9901  
  9902  // TryGetBufferSubData1 calls the method "WebGL2RenderingContext.getBufferSubData"
  9903  // in a try/catch block and returns (_, err, ok = false) when it went through
  9904  // the catch clause.
  9905  func (this WebGL2RenderingContext) TryGetBufferSubData1(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView, dstOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
  9906  	ok = js.True == bindings.TryWebGL2RenderingContextGetBufferSubData1(
  9907  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9908  		uint32(target),
  9909  		float64(srcByteOffset),
  9910  		dstBuffer.Ref(),
  9911  		uint32(dstOffset),
  9912  	)
  9913  
  9914  	return
  9915  }
  9916  
  9917  // HasFuncGetBufferSubData2 returns true if the method "WebGL2RenderingContext.getBufferSubData" exists.
  9918  func (this WebGL2RenderingContext) HasFuncGetBufferSubData2() bool {
  9919  	return js.True == bindings.HasFuncWebGL2RenderingContextGetBufferSubData2(
  9920  		this.ref,
  9921  	)
  9922  }
  9923  
  9924  // FuncGetBufferSubData2 returns the method "WebGL2RenderingContext.getBufferSubData".
  9925  func (this WebGL2RenderingContext) FuncGetBufferSubData2() (fn js.Func[func(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView)]) {
  9926  	bindings.FuncWebGL2RenderingContextGetBufferSubData2(
  9927  		this.ref, js.Pointer(&fn),
  9928  	)
  9929  	return
  9930  }
  9931  
  9932  // GetBufferSubData2 calls the method "WebGL2RenderingContext.getBufferSubData".
  9933  func (this WebGL2RenderingContext) GetBufferSubData2(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView) (ret js.Void) {
  9934  	bindings.CallWebGL2RenderingContextGetBufferSubData2(
  9935  		this.ref, js.Pointer(&ret),
  9936  		uint32(target),
  9937  		float64(srcByteOffset),
  9938  		dstBuffer.Ref(),
  9939  	)
  9940  
  9941  	return
  9942  }
  9943  
  9944  // TryGetBufferSubData2 calls the method "WebGL2RenderingContext.getBufferSubData"
  9945  // in a try/catch block and returns (_, err, ok = false) when it went through
  9946  // the catch clause.
  9947  func (this WebGL2RenderingContext) TryGetBufferSubData2(target GLenum, srcByteOffset GLintptr, dstBuffer js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
  9948  	ok = js.True == bindings.TryWebGL2RenderingContextGetBufferSubData2(
  9949  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9950  		uint32(target),
  9951  		float64(srcByteOffset),
  9952  		dstBuffer.Ref(),
  9953  	)
  9954  
  9955  	return
  9956  }
  9957  
  9958  // HasFuncBlitFramebuffer returns true if the method "WebGL2RenderingContext.blitFramebuffer" exists.
  9959  func (this WebGL2RenderingContext) HasFuncBlitFramebuffer() bool {
  9960  	return js.True == bindings.HasFuncWebGL2RenderingContextBlitFramebuffer(
  9961  		this.ref,
  9962  	)
  9963  }
  9964  
  9965  // FuncBlitFramebuffer returns the method "WebGL2RenderingContext.blitFramebuffer".
  9966  func (this WebGL2RenderingContext) FuncBlitFramebuffer() (fn js.Func[func(srcX0 GLint, srcY0 GLint, srcX1 GLint, srcY1 GLint, dstX0 GLint, dstY0 GLint, dstX1 GLint, dstY1 GLint, mask GLbitfield, filter GLenum)]) {
  9967  	bindings.FuncWebGL2RenderingContextBlitFramebuffer(
  9968  		this.ref, js.Pointer(&fn),
  9969  	)
  9970  	return
  9971  }
  9972  
  9973  // BlitFramebuffer calls the method "WebGL2RenderingContext.blitFramebuffer".
  9974  func (this WebGL2RenderingContext) BlitFramebuffer(srcX0 GLint, srcY0 GLint, srcX1 GLint, srcY1 GLint, dstX0 GLint, dstY0 GLint, dstX1 GLint, dstY1 GLint, mask GLbitfield, filter GLenum) (ret js.Void) {
  9975  	bindings.CallWebGL2RenderingContextBlitFramebuffer(
  9976  		this.ref, js.Pointer(&ret),
  9977  		int32(srcX0),
  9978  		int32(srcY0),
  9979  		int32(srcX1),
  9980  		int32(srcY1),
  9981  		int32(dstX0),
  9982  		int32(dstY0),
  9983  		int32(dstX1),
  9984  		int32(dstY1),
  9985  		uint32(mask),
  9986  		uint32(filter),
  9987  	)
  9988  
  9989  	return
  9990  }
  9991  
  9992  // TryBlitFramebuffer calls the method "WebGL2RenderingContext.blitFramebuffer"
  9993  // in a try/catch block and returns (_, err, ok = false) when it went through
  9994  // the catch clause.
  9995  func (this WebGL2RenderingContext) TryBlitFramebuffer(srcX0 GLint, srcY0 GLint, srcX1 GLint, srcY1 GLint, dstX0 GLint, dstY0 GLint, dstX1 GLint, dstY1 GLint, mask GLbitfield, filter GLenum) (ret js.Void, exception js.Any, ok bool) {
  9996  	ok = js.True == bindings.TryWebGL2RenderingContextBlitFramebuffer(
  9997  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
  9998  		int32(srcX0),
  9999  		int32(srcY0),
 10000  		int32(srcX1),
 10001  		int32(srcY1),
 10002  		int32(dstX0),
 10003  		int32(dstY0),
 10004  		int32(dstX1),
 10005  		int32(dstY1),
 10006  		uint32(mask),
 10007  		uint32(filter),
 10008  	)
 10009  
 10010  	return
 10011  }
 10012  
 10013  // HasFuncFramebufferTextureLayer returns true if the method "WebGL2RenderingContext.framebufferTextureLayer" exists.
 10014  func (this WebGL2RenderingContext) HasFuncFramebufferTextureLayer() bool {
 10015  	return js.True == bindings.HasFuncWebGL2RenderingContextFramebufferTextureLayer(
 10016  		this.ref,
 10017  	)
 10018  }
 10019  
 10020  // FuncFramebufferTextureLayer returns the method "WebGL2RenderingContext.framebufferTextureLayer".
 10021  func (this WebGL2RenderingContext) FuncFramebufferTextureLayer() (fn js.Func[func(target GLenum, attachment GLenum, texture WebGLTexture, level GLint, layer GLint)]) {
 10022  	bindings.FuncWebGL2RenderingContextFramebufferTextureLayer(
 10023  		this.ref, js.Pointer(&fn),
 10024  	)
 10025  	return
 10026  }
 10027  
 10028  // FramebufferTextureLayer calls the method "WebGL2RenderingContext.framebufferTextureLayer".
 10029  func (this WebGL2RenderingContext) FramebufferTextureLayer(target GLenum, attachment GLenum, texture WebGLTexture, level GLint, layer GLint) (ret js.Void) {
 10030  	bindings.CallWebGL2RenderingContextFramebufferTextureLayer(
 10031  		this.ref, js.Pointer(&ret),
 10032  		uint32(target),
 10033  		uint32(attachment),
 10034  		texture.Ref(),
 10035  		int32(level),
 10036  		int32(layer),
 10037  	)
 10038  
 10039  	return
 10040  }
 10041  
 10042  // TryFramebufferTextureLayer calls the method "WebGL2RenderingContext.framebufferTextureLayer"
 10043  // in a try/catch block and returns (_, err, ok = false) when it went through
 10044  // the catch clause.
 10045  func (this WebGL2RenderingContext) TryFramebufferTextureLayer(target GLenum, attachment GLenum, texture WebGLTexture, level GLint, layer GLint) (ret js.Void, exception js.Any, ok bool) {
 10046  	ok = js.True == bindings.TryWebGL2RenderingContextFramebufferTextureLayer(
 10047  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10048  		uint32(target),
 10049  		uint32(attachment),
 10050  		texture.Ref(),
 10051  		int32(level),
 10052  		int32(layer),
 10053  	)
 10054  
 10055  	return
 10056  }
 10057  
 10058  // HasFuncInvalidateFramebuffer returns true if the method "WebGL2RenderingContext.invalidateFramebuffer" exists.
 10059  func (this WebGL2RenderingContext) HasFuncInvalidateFramebuffer() bool {
 10060  	return js.True == bindings.HasFuncWebGL2RenderingContextInvalidateFramebuffer(
 10061  		this.ref,
 10062  	)
 10063  }
 10064  
 10065  // FuncInvalidateFramebuffer returns the method "WebGL2RenderingContext.invalidateFramebuffer".
 10066  func (this WebGL2RenderingContext) FuncInvalidateFramebuffer() (fn js.Func[func(target GLenum, attachments js.Array[GLenum])]) {
 10067  	bindings.FuncWebGL2RenderingContextInvalidateFramebuffer(
 10068  		this.ref, js.Pointer(&fn),
 10069  	)
 10070  	return
 10071  }
 10072  
 10073  // InvalidateFramebuffer calls the method "WebGL2RenderingContext.invalidateFramebuffer".
 10074  func (this WebGL2RenderingContext) InvalidateFramebuffer(target GLenum, attachments js.Array[GLenum]) (ret js.Void) {
 10075  	bindings.CallWebGL2RenderingContextInvalidateFramebuffer(
 10076  		this.ref, js.Pointer(&ret),
 10077  		uint32(target),
 10078  		attachments.Ref(),
 10079  	)
 10080  
 10081  	return
 10082  }
 10083  
 10084  // TryInvalidateFramebuffer calls the method "WebGL2RenderingContext.invalidateFramebuffer"
 10085  // in a try/catch block and returns (_, err, ok = false) when it went through
 10086  // the catch clause.
 10087  func (this WebGL2RenderingContext) TryInvalidateFramebuffer(target GLenum, attachments js.Array[GLenum]) (ret js.Void, exception js.Any, ok bool) {
 10088  	ok = js.True == bindings.TryWebGL2RenderingContextInvalidateFramebuffer(
 10089  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10090  		uint32(target),
 10091  		attachments.Ref(),
 10092  	)
 10093  
 10094  	return
 10095  }
 10096  
 10097  // HasFuncInvalidateSubFramebuffer returns true if the method "WebGL2RenderingContext.invalidateSubFramebuffer" exists.
 10098  func (this WebGL2RenderingContext) HasFuncInvalidateSubFramebuffer() bool {
 10099  	return js.True == bindings.HasFuncWebGL2RenderingContextInvalidateSubFramebuffer(
 10100  		this.ref,
 10101  	)
 10102  }
 10103  
 10104  // FuncInvalidateSubFramebuffer returns the method "WebGL2RenderingContext.invalidateSubFramebuffer".
 10105  func (this WebGL2RenderingContext) FuncInvalidateSubFramebuffer() (fn js.Func[func(target GLenum, attachments js.Array[GLenum], x GLint, y GLint, width GLsizei, height GLsizei)]) {
 10106  	bindings.FuncWebGL2RenderingContextInvalidateSubFramebuffer(
 10107  		this.ref, js.Pointer(&fn),
 10108  	)
 10109  	return
 10110  }
 10111  
 10112  // InvalidateSubFramebuffer calls the method "WebGL2RenderingContext.invalidateSubFramebuffer".
 10113  func (this WebGL2RenderingContext) InvalidateSubFramebuffer(target GLenum, attachments js.Array[GLenum], x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
 10114  	bindings.CallWebGL2RenderingContextInvalidateSubFramebuffer(
 10115  		this.ref, js.Pointer(&ret),
 10116  		uint32(target),
 10117  		attachments.Ref(),
 10118  		int32(x),
 10119  		int32(y),
 10120  		int32(width),
 10121  		int32(height),
 10122  	)
 10123  
 10124  	return
 10125  }
 10126  
 10127  // TryInvalidateSubFramebuffer calls the method "WebGL2RenderingContext.invalidateSubFramebuffer"
 10128  // in a try/catch block and returns (_, err, ok = false) when it went through
 10129  // the catch clause.
 10130  func (this WebGL2RenderingContext) TryInvalidateSubFramebuffer(target GLenum, attachments js.Array[GLenum], x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 10131  	ok = js.True == bindings.TryWebGL2RenderingContextInvalidateSubFramebuffer(
 10132  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10133  		uint32(target),
 10134  		attachments.Ref(),
 10135  		int32(x),
 10136  		int32(y),
 10137  		int32(width),
 10138  		int32(height),
 10139  	)
 10140  
 10141  	return
 10142  }
 10143  
 10144  // HasFuncReadBuffer returns true if the method "WebGL2RenderingContext.readBuffer" exists.
 10145  func (this WebGL2RenderingContext) HasFuncReadBuffer() bool {
 10146  	return js.True == bindings.HasFuncWebGL2RenderingContextReadBuffer(
 10147  		this.ref,
 10148  	)
 10149  }
 10150  
 10151  // FuncReadBuffer returns the method "WebGL2RenderingContext.readBuffer".
 10152  func (this WebGL2RenderingContext) FuncReadBuffer() (fn js.Func[func(src GLenum)]) {
 10153  	bindings.FuncWebGL2RenderingContextReadBuffer(
 10154  		this.ref, js.Pointer(&fn),
 10155  	)
 10156  	return
 10157  }
 10158  
 10159  // ReadBuffer calls the method "WebGL2RenderingContext.readBuffer".
 10160  func (this WebGL2RenderingContext) ReadBuffer(src GLenum) (ret js.Void) {
 10161  	bindings.CallWebGL2RenderingContextReadBuffer(
 10162  		this.ref, js.Pointer(&ret),
 10163  		uint32(src),
 10164  	)
 10165  
 10166  	return
 10167  }
 10168  
 10169  // TryReadBuffer calls the method "WebGL2RenderingContext.readBuffer"
 10170  // in a try/catch block and returns (_, err, ok = false) when it went through
 10171  // the catch clause.
 10172  func (this WebGL2RenderingContext) TryReadBuffer(src GLenum) (ret js.Void, exception js.Any, ok bool) {
 10173  	ok = js.True == bindings.TryWebGL2RenderingContextReadBuffer(
 10174  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10175  		uint32(src),
 10176  	)
 10177  
 10178  	return
 10179  }
 10180  
 10181  // HasFuncGetInternalformatParameter returns true if the method "WebGL2RenderingContext.getInternalformatParameter" exists.
 10182  func (this WebGL2RenderingContext) HasFuncGetInternalformatParameter() bool {
 10183  	return js.True == bindings.HasFuncWebGL2RenderingContextGetInternalformatParameter(
 10184  		this.ref,
 10185  	)
 10186  }
 10187  
 10188  // FuncGetInternalformatParameter returns the method "WebGL2RenderingContext.getInternalformatParameter".
 10189  func (this WebGL2RenderingContext) FuncGetInternalformatParameter() (fn js.Func[func(target GLenum, internalformat GLenum, pname GLenum) js.Any]) {
 10190  	bindings.FuncWebGL2RenderingContextGetInternalformatParameter(
 10191  		this.ref, js.Pointer(&fn),
 10192  	)
 10193  	return
 10194  }
 10195  
 10196  // GetInternalformatParameter calls the method "WebGL2RenderingContext.getInternalformatParameter".
 10197  func (this WebGL2RenderingContext) GetInternalformatParameter(target GLenum, internalformat GLenum, pname GLenum) (ret js.Any) {
 10198  	bindings.CallWebGL2RenderingContextGetInternalformatParameter(
 10199  		this.ref, js.Pointer(&ret),
 10200  		uint32(target),
 10201  		uint32(internalformat),
 10202  		uint32(pname),
 10203  	)
 10204  
 10205  	return
 10206  }
 10207  
 10208  // TryGetInternalformatParameter calls the method "WebGL2RenderingContext.getInternalformatParameter"
 10209  // in a try/catch block and returns (_, err, ok = false) when it went through
 10210  // the catch clause.
 10211  func (this WebGL2RenderingContext) TryGetInternalformatParameter(target GLenum, internalformat GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 10212  	ok = js.True == bindings.TryWebGL2RenderingContextGetInternalformatParameter(
 10213  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10214  		uint32(target),
 10215  		uint32(internalformat),
 10216  		uint32(pname),
 10217  	)
 10218  
 10219  	return
 10220  }
 10221  
 10222  // HasFuncRenderbufferStorageMultisample returns true if the method "WebGL2RenderingContext.renderbufferStorageMultisample" exists.
 10223  func (this WebGL2RenderingContext) HasFuncRenderbufferStorageMultisample() bool {
 10224  	return js.True == bindings.HasFuncWebGL2RenderingContextRenderbufferStorageMultisample(
 10225  		this.ref,
 10226  	)
 10227  }
 10228  
 10229  // FuncRenderbufferStorageMultisample returns the method "WebGL2RenderingContext.renderbufferStorageMultisample".
 10230  func (this WebGL2RenderingContext) FuncRenderbufferStorageMultisample() (fn js.Func[func(target GLenum, samples GLsizei, internalformat GLenum, width GLsizei, height GLsizei)]) {
 10231  	bindings.FuncWebGL2RenderingContextRenderbufferStorageMultisample(
 10232  		this.ref, js.Pointer(&fn),
 10233  	)
 10234  	return
 10235  }
 10236  
 10237  // RenderbufferStorageMultisample calls the method "WebGL2RenderingContext.renderbufferStorageMultisample".
 10238  func (this WebGL2RenderingContext) RenderbufferStorageMultisample(target GLenum, samples GLsizei, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void) {
 10239  	bindings.CallWebGL2RenderingContextRenderbufferStorageMultisample(
 10240  		this.ref, js.Pointer(&ret),
 10241  		uint32(target),
 10242  		int32(samples),
 10243  		uint32(internalformat),
 10244  		int32(width),
 10245  		int32(height),
 10246  	)
 10247  
 10248  	return
 10249  }
 10250  
 10251  // TryRenderbufferStorageMultisample calls the method "WebGL2RenderingContext.renderbufferStorageMultisample"
 10252  // in a try/catch block and returns (_, err, ok = false) when it went through
 10253  // the catch clause.
 10254  func (this WebGL2RenderingContext) TryRenderbufferStorageMultisample(target GLenum, samples GLsizei, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 10255  	ok = js.True == bindings.TryWebGL2RenderingContextRenderbufferStorageMultisample(
 10256  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10257  		uint32(target),
 10258  		int32(samples),
 10259  		uint32(internalformat),
 10260  		int32(width),
 10261  		int32(height),
 10262  	)
 10263  
 10264  	return
 10265  }
 10266  
 10267  // HasFuncTexStorage2D returns true if the method "WebGL2RenderingContext.texStorage2D" exists.
 10268  func (this WebGL2RenderingContext) HasFuncTexStorage2D() bool {
 10269  	return js.True == bindings.HasFuncWebGL2RenderingContextTexStorage2D(
 10270  		this.ref,
 10271  	)
 10272  }
 10273  
 10274  // FuncTexStorage2D returns the method "WebGL2RenderingContext.texStorage2D".
 10275  func (this WebGL2RenderingContext) FuncTexStorage2D() (fn js.Func[func(target GLenum, levels GLsizei, internalformat GLenum, width GLsizei, height GLsizei)]) {
 10276  	bindings.FuncWebGL2RenderingContextTexStorage2D(
 10277  		this.ref, js.Pointer(&fn),
 10278  	)
 10279  	return
 10280  }
 10281  
 10282  // TexStorage2D calls the method "WebGL2RenderingContext.texStorage2D".
 10283  func (this WebGL2RenderingContext) TexStorage2D(target GLenum, levels GLsizei, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void) {
 10284  	bindings.CallWebGL2RenderingContextTexStorage2D(
 10285  		this.ref, js.Pointer(&ret),
 10286  		uint32(target),
 10287  		int32(levels),
 10288  		uint32(internalformat),
 10289  		int32(width),
 10290  		int32(height),
 10291  	)
 10292  
 10293  	return
 10294  }
 10295  
 10296  // TryTexStorage2D calls the method "WebGL2RenderingContext.texStorage2D"
 10297  // in a try/catch block and returns (_, err, ok = false) when it went through
 10298  // the catch clause.
 10299  func (this WebGL2RenderingContext) TryTexStorage2D(target GLenum, levels GLsizei, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 10300  	ok = js.True == bindings.TryWebGL2RenderingContextTexStorage2D(
 10301  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10302  		uint32(target),
 10303  		int32(levels),
 10304  		uint32(internalformat),
 10305  		int32(width),
 10306  		int32(height),
 10307  	)
 10308  
 10309  	return
 10310  }
 10311  
 10312  // HasFuncTexStorage3D returns true if the method "WebGL2RenderingContext.texStorage3D" exists.
 10313  func (this WebGL2RenderingContext) HasFuncTexStorage3D() bool {
 10314  	return js.True == bindings.HasFuncWebGL2RenderingContextTexStorage3D(
 10315  		this.ref,
 10316  	)
 10317  }
 10318  
 10319  // FuncTexStorage3D returns the method "WebGL2RenderingContext.texStorage3D".
 10320  func (this WebGL2RenderingContext) FuncTexStorage3D() (fn js.Func[func(target GLenum, levels GLsizei, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei)]) {
 10321  	bindings.FuncWebGL2RenderingContextTexStorage3D(
 10322  		this.ref, js.Pointer(&fn),
 10323  	)
 10324  	return
 10325  }
 10326  
 10327  // TexStorage3D calls the method "WebGL2RenderingContext.texStorage3D".
 10328  func (this WebGL2RenderingContext) TexStorage3D(target GLenum, levels GLsizei, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei) (ret js.Void) {
 10329  	bindings.CallWebGL2RenderingContextTexStorage3D(
 10330  		this.ref, js.Pointer(&ret),
 10331  		uint32(target),
 10332  		int32(levels),
 10333  		uint32(internalformat),
 10334  		int32(width),
 10335  		int32(height),
 10336  		int32(depth),
 10337  	)
 10338  
 10339  	return
 10340  }
 10341  
 10342  // TryTexStorage3D calls the method "WebGL2RenderingContext.texStorage3D"
 10343  // in a try/catch block and returns (_, err, ok = false) when it went through
 10344  // the catch clause.
 10345  func (this WebGL2RenderingContext) TryTexStorage3D(target GLenum, levels GLsizei, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei) (ret js.Void, exception js.Any, ok bool) {
 10346  	ok = js.True == bindings.TryWebGL2RenderingContextTexStorage3D(
 10347  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10348  		uint32(target),
 10349  		int32(levels),
 10350  		uint32(internalformat),
 10351  		int32(width),
 10352  		int32(height),
 10353  		int32(depth),
 10354  	)
 10355  
 10356  	return
 10357  }
 10358  
 10359  // HasFuncTexImage3D returns true if the method "WebGL2RenderingContext.texImage3D" exists.
 10360  func (this WebGL2RenderingContext) HasFuncTexImage3D() bool {
 10361  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage3D(
 10362  		this.ref,
 10363  	)
 10364  }
 10365  
 10366  // FuncTexImage3D returns the method "WebGL2RenderingContext.texImage3D".
 10367  func (this WebGL2RenderingContext) FuncTexImage3D() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, pboOffset GLintptr)]) {
 10368  	bindings.FuncWebGL2RenderingContextTexImage3D(
 10369  		this.ref, js.Pointer(&fn),
 10370  	)
 10371  	return
 10372  }
 10373  
 10374  // TexImage3D calls the method "WebGL2RenderingContext.texImage3D".
 10375  func (this WebGL2RenderingContext) TexImage3D(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void) {
 10376  	bindings.CallWebGL2RenderingContextTexImage3D(
 10377  		this.ref, js.Pointer(&ret),
 10378  		uint32(target),
 10379  		int32(level),
 10380  		int32(internalformat),
 10381  		int32(width),
 10382  		int32(height),
 10383  		int32(depth),
 10384  		int32(border),
 10385  		uint32(format),
 10386  		uint32(typ),
 10387  		float64(pboOffset),
 10388  	)
 10389  
 10390  	return
 10391  }
 10392  
 10393  // TryTexImage3D calls the method "WebGL2RenderingContext.texImage3D"
 10394  // in a try/catch block and returns (_, err, ok = false) when it went through
 10395  // the catch clause.
 10396  func (this WebGL2RenderingContext) TryTexImage3D(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 10397  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage3D(
 10398  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10399  		uint32(target),
 10400  		int32(level),
 10401  		int32(internalformat),
 10402  		int32(width),
 10403  		int32(height),
 10404  		int32(depth),
 10405  		int32(border),
 10406  		uint32(format),
 10407  		uint32(typ),
 10408  		float64(pboOffset),
 10409  	)
 10410  
 10411  	return
 10412  }
 10413  
 10414  // HasFuncTexImage3D1 returns true if the method "WebGL2RenderingContext.texImage3D" exists.
 10415  func (this WebGL2RenderingContext) HasFuncTexImage3D1() bool {
 10416  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage3D1(
 10417  		this.ref,
 10418  	)
 10419  }
 10420  
 10421  // FuncTexImage3D1 returns the method "WebGL2RenderingContext.texImage3D".
 10422  func (this WebGL2RenderingContext) FuncTexImage3D1() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, source TexImageSource)]) {
 10423  	bindings.FuncWebGL2RenderingContextTexImage3D1(
 10424  		this.ref, js.Pointer(&fn),
 10425  	)
 10426  	return
 10427  }
 10428  
 10429  // TexImage3D1 calls the method "WebGL2RenderingContext.texImage3D".
 10430  func (this WebGL2RenderingContext) TexImage3D1(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
 10431  	bindings.CallWebGL2RenderingContextTexImage3D1(
 10432  		this.ref, js.Pointer(&ret),
 10433  		uint32(target),
 10434  		int32(level),
 10435  		int32(internalformat),
 10436  		int32(width),
 10437  		int32(height),
 10438  		int32(depth),
 10439  		int32(border),
 10440  		uint32(format),
 10441  		uint32(typ),
 10442  		source.Ref(),
 10443  	)
 10444  
 10445  	return
 10446  }
 10447  
 10448  // TryTexImage3D1 calls the method "WebGL2RenderingContext.texImage3D"
 10449  // in a try/catch block and returns (_, err, ok = false) when it went through
 10450  // the catch clause.
 10451  func (this WebGL2RenderingContext) TryTexImage3D1(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
 10452  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage3D1(
 10453  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10454  		uint32(target),
 10455  		int32(level),
 10456  		int32(internalformat),
 10457  		int32(width),
 10458  		int32(height),
 10459  		int32(depth),
 10460  		int32(border),
 10461  		uint32(format),
 10462  		uint32(typ),
 10463  		source.Ref(),
 10464  	)
 10465  
 10466  	return
 10467  }
 10468  
 10469  // HasFuncTexImage3D2 returns true if the method "WebGL2RenderingContext.texImage3D" exists.
 10470  func (this WebGL2RenderingContext) HasFuncTexImage3D2() bool {
 10471  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage3D2(
 10472  		this.ref,
 10473  	)
 10474  }
 10475  
 10476  // FuncTexImage3D2 returns the method "WebGL2RenderingContext.texImage3D".
 10477  func (this WebGL2RenderingContext) FuncTexImage3D2() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView)]) {
 10478  	bindings.FuncWebGL2RenderingContextTexImage3D2(
 10479  		this.ref, js.Pointer(&fn),
 10480  	)
 10481  	return
 10482  }
 10483  
 10484  // TexImage3D2 calls the method "WebGL2RenderingContext.texImage3D".
 10485  func (this WebGL2RenderingContext) TexImage3D2(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView) (ret js.Void) {
 10486  	bindings.CallWebGL2RenderingContextTexImage3D2(
 10487  		this.ref, js.Pointer(&ret),
 10488  		uint32(target),
 10489  		int32(level),
 10490  		int32(internalformat),
 10491  		int32(width),
 10492  		int32(height),
 10493  		int32(depth),
 10494  		int32(border),
 10495  		uint32(format),
 10496  		uint32(typ),
 10497  		srcData.Ref(),
 10498  	)
 10499  
 10500  	return
 10501  }
 10502  
 10503  // TryTexImage3D2 calls the method "WebGL2RenderingContext.texImage3D"
 10504  // in a try/catch block and returns (_, err, ok = false) when it went through
 10505  // the catch clause.
 10506  func (this WebGL2RenderingContext) TryTexImage3D2(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
 10507  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage3D2(
 10508  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10509  		uint32(target),
 10510  		int32(level),
 10511  		int32(internalformat),
 10512  		int32(width),
 10513  		int32(height),
 10514  		int32(depth),
 10515  		int32(border),
 10516  		uint32(format),
 10517  		uint32(typ),
 10518  		srcData.Ref(),
 10519  	)
 10520  
 10521  	return
 10522  }
 10523  
 10524  // HasFuncTexImage3D3 returns true if the method "WebGL2RenderingContext.texImage3D" exists.
 10525  func (this WebGL2RenderingContext) HasFuncTexImage3D3() bool {
 10526  	return js.True == bindings.HasFuncWebGL2RenderingContextTexImage3D3(
 10527  		this.ref,
 10528  	)
 10529  }
 10530  
 10531  // FuncTexImage3D3 returns the method "WebGL2RenderingContext.texImage3D".
 10532  func (this WebGL2RenderingContext) FuncTexImage3D3() (fn js.Func[func(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint)]) {
 10533  	bindings.FuncWebGL2RenderingContextTexImage3D3(
 10534  		this.ref, js.Pointer(&fn),
 10535  	)
 10536  	return
 10537  }
 10538  
 10539  // TexImage3D3 calls the method "WebGL2RenderingContext.texImage3D".
 10540  func (this WebGL2RenderingContext) TexImage3D3(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
 10541  	bindings.CallWebGL2RenderingContextTexImage3D3(
 10542  		this.ref, js.Pointer(&ret),
 10543  		uint32(target),
 10544  		int32(level),
 10545  		int32(internalformat),
 10546  		int32(width),
 10547  		int32(height),
 10548  		int32(depth),
 10549  		int32(border),
 10550  		uint32(format),
 10551  		uint32(typ),
 10552  		srcData.Ref(),
 10553  		uint32(srcOffset),
 10554  	)
 10555  
 10556  	return
 10557  }
 10558  
 10559  // TryTexImage3D3 calls the method "WebGL2RenderingContext.texImage3D"
 10560  // in a try/catch block and returns (_, err, ok = false) when it went through
 10561  // the catch clause.
 10562  func (this WebGL2RenderingContext) TryTexImage3D3(target GLenum, level GLint, internalformat GLint, width GLsizei, height GLsizei, depth GLsizei, border GLint, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 10563  	ok = js.True == bindings.TryWebGL2RenderingContextTexImage3D3(
 10564  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10565  		uint32(target),
 10566  		int32(level),
 10567  		int32(internalformat),
 10568  		int32(width),
 10569  		int32(height),
 10570  		int32(depth),
 10571  		int32(border),
 10572  		uint32(format),
 10573  		uint32(typ),
 10574  		srcData.Ref(),
 10575  		uint32(srcOffset),
 10576  	)
 10577  
 10578  	return
 10579  }
 10580  
 10581  // HasFuncTexSubImage3D returns true if the method "WebGL2RenderingContext.texSubImage3D" exists.
 10582  func (this WebGL2RenderingContext) HasFuncTexSubImage3D() bool {
 10583  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage3D(
 10584  		this.ref,
 10585  	)
 10586  }
 10587  
 10588  // FuncTexSubImage3D returns the method "WebGL2RenderingContext.texSubImage3D".
 10589  func (this WebGL2RenderingContext) FuncTexSubImage3D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, pboOffset GLintptr)]) {
 10590  	bindings.FuncWebGL2RenderingContextTexSubImage3D(
 10591  		this.ref, js.Pointer(&fn),
 10592  	)
 10593  	return
 10594  }
 10595  
 10596  // TexSubImage3D calls the method "WebGL2RenderingContext.texSubImage3D".
 10597  func (this WebGL2RenderingContext) TexSubImage3D(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void) {
 10598  	bindings.CallWebGL2RenderingContextTexSubImage3D(
 10599  		this.ref, js.Pointer(&ret),
 10600  		uint32(target),
 10601  		int32(level),
 10602  		int32(xoffset),
 10603  		int32(yoffset),
 10604  		int32(zoffset),
 10605  		int32(width),
 10606  		int32(height),
 10607  		int32(depth),
 10608  		uint32(format),
 10609  		uint32(typ),
 10610  		float64(pboOffset),
 10611  	)
 10612  
 10613  	return
 10614  }
 10615  
 10616  // TryTexSubImage3D calls the method "WebGL2RenderingContext.texSubImage3D"
 10617  // in a try/catch block and returns (_, err, ok = false) when it went through
 10618  // the catch clause.
 10619  func (this WebGL2RenderingContext) TryTexSubImage3D(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, pboOffset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 10620  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage3D(
 10621  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10622  		uint32(target),
 10623  		int32(level),
 10624  		int32(xoffset),
 10625  		int32(yoffset),
 10626  		int32(zoffset),
 10627  		int32(width),
 10628  		int32(height),
 10629  		int32(depth),
 10630  		uint32(format),
 10631  		uint32(typ),
 10632  		float64(pboOffset),
 10633  	)
 10634  
 10635  	return
 10636  }
 10637  
 10638  // HasFuncTexSubImage3D1 returns true if the method "WebGL2RenderingContext.texSubImage3D" exists.
 10639  func (this WebGL2RenderingContext) HasFuncTexSubImage3D1() bool {
 10640  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage3D1(
 10641  		this.ref,
 10642  	)
 10643  }
 10644  
 10645  // FuncTexSubImage3D1 returns the method "WebGL2RenderingContext.texSubImage3D".
 10646  func (this WebGL2RenderingContext) FuncTexSubImage3D1() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, source TexImageSource)]) {
 10647  	bindings.FuncWebGL2RenderingContextTexSubImage3D1(
 10648  		this.ref, js.Pointer(&fn),
 10649  	)
 10650  	return
 10651  }
 10652  
 10653  // TexSubImage3D1 calls the method "WebGL2RenderingContext.texSubImage3D".
 10654  func (this WebGL2RenderingContext) TexSubImage3D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, source TexImageSource) (ret js.Void) {
 10655  	bindings.CallWebGL2RenderingContextTexSubImage3D1(
 10656  		this.ref, js.Pointer(&ret),
 10657  		uint32(target),
 10658  		int32(level),
 10659  		int32(xoffset),
 10660  		int32(yoffset),
 10661  		int32(zoffset),
 10662  		int32(width),
 10663  		int32(height),
 10664  		int32(depth),
 10665  		uint32(format),
 10666  		uint32(typ),
 10667  		source.Ref(),
 10668  	)
 10669  
 10670  	return
 10671  }
 10672  
 10673  // TryTexSubImage3D1 calls the method "WebGL2RenderingContext.texSubImage3D"
 10674  // in a try/catch block and returns (_, err, ok = false) when it went through
 10675  // the catch clause.
 10676  func (this WebGL2RenderingContext) TryTexSubImage3D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, source TexImageSource) (ret js.Void, exception js.Any, ok bool) {
 10677  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage3D1(
 10678  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10679  		uint32(target),
 10680  		int32(level),
 10681  		int32(xoffset),
 10682  		int32(yoffset),
 10683  		int32(zoffset),
 10684  		int32(width),
 10685  		int32(height),
 10686  		int32(depth),
 10687  		uint32(format),
 10688  		uint32(typ),
 10689  		source.Ref(),
 10690  	)
 10691  
 10692  	return
 10693  }
 10694  
 10695  // HasFuncTexSubImage3D2 returns true if the method "WebGL2RenderingContext.texSubImage3D" exists.
 10696  func (this WebGL2RenderingContext) HasFuncTexSubImage3D2() bool {
 10697  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage3D2(
 10698  		this.ref,
 10699  	)
 10700  }
 10701  
 10702  // FuncTexSubImage3D2 returns the method "WebGL2RenderingContext.texSubImage3D".
 10703  func (this WebGL2RenderingContext) FuncTexSubImage3D2() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint)]) {
 10704  	bindings.FuncWebGL2RenderingContextTexSubImage3D2(
 10705  		this.ref, js.Pointer(&fn),
 10706  	)
 10707  	return
 10708  }
 10709  
 10710  // TexSubImage3D2 calls the method "WebGL2RenderingContext.texSubImage3D".
 10711  func (this WebGL2RenderingContext) TexSubImage3D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
 10712  	bindings.CallWebGL2RenderingContextTexSubImage3D2(
 10713  		this.ref, js.Pointer(&ret),
 10714  		uint32(target),
 10715  		int32(level),
 10716  		int32(xoffset),
 10717  		int32(yoffset),
 10718  		int32(zoffset),
 10719  		int32(width),
 10720  		int32(height),
 10721  		int32(depth),
 10722  		uint32(format),
 10723  		uint32(typ),
 10724  		srcData.Ref(),
 10725  		uint32(srcOffset),
 10726  	)
 10727  
 10728  	return
 10729  }
 10730  
 10731  // TryTexSubImage3D2 calls the method "WebGL2RenderingContext.texSubImage3D"
 10732  // in a try/catch block and returns (_, err, ok = false) when it went through
 10733  // the catch clause.
 10734  func (this WebGL2RenderingContext) TryTexSubImage3D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 10735  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage3D2(
 10736  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10737  		uint32(target),
 10738  		int32(level),
 10739  		int32(xoffset),
 10740  		int32(yoffset),
 10741  		int32(zoffset),
 10742  		int32(width),
 10743  		int32(height),
 10744  		int32(depth),
 10745  		uint32(format),
 10746  		uint32(typ),
 10747  		srcData.Ref(),
 10748  		uint32(srcOffset),
 10749  	)
 10750  
 10751  	return
 10752  }
 10753  
 10754  // HasFuncTexSubImage3D3 returns true if the method "WebGL2RenderingContext.texSubImage3D" exists.
 10755  func (this WebGL2RenderingContext) HasFuncTexSubImage3D3() bool {
 10756  	return js.True == bindings.HasFuncWebGL2RenderingContextTexSubImage3D3(
 10757  		this.ref,
 10758  	)
 10759  }
 10760  
 10761  // FuncTexSubImage3D3 returns the method "WebGL2RenderingContext.texSubImage3D".
 10762  func (this WebGL2RenderingContext) FuncTexSubImage3D3() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView)]) {
 10763  	bindings.FuncWebGL2RenderingContextTexSubImage3D3(
 10764  		this.ref, js.Pointer(&fn),
 10765  	)
 10766  	return
 10767  }
 10768  
 10769  // TexSubImage3D3 calls the method "WebGL2RenderingContext.texSubImage3D".
 10770  func (this WebGL2RenderingContext) TexSubImage3D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView) (ret js.Void) {
 10771  	bindings.CallWebGL2RenderingContextTexSubImage3D3(
 10772  		this.ref, js.Pointer(&ret),
 10773  		uint32(target),
 10774  		int32(level),
 10775  		int32(xoffset),
 10776  		int32(yoffset),
 10777  		int32(zoffset),
 10778  		int32(width),
 10779  		int32(height),
 10780  		int32(depth),
 10781  		uint32(format),
 10782  		uint32(typ),
 10783  		srcData.Ref(),
 10784  	)
 10785  
 10786  	return
 10787  }
 10788  
 10789  // TryTexSubImage3D3 calls the method "WebGL2RenderingContext.texSubImage3D"
 10790  // in a try/catch block and returns (_, err, ok = false) when it went through
 10791  // the catch clause.
 10792  func (this WebGL2RenderingContext) TryTexSubImage3D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, typ GLenum, srcData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
 10793  	ok = js.True == bindings.TryWebGL2RenderingContextTexSubImage3D3(
 10794  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10795  		uint32(target),
 10796  		int32(level),
 10797  		int32(xoffset),
 10798  		int32(yoffset),
 10799  		int32(zoffset),
 10800  		int32(width),
 10801  		int32(height),
 10802  		int32(depth),
 10803  		uint32(format),
 10804  		uint32(typ),
 10805  		srcData.Ref(),
 10806  	)
 10807  
 10808  	return
 10809  }
 10810  
 10811  // HasFuncCopyTexSubImage3D returns true if the method "WebGL2RenderingContext.copyTexSubImage3D" exists.
 10812  func (this WebGL2RenderingContext) HasFuncCopyTexSubImage3D() bool {
 10813  	return js.True == bindings.HasFuncWebGL2RenderingContextCopyTexSubImage3D(
 10814  		this.ref,
 10815  	)
 10816  }
 10817  
 10818  // FuncCopyTexSubImage3D returns the method "WebGL2RenderingContext.copyTexSubImage3D".
 10819  func (this WebGL2RenderingContext) FuncCopyTexSubImage3D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei)]) {
 10820  	bindings.FuncWebGL2RenderingContextCopyTexSubImage3D(
 10821  		this.ref, js.Pointer(&fn),
 10822  	)
 10823  	return
 10824  }
 10825  
 10826  // CopyTexSubImage3D calls the method "WebGL2RenderingContext.copyTexSubImage3D".
 10827  func (this WebGL2RenderingContext) CopyTexSubImage3D(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
 10828  	bindings.CallWebGL2RenderingContextCopyTexSubImage3D(
 10829  		this.ref, js.Pointer(&ret),
 10830  		uint32(target),
 10831  		int32(level),
 10832  		int32(xoffset),
 10833  		int32(yoffset),
 10834  		int32(zoffset),
 10835  		int32(x),
 10836  		int32(y),
 10837  		int32(width),
 10838  		int32(height),
 10839  	)
 10840  
 10841  	return
 10842  }
 10843  
 10844  // TryCopyTexSubImage3D calls the method "WebGL2RenderingContext.copyTexSubImage3D"
 10845  // in a try/catch block and returns (_, err, ok = false) when it went through
 10846  // the catch clause.
 10847  func (this WebGL2RenderingContext) TryCopyTexSubImage3D(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 10848  	ok = js.True == bindings.TryWebGL2RenderingContextCopyTexSubImage3D(
 10849  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10850  		uint32(target),
 10851  		int32(level),
 10852  		int32(xoffset),
 10853  		int32(yoffset),
 10854  		int32(zoffset),
 10855  		int32(x),
 10856  		int32(y),
 10857  		int32(width),
 10858  		int32(height),
 10859  	)
 10860  
 10861  	return
 10862  }
 10863  
 10864  // HasFuncCompressedTexImage3D returns true if the method "WebGL2RenderingContext.compressedTexImage3D" exists.
 10865  func (this WebGL2RenderingContext) HasFuncCompressedTexImage3D() bool {
 10866  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage3D(
 10867  		this.ref,
 10868  	)
 10869  }
 10870  
 10871  // FuncCompressedTexImage3D returns the method "WebGL2RenderingContext.compressedTexImage3D".
 10872  func (this WebGL2RenderingContext) FuncCompressedTexImage3D() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, imageSize GLsizei, offset GLintptr)]) {
 10873  	bindings.FuncWebGL2RenderingContextCompressedTexImage3D(
 10874  		this.ref, js.Pointer(&fn),
 10875  	)
 10876  	return
 10877  }
 10878  
 10879  // CompressedTexImage3D calls the method "WebGL2RenderingContext.compressedTexImage3D".
 10880  func (this WebGL2RenderingContext) CompressedTexImage3D(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, imageSize GLsizei, offset GLintptr) (ret js.Void) {
 10881  	bindings.CallWebGL2RenderingContextCompressedTexImage3D(
 10882  		this.ref, js.Pointer(&ret),
 10883  		uint32(target),
 10884  		int32(level),
 10885  		uint32(internalformat),
 10886  		int32(width),
 10887  		int32(height),
 10888  		int32(depth),
 10889  		int32(border),
 10890  		int32(imageSize),
 10891  		float64(offset),
 10892  	)
 10893  
 10894  	return
 10895  }
 10896  
 10897  // TryCompressedTexImage3D calls the method "WebGL2RenderingContext.compressedTexImage3D"
 10898  // in a try/catch block and returns (_, err, ok = false) when it went through
 10899  // the catch clause.
 10900  func (this WebGL2RenderingContext) TryCompressedTexImage3D(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, imageSize GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 10901  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage3D(
 10902  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10903  		uint32(target),
 10904  		int32(level),
 10905  		uint32(internalformat),
 10906  		int32(width),
 10907  		int32(height),
 10908  		int32(depth),
 10909  		int32(border),
 10910  		int32(imageSize),
 10911  		float64(offset),
 10912  	)
 10913  
 10914  	return
 10915  }
 10916  
 10917  // HasFuncCompressedTexImage3D1 returns true if the method "WebGL2RenderingContext.compressedTexImage3D" exists.
 10918  func (this WebGL2RenderingContext) HasFuncCompressedTexImage3D1() bool {
 10919  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage3D1(
 10920  		this.ref,
 10921  	)
 10922  }
 10923  
 10924  // FuncCompressedTexImage3D1 returns the method "WebGL2RenderingContext.compressedTexImage3D".
 10925  func (this WebGL2RenderingContext) FuncCompressedTexImage3D1() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint)]) {
 10926  	bindings.FuncWebGL2RenderingContextCompressedTexImage3D1(
 10927  		this.ref, js.Pointer(&fn),
 10928  	)
 10929  	return
 10930  }
 10931  
 10932  // CompressedTexImage3D1 calls the method "WebGL2RenderingContext.compressedTexImage3D".
 10933  func (this WebGL2RenderingContext) CompressedTexImage3D1(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void) {
 10934  	bindings.CallWebGL2RenderingContextCompressedTexImage3D1(
 10935  		this.ref, js.Pointer(&ret),
 10936  		uint32(target),
 10937  		int32(level),
 10938  		uint32(internalformat),
 10939  		int32(width),
 10940  		int32(height),
 10941  		int32(depth),
 10942  		int32(border),
 10943  		srcData.Ref(),
 10944  		uint32(srcOffset),
 10945  		uint32(srcLengthOverride),
 10946  	)
 10947  
 10948  	return
 10949  }
 10950  
 10951  // TryCompressedTexImage3D1 calls the method "WebGL2RenderingContext.compressedTexImage3D"
 10952  // in a try/catch block and returns (_, err, ok = false) when it went through
 10953  // the catch clause.
 10954  func (this WebGL2RenderingContext) TryCompressedTexImage3D1(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void, exception js.Any, ok bool) {
 10955  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage3D1(
 10956  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 10957  		uint32(target),
 10958  		int32(level),
 10959  		uint32(internalformat),
 10960  		int32(width),
 10961  		int32(height),
 10962  		int32(depth),
 10963  		int32(border),
 10964  		srcData.Ref(),
 10965  		uint32(srcOffset),
 10966  		uint32(srcLengthOverride),
 10967  	)
 10968  
 10969  	return
 10970  }
 10971  
 10972  // HasFuncCompressedTexImage3D2 returns true if the method "WebGL2RenderingContext.compressedTexImage3D" exists.
 10973  func (this WebGL2RenderingContext) HasFuncCompressedTexImage3D2() bool {
 10974  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage3D2(
 10975  		this.ref,
 10976  	)
 10977  }
 10978  
 10979  // FuncCompressedTexImage3D2 returns the method "WebGL2RenderingContext.compressedTexImage3D".
 10980  func (this WebGL2RenderingContext) FuncCompressedTexImage3D2() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint)]) {
 10981  	bindings.FuncWebGL2RenderingContextCompressedTexImage3D2(
 10982  		this.ref, js.Pointer(&fn),
 10983  	)
 10984  	return
 10985  }
 10986  
 10987  // CompressedTexImage3D2 calls the method "WebGL2RenderingContext.compressedTexImage3D".
 10988  func (this WebGL2RenderingContext) CompressedTexImage3D2(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
 10989  	bindings.CallWebGL2RenderingContextCompressedTexImage3D2(
 10990  		this.ref, js.Pointer(&ret),
 10991  		uint32(target),
 10992  		int32(level),
 10993  		uint32(internalformat),
 10994  		int32(width),
 10995  		int32(height),
 10996  		int32(depth),
 10997  		int32(border),
 10998  		srcData.Ref(),
 10999  		uint32(srcOffset),
 11000  	)
 11001  
 11002  	return
 11003  }
 11004  
 11005  // TryCompressedTexImage3D2 calls the method "WebGL2RenderingContext.compressedTexImage3D"
 11006  // in a try/catch block and returns (_, err, ok = false) when it went through
 11007  // the catch clause.
 11008  func (this WebGL2RenderingContext) TryCompressedTexImage3D2(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 11009  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage3D2(
 11010  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11011  		uint32(target),
 11012  		int32(level),
 11013  		uint32(internalformat),
 11014  		int32(width),
 11015  		int32(height),
 11016  		int32(depth),
 11017  		int32(border),
 11018  		srcData.Ref(),
 11019  		uint32(srcOffset),
 11020  	)
 11021  
 11022  	return
 11023  }
 11024  
 11025  // HasFuncCompressedTexImage3D3 returns true if the method "WebGL2RenderingContext.compressedTexImage3D" exists.
 11026  func (this WebGL2RenderingContext) HasFuncCompressedTexImage3D3() bool {
 11027  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexImage3D3(
 11028  		this.ref,
 11029  	)
 11030  }
 11031  
 11032  // FuncCompressedTexImage3D3 returns the method "WebGL2RenderingContext.compressedTexImage3D".
 11033  func (this WebGL2RenderingContext) FuncCompressedTexImage3D3() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView)]) {
 11034  	bindings.FuncWebGL2RenderingContextCompressedTexImage3D3(
 11035  		this.ref, js.Pointer(&fn),
 11036  	)
 11037  	return
 11038  }
 11039  
 11040  // CompressedTexImage3D3 calls the method "WebGL2RenderingContext.compressedTexImage3D".
 11041  func (this WebGL2RenderingContext) CompressedTexImage3D3(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView) (ret js.Void) {
 11042  	bindings.CallWebGL2RenderingContextCompressedTexImage3D3(
 11043  		this.ref, js.Pointer(&ret),
 11044  		uint32(target),
 11045  		int32(level),
 11046  		uint32(internalformat),
 11047  		int32(width),
 11048  		int32(height),
 11049  		int32(depth),
 11050  		int32(border),
 11051  		srcData.Ref(),
 11052  	)
 11053  
 11054  	return
 11055  }
 11056  
 11057  // TryCompressedTexImage3D3 calls the method "WebGL2RenderingContext.compressedTexImage3D"
 11058  // in a try/catch block and returns (_, err, ok = false) when it went through
 11059  // the catch clause.
 11060  func (this WebGL2RenderingContext) TryCompressedTexImage3D3(target GLenum, level GLint, internalformat GLenum, width GLsizei, height GLsizei, depth GLsizei, border GLint, srcData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
 11061  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexImage3D3(
 11062  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11063  		uint32(target),
 11064  		int32(level),
 11065  		uint32(internalformat),
 11066  		int32(width),
 11067  		int32(height),
 11068  		int32(depth),
 11069  		int32(border),
 11070  		srcData.Ref(),
 11071  	)
 11072  
 11073  	return
 11074  }
 11075  
 11076  // HasFuncCompressedTexSubImage3D returns true if the method "WebGL2RenderingContext.compressedTexSubImage3D" exists.
 11077  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage3D() bool {
 11078  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage3D(
 11079  		this.ref,
 11080  	)
 11081  }
 11082  
 11083  // FuncCompressedTexSubImage3D returns the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11084  func (this WebGL2RenderingContext) FuncCompressedTexSubImage3D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, imageSize GLsizei, offset GLintptr)]) {
 11085  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage3D(
 11086  		this.ref, js.Pointer(&fn),
 11087  	)
 11088  	return
 11089  }
 11090  
 11091  // CompressedTexSubImage3D calls the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11092  func (this WebGL2RenderingContext) CompressedTexSubImage3D(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, imageSize GLsizei, offset GLintptr) (ret js.Void) {
 11093  	bindings.CallWebGL2RenderingContextCompressedTexSubImage3D(
 11094  		this.ref, js.Pointer(&ret),
 11095  		uint32(target),
 11096  		int32(level),
 11097  		int32(xoffset),
 11098  		int32(yoffset),
 11099  		int32(zoffset),
 11100  		int32(width),
 11101  		int32(height),
 11102  		int32(depth),
 11103  		uint32(format),
 11104  		int32(imageSize),
 11105  		float64(offset),
 11106  	)
 11107  
 11108  	return
 11109  }
 11110  
 11111  // TryCompressedTexSubImage3D calls the method "WebGL2RenderingContext.compressedTexSubImage3D"
 11112  // in a try/catch block and returns (_, err, ok = false) when it went through
 11113  // the catch clause.
 11114  func (this WebGL2RenderingContext) TryCompressedTexSubImage3D(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, imageSize GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 11115  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage3D(
 11116  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11117  		uint32(target),
 11118  		int32(level),
 11119  		int32(xoffset),
 11120  		int32(yoffset),
 11121  		int32(zoffset),
 11122  		int32(width),
 11123  		int32(height),
 11124  		int32(depth),
 11125  		uint32(format),
 11126  		int32(imageSize),
 11127  		float64(offset),
 11128  	)
 11129  
 11130  	return
 11131  }
 11132  
 11133  // HasFuncCompressedTexSubImage3D1 returns true if the method "WebGL2RenderingContext.compressedTexSubImage3D" exists.
 11134  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage3D1() bool {
 11135  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage3D1(
 11136  		this.ref,
 11137  	)
 11138  }
 11139  
 11140  // FuncCompressedTexSubImage3D1 returns the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11141  func (this WebGL2RenderingContext) FuncCompressedTexSubImage3D1() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint)]) {
 11142  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage3D1(
 11143  		this.ref, js.Pointer(&fn),
 11144  	)
 11145  	return
 11146  }
 11147  
 11148  // CompressedTexSubImage3D1 calls the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11149  func (this WebGL2RenderingContext) CompressedTexSubImage3D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void) {
 11150  	bindings.CallWebGL2RenderingContextCompressedTexSubImage3D1(
 11151  		this.ref, js.Pointer(&ret),
 11152  		uint32(target),
 11153  		int32(level),
 11154  		int32(xoffset),
 11155  		int32(yoffset),
 11156  		int32(zoffset),
 11157  		int32(width),
 11158  		int32(height),
 11159  		int32(depth),
 11160  		uint32(format),
 11161  		srcData.Ref(),
 11162  		uint32(srcOffset),
 11163  		uint32(srcLengthOverride),
 11164  	)
 11165  
 11166  	return
 11167  }
 11168  
 11169  // TryCompressedTexSubImage3D1 calls the method "WebGL2RenderingContext.compressedTexSubImage3D"
 11170  // in a try/catch block and returns (_, err, ok = false) when it went through
 11171  // the catch clause.
 11172  func (this WebGL2RenderingContext) TryCompressedTexSubImage3D1(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint, srcLengthOverride GLuint) (ret js.Void, exception js.Any, ok bool) {
 11173  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage3D1(
 11174  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11175  		uint32(target),
 11176  		int32(level),
 11177  		int32(xoffset),
 11178  		int32(yoffset),
 11179  		int32(zoffset),
 11180  		int32(width),
 11181  		int32(height),
 11182  		int32(depth),
 11183  		uint32(format),
 11184  		srcData.Ref(),
 11185  		uint32(srcOffset),
 11186  		uint32(srcLengthOverride),
 11187  	)
 11188  
 11189  	return
 11190  }
 11191  
 11192  // HasFuncCompressedTexSubImage3D2 returns true if the method "WebGL2RenderingContext.compressedTexSubImage3D" exists.
 11193  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage3D2() bool {
 11194  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage3D2(
 11195  		this.ref,
 11196  	)
 11197  }
 11198  
 11199  // FuncCompressedTexSubImage3D2 returns the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11200  func (this WebGL2RenderingContext) FuncCompressedTexSubImage3D2() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint)]) {
 11201  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage3D2(
 11202  		this.ref, js.Pointer(&fn),
 11203  	)
 11204  	return
 11205  }
 11206  
 11207  // CompressedTexSubImage3D2 calls the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11208  func (this WebGL2RenderingContext) CompressedTexSubImage3D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void) {
 11209  	bindings.CallWebGL2RenderingContextCompressedTexSubImage3D2(
 11210  		this.ref, js.Pointer(&ret),
 11211  		uint32(target),
 11212  		int32(level),
 11213  		int32(xoffset),
 11214  		int32(yoffset),
 11215  		int32(zoffset),
 11216  		int32(width),
 11217  		int32(height),
 11218  		int32(depth),
 11219  		uint32(format),
 11220  		srcData.Ref(),
 11221  		uint32(srcOffset),
 11222  	)
 11223  
 11224  	return
 11225  }
 11226  
 11227  // TryCompressedTexSubImage3D2 calls the method "WebGL2RenderingContext.compressedTexSubImage3D"
 11228  // in a try/catch block and returns (_, err, ok = false) when it went through
 11229  // the catch clause.
 11230  func (this WebGL2RenderingContext) TryCompressedTexSubImage3D2(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 11231  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage3D2(
 11232  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11233  		uint32(target),
 11234  		int32(level),
 11235  		int32(xoffset),
 11236  		int32(yoffset),
 11237  		int32(zoffset),
 11238  		int32(width),
 11239  		int32(height),
 11240  		int32(depth),
 11241  		uint32(format),
 11242  		srcData.Ref(),
 11243  		uint32(srcOffset),
 11244  	)
 11245  
 11246  	return
 11247  }
 11248  
 11249  // HasFuncCompressedTexSubImage3D3 returns true if the method "WebGL2RenderingContext.compressedTexSubImage3D" exists.
 11250  func (this WebGL2RenderingContext) HasFuncCompressedTexSubImage3D3() bool {
 11251  	return js.True == bindings.HasFuncWebGL2RenderingContextCompressedTexSubImage3D3(
 11252  		this.ref,
 11253  	)
 11254  }
 11255  
 11256  // FuncCompressedTexSubImage3D3 returns the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11257  func (this WebGL2RenderingContext) FuncCompressedTexSubImage3D3() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView)]) {
 11258  	bindings.FuncWebGL2RenderingContextCompressedTexSubImage3D3(
 11259  		this.ref, js.Pointer(&fn),
 11260  	)
 11261  	return
 11262  }
 11263  
 11264  // CompressedTexSubImage3D3 calls the method "WebGL2RenderingContext.compressedTexSubImage3D".
 11265  func (this WebGL2RenderingContext) CompressedTexSubImage3D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView) (ret js.Void) {
 11266  	bindings.CallWebGL2RenderingContextCompressedTexSubImage3D3(
 11267  		this.ref, js.Pointer(&ret),
 11268  		uint32(target),
 11269  		int32(level),
 11270  		int32(xoffset),
 11271  		int32(yoffset),
 11272  		int32(zoffset),
 11273  		int32(width),
 11274  		int32(height),
 11275  		int32(depth),
 11276  		uint32(format),
 11277  		srcData.Ref(),
 11278  	)
 11279  
 11280  	return
 11281  }
 11282  
 11283  // TryCompressedTexSubImage3D3 calls the method "WebGL2RenderingContext.compressedTexSubImage3D"
 11284  // in a try/catch block and returns (_, err, ok = false) when it went through
 11285  // the catch clause.
 11286  func (this WebGL2RenderingContext) TryCompressedTexSubImage3D3(target GLenum, level GLint, xoffset GLint, yoffset GLint, zoffset GLint, width GLsizei, height GLsizei, depth GLsizei, format GLenum, srcData js.ArrayBufferView) (ret js.Void, exception js.Any, ok bool) {
 11287  	ok = js.True == bindings.TryWebGL2RenderingContextCompressedTexSubImage3D3(
 11288  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11289  		uint32(target),
 11290  		int32(level),
 11291  		int32(xoffset),
 11292  		int32(yoffset),
 11293  		int32(zoffset),
 11294  		int32(width),
 11295  		int32(height),
 11296  		int32(depth),
 11297  		uint32(format),
 11298  		srcData.Ref(),
 11299  	)
 11300  
 11301  	return
 11302  }
 11303  
 11304  // HasFuncGetFragDataLocation returns true if the method "WebGL2RenderingContext.getFragDataLocation" exists.
 11305  func (this WebGL2RenderingContext) HasFuncGetFragDataLocation() bool {
 11306  	return js.True == bindings.HasFuncWebGL2RenderingContextGetFragDataLocation(
 11307  		this.ref,
 11308  	)
 11309  }
 11310  
 11311  // FuncGetFragDataLocation returns the method "WebGL2RenderingContext.getFragDataLocation".
 11312  func (this WebGL2RenderingContext) FuncGetFragDataLocation() (fn js.Func[func(program WebGLProgram, name js.String) GLint]) {
 11313  	bindings.FuncWebGL2RenderingContextGetFragDataLocation(
 11314  		this.ref, js.Pointer(&fn),
 11315  	)
 11316  	return
 11317  }
 11318  
 11319  // GetFragDataLocation calls the method "WebGL2RenderingContext.getFragDataLocation".
 11320  func (this WebGL2RenderingContext) GetFragDataLocation(program WebGLProgram, name js.String) (ret GLint) {
 11321  	bindings.CallWebGL2RenderingContextGetFragDataLocation(
 11322  		this.ref, js.Pointer(&ret),
 11323  		program.Ref(),
 11324  		name.Ref(),
 11325  	)
 11326  
 11327  	return
 11328  }
 11329  
 11330  // TryGetFragDataLocation calls the method "WebGL2RenderingContext.getFragDataLocation"
 11331  // in a try/catch block and returns (_, err, ok = false) when it went through
 11332  // the catch clause.
 11333  func (this WebGL2RenderingContext) TryGetFragDataLocation(program WebGLProgram, name js.String) (ret GLint, exception js.Any, ok bool) {
 11334  	ok = js.True == bindings.TryWebGL2RenderingContextGetFragDataLocation(
 11335  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11336  		program.Ref(),
 11337  		name.Ref(),
 11338  	)
 11339  
 11340  	return
 11341  }
 11342  
 11343  // HasFuncUniform1ui returns true if the method "WebGL2RenderingContext.uniform1ui" exists.
 11344  func (this WebGL2RenderingContext) HasFuncUniform1ui() bool {
 11345  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1ui(
 11346  		this.ref,
 11347  	)
 11348  }
 11349  
 11350  // FuncUniform1ui returns the method "WebGL2RenderingContext.uniform1ui".
 11351  func (this WebGL2RenderingContext) FuncUniform1ui() (fn js.Func[func(location WebGLUniformLocation, v0 GLuint)]) {
 11352  	bindings.FuncWebGL2RenderingContextUniform1ui(
 11353  		this.ref, js.Pointer(&fn),
 11354  	)
 11355  	return
 11356  }
 11357  
 11358  // Uniform1ui calls the method "WebGL2RenderingContext.uniform1ui".
 11359  func (this WebGL2RenderingContext) Uniform1ui(location WebGLUniformLocation, v0 GLuint) (ret js.Void) {
 11360  	bindings.CallWebGL2RenderingContextUniform1ui(
 11361  		this.ref, js.Pointer(&ret),
 11362  		location.Ref(),
 11363  		uint32(v0),
 11364  	)
 11365  
 11366  	return
 11367  }
 11368  
 11369  // TryUniform1ui calls the method "WebGL2RenderingContext.uniform1ui"
 11370  // in a try/catch block and returns (_, err, ok = false) when it went through
 11371  // the catch clause.
 11372  func (this WebGL2RenderingContext) TryUniform1ui(location WebGLUniformLocation, v0 GLuint) (ret js.Void, exception js.Any, ok bool) {
 11373  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1ui(
 11374  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11375  		location.Ref(),
 11376  		uint32(v0),
 11377  	)
 11378  
 11379  	return
 11380  }
 11381  
 11382  // HasFuncUniform2ui returns true if the method "WebGL2RenderingContext.uniform2ui" exists.
 11383  func (this WebGL2RenderingContext) HasFuncUniform2ui() bool {
 11384  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2ui(
 11385  		this.ref,
 11386  	)
 11387  }
 11388  
 11389  // FuncUniform2ui returns the method "WebGL2RenderingContext.uniform2ui".
 11390  func (this WebGL2RenderingContext) FuncUniform2ui() (fn js.Func[func(location WebGLUniformLocation, v0 GLuint, v1 GLuint)]) {
 11391  	bindings.FuncWebGL2RenderingContextUniform2ui(
 11392  		this.ref, js.Pointer(&fn),
 11393  	)
 11394  	return
 11395  }
 11396  
 11397  // Uniform2ui calls the method "WebGL2RenderingContext.uniform2ui".
 11398  func (this WebGL2RenderingContext) Uniform2ui(location WebGLUniformLocation, v0 GLuint, v1 GLuint) (ret js.Void) {
 11399  	bindings.CallWebGL2RenderingContextUniform2ui(
 11400  		this.ref, js.Pointer(&ret),
 11401  		location.Ref(),
 11402  		uint32(v0),
 11403  		uint32(v1),
 11404  	)
 11405  
 11406  	return
 11407  }
 11408  
 11409  // TryUniform2ui calls the method "WebGL2RenderingContext.uniform2ui"
 11410  // in a try/catch block and returns (_, err, ok = false) when it went through
 11411  // the catch clause.
 11412  func (this WebGL2RenderingContext) TryUniform2ui(location WebGLUniformLocation, v0 GLuint, v1 GLuint) (ret js.Void, exception js.Any, ok bool) {
 11413  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2ui(
 11414  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11415  		location.Ref(),
 11416  		uint32(v0),
 11417  		uint32(v1),
 11418  	)
 11419  
 11420  	return
 11421  }
 11422  
 11423  // HasFuncUniform3ui returns true if the method "WebGL2RenderingContext.uniform3ui" exists.
 11424  func (this WebGL2RenderingContext) HasFuncUniform3ui() bool {
 11425  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3ui(
 11426  		this.ref,
 11427  	)
 11428  }
 11429  
 11430  // FuncUniform3ui returns the method "WebGL2RenderingContext.uniform3ui".
 11431  func (this WebGL2RenderingContext) FuncUniform3ui() (fn js.Func[func(location WebGLUniformLocation, v0 GLuint, v1 GLuint, v2 GLuint)]) {
 11432  	bindings.FuncWebGL2RenderingContextUniform3ui(
 11433  		this.ref, js.Pointer(&fn),
 11434  	)
 11435  	return
 11436  }
 11437  
 11438  // Uniform3ui calls the method "WebGL2RenderingContext.uniform3ui".
 11439  func (this WebGL2RenderingContext) Uniform3ui(location WebGLUniformLocation, v0 GLuint, v1 GLuint, v2 GLuint) (ret js.Void) {
 11440  	bindings.CallWebGL2RenderingContextUniform3ui(
 11441  		this.ref, js.Pointer(&ret),
 11442  		location.Ref(),
 11443  		uint32(v0),
 11444  		uint32(v1),
 11445  		uint32(v2),
 11446  	)
 11447  
 11448  	return
 11449  }
 11450  
 11451  // TryUniform3ui calls the method "WebGL2RenderingContext.uniform3ui"
 11452  // in a try/catch block and returns (_, err, ok = false) when it went through
 11453  // the catch clause.
 11454  func (this WebGL2RenderingContext) TryUniform3ui(location WebGLUniformLocation, v0 GLuint, v1 GLuint, v2 GLuint) (ret js.Void, exception js.Any, ok bool) {
 11455  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3ui(
 11456  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11457  		location.Ref(),
 11458  		uint32(v0),
 11459  		uint32(v1),
 11460  		uint32(v2),
 11461  	)
 11462  
 11463  	return
 11464  }
 11465  
 11466  // HasFuncUniform4ui returns true if the method "WebGL2RenderingContext.uniform4ui" exists.
 11467  func (this WebGL2RenderingContext) HasFuncUniform4ui() bool {
 11468  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4ui(
 11469  		this.ref,
 11470  	)
 11471  }
 11472  
 11473  // FuncUniform4ui returns the method "WebGL2RenderingContext.uniform4ui".
 11474  func (this WebGL2RenderingContext) FuncUniform4ui() (fn js.Func[func(location WebGLUniformLocation, v0 GLuint, v1 GLuint, v2 GLuint, v3 GLuint)]) {
 11475  	bindings.FuncWebGL2RenderingContextUniform4ui(
 11476  		this.ref, js.Pointer(&fn),
 11477  	)
 11478  	return
 11479  }
 11480  
 11481  // Uniform4ui calls the method "WebGL2RenderingContext.uniform4ui".
 11482  func (this WebGL2RenderingContext) Uniform4ui(location WebGLUniformLocation, v0 GLuint, v1 GLuint, v2 GLuint, v3 GLuint) (ret js.Void) {
 11483  	bindings.CallWebGL2RenderingContextUniform4ui(
 11484  		this.ref, js.Pointer(&ret),
 11485  		location.Ref(),
 11486  		uint32(v0),
 11487  		uint32(v1),
 11488  		uint32(v2),
 11489  		uint32(v3),
 11490  	)
 11491  
 11492  	return
 11493  }
 11494  
 11495  // TryUniform4ui calls the method "WebGL2RenderingContext.uniform4ui"
 11496  // in a try/catch block and returns (_, err, ok = false) when it went through
 11497  // the catch clause.
 11498  func (this WebGL2RenderingContext) TryUniform4ui(location WebGLUniformLocation, v0 GLuint, v1 GLuint, v2 GLuint, v3 GLuint) (ret js.Void, exception js.Any, ok bool) {
 11499  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4ui(
 11500  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11501  		location.Ref(),
 11502  		uint32(v0),
 11503  		uint32(v1),
 11504  		uint32(v2),
 11505  		uint32(v3),
 11506  	)
 11507  
 11508  	return
 11509  }
 11510  
 11511  // HasFuncUniform1uiv returns true if the method "WebGL2RenderingContext.uniform1uiv" exists.
 11512  func (this WebGL2RenderingContext) HasFuncUniform1uiv() bool {
 11513  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1uiv(
 11514  		this.ref,
 11515  	)
 11516  }
 11517  
 11518  // FuncUniform1uiv returns the method "WebGL2RenderingContext.uniform1uiv".
 11519  func (this WebGL2RenderingContext) FuncUniform1uiv() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint)]) {
 11520  	bindings.FuncWebGL2RenderingContextUniform1uiv(
 11521  		this.ref, js.Pointer(&fn),
 11522  	)
 11523  	return
 11524  }
 11525  
 11526  // Uniform1uiv calls the method "WebGL2RenderingContext.uniform1uiv".
 11527  func (this WebGL2RenderingContext) Uniform1uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 11528  	bindings.CallWebGL2RenderingContextUniform1uiv(
 11529  		this.ref, js.Pointer(&ret),
 11530  		location.Ref(),
 11531  		data.Ref(),
 11532  		uint32(srcOffset),
 11533  		uint32(srcLength),
 11534  	)
 11535  
 11536  	return
 11537  }
 11538  
 11539  // TryUniform1uiv calls the method "WebGL2RenderingContext.uniform1uiv"
 11540  // in a try/catch block and returns (_, err, ok = false) when it went through
 11541  // the catch clause.
 11542  func (this WebGL2RenderingContext) TryUniform1uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 11543  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1uiv(
 11544  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11545  		location.Ref(),
 11546  		data.Ref(),
 11547  		uint32(srcOffset),
 11548  		uint32(srcLength),
 11549  	)
 11550  
 11551  	return
 11552  }
 11553  
 11554  // HasFuncUniform1uiv1 returns true if the method "WebGL2RenderingContext.uniform1uiv" exists.
 11555  func (this WebGL2RenderingContext) HasFuncUniform1uiv1() bool {
 11556  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1uiv1(
 11557  		this.ref,
 11558  	)
 11559  }
 11560  
 11561  // FuncUniform1uiv1 returns the method "WebGL2RenderingContext.uniform1uiv".
 11562  func (this WebGL2RenderingContext) FuncUniform1uiv1() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint)]) {
 11563  	bindings.FuncWebGL2RenderingContextUniform1uiv1(
 11564  		this.ref, js.Pointer(&fn),
 11565  	)
 11566  	return
 11567  }
 11568  
 11569  // Uniform1uiv1 calls the method "WebGL2RenderingContext.uniform1uiv".
 11570  func (this WebGL2RenderingContext) Uniform1uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void) {
 11571  	bindings.CallWebGL2RenderingContextUniform1uiv1(
 11572  		this.ref, js.Pointer(&ret),
 11573  		location.Ref(),
 11574  		data.Ref(),
 11575  		uint32(srcOffset),
 11576  	)
 11577  
 11578  	return
 11579  }
 11580  
 11581  // TryUniform1uiv1 calls the method "WebGL2RenderingContext.uniform1uiv"
 11582  // in a try/catch block and returns (_, err, ok = false) when it went through
 11583  // the catch clause.
 11584  func (this WebGL2RenderingContext) TryUniform1uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 11585  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1uiv1(
 11586  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11587  		location.Ref(),
 11588  		data.Ref(),
 11589  		uint32(srcOffset),
 11590  	)
 11591  
 11592  	return
 11593  }
 11594  
 11595  // HasFuncUniform1uiv2 returns true if the method "WebGL2RenderingContext.uniform1uiv" exists.
 11596  func (this WebGL2RenderingContext) HasFuncUniform1uiv2() bool {
 11597  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1uiv2(
 11598  		this.ref,
 11599  	)
 11600  }
 11601  
 11602  // FuncUniform1uiv2 returns the method "WebGL2RenderingContext.uniform1uiv".
 11603  func (this WebGL2RenderingContext) FuncUniform1uiv2() (fn js.Func[func(location WebGLUniformLocation, data Uint32List)]) {
 11604  	bindings.FuncWebGL2RenderingContextUniform1uiv2(
 11605  		this.ref, js.Pointer(&fn),
 11606  	)
 11607  	return
 11608  }
 11609  
 11610  // Uniform1uiv2 calls the method "WebGL2RenderingContext.uniform1uiv".
 11611  func (this WebGL2RenderingContext) Uniform1uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void) {
 11612  	bindings.CallWebGL2RenderingContextUniform1uiv2(
 11613  		this.ref, js.Pointer(&ret),
 11614  		location.Ref(),
 11615  		data.Ref(),
 11616  	)
 11617  
 11618  	return
 11619  }
 11620  
 11621  // TryUniform1uiv2 calls the method "WebGL2RenderingContext.uniform1uiv"
 11622  // in a try/catch block and returns (_, err, ok = false) when it went through
 11623  // the catch clause.
 11624  func (this WebGL2RenderingContext) TryUniform1uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void, exception js.Any, ok bool) {
 11625  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1uiv2(
 11626  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11627  		location.Ref(),
 11628  		data.Ref(),
 11629  	)
 11630  
 11631  	return
 11632  }
 11633  
 11634  // HasFuncUniform2uiv returns true if the method "WebGL2RenderingContext.uniform2uiv" exists.
 11635  func (this WebGL2RenderingContext) HasFuncUniform2uiv() bool {
 11636  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2uiv(
 11637  		this.ref,
 11638  	)
 11639  }
 11640  
 11641  // FuncUniform2uiv returns the method "WebGL2RenderingContext.uniform2uiv".
 11642  func (this WebGL2RenderingContext) FuncUniform2uiv() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint)]) {
 11643  	bindings.FuncWebGL2RenderingContextUniform2uiv(
 11644  		this.ref, js.Pointer(&fn),
 11645  	)
 11646  	return
 11647  }
 11648  
 11649  // Uniform2uiv calls the method "WebGL2RenderingContext.uniform2uiv".
 11650  func (this WebGL2RenderingContext) Uniform2uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 11651  	bindings.CallWebGL2RenderingContextUniform2uiv(
 11652  		this.ref, js.Pointer(&ret),
 11653  		location.Ref(),
 11654  		data.Ref(),
 11655  		uint32(srcOffset),
 11656  		uint32(srcLength),
 11657  	)
 11658  
 11659  	return
 11660  }
 11661  
 11662  // TryUniform2uiv calls the method "WebGL2RenderingContext.uniform2uiv"
 11663  // in a try/catch block and returns (_, err, ok = false) when it went through
 11664  // the catch clause.
 11665  func (this WebGL2RenderingContext) TryUniform2uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 11666  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2uiv(
 11667  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11668  		location.Ref(),
 11669  		data.Ref(),
 11670  		uint32(srcOffset),
 11671  		uint32(srcLength),
 11672  	)
 11673  
 11674  	return
 11675  }
 11676  
 11677  // HasFuncUniform2uiv1 returns true if the method "WebGL2RenderingContext.uniform2uiv" exists.
 11678  func (this WebGL2RenderingContext) HasFuncUniform2uiv1() bool {
 11679  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2uiv1(
 11680  		this.ref,
 11681  	)
 11682  }
 11683  
 11684  // FuncUniform2uiv1 returns the method "WebGL2RenderingContext.uniform2uiv".
 11685  func (this WebGL2RenderingContext) FuncUniform2uiv1() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint)]) {
 11686  	bindings.FuncWebGL2RenderingContextUniform2uiv1(
 11687  		this.ref, js.Pointer(&fn),
 11688  	)
 11689  	return
 11690  }
 11691  
 11692  // Uniform2uiv1 calls the method "WebGL2RenderingContext.uniform2uiv".
 11693  func (this WebGL2RenderingContext) Uniform2uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void) {
 11694  	bindings.CallWebGL2RenderingContextUniform2uiv1(
 11695  		this.ref, js.Pointer(&ret),
 11696  		location.Ref(),
 11697  		data.Ref(),
 11698  		uint32(srcOffset),
 11699  	)
 11700  
 11701  	return
 11702  }
 11703  
 11704  // TryUniform2uiv1 calls the method "WebGL2RenderingContext.uniform2uiv"
 11705  // in a try/catch block and returns (_, err, ok = false) when it went through
 11706  // the catch clause.
 11707  func (this WebGL2RenderingContext) TryUniform2uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 11708  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2uiv1(
 11709  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11710  		location.Ref(),
 11711  		data.Ref(),
 11712  		uint32(srcOffset),
 11713  	)
 11714  
 11715  	return
 11716  }
 11717  
 11718  // HasFuncUniform2uiv2 returns true if the method "WebGL2RenderingContext.uniform2uiv" exists.
 11719  func (this WebGL2RenderingContext) HasFuncUniform2uiv2() bool {
 11720  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2uiv2(
 11721  		this.ref,
 11722  	)
 11723  }
 11724  
 11725  // FuncUniform2uiv2 returns the method "WebGL2RenderingContext.uniform2uiv".
 11726  func (this WebGL2RenderingContext) FuncUniform2uiv2() (fn js.Func[func(location WebGLUniformLocation, data Uint32List)]) {
 11727  	bindings.FuncWebGL2RenderingContextUniform2uiv2(
 11728  		this.ref, js.Pointer(&fn),
 11729  	)
 11730  	return
 11731  }
 11732  
 11733  // Uniform2uiv2 calls the method "WebGL2RenderingContext.uniform2uiv".
 11734  func (this WebGL2RenderingContext) Uniform2uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void) {
 11735  	bindings.CallWebGL2RenderingContextUniform2uiv2(
 11736  		this.ref, js.Pointer(&ret),
 11737  		location.Ref(),
 11738  		data.Ref(),
 11739  	)
 11740  
 11741  	return
 11742  }
 11743  
 11744  // TryUniform2uiv2 calls the method "WebGL2RenderingContext.uniform2uiv"
 11745  // in a try/catch block and returns (_, err, ok = false) when it went through
 11746  // the catch clause.
 11747  func (this WebGL2RenderingContext) TryUniform2uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void, exception js.Any, ok bool) {
 11748  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2uiv2(
 11749  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11750  		location.Ref(),
 11751  		data.Ref(),
 11752  	)
 11753  
 11754  	return
 11755  }
 11756  
 11757  // HasFuncUniform3uiv returns true if the method "WebGL2RenderingContext.uniform3uiv" exists.
 11758  func (this WebGL2RenderingContext) HasFuncUniform3uiv() bool {
 11759  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3uiv(
 11760  		this.ref,
 11761  	)
 11762  }
 11763  
 11764  // FuncUniform3uiv returns the method "WebGL2RenderingContext.uniform3uiv".
 11765  func (this WebGL2RenderingContext) FuncUniform3uiv() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint)]) {
 11766  	bindings.FuncWebGL2RenderingContextUniform3uiv(
 11767  		this.ref, js.Pointer(&fn),
 11768  	)
 11769  	return
 11770  }
 11771  
 11772  // Uniform3uiv calls the method "WebGL2RenderingContext.uniform3uiv".
 11773  func (this WebGL2RenderingContext) Uniform3uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 11774  	bindings.CallWebGL2RenderingContextUniform3uiv(
 11775  		this.ref, js.Pointer(&ret),
 11776  		location.Ref(),
 11777  		data.Ref(),
 11778  		uint32(srcOffset),
 11779  		uint32(srcLength),
 11780  	)
 11781  
 11782  	return
 11783  }
 11784  
 11785  // TryUniform3uiv calls the method "WebGL2RenderingContext.uniform3uiv"
 11786  // in a try/catch block and returns (_, err, ok = false) when it went through
 11787  // the catch clause.
 11788  func (this WebGL2RenderingContext) TryUniform3uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 11789  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3uiv(
 11790  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11791  		location.Ref(),
 11792  		data.Ref(),
 11793  		uint32(srcOffset),
 11794  		uint32(srcLength),
 11795  	)
 11796  
 11797  	return
 11798  }
 11799  
 11800  // HasFuncUniform3uiv1 returns true if the method "WebGL2RenderingContext.uniform3uiv" exists.
 11801  func (this WebGL2RenderingContext) HasFuncUniform3uiv1() bool {
 11802  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3uiv1(
 11803  		this.ref,
 11804  	)
 11805  }
 11806  
 11807  // FuncUniform3uiv1 returns the method "WebGL2RenderingContext.uniform3uiv".
 11808  func (this WebGL2RenderingContext) FuncUniform3uiv1() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint)]) {
 11809  	bindings.FuncWebGL2RenderingContextUniform3uiv1(
 11810  		this.ref, js.Pointer(&fn),
 11811  	)
 11812  	return
 11813  }
 11814  
 11815  // Uniform3uiv1 calls the method "WebGL2RenderingContext.uniform3uiv".
 11816  func (this WebGL2RenderingContext) Uniform3uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void) {
 11817  	bindings.CallWebGL2RenderingContextUniform3uiv1(
 11818  		this.ref, js.Pointer(&ret),
 11819  		location.Ref(),
 11820  		data.Ref(),
 11821  		uint32(srcOffset),
 11822  	)
 11823  
 11824  	return
 11825  }
 11826  
 11827  // TryUniform3uiv1 calls the method "WebGL2RenderingContext.uniform3uiv"
 11828  // in a try/catch block and returns (_, err, ok = false) when it went through
 11829  // the catch clause.
 11830  func (this WebGL2RenderingContext) TryUniform3uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 11831  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3uiv1(
 11832  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11833  		location.Ref(),
 11834  		data.Ref(),
 11835  		uint32(srcOffset),
 11836  	)
 11837  
 11838  	return
 11839  }
 11840  
 11841  // HasFuncUniform3uiv2 returns true if the method "WebGL2RenderingContext.uniform3uiv" exists.
 11842  func (this WebGL2RenderingContext) HasFuncUniform3uiv2() bool {
 11843  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3uiv2(
 11844  		this.ref,
 11845  	)
 11846  }
 11847  
 11848  // FuncUniform3uiv2 returns the method "WebGL2RenderingContext.uniform3uiv".
 11849  func (this WebGL2RenderingContext) FuncUniform3uiv2() (fn js.Func[func(location WebGLUniformLocation, data Uint32List)]) {
 11850  	bindings.FuncWebGL2RenderingContextUniform3uiv2(
 11851  		this.ref, js.Pointer(&fn),
 11852  	)
 11853  	return
 11854  }
 11855  
 11856  // Uniform3uiv2 calls the method "WebGL2RenderingContext.uniform3uiv".
 11857  func (this WebGL2RenderingContext) Uniform3uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void) {
 11858  	bindings.CallWebGL2RenderingContextUniform3uiv2(
 11859  		this.ref, js.Pointer(&ret),
 11860  		location.Ref(),
 11861  		data.Ref(),
 11862  	)
 11863  
 11864  	return
 11865  }
 11866  
 11867  // TryUniform3uiv2 calls the method "WebGL2RenderingContext.uniform3uiv"
 11868  // in a try/catch block and returns (_, err, ok = false) when it went through
 11869  // the catch clause.
 11870  func (this WebGL2RenderingContext) TryUniform3uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void, exception js.Any, ok bool) {
 11871  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3uiv2(
 11872  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11873  		location.Ref(),
 11874  		data.Ref(),
 11875  	)
 11876  
 11877  	return
 11878  }
 11879  
 11880  // HasFuncUniform4uiv returns true if the method "WebGL2RenderingContext.uniform4uiv" exists.
 11881  func (this WebGL2RenderingContext) HasFuncUniform4uiv() bool {
 11882  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4uiv(
 11883  		this.ref,
 11884  	)
 11885  }
 11886  
 11887  // FuncUniform4uiv returns the method "WebGL2RenderingContext.uniform4uiv".
 11888  func (this WebGL2RenderingContext) FuncUniform4uiv() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint)]) {
 11889  	bindings.FuncWebGL2RenderingContextUniform4uiv(
 11890  		this.ref, js.Pointer(&fn),
 11891  	)
 11892  	return
 11893  }
 11894  
 11895  // Uniform4uiv calls the method "WebGL2RenderingContext.uniform4uiv".
 11896  func (this WebGL2RenderingContext) Uniform4uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 11897  	bindings.CallWebGL2RenderingContextUniform4uiv(
 11898  		this.ref, js.Pointer(&ret),
 11899  		location.Ref(),
 11900  		data.Ref(),
 11901  		uint32(srcOffset),
 11902  		uint32(srcLength),
 11903  	)
 11904  
 11905  	return
 11906  }
 11907  
 11908  // TryUniform4uiv calls the method "WebGL2RenderingContext.uniform4uiv"
 11909  // in a try/catch block and returns (_, err, ok = false) when it went through
 11910  // the catch clause.
 11911  func (this WebGL2RenderingContext) TryUniform4uiv(location WebGLUniformLocation, data Uint32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 11912  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4uiv(
 11913  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11914  		location.Ref(),
 11915  		data.Ref(),
 11916  		uint32(srcOffset),
 11917  		uint32(srcLength),
 11918  	)
 11919  
 11920  	return
 11921  }
 11922  
 11923  // HasFuncUniform4uiv1 returns true if the method "WebGL2RenderingContext.uniform4uiv" exists.
 11924  func (this WebGL2RenderingContext) HasFuncUniform4uiv1() bool {
 11925  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4uiv1(
 11926  		this.ref,
 11927  	)
 11928  }
 11929  
 11930  // FuncUniform4uiv1 returns the method "WebGL2RenderingContext.uniform4uiv".
 11931  func (this WebGL2RenderingContext) FuncUniform4uiv1() (fn js.Func[func(location WebGLUniformLocation, data Uint32List, srcOffset GLuint)]) {
 11932  	bindings.FuncWebGL2RenderingContextUniform4uiv1(
 11933  		this.ref, js.Pointer(&fn),
 11934  	)
 11935  	return
 11936  }
 11937  
 11938  // Uniform4uiv1 calls the method "WebGL2RenderingContext.uniform4uiv".
 11939  func (this WebGL2RenderingContext) Uniform4uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void) {
 11940  	bindings.CallWebGL2RenderingContextUniform4uiv1(
 11941  		this.ref, js.Pointer(&ret),
 11942  		location.Ref(),
 11943  		data.Ref(),
 11944  		uint32(srcOffset),
 11945  	)
 11946  
 11947  	return
 11948  }
 11949  
 11950  // TryUniform4uiv1 calls the method "WebGL2RenderingContext.uniform4uiv"
 11951  // in a try/catch block and returns (_, err, ok = false) when it went through
 11952  // the catch clause.
 11953  func (this WebGL2RenderingContext) TryUniform4uiv1(location WebGLUniformLocation, data Uint32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 11954  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4uiv1(
 11955  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11956  		location.Ref(),
 11957  		data.Ref(),
 11958  		uint32(srcOffset),
 11959  	)
 11960  
 11961  	return
 11962  }
 11963  
 11964  // HasFuncUniform4uiv2 returns true if the method "WebGL2RenderingContext.uniform4uiv" exists.
 11965  func (this WebGL2RenderingContext) HasFuncUniform4uiv2() bool {
 11966  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4uiv2(
 11967  		this.ref,
 11968  	)
 11969  }
 11970  
 11971  // FuncUniform4uiv2 returns the method "WebGL2RenderingContext.uniform4uiv".
 11972  func (this WebGL2RenderingContext) FuncUniform4uiv2() (fn js.Func[func(location WebGLUniformLocation, data Uint32List)]) {
 11973  	bindings.FuncWebGL2RenderingContextUniform4uiv2(
 11974  		this.ref, js.Pointer(&fn),
 11975  	)
 11976  	return
 11977  }
 11978  
 11979  // Uniform4uiv2 calls the method "WebGL2RenderingContext.uniform4uiv".
 11980  func (this WebGL2RenderingContext) Uniform4uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void) {
 11981  	bindings.CallWebGL2RenderingContextUniform4uiv2(
 11982  		this.ref, js.Pointer(&ret),
 11983  		location.Ref(),
 11984  		data.Ref(),
 11985  	)
 11986  
 11987  	return
 11988  }
 11989  
 11990  // TryUniform4uiv2 calls the method "WebGL2RenderingContext.uniform4uiv"
 11991  // in a try/catch block and returns (_, err, ok = false) when it went through
 11992  // the catch clause.
 11993  func (this WebGL2RenderingContext) TryUniform4uiv2(location WebGLUniformLocation, data Uint32List) (ret js.Void, exception js.Any, ok bool) {
 11994  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4uiv2(
 11995  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 11996  		location.Ref(),
 11997  		data.Ref(),
 11998  	)
 11999  
 12000  	return
 12001  }
 12002  
 12003  // HasFuncUniformMatrix3x2fv returns true if the method "WebGL2RenderingContext.uniformMatrix3x2fv" exists.
 12004  func (this WebGL2RenderingContext) HasFuncUniformMatrix3x2fv() bool {
 12005  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3x2fv(
 12006  		this.ref,
 12007  	)
 12008  }
 12009  
 12010  // FuncUniformMatrix3x2fv returns the method "WebGL2RenderingContext.uniformMatrix3x2fv".
 12011  func (this WebGL2RenderingContext) FuncUniformMatrix3x2fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
 12012  	bindings.FuncWebGL2RenderingContextUniformMatrix3x2fv(
 12013  		this.ref, js.Pointer(&fn),
 12014  	)
 12015  	return
 12016  }
 12017  
 12018  // UniformMatrix3x2fv calls the method "WebGL2RenderingContext.uniformMatrix3x2fv".
 12019  func (this WebGL2RenderingContext) UniformMatrix3x2fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 12020  	bindings.CallWebGL2RenderingContextUniformMatrix3x2fv(
 12021  		this.ref, js.Pointer(&ret),
 12022  		location.Ref(),
 12023  		js.Bool(bool(transpose)),
 12024  		data.Ref(),
 12025  		uint32(srcOffset),
 12026  		uint32(srcLength),
 12027  	)
 12028  
 12029  	return
 12030  }
 12031  
 12032  // TryUniformMatrix3x2fv calls the method "WebGL2RenderingContext.uniformMatrix3x2fv"
 12033  // in a try/catch block and returns (_, err, ok = false) when it went through
 12034  // the catch clause.
 12035  func (this WebGL2RenderingContext) TryUniformMatrix3x2fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 12036  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3x2fv(
 12037  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12038  		location.Ref(),
 12039  		js.Bool(bool(transpose)),
 12040  		data.Ref(),
 12041  		uint32(srcOffset),
 12042  		uint32(srcLength),
 12043  	)
 12044  
 12045  	return
 12046  }
 12047  
 12048  // HasFuncUniformMatrix3x2fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix3x2fv" exists.
 12049  func (this WebGL2RenderingContext) HasFuncUniformMatrix3x2fv1() bool {
 12050  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3x2fv1(
 12051  		this.ref,
 12052  	)
 12053  }
 12054  
 12055  // FuncUniformMatrix3x2fv1 returns the method "WebGL2RenderingContext.uniformMatrix3x2fv".
 12056  func (this WebGL2RenderingContext) FuncUniformMatrix3x2fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
 12057  	bindings.FuncWebGL2RenderingContextUniformMatrix3x2fv1(
 12058  		this.ref, js.Pointer(&fn),
 12059  	)
 12060  	return
 12061  }
 12062  
 12063  // UniformMatrix3x2fv1 calls the method "WebGL2RenderingContext.uniformMatrix3x2fv".
 12064  func (this WebGL2RenderingContext) UniformMatrix3x2fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
 12065  	bindings.CallWebGL2RenderingContextUniformMatrix3x2fv1(
 12066  		this.ref, js.Pointer(&ret),
 12067  		location.Ref(),
 12068  		js.Bool(bool(transpose)),
 12069  		data.Ref(),
 12070  		uint32(srcOffset),
 12071  	)
 12072  
 12073  	return
 12074  }
 12075  
 12076  // TryUniformMatrix3x2fv1 calls the method "WebGL2RenderingContext.uniformMatrix3x2fv"
 12077  // in a try/catch block and returns (_, err, ok = false) when it went through
 12078  // the catch clause.
 12079  func (this WebGL2RenderingContext) TryUniformMatrix3x2fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 12080  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3x2fv1(
 12081  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12082  		location.Ref(),
 12083  		js.Bool(bool(transpose)),
 12084  		data.Ref(),
 12085  		uint32(srcOffset),
 12086  	)
 12087  
 12088  	return
 12089  }
 12090  
 12091  // HasFuncUniformMatrix3x2fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix3x2fv" exists.
 12092  func (this WebGL2RenderingContext) HasFuncUniformMatrix3x2fv2() bool {
 12093  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3x2fv2(
 12094  		this.ref,
 12095  	)
 12096  }
 12097  
 12098  // FuncUniformMatrix3x2fv2 returns the method "WebGL2RenderingContext.uniformMatrix3x2fv".
 12099  func (this WebGL2RenderingContext) FuncUniformMatrix3x2fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
 12100  	bindings.FuncWebGL2RenderingContextUniformMatrix3x2fv2(
 12101  		this.ref, js.Pointer(&fn),
 12102  	)
 12103  	return
 12104  }
 12105  
 12106  // UniformMatrix3x2fv2 calls the method "WebGL2RenderingContext.uniformMatrix3x2fv".
 12107  func (this WebGL2RenderingContext) UniformMatrix3x2fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
 12108  	bindings.CallWebGL2RenderingContextUniformMatrix3x2fv2(
 12109  		this.ref, js.Pointer(&ret),
 12110  		location.Ref(),
 12111  		js.Bool(bool(transpose)),
 12112  		data.Ref(),
 12113  	)
 12114  
 12115  	return
 12116  }
 12117  
 12118  // TryUniformMatrix3x2fv2 calls the method "WebGL2RenderingContext.uniformMatrix3x2fv"
 12119  // in a try/catch block and returns (_, err, ok = false) when it went through
 12120  // the catch clause.
 12121  func (this WebGL2RenderingContext) TryUniformMatrix3x2fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
 12122  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3x2fv2(
 12123  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12124  		location.Ref(),
 12125  		js.Bool(bool(transpose)),
 12126  		data.Ref(),
 12127  	)
 12128  
 12129  	return
 12130  }
 12131  
 12132  // HasFuncUniformMatrix4x2fv returns true if the method "WebGL2RenderingContext.uniformMatrix4x2fv" exists.
 12133  func (this WebGL2RenderingContext) HasFuncUniformMatrix4x2fv() bool {
 12134  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4x2fv(
 12135  		this.ref,
 12136  	)
 12137  }
 12138  
 12139  // FuncUniformMatrix4x2fv returns the method "WebGL2RenderingContext.uniformMatrix4x2fv".
 12140  func (this WebGL2RenderingContext) FuncUniformMatrix4x2fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
 12141  	bindings.FuncWebGL2RenderingContextUniformMatrix4x2fv(
 12142  		this.ref, js.Pointer(&fn),
 12143  	)
 12144  	return
 12145  }
 12146  
 12147  // UniformMatrix4x2fv calls the method "WebGL2RenderingContext.uniformMatrix4x2fv".
 12148  func (this WebGL2RenderingContext) UniformMatrix4x2fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 12149  	bindings.CallWebGL2RenderingContextUniformMatrix4x2fv(
 12150  		this.ref, js.Pointer(&ret),
 12151  		location.Ref(),
 12152  		js.Bool(bool(transpose)),
 12153  		data.Ref(),
 12154  		uint32(srcOffset),
 12155  		uint32(srcLength),
 12156  	)
 12157  
 12158  	return
 12159  }
 12160  
 12161  // TryUniformMatrix4x2fv calls the method "WebGL2RenderingContext.uniformMatrix4x2fv"
 12162  // in a try/catch block and returns (_, err, ok = false) when it went through
 12163  // the catch clause.
 12164  func (this WebGL2RenderingContext) TryUniformMatrix4x2fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 12165  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4x2fv(
 12166  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12167  		location.Ref(),
 12168  		js.Bool(bool(transpose)),
 12169  		data.Ref(),
 12170  		uint32(srcOffset),
 12171  		uint32(srcLength),
 12172  	)
 12173  
 12174  	return
 12175  }
 12176  
 12177  // HasFuncUniformMatrix4x2fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix4x2fv" exists.
 12178  func (this WebGL2RenderingContext) HasFuncUniformMatrix4x2fv1() bool {
 12179  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4x2fv1(
 12180  		this.ref,
 12181  	)
 12182  }
 12183  
 12184  // FuncUniformMatrix4x2fv1 returns the method "WebGL2RenderingContext.uniformMatrix4x2fv".
 12185  func (this WebGL2RenderingContext) FuncUniformMatrix4x2fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
 12186  	bindings.FuncWebGL2RenderingContextUniformMatrix4x2fv1(
 12187  		this.ref, js.Pointer(&fn),
 12188  	)
 12189  	return
 12190  }
 12191  
 12192  // UniformMatrix4x2fv1 calls the method "WebGL2RenderingContext.uniformMatrix4x2fv".
 12193  func (this WebGL2RenderingContext) UniformMatrix4x2fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
 12194  	bindings.CallWebGL2RenderingContextUniformMatrix4x2fv1(
 12195  		this.ref, js.Pointer(&ret),
 12196  		location.Ref(),
 12197  		js.Bool(bool(transpose)),
 12198  		data.Ref(),
 12199  		uint32(srcOffset),
 12200  	)
 12201  
 12202  	return
 12203  }
 12204  
 12205  // TryUniformMatrix4x2fv1 calls the method "WebGL2RenderingContext.uniformMatrix4x2fv"
 12206  // in a try/catch block and returns (_, err, ok = false) when it went through
 12207  // the catch clause.
 12208  func (this WebGL2RenderingContext) TryUniformMatrix4x2fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 12209  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4x2fv1(
 12210  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12211  		location.Ref(),
 12212  		js.Bool(bool(transpose)),
 12213  		data.Ref(),
 12214  		uint32(srcOffset),
 12215  	)
 12216  
 12217  	return
 12218  }
 12219  
 12220  // HasFuncUniformMatrix4x2fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix4x2fv" exists.
 12221  func (this WebGL2RenderingContext) HasFuncUniformMatrix4x2fv2() bool {
 12222  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4x2fv2(
 12223  		this.ref,
 12224  	)
 12225  }
 12226  
 12227  // FuncUniformMatrix4x2fv2 returns the method "WebGL2RenderingContext.uniformMatrix4x2fv".
 12228  func (this WebGL2RenderingContext) FuncUniformMatrix4x2fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
 12229  	bindings.FuncWebGL2RenderingContextUniformMatrix4x2fv2(
 12230  		this.ref, js.Pointer(&fn),
 12231  	)
 12232  	return
 12233  }
 12234  
 12235  // UniformMatrix4x2fv2 calls the method "WebGL2RenderingContext.uniformMatrix4x2fv".
 12236  func (this WebGL2RenderingContext) UniformMatrix4x2fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
 12237  	bindings.CallWebGL2RenderingContextUniformMatrix4x2fv2(
 12238  		this.ref, js.Pointer(&ret),
 12239  		location.Ref(),
 12240  		js.Bool(bool(transpose)),
 12241  		data.Ref(),
 12242  	)
 12243  
 12244  	return
 12245  }
 12246  
 12247  // TryUniformMatrix4x2fv2 calls the method "WebGL2RenderingContext.uniformMatrix4x2fv"
 12248  // in a try/catch block and returns (_, err, ok = false) when it went through
 12249  // the catch clause.
 12250  func (this WebGL2RenderingContext) TryUniformMatrix4x2fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
 12251  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4x2fv2(
 12252  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12253  		location.Ref(),
 12254  		js.Bool(bool(transpose)),
 12255  		data.Ref(),
 12256  	)
 12257  
 12258  	return
 12259  }
 12260  
 12261  // HasFuncUniformMatrix2x3fv returns true if the method "WebGL2RenderingContext.uniformMatrix2x3fv" exists.
 12262  func (this WebGL2RenderingContext) HasFuncUniformMatrix2x3fv() bool {
 12263  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2x3fv(
 12264  		this.ref,
 12265  	)
 12266  }
 12267  
 12268  // FuncUniformMatrix2x3fv returns the method "WebGL2RenderingContext.uniformMatrix2x3fv".
 12269  func (this WebGL2RenderingContext) FuncUniformMatrix2x3fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
 12270  	bindings.FuncWebGL2RenderingContextUniformMatrix2x3fv(
 12271  		this.ref, js.Pointer(&fn),
 12272  	)
 12273  	return
 12274  }
 12275  
 12276  // UniformMatrix2x3fv calls the method "WebGL2RenderingContext.uniformMatrix2x3fv".
 12277  func (this WebGL2RenderingContext) UniformMatrix2x3fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 12278  	bindings.CallWebGL2RenderingContextUniformMatrix2x3fv(
 12279  		this.ref, js.Pointer(&ret),
 12280  		location.Ref(),
 12281  		js.Bool(bool(transpose)),
 12282  		data.Ref(),
 12283  		uint32(srcOffset),
 12284  		uint32(srcLength),
 12285  	)
 12286  
 12287  	return
 12288  }
 12289  
 12290  // TryUniformMatrix2x3fv calls the method "WebGL2RenderingContext.uniformMatrix2x3fv"
 12291  // in a try/catch block and returns (_, err, ok = false) when it went through
 12292  // the catch clause.
 12293  func (this WebGL2RenderingContext) TryUniformMatrix2x3fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 12294  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2x3fv(
 12295  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12296  		location.Ref(),
 12297  		js.Bool(bool(transpose)),
 12298  		data.Ref(),
 12299  		uint32(srcOffset),
 12300  		uint32(srcLength),
 12301  	)
 12302  
 12303  	return
 12304  }
 12305  
 12306  // HasFuncUniformMatrix2x3fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix2x3fv" exists.
 12307  func (this WebGL2RenderingContext) HasFuncUniformMatrix2x3fv1() bool {
 12308  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2x3fv1(
 12309  		this.ref,
 12310  	)
 12311  }
 12312  
 12313  // FuncUniformMatrix2x3fv1 returns the method "WebGL2RenderingContext.uniformMatrix2x3fv".
 12314  func (this WebGL2RenderingContext) FuncUniformMatrix2x3fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
 12315  	bindings.FuncWebGL2RenderingContextUniformMatrix2x3fv1(
 12316  		this.ref, js.Pointer(&fn),
 12317  	)
 12318  	return
 12319  }
 12320  
 12321  // UniformMatrix2x3fv1 calls the method "WebGL2RenderingContext.uniformMatrix2x3fv".
 12322  func (this WebGL2RenderingContext) UniformMatrix2x3fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
 12323  	bindings.CallWebGL2RenderingContextUniformMatrix2x3fv1(
 12324  		this.ref, js.Pointer(&ret),
 12325  		location.Ref(),
 12326  		js.Bool(bool(transpose)),
 12327  		data.Ref(),
 12328  		uint32(srcOffset),
 12329  	)
 12330  
 12331  	return
 12332  }
 12333  
 12334  // TryUniformMatrix2x3fv1 calls the method "WebGL2RenderingContext.uniformMatrix2x3fv"
 12335  // in a try/catch block and returns (_, err, ok = false) when it went through
 12336  // the catch clause.
 12337  func (this WebGL2RenderingContext) TryUniformMatrix2x3fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 12338  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2x3fv1(
 12339  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12340  		location.Ref(),
 12341  		js.Bool(bool(transpose)),
 12342  		data.Ref(),
 12343  		uint32(srcOffset),
 12344  	)
 12345  
 12346  	return
 12347  }
 12348  
 12349  // HasFuncUniformMatrix2x3fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix2x3fv" exists.
 12350  func (this WebGL2RenderingContext) HasFuncUniformMatrix2x3fv2() bool {
 12351  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2x3fv2(
 12352  		this.ref,
 12353  	)
 12354  }
 12355  
 12356  // FuncUniformMatrix2x3fv2 returns the method "WebGL2RenderingContext.uniformMatrix2x3fv".
 12357  func (this WebGL2RenderingContext) FuncUniformMatrix2x3fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
 12358  	bindings.FuncWebGL2RenderingContextUniformMatrix2x3fv2(
 12359  		this.ref, js.Pointer(&fn),
 12360  	)
 12361  	return
 12362  }
 12363  
 12364  // UniformMatrix2x3fv2 calls the method "WebGL2RenderingContext.uniformMatrix2x3fv".
 12365  func (this WebGL2RenderingContext) UniformMatrix2x3fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
 12366  	bindings.CallWebGL2RenderingContextUniformMatrix2x3fv2(
 12367  		this.ref, js.Pointer(&ret),
 12368  		location.Ref(),
 12369  		js.Bool(bool(transpose)),
 12370  		data.Ref(),
 12371  	)
 12372  
 12373  	return
 12374  }
 12375  
 12376  // TryUniformMatrix2x3fv2 calls the method "WebGL2RenderingContext.uniformMatrix2x3fv"
 12377  // in a try/catch block and returns (_, err, ok = false) when it went through
 12378  // the catch clause.
 12379  func (this WebGL2RenderingContext) TryUniformMatrix2x3fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
 12380  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2x3fv2(
 12381  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12382  		location.Ref(),
 12383  		js.Bool(bool(transpose)),
 12384  		data.Ref(),
 12385  	)
 12386  
 12387  	return
 12388  }
 12389  
 12390  // HasFuncUniformMatrix4x3fv returns true if the method "WebGL2RenderingContext.uniformMatrix4x3fv" exists.
 12391  func (this WebGL2RenderingContext) HasFuncUniformMatrix4x3fv() bool {
 12392  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4x3fv(
 12393  		this.ref,
 12394  	)
 12395  }
 12396  
 12397  // FuncUniformMatrix4x3fv returns the method "WebGL2RenderingContext.uniformMatrix4x3fv".
 12398  func (this WebGL2RenderingContext) FuncUniformMatrix4x3fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
 12399  	bindings.FuncWebGL2RenderingContextUniformMatrix4x3fv(
 12400  		this.ref, js.Pointer(&fn),
 12401  	)
 12402  	return
 12403  }
 12404  
 12405  // UniformMatrix4x3fv calls the method "WebGL2RenderingContext.uniformMatrix4x3fv".
 12406  func (this WebGL2RenderingContext) UniformMatrix4x3fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 12407  	bindings.CallWebGL2RenderingContextUniformMatrix4x3fv(
 12408  		this.ref, js.Pointer(&ret),
 12409  		location.Ref(),
 12410  		js.Bool(bool(transpose)),
 12411  		data.Ref(),
 12412  		uint32(srcOffset),
 12413  		uint32(srcLength),
 12414  	)
 12415  
 12416  	return
 12417  }
 12418  
 12419  // TryUniformMatrix4x3fv calls the method "WebGL2RenderingContext.uniformMatrix4x3fv"
 12420  // in a try/catch block and returns (_, err, ok = false) when it went through
 12421  // the catch clause.
 12422  func (this WebGL2RenderingContext) TryUniformMatrix4x3fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 12423  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4x3fv(
 12424  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12425  		location.Ref(),
 12426  		js.Bool(bool(transpose)),
 12427  		data.Ref(),
 12428  		uint32(srcOffset),
 12429  		uint32(srcLength),
 12430  	)
 12431  
 12432  	return
 12433  }
 12434  
 12435  // HasFuncUniformMatrix4x3fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix4x3fv" exists.
 12436  func (this WebGL2RenderingContext) HasFuncUniformMatrix4x3fv1() bool {
 12437  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4x3fv1(
 12438  		this.ref,
 12439  	)
 12440  }
 12441  
 12442  // FuncUniformMatrix4x3fv1 returns the method "WebGL2RenderingContext.uniformMatrix4x3fv".
 12443  func (this WebGL2RenderingContext) FuncUniformMatrix4x3fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
 12444  	bindings.FuncWebGL2RenderingContextUniformMatrix4x3fv1(
 12445  		this.ref, js.Pointer(&fn),
 12446  	)
 12447  	return
 12448  }
 12449  
 12450  // UniformMatrix4x3fv1 calls the method "WebGL2RenderingContext.uniformMatrix4x3fv".
 12451  func (this WebGL2RenderingContext) UniformMatrix4x3fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
 12452  	bindings.CallWebGL2RenderingContextUniformMatrix4x3fv1(
 12453  		this.ref, js.Pointer(&ret),
 12454  		location.Ref(),
 12455  		js.Bool(bool(transpose)),
 12456  		data.Ref(),
 12457  		uint32(srcOffset),
 12458  	)
 12459  
 12460  	return
 12461  }
 12462  
 12463  // TryUniformMatrix4x3fv1 calls the method "WebGL2RenderingContext.uniformMatrix4x3fv"
 12464  // in a try/catch block and returns (_, err, ok = false) when it went through
 12465  // the catch clause.
 12466  func (this WebGL2RenderingContext) TryUniformMatrix4x3fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 12467  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4x3fv1(
 12468  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12469  		location.Ref(),
 12470  		js.Bool(bool(transpose)),
 12471  		data.Ref(),
 12472  		uint32(srcOffset),
 12473  	)
 12474  
 12475  	return
 12476  }
 12477  
 12478  // HasFuncUniformMatrix4x3fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix4x3fv" exists.
 12479  func (this WebGL2RenderingContext) HasFuncUniformMatrix4x3fv2() bool {
 12480  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix4x3fv2(
 12481  		this.ref,
 12482  	)
 12483  }
 12484  
 12485  // FuncUniformMatrix4x3fv2 returns the method "WebGL2RenderingContext.uniformMatrix4x3fv".
 12486  func (this WebGL2RenderingContext) FuncUniformMatrix4x3fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
 12487  	bindings.FuncWebGL2RenderingContextUniformMatrix4x3fv2(
 12488  		this.ref, js.Pointer(&fn),
 12489  	)
 12490  	return
 12491  }
 12492  
 12493  // UniformMatrix4x3fv2 calls the method "WebGL2RenderingContext.uniformMatrix4x3fv".
 12494  func (this WebGL2RenderingContext) UniformMatrix4x3fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
 12495  	bindings.CallWebGL2RenderingContextUniformMatrix4x3fv2(
 12496  		this.ref, js.Pointer(&ret),
 12497  		location.Ref(),
 12498  		js.Bool(bool(transpose)),
 12499  		data.Ref(),
 12500  	)
 12501  
 12502  	return
 12503  }
 12504  
 12505  // TryUniformMatrix4x3fv2 calls the method "WebGL2RenderingContext.uniformMatrix4x3fv"
 12506  // in a try/catch block and returns (_, err, ok = false) when it went through
 12507  // the catch clause.
 12508  func (this WebGL2RenderingContext) TryUniformMatrix4x3fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
 12509  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix4x3fv2(
 12510  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12511  		location.Ref(),
 12512  		js.Bool(bool(transpose)),
 12513  		data.Ref(),
 12514  	)
 12515  
 12516  	return
 12517  }
 12518  
 12519  // HasFuncUniformMatrix2x4fv returns true if the method "WebGL2RenderingContext.uniformMatrix2x4fv" exists.
 12520  func (this WebGL2RenderingContext) HasFuncUniformMatrix2x4fv() bool {
 12521  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2x4fv(
 12522  		this.ref,
 12523  	)
 12524  }
 12525  
 12526  // FuncUniformMatrix2x4fv returns the method "WebGL2RenderingContext.uniformMatrix2x4fv".
 12527  func (this WebGL2RenderingContext) FuncUniformMatrix2x4fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
 12528  	bindings.FuncWebGL2RenderingContextUniformMatrix2x4fv(
 12529  		this.ref, js.Pointer(&fn),
 12530  	)
 12531  	return
 12532  }
 12533  
 12534  // UniformMatrix2x4fv calls the method "WebGL2RenderingContext.uniformMatrix2x4fv".
 12535  func (this WebGL2RenderingContext) UniformMatrix2x4fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 12536  	bindings.CallWebGL2RenderingContextUniformMatrix2x4fv(
 12537  		this.ref, js.Pointer(&ret),
 12538  		location.Ref(),
 12539  		js.Bool(bool(transpose)),
 12540  		data.Ref(),
 12541  		uint32(srcOffset),
 12542  		uint32(srcLength),
 12543  	)
 12544  
 12545  	return
 12546  }
 12547  
 12548  // TryUniformMatrix2x4fv calls the method "WebGL2RenderingContext.uniformMatrix2x4fv"
 12549  // in a try/catch block and returns (_, err, ok = false) when it went through
 12550  // the catch clause.
 12551  func (this WebGL2RenderingContext) TryUniformMatrix2x4fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 12552  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2x4fv(
 12553  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12554  		location.Ref(),
 12555  		js.Bool(bool(transpose)),
 12556  		data.Ref(),
 12557  		uint32(srcOffset),
 12558  		uint32(srcLength),
 12559  	)
 12560  
 12561  	return
 12562  }
 12563  
 12564  // HasFuncUniformMatrix2x4fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix2x4fv" exists.
 12565  func (this WebGL2RenderingContext) HasFuncUniformMatrix2x4fv1() bool {
 12566  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2x4fv1(
 12567  		this.ref,
 12568  	)
 12569  }
 12570  
 12571  // FuncUniformMatrix2x4fv1 returns the method "WebGL2RenderingContext.uniformMatrix2x4fv".
 12572  func (this WebGL2RenderingContext) FuncUniformMatrix2x4fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
 12573  	bindings.FuncWebGL2RenderingContextUniformMatrix2x4fv1(
 12574  		this.ref, js.Pointer(&fn),
 12575  	)
 12576  	return
 12577  }
 12578  
 12579  // UniformMatrix2x4fv1 calls the method "WebGL2RenderingContext.uniformMatrix2x4fv".
 12580  func (this WebGL2RenderingContext) UniformMatrix2x4fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
 12581  	bindings.CallWebGL2RenderingContextUniformMatrix2x4fv1(
 12582  		this.ref, js.Pointer(&ret),
 12583  		location.Ref(),
 12584  		js.Bool(bool(transpose)),
 12585  		data.Ref(),
 12586  		uint32(srcOffset),
 12587  	)
 12588  
 12589  	return
 12590  }
 12591  
 12592  // TryUniformMatrix2x4fv1 calls the method "WebGL2RenderingContext.uniformMatrix2x4fv"
 12593  // in a try/catch block and returns (_, err, ok = false) when it went through
 12594  // the catch clause.
 12595  func (this WebGL2RenderingContext) TryUniformMatrix2x4fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 12596  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2x4fv1(
 12597  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12598  		location.Ref(),
 12599  		js.Bool(bool(transpose)),
 12600  		data.Ref(),
 12601  		uint32(srcOffset),
 12602  	)
 12603  
 12604  	return
 12605  }
 12606  
 12607  // HasFuncUniformMatrix2x4fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix2x4fv" exists.
 12608  func (this WebGL2RenderingContext) HasFuncUniformMatrix2x4fv2() bool {
 12609  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix2x4fv2(
 12610  		this.ref,
 12611  	)
 12612  }
 12613  
 12614  // FuncUniformMatrix2x4fv2 returns the method "WebGL2RenderingContext.uniformMatrix2x4fv".
 12615  func (this WebGL2RenderingContext) FuncUniformMatrix2x4fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
 12616  	bindings.FuncWebGL2RenderingContextUniformMatrix2x4fv2(
 12617  		this.ref, js.Pointer(&fn),
 12618  	)
 12619  	return
 12620  }
 12621  
 12622  // UniformMatrix2x4fv2 calls the method "WebGL2RenderingContext.uniformMatrix2x4fv".
 12623  func (this WebGL2RenderingContext) UniformMatrix2x4fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
 12624  	bindings.CallWebGL2RenderingContextUniformMatrix2x4fv2(
 12625  		this.ref, js.Pointer(&ret),
 12626  		location.Ref(),
 12627  		js.Bool(bool(transpose)),
 12628  		data.Ref(),
 12629  	)
 12630  
 12631  	return
 12632  }
 12633  
 12634  // TryUniformMatrix2x4fv2 calls the method "WebGL2RenderingContext.uniformMatrix2x4fv"
 12635  // in a try/catch block and returns (_, err, ok = false) when it went through
 12636  // the catch clause.
 12637  func (this WebGL2RenderingContext) TryUniformMatrix2x4fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
 12638  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix2x4fv2(
 12639  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12640  		location.Ref(),
 12641  		js.Bool(bool(transpose)),
 12642  		data.Ref(),
 12643  	)
 12644  
 12645  	return
 12646  }
 12647  
 12648  // HasFuncUniformMatrix3x4fv returns true if the method "WebGL2RenderingContext.uniformMatrix3x4fv" exists.
 12649  func (this WebGL2RenderingContext) HasFuncUniformMatrix3x4fv() bool {
 12650  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3x4fv(
 12651  		this.ref,
 12652  	)
 12653  }
 12654  
 12655  // FuncUniformMatrix3x4fv returns the method "WebGL2RenderingContext.uniformMatrix3x4fv".
 12656  func (this WebGL2RenderingContext) FuncUniformMatrix3x4fv() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint)]) {
 12657  	bindings.FuncWebGL2RenderingContextUniformMatrix3x4fv(
 12658  		this.ref, js.Pointer(&fn),
 12659  	)
 12660  	return
 12661  }
 12662  
 12663  // UniformMatrix3x4fv calls the method "WebGL2RenderingContext.uniformMatrix3x4fv".
 12664  func (this WebGL2RenderingContext) UniformMatrix3x4fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void) {
 12665  	bindings.CallWebGL2RenderingContextUniformMatrix3x4fv(
 12666  		this.ref, js.Pointer(&ret),
 12667  		location.Ref(),
 12668  		js.Bool(bool(transpose)),
 12669  		data.Ref(),
 12670  		uint32(srcOffset),
 12671  		uint32(srcLength),
 12672  	)
 12673  
 12674  	return
 12675  }
 12676  
 12677  // TryUniformMatrix3x4fv calls the method "WebGL2RenderingContext.uniformMatrix3x4fv"
 12678  // in a try/catch block and returns (_, err, ok = false) when it went through
 12679  // the catch clause.
 12680  func (this WebGL2RenderingContext) TryUniformMatrix3x4fv(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint, srcLength GLuint) (ret js.Void, exception js.Any, ok bool) {
 12681  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3x4fv(
 12682  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12683  		location.Ref(),
 12684  		js.Bool(bool(transpose)),
 12685  		data.Ref(),
 12686  		uint32(srcOffset),
 12687  		uint32(srcLength),
 12688  	)
 12689  
 12690  	return
 12691  }
 12692  
 12693  // HasFuncUniformMatrix3x4fv1 returns true if the method "WebGL2RenderingContext.uniformMatrix3x4fv" exists.
 12694  func (this WebGL2RenderingContext) HasFuncUniformMatrix3x4fv1() bool {
 12695  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3x4fv1(
 12696  		this.ref,
 12697  	)
 12698  }
 12699  
 12700  // FuncUniformMatrix3x4fv1 returns the method "WebGL2RenderingContext.uniformMatrix3x4fv".
 12701  func (this WebGL2RenderingContext) FuncUniformMatrix3x4fv1() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint)]) {
 12702  	bindings.FuncWebGL2RenderingContextUniformMatrix3x4fv1(
 12703  		this.ref, js.Pointer(&fn),
 12704  	)
 12705  	return
 12706  }
 12707  
 12708  // UniformMatrix3x4fv1 calls the method "WebGL2RenderingContext.uniformMatrix3x4fv".
 12709  func (this WebGL2RenderingContext) UniformMatrix3x4fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void) {
 12710  	bindings.CallWebGL2RenderingContextUniformMatrix3x4fv1(
 12711  		this.ref, js.Pointer(&ret),
 12712  		location.Ref(),
 12713  		js.Bool(bool(transpose)),
 12714  		data.Ref(),
 12715  		uint32(srcOffset),
 12716  	)
 12717  
 12718  	return
 12719  }
 12720  
 12721  // TryUniformMatrix3x4fv1 calls the method "WebGL2RenderingContext.uniformMatrix3x4fv"
 12722  // in a try/catch block and returns (_, err, ok = false) when it went through
 12723  // the catch clause.
 12724  func (this WebGL2RenderingContext) TryUniformMatrix3x4fv1(location WebGLUniformLocation, transpose GLboolean, data Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 12725  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3x4fv1(
 12726  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12727  		location.Ref(),
 12728  		js.Bool(bool(transpose)),
 12729  		data.Ref(),
 12730  		uint32(srcOffset),
 12731  	)
 12732  
 12733  	return
 12734  }
 12735  
 12736  // HasFuncUniformMatrix3x4fv2 returns true if the method "WebGL2RenderingContext.uniformMatrix3x4fv" exists.
 12737  func (this WebGL2RenderingContext) HasFuncUniformMatrix3x4fv2() bool {
 12738  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformMatrix3x4fv2(
 12739  		this.ref,
 12740  	)
 12741  }
 12742  
 12743  // FuncUniformMatrix3x4fv2 returns the method "WebGL2RenderingContext.uniformMatrix3x4fv".
 12744  func (this WebGL2RenderingContext) FuncUniformMatrix3x4fv2() (fn js.Func[func(location WebGLUniformLocation, transpose GLboolean, data Float32List)]) {
 12745  	bindings.FuncWebGL2RenderingContextUniformMatrix3x4fv2(
 12746  		this.ref, js.Pointer(&fn),
 12747  	)
 12748  	return
 12749  }
 12750  
 12751  // UniformMatrix3x4fv2 calls the method "WebGL2RenderingContext.uniformMatrix3x4fv".
 12752  func (this WebGL2RenderingContext) UniformMatrix3x4fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void) {
 12753  	bindings.CallWebGL2RenderingContextUniformMatrix3x4fv2(
 12754  		this.ref, js.Pointer(&ret),
 12755  		location.Ref(),
 12756  		js.Bool(bool(transpose)),
 12757  		data.Ref(),
 12758  	)
 12759  
 12760  	return
 12761  }
 12762  
 12763  // TryUniformMatrix3x4fv2 calls the method "WebGL2RenderingContext.uniformMatrix3x4fv"
 12764  // in a try/catch block and returns (_, err, ok = false) when it went through
 12765  // the catch clause.
 12766  func (this WebGL2RenderingContext) TryUniformMatrix3x4fv2(location WebGLUniformLocation, transpose GLboolean, data Float32List) (ret js.Void, exception js.Any, ok bool) {
 12767  	ok = js.True == bindings.TryWebGL2RenderingContextUniformMatrix3x4fv2(
 12768  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12769  		location.Ref(),
 12770  		js.Bool(bool(transpose)),
 12771  		data.Ref(),
 12772  	)
 12773  
 12774  	return
 12775  }
 12776  
 12777  // HasFuncVertexAttribI4i returns true if the method "WebGL2RenderingContext.vertexAttribI4i" exists.
 12778  func (this WebGL2RenderingContext) HasFuncVertexAttribI4i() bool {
 12779  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribI4i(
 12780  		this.ref,
 12781  	)
 12782  }
 12783  
 12784  // FuncVertexAttribI4i returns the method "WebGL2RenderingContext.vertexAttribI4i".
 12785  func (this WebGL2RenderingContext) FuncVertexAttribI4i() (fn js.Func[func(index GLuint, x GLint, y GLint, z GLint, w GLint)]) {
 12786  	bindings.FuncWebGL2RenderingContextVertexAttribI4i(
 12787  		this.ref, js.Pointer(&fn),
 12788  	)
 12789  	return
 12790  }
 12791  
 12792  // VertexAttribI4i calls the method "WebGL2RenderingContext.vertexAttribI4i".
 12793  func (this WebGL2RenderingContext) VertexAttribI4i(index GLuint, x GLint, y GLint, z GLint, w GLint) (ret js.Void) {
 12794  	bindings.CallWebGL2RenderingContextVertexAttribI4i(
 12795  		this.ref, js.Pointer(&ret),
 12796  		uint32(index),
 12797  		int32(x),
 12798  		int32(y),
 12799  		int32(z),
 12800  		int32(w),
 12801  	)
 12802  
 12803  	return
 12804  }
 12805  
 12806  // TryVertexAttribI4i calls the method "WebGL2RenderingContext.vertexAttribI4i"
 12807  // in a try/catch block and returns (_, err, ok = false) when it went through
 12808  // the catch clause.
 12809  func (this WebGL2RenderingContext) TryVertexAttribI4i(index GLuint, x GLint, y GLint, z GLint, w GLint) (ret js.Void, exception js.Any, ok bool) {
 12810  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribI4i(
 12811  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12812  		uint32(index),
 12813  		int32(x),
 12814  		int32(y),
 12815  		int32(z),
 12816  		int32(w),
 12817  	)
 12818  
 12819  	return
 12820  }
 12821  
 12822  // HasFuncVertexAttribI4iv returns true if the method "WebGL2RenderingContext.vertexAttribI4iv" exists.
 12823  func (this WebGL2RenderingContext) HasFuncVertexAttribI4iv() bool {
 12824  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribI4iv(
 12825  		this.ref,
 12826  	)
 12827  }
 12828  
 12829  // FuncVertexAttribI4iv returns the method "WebGL2RenderingContext.vertexAttribI4iv".
 12830  func (this WebGL2RenderingContext) FuncVertexAttribI4iv() (fn js.Func[func(index GLuint, values Int32List)]) {
 12831  	bindings.FuncWebGL2RenderingContextVertexAttribI4iv(
 12832  		this.ref, js.Pointer(&fn),
 12833  	)
 12834  	return
 12835  }
 12836  
 12837  // VertexAttribI4iv calls the method "WebGL2RenderingContext.vertexAttribI4iv".
 12838  func (this WebGL2RenderingContext) VertexAttribI4iv(index GLuint, values Int32List) (ret js.Void) {
 12839  	bindings.CallWebGL2RenderingContextVertexAttribI4iv(
 12840  		this.ref, js.Pointer(&ret),
 12841  		uint32(index),
 12842  		values.Ref(),
 12843  	)
 12844  
 12845  	return
 12846  }
 12847  
 12848  // TryVertexAttribI4iv calls the method "WebGL2RenderingContext.vertexAttribI4iv"
 12849  // in a try/catch block and returns (_, err, ok = false) when it went through
 12850  // the catch clause.
 12851  func (this WebGL2RenderingContext) TryVertexAttribI4iv(index GLuint, values Int32List) (ret js.Void, exception js.Any, ok bool) {
 12852  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribI4iv(
 12853  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12854  		uint32(index),
 12855  		values.Ref(),
 12856  	)
 12857  
 12858  	return
 12859  }
 12860  
 12861  // HasFuncVertexAttribI4ui returns true if the method "WebGL2RenderingContext.vertexAttribI4ui" exists.
 12862  func (this WebGL2RenderingContext) HasFuncVertexAttribI4ui() bool {
 12863  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribI4ui(
 12864  		this.ref,
 12865  	)
 12866  }
 12867  
 12868  // FuncVertexAttribI4ui returns the method "WebGL2RenderingContext.vertexAttribI4ui".
 12869  func (this WebGL2RenderingContext) FuncVertexAttribI4ui() (fn js.Func[func(index GLuint, x GLuint, y GLuint, z GLuint, w GLuint)]) {
 12870  	bindings.FuncWebGL2RenderingContextVertexAttribI4ui(
 12871  		this.ref, js.Pointer(&fn),
 12872  	)
 12873  	return
 12874  }
 12875  
 12876  // VertexAttribI4ui calls the method "WebGL2RenderingContext.vertexAttribI4ui".
 12877  func (this WebGL2RenderingContext) VertexAttribI4ui(index GLuint, x GLuint, y GLuint, z GLuint, w GLuint) (ret js.Void) {
 12878  	bindings.CallWebGL2RenderingContextVertexAttribI4ui(
 12879  		this.ref, js.Pointer(&ret),
 12880  		uint32(index),
 12881  		uint32(x),
 12882  		uint32(y),
 12883  		uint32(z),
 12884  		uint32(w),
 12885  	)
 12886  
 12887  	return
 12888  }
 12889  
 12890  // TryVertexAttribI4ui calls the method "WebGL2RenderingContext.vertexAttribI4ui"
 12891  // in a try/catch block and returns (_, err, ok = false) when it went through
 12892  // the catch clause.
 12893  func (this WebGL2RenderingContext) TryVertexAttribI4ui(index GLuint, x GLuint, y GLuint, z GLuint, w GLuint) (ret js.Void, exception js.Any, ok bool) {
 12894  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribI4ui(
 12895  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12896  		uint32(index),
 12897  		uint32(x),
 12898  		uint32(y),
 12899  		uint32(z),
 12900  		uint32(w),
 12901  	)
 12902  
 12903  	return
 12904  }
 12905  
 12906  // HasFuncVertexAttribI4uiv returns true if the method "WebGL2RenderingContext.vertexAttribI4uiv" exists.
 12907  func (this WebGL2RenderingContext) HasFuncVertexAttribI4uiv() bool {
 12908  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribI4uiv(
 12909  		this.ref,
 12910  	)
 12911  }
 12912  
 12913  // FuncVertexAttribI4uiv returns the method "WebGL2RenderingContext.vertexAttribI4uiv".
 12914  func (this WebGL2RenderingContext) FuncVertexAttribI4uiv() (fn js.Func[func(index GLuint, values Uint32List)]) {
 12915  	bindings.FuncWebGL2RenderingContextVertexAttribI4uiv(
 12916  		this.ref, js.Pointer(&fn),
 12917  	)
 12918  	return
 12919  }
 12920  
 12921  // VertexAttribI4uiv calls the method "WebGL2RenderingContext.vertexAttribI4uiv".
 12922  func (this WebGL2RenderingContext) VertexAttribI4uiv(index GLuint, values Uint32List) (ret js.Void) {
 12923  	bindings.CallWebGL2RenderingContextVertexAttribI4uiv(
 12924  		this.ref, js.Pointer(&ret),
 12925  		uint32(index),
 12926  		values.Ref(),
 12927  	)
 12928  
 12929  	return
 12930  }
 12931  
 12932  // TryVertexAttribI4uiv calls the method "WebGL2RenderingContext.vertexAttribI4uiv"
 12933  // in a try/catch block and returns (_, err, ok = false) when it went through
 12934  // the catch clause.
 12935  func (this WebGL2RenderingContext) TryVertexAttribI4uiv(index GLuint, values Uint32List) (ret js.Void, exception js.Any, ok bool) {
 12936  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribI4uiv(
 12937  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12938  		uint32(index),
 12939  		values.Ref(),
 12940  	)
 12941  
 12942  	return
 12943  }
 12944  
 12945  // HasFuncVertexAttribIPointer returns true if the method "WebGL2RenderingContext.vertexAttribIPointer" exists.
 12946  func (this WebGL2RenderingContext) HasFuncVertexAttribIPointer() bool {
 12947  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribIPointer(
 12948  		this.ref,
 12949  	)
 12950  }
 12951  
 12952  // FuncVertexAttribIPointer returns the method "WebGL2RenderingContext.vertexAttribIPointer".
 12953  func (this WebGL2RenderingContext) FuncVertexAttribIPointer() (fn js.Func[func(index GLuint, size GLint, typ GLenum, stride GLsizei, offset GLintptr)]) {
 12954  	bindings.FuncWebGL2RenderingContextVertexAttribIPointer(
 12955  		this.ref, js.Pointer(&fn),
 12956  	)
 12957  	return
 12958  }
 12959  
 12960  // VertexAttribIPointer calls the method "WebGL2RenderingContext.vertexAttribIPointer".
 12961  func (this WebGL2RenderingContext) VertexAttribIPointer(index GLuint, size GLint, typ GLenum, stride GLsizei, offset GLintptr) (ret js.Void) {
 12962  	bindings.CallWebGL2RenderingContextVertexAttribIPointer(
 12963  		this.ref, js.Pointer(&ret),
 12964  		uint32(index),
 12965  		int32(size),
 12966  		uint32(typ),
 12967  		int32(stride),
 12968  		float64(offset),
 12969  	)
 12970  
 12971  	return
 12972  }
 12973  
 12974  // TryVertexAttribIPointer calls the method "WebGL2RenderingContext.vertexAttribIPointer"
 12975  // in a try/catch block and returns (_, err, ok = false) when it went through
 12976  // the catch clause.
 12977  func (this WebGL2RenderingContext) TryVertexAttribIPointer(index GLuint, size GLint, typ GLenum, stride GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 12978  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribIPointer(
 12979  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 12980  		uint32(index),
 12981  		int32(size),
 12982  		uint32(typ),
 12983  		int32(stride),
 12984  		float64(offset),
 12985  	)
 12986  
 12987  	return
 12988  }
 12989  
 12990  // HasFuncVertexAttribDivisor returns true if the method "WebGL2RenderingContext.vertexAttribDivisor" exists.
 12991  func (this WebGL2RenderingContext) HasFuncVertexAttribDivisor() bool {
 12992  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribDivisor(
 12993  		this.ref,
 12994  	)
 12995  }
 12996  
 12997  // FuncVertexAttribDivisor returns the method "WebGL2RenderingContext.vertexAttribDivisor".
 12998  func (this WebGL2RenderingContext) FuncVertexAttribDivisor() (fn js.Func[func(index GLuint, divisor GLuint)]) {
 12999  	bindings.FuncWebGL2RenderingContextVertexAttribDivisor(
 13000  		this.ref, js.Pointer(&fn),
 13001  	)
 13002  	return
 13003  }
 13004  
 13005  // VertexAttribDivisor calls the method "WebGL2RenderingContext.vertexAttribDivisor".
 13006  func (this WebGL2RenderingContext) VertexAttribDivisor(index GLuint, divisor GLuint) (ret js.Void) {
 13007  	bindings.CallWebGL2RenderingContextVertexAttribDivisor(
 13008  		this.ref, js.Pointer(&ret),
 13009  		uint32(index),
 13010  		uint32(divisor),
 13011  	)
 13012  
 13013  	return
 13014  }
 13015  
 13016  // TryVertexAttribDivisor calls the method "WebGL2RenderingContext.vertexAttribDivisor"
 13017  // in a try/catch block and returns (_, err, ok = false) when it went through
 13018  // the catch clause.
 13019  func (this WebGL2RenderingContext) TryVertexAttribDivisor(index GLuint, divisor GLuint) (ret js.Void, exception js.Any, ok bool) {
 13020  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribDivisor(
 13021  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13022  		uint32(index),
 13023  		uint32(divisor),
 13024  	)
 13025  
 13026  	return
 13027  }
 13028  
 13029  // HasFuncDrawArraysInstanced returns true if the method "WebGL2RenderingContext.drawArraysInstanced" exists.
 13030  func (this WebGL2RenderingContext) HasFuncDrawArraysInstanced() bool {
 13031  	return js.True == bindings.HasFuncWebGL2RenderingContextDrawArraysInstanced(
 13032  		this.ref,
 13033  	)
 13034  }
 13035  
 13036  // FuncDrawArraysInstanced returns the method "WebGL2RenderingContext.drawArraysInstanced".
 13037  func (this WebGL2RenderingContext) FuncDrawArraysInstanced() (fn js.Func[func(mode GLenum, first GLint, count GLsizei, instanceCount GLsizei)]) {
 13038  	bindings.FuncWebGL2RenderingContextDrawArraysInstanced(
 13039  		this.ref, js.Pointer(&fn),
 13040  	)
 13041  	return
 13042  }
 13043  
 13044  // DrawArraysInstanced calls the method "WebGL2RenderingContext.drawArraysInstanced".
 13045  func (this WebGL2RenderingContext) DrawArraysInstanced(mode GLenum, first GLint, count GLsizei, instanceCount GLsizei) (ret js.Void) {
 13046  	bindings.CallWebGL2RenderingContextDrawArraysInstanced(
 13047  		this.ref, js.Pointer(&ret),
 13048  		uint32(mode),
 13049  		int32(first),
 13050  		int32(count),
 13051  		int32(instanceCount),
 13052  	)
 13053  
 13054  	return
 13055  }
 13056  
 13057  // TryDrawArraysInstanced calls the method "WebGL2RenderingContext.drawArraysInstanced"
 13058  // in a try/catch block and returns (_, err, ok = false) when it went through
 13059  // the catch clause.
 13060  func (this WebGL2RenderingContext) TryDrawArraysInstanced(mode GLenum, first GLint, count GLsizei, instanceCount GLsizei) (ret js.Void, exception js.Any, ok bool) {
 13061  	ok = js.True == bindings.TryWebGL2RenderingContextDrawArraysInstanced(
 13062  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13063  		uint32(mode),
 13064  		int32(first),
 13065  		int32(count),
 13066  		int32(instanceCount),
 13067  	)
 13068  
 13069  	return
 13070  }
 13071  
 13072  // HasFuncDrawElementsInstanced returns true if the method "WebGL2RenderingContext.drawElementsInstanced" exists.
 13073  func (this WebGL2RenderingContext) HasFuncDrawElementsInstanced() bool {
 13074  	return js.True == bindings.HasFuncWebGL2RenderingContextDrawElementsInstanced(
 13075  		this.ref,
 13076  	)
 13077  }
 13078  
 13079  // FuncDrawElementsInstanced returns the method "WebGL2RenderingContext.drawElementsInstanced".
 13080  func (this WebGL2RenderingContext) FuncDrawElementsInstanced() (fn js.Func[func(mode GLenum, count GLsizei, typ GLenum, offset GLintptr, instanceCount GLsizei)]) {
 13081  	bindings.FuncWebGL2RenderingContextDrawElementsInstanced(
 13082  		this.ref, js.Pointer(&fn),
 13083  	)
 13084  	return
 13085  }
 13086  
 13087  // DrawElementsInstanced calls the method "WebGL2RenderingContext.drawElementsInstanced".
 13088  func (this WebGL2RenderingContext) DrawElementsInstanced(mode GLenum, count GLsizei, typ GLenum, offset GLintptr, instanceCount GLsizei) (ret js.Void) {
 13089  	bindings.CallWebGL2RenderingContextDrawElementsInstanced(
 13090  		this.ref, js.Pointer(&ret),
 13091  		uint32(mode),
 13092  		int32(count),
 13093  		uint32(typ),
 13094  		float64(offset),
 13095  		int32(instanceCount),
 13096  	)
 13097  
 13098  	return
 13099  }
 13100  
 13101  // TryDrawElementsInstanced calls the method "WebGL2RenderingContext.drawElementsInstanced"
 13102  // in a try/catch block and returns (_, err, ok = false) when it went through
 13103  // the catch clause.
 13104  func (this WebGL2RenderingContext) TryDrawElementsInstanced(mode GLenum, count GLsizei, typ GLenum, offset GLintptr, instanceCount GLsizei) (ret js.Void, exception js.Any, ok bool) {
 13105  	ok = js.True == bindings.TryWebGL2RenderingContextDrawElementsInstanced(
 13106  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13107  		uint32(mode),
 13108  		int32(count),
 13109  		uint32(typ),
 13110  		float64(offset),
 13111  		int32(instanceCount),
 13112  	)
 13113  
 13114  	return
 13115  }
 13116  
 13117  // HasFuncDrawRangeElements returns true if the method "WebGL2RenderingContext.drawRangeElements" exists.
 13118  func (this WebGL2RenderingContext) HasFuncDrawRangeElements() bool {
 13119  	return js.True == bindings.HasFuncWebGL2RenderingContextDrawRangeElements(
 13120  		this.ref,
 13121  	)
 13122  }
 13123  
 13124  // FuncDrawRangeElements returns the method "WebGL2RenderingContext.drawRangeElements".
 13125  func (this WebGL2RenderingContext) FuncDrawRangeElements() (fn js.Func[func(mode GLenum, start GLuint, end GLuint, count GLsizei, typ GLenum, offset GLintptr)]) {
 13126  	bindings.FuncWebGL2RenderingContextDrawRangeElements(
 13127  		this.ref, js.Pointer(&fn),
 13128  	)
 13129  	return
 13130  }
 13131  
 13132  // DrawRangeElements calls the method "WebGL2RenderingContext.drawRangeElements".
 13133  func (this WebGL2RenderingContext) DrawRangeElements(mode GLenum, start GLuint, end GLuint, count GLsizei, typ GLenum, offset GLintptr) (ret js.Void) {
 13134  	bindings.CallWebGL2RenderingContextDrawRangeElements(
 13135  		this.ref, js.Pointer(&ret),
 13136  		uint32(mode),
 13137  		uint32(start),
 13138  		uint32(end),
 13139  		int32(count),
 13140  		uint32(typ),
 13141  		float64(offset),
 13142  	)
 13143  
 13144  	return
 13145  }
 13146  
 13147  // TryDrawRangeElements calls the method "WebGL2RenderingContext.drawRangeElements"
 13148  // in a try/catch block and returns (_, err, ok = false) when it went through
 13149  // the catch clause.
 13150  func (this WebGL2RenderingContext) TryDrawRangeElements(mode GLenum, start GLuint, end GLuint, count GLsizei, typ GLenum, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 13151  	ok = js.True == bindings.TryWebGL2RenderingContextDrawRangeElements(
 13152  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13153  		uint32(mode),
 13154  		uint32(start),
 13155  		uint32(end),
 13156  		int32(count),
 13157  		uint32(typ),
 13158  		float64(offset),
 13159  	)
 13160  
 13161  	return
 13162  }
 13163  
 13164  // HasFuncDrawBuffers returns true if the method "WebGL2RenderingContext.drawBuffers" exists.
 13165  func (this WebGL2RenderingContext) HasFuncDrawBuffers() bool {
 13166  	return js.True == bindings.HasFuncWebGL2RenderingContextDrawBuffers(
 13167  		this.ref,
 13168  	)
 13169  }
 13170  
 13171  // FuncDrawBuffers returns the method "WebGL2RenderingContext.drawBuffers".
 13172  func (this WebGL2RenderingContext) FuncDrawBuffers() (fn js.Func[func(buffers js.Array[GLenum])]) {
 13173  	bindings.FuncWebGL2RenderingContextDrawBuffers(
 13174  		this.ref, js.Pointer(&fn),
 13175  	)
 13176  	return
 13177  }
 13178  
 13179  // DrawBuffers calls the method "WebGL2RenderingContext.drawBuffers".
 13180  func (this WebGL2RenderingContext) DrawBuffers(buffers js.Array[GLenum]) (ret js.Void) {
 13181  	bindings.CallWebGL2RenderingContextDrawBuffers(
 13182  		this.ref, js.Pointer(&ret),
 13183  		buffers.Ref(),
 13184  	)
 13185  
 13186  	return
 13187  }
 13188  
 13189  // TryDrawBuffers calls the method "WebGL2RenderingContext.drawBuffers"
 13190  // in a try/catch block and returns (_, err, ok = false) when it went through
 13191  // the catch clause.
 13192  func (this WebGL2RenderingContext) TryDrawBuffers(buffers js.Array[GLenum]) (ret js.Void, exception js.Any, ok bool) {
 13193  	ok = js.True == bindings.TryWebGL2RenderingContextDrawBuffers(
 13194  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13195  		buffers.Ref(),
 13196  	)
 13197  
 13198  	return
 13199  }
 13200  
 13201  // HasFuncClearBufferfv returns true if the method "WebGL2RenderingContext.clearBufferfv" exists.
 13202  func (this WebGL2RenderingContext) HasFuncClearBufferfv() bool {
 13203  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferfv(
 13204  		this.ref,
 13205  	)
 13206  }
 13207  
 13208  // FuncClearBufferfv returns the method "WebGL2RenderingContext.clearBufferfv".
 13209  func (this WebGL2RenderingContext) FuncClearBufferfv() (fn js.Func[func(buffer GLenum, drawbuffer GLint, values Float32List, srcOffset GLuint)]) {
 13210  	bindings.FuncWebGL2RenderingContextClearBufferfv(
 13211  		this.ref, js.Pointer(&fn),
 13212  	)
 13213  	return
 13214  }
 13215  
 13216  // ClearBufferfv calls the method "WebGL2RenderingContext.clearBufferfv".
 13217  func (this WebGL2RenderingContext) ClearBufferfv(buffer GLenum, drawbuffer GLint, values Float32List, srcOffset GLuint) (ret js.Void) {
 13218  	bindings.CallWebGL2RenderingContextClearBufferfv(
 13219  		this.ref, js.Pointer(&ret),
 13220  		uint32(buffer),
 13221  		int32(drawbuffer),
 13222  		values.Ref(),
 13223  		uint32(srcOffset),
 13224  	)
 13225  
 13226  	return
 13227  }
 13228  
 13229  // TryClearBufferfv calls the method "WebGL2RenderingContext.clearBufferfv"
 13230  // in a try/catch block and returns (_, err, ok = false) when it went through
 13231  // the catch clause.
 13232  func (this WebGL2RenderingContext) TryClearBufferfv(buffer GLenum, drawbuffer GLint, values Float32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 13233  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferfv(
 13234  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13235  		uint32(buffer),
 13236  		int32(drawbuffer),
 13237  		values.Ref(),
 13238  		uint32(srcOffset),
 13239  	)
 13240  
 13241  	return
 13242  }
 13243  
 13244  // HasFuncClearBufferfv1 returns true if the method "WebGL2RenderingContext.clearBufferfv" exists.
 13245  func (this WebGL2RenderingContext) HasFuncClearBufferfv1() bool {
 13246  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferfv1(
 13247  		this.ref,
 13248  	)
 13249  }
 13250  
 13251  // FuncClearBufferfv1 returns the method "WebGL2RenderingContext.clearBufferfv".
 13252  func (this WebGL2RenderingContext) FuncClearBufferfv1() (fn js.Func[func(buffer GLenum, drawbuffer GLint, values Float32List)]) {
 13253  	bindings.FuncWebGL2RenderingContextClearBufferfv1(
 13254  		this.ref, js.Pointer(&fn),
 13255  	)
 13256  	return
 13257  }
 13258  
 13259  // ClearBufferfv1 calls the method "WebGL2RenderingContext.clearBufferfv".
 13260  func (this WebGL2RenderingContext) ClearBufferfv1(buffer GLenum, drawbuffer GLint, values Float32List) (ret js.Void) {
 13261  	bindings.CallWebGL2RenderingContextClearBufferfv1(
 13262  		this.ref, js.Pointer(&ret),
 13263  		uint32(buffer),
 13264  		int32(drawbuffer),
 13265  		values.Ref(),
 13266  	)
 13267  
 13268  	return
 13269  }
 13270  
 13271  // TryClearBufferfv1 calls the method "WebGL2RenderingContext.clearBufferfv"
 13272  // in a try/catch block and returns (_, err, ok = false) when it went through
 13273  // the catch clause.
 13274  func (this WebGL2RenderingContext) TryClearBufferfv1(buffer GLenum, drawbuffer GLint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
 13275  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferfv1(
 13276  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13277  		uint32(buffer),
 13278  		int32(drawbuffer),
 13279  		values.Ref(),
 13280  	)
 13281  
 13282  	return
 13283  }
 13284  
 13285  // HasFuncClearBufferiv returns true if the method "WebGL2RenderingContext.clearBufferiv" exists.
 13286  func (this WebGL2RenderingContext) HasFuncClearBufferiv() bool {
 13287  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferiv(
 13288  		this.ref,
 13289  	)
 13290  }
 13291  
 13292  // FuncClearBufferiv returns the method "WebGL2RenderingContext.clearBufferiv".
 13293  func (this WebGL2RenderingContext) FuncClearBufferiv() (fn js.Func[func(buffer GLenum, drawbuffer GLint, values Int32List, srcOffset GLuint)]) {
 13294  	bindings.FuncWebGL2RenderingContextClearBufferiv(
 13295  		this.ref, js.Pointer(&fn),
 13296  	)
 13297  	return
 13298  }
 13299  
 13300  // ClearBufferiv calls the method "WebGL2RenderingContext.clearBufferiv".
 13301  func (this WebGL2RenderingContext) ClearBufferiv(buffer GLenum, drawbuffer GLint, values Int32List, srcOffset GLuint) (ret js.Void) {
 13302  	bindings.CallWebGL2RenderingContextClearBufferiv(
 13303  		this.ref, js.Pointer(&ret),
 13304  		uint32(buffer),
 13305  		int32(drawbuffer),
 13306  		values.Ref(),
 13307  		uint32(srcOffset),
 13308  	)
 13309  
 13310  	return
 13311  }
 13312  
 13313  // TryClearBufferiv calls the method "WebGL2RenderingContext.clearBufferiv"
 13314  // in a try/catch block and returns (_, err, ok = false) when it went through
 13315  // the catch clause.
 13316  func (this WebGL2RenderingContext) TryClearBufferiv(buffer GLenum, drawbuffer GLint, values Int32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 13317  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferiv(
 13318  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13319  		uint32(buffer),
 13320  		int32(drawbuffer),
 13321  		values.Ref(),
 13322  		uint32(srcOffset),
 13323  	)
 13324  
 13325  	return
 13326  }
 13327  
 13328  // HasFuncClearBufferiv1 returns true if the method "WebGL2RenderingContext.clearBufferiv" exists.
 13329  func (this WebGL2RenderingContext) HasFuncClearBufferiv1() bool {
 13330  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferiv1(
 13331  		this.ref,
 13332  	)
 13333  }
 13334  
 13335  // FuncClearBufferiv1 returns the method "WebGL2RenderingContext.clearBufferiv".
 13336  func (this WebGL2RenderingContext) FuncClearBufferiv1() (fn js.Func[func(buffer GLenum, drawbuffer GLint, values Int32List)]) {
 13337  	bindings.FuncWebGL2RenderingContextClearBufferiv1(
 13338  		this.ref, js.Pointer(&fn),
 13339  	)
 13340  	return
 13341  }
 13342  
 13343  // ClearBufferiv1 calls the method "WebGL2RenderingContext.clearBufferiv".
 13344  func (this WebGL2RenderingContext) ClearBufferiv1(buffer GLenum, drawbuffer GLint, values Int32List) (ret js.Void) {
 13345  	bindings.CallWebGL2RenderingContextClearBufferiv1(
 13346  		this.ref, js.Pointer(&ret),
 13347  		uint32(buffer),
 13348  		int32(drawbuffer),
 13349  		values.Ref(),
 13350  	)
 13351  
 13352  	return
 13353  }
 13354  
 13355  // TryClearBufferiv1 calls the method "WebGL2RenderingContext.clearBufferiv"
 13356  // in a try/catch block and returns (_, err, ok = false) when it went through
 13357  // the catch clause.
 13358  func (this WebGL2RenderingContext) TryClearBufferiv1(buffer GLenum, drawbuffer GLint, values Int32List) (ret js.Void, exception js.Any, ok bool) {
 13359  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferiv1(
 13360  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13361  		uint32(buffer),
 13362  		int32(drawbuffer),
 13363  		values.Ref(),
 13364  	)
 13365  
 13366  	return
 13367  }
 13368  
 13369  // HasFuncClearBufferuiv returns true if the method "WebGL2RenderingContext.clearBufferuiv" exists.
 13370  func (this WebGL2RenderingContext) HasFuncClearBufferuiv() bool {
 13371  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferuiv(
 13372  		this.ref,
 13373  	)
 13374  }
 13375  
 13376  // FuncClearBufferuiv returns the method "WebGL2RenderingContext.clearBufferuiv".
 13377  func (this WebGL2RenderingContext) FuncClearBufferuiv() (fn js.Func[func(buffer GLenum, drawbuffer GLint, values Uint32List, srcOffset GLuint)]) {
 13378  	bindings.FuncWebGL2RenderingContextClearBufferuiv(
 13379  		this.ref, js.Pointer(&fn),
 13380  	)
 13381  	return
 13382  }
 13383  
 13384  // ClearBufferuiv calls the method "WebGL2RenderingContext.clearBufferuiv".
 13385  func (this WebGL2RenderingContext) ClearBufferuiv(buffer GLenum, drawbuffer GLint, values Uint32List, srcOffset GLuint) (ret js.Void) {
 13386  	bindings.CallWebGL2RenderingContextClearBufferuiv(
 13387  		this.ref, js.Pointer(&ret),
 13388  		uint32(buffer),
 13389  		int32(drawbuffer),
 13390  		values.Ref(),
 13391  		uint32(srcOffset),
 13392  	)
 13393  
 13394  	return
 13395  }
 13396  
 13397  // TryClearBufferuiv calls the method "WebGL2RenderingContext.clearBufferuiv"
 13398  // in a try/catch block and returns (_, err, ok = false) when it went through
 13399  // the catch clause.
 13400  func (this WebGL2RenderingContext) TryClearBufferuiv(buffer GLenum, drawbuffer GLint, values Uint32List, srcOffset GLuint) (ret js.Void, exception js.Any, ok bool) {
 13401  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferuiv(
 13402  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13403  		uint32(buffer),
 13404  		int32(drawbuffer),
 13405  		values.Ref(),
 13406  		uint32(srcOffset),
 13407  	)
 13408  
 13409  	return
 13410  }
 13411  
 13412  // HasFuncClearBufferuiv1 returns true if the method "WebGL2RenderingContext.clearBufferuiv" exists.
 13413  func (this WebGL2RenderingContext) HasFuncClearBufferuiv1() bool {
 13414  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferuiv1(
 13415  		this.ref,
 13416  	)
 13417  }
 13418  
 13419  // FuncClearBufferuiv1 returns the method "WebGL2RenderingContext.clearBufferuiv".
 13420  func (this WebGL2RenderingContext) FuncClearBufferuiv1() (fn js.Func[func(buffer GLenum, drawbuffer GLint, values Uint32List)]) {
 13421  	bindings.FuncWebGL2RenderingContextClearBufferuiv1(
 13422  		this.ref, js.Pointer(&fn),
 13423  	)
 13424  	return
 13425  }
 13426  
 13427  // ClearBufferuiv1 calls the method "WebGL2RenderingContext.clearBufferuiv".
 13428  func (this WebGL2RenderingContext) ClearBufferuiv1(buffer GLenum, drawbuffer GLint, values Uint32List) (ret js.Void) {
 13429  	bindings.CallWebGL2RenderingContextClearBufferuiv1(
 13430  		this.ref, js.Pointer(&ret),
 13431  		uint32(buffer),
 13432  		int32(drawbuffer),
 13433  		values.Ref(),
 13434  	)
 13435  
 13436  	return
 13437  }
 13438  
 13439  // TryClearBufferuiv1 calls the method "WebGL2RenderingContext.clearBufferuiv"
 13440  // in a try/catch block and returns (_, err, ok = false) when it went through
 13441  // the catch clause.
 13442  func (this WebGL2RenderingContext) TryClearBufferuiv1(buffer GLenum, drawbuffer GLint, values Uint32List) (ret js.Void, exception js.Any, ok bool) {
 13443  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferuiv1(
 13444  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13445  		uint32(buffer),
 13446  		int32(drawbuffer),
 13447  		values.Ref(),
 13448  	)
 13449  
 13450  	return
 13451  }
 13452  
 13453  // HasFuncClearBufferfi returns true if the method "WebGL2RenderingContext.clearBufferfi" exists.
 13454  func (this WebGL2RenderingContext) HasFuncClearBufferfi() bool {
 13455  	return js.True == bindings.HasFuncWebGL2RenderingContextClearBufferfi(
 13456  		this.ref,
 13457  	)
 13458  }
 13459  
 13460  // FuncClearBufferfi returns the method "WebGL2RenderingContext.clearBufferfi".
 13461  func (this WebGL2RenderingContext) FuncClearBufferfi() (fn js.Func[func(buffer GLenum, drawbuffer GLint, depth GLfloat, stencil GLint)]) {
 13462  	bindings.FuncWebGL2RenderingContextClearBufferfi(
 13463  		this.ref, js.Pointer(&fn),
 13464  	)
 13465  	return
 13466  }
 13467  
 13468  // ClearBufferfi calls the method "WebGL2RenderingContext.clearBufferfi".
 13469  func (this WebGL2RenderingContext) ClearBufferfi(buffer GLenum, drawbuffer GLint, depth GLfloat, stencil GLint) (ret js.Void) {
 13470  	bindings.CallWebGL2RenderingContextClearBufferfi(
 13471  		this.ref, js.Pointer(&ret),
 13472  		uint32(buffer),
 13473  		int32(drawbuffer),
 13474  		float32(depth),
 13475  		int32(stencil),
 13476  	)
 13477  
 13478  	return
 13479  }
 13480  
 13481  // TryClearBufferfi calls the method "WebGL2RenderingContext.clearBufferfi"
 13482  // in a try/catch block and returns (_, err, ok = false) when it went through
 13483  // the catch clause.
 13484  func (this WebGL2RenderingContext) TryClearBufferfi(buffer GLenum, drawbuffer GLint, depth GLfloat, stencil GLint) (ret js.Void, exception js.Any, ok bool) {
 13485  	ok = js.True == bindings.TryWebGL2RenderingContextClearBufferfi(
 13486  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13487  		uint32(buffer),
 13488  		int32(drawbuffer),
 13489  		float32(depth),
 13490  		int32(stencil),
 13491  	)
 13492  
 13493  	return
 13494  }
 13495  
 13496  // HasFuncCreateQuery returns true if the method "WebGL2RenderingContext.createQuery" exists.
 13497  func (this WebGL2RenderingContext) HasFuncCreateQuery() bool {
 13498  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateQuery(
 13499  		this.ref,
 13500  	)
 13501  }
 13502  
 13503  // FuncCreateQuery returns the method "WebGL2RenderingContext.createQuery".
 13504  func (this WebGL2RenderingContext) FuncCreateQuery() (fn js.Func[func() WebGLQuery]) {
 13505  	bindings.FuncWebGL2RenderingContextCreateQuery(
 13506  		this.ref, js.Pointer(&fn),
 13507  	)
 13508  	return
 13509  }
 13510  
 13511  // CreateQuery calls the method "WebGL2RenderingContext.createQuery".
 13512  func (this WebGL2RenderingContext) CreateQuery() (ret WebGLQuery) {
 13513  	bindings.CallWebGL2RenderingContextCreateQuery(
 13514  		this.ref, js.Pointer(&ret),
 13515  	)
 13516  
 13517  	return
 13518  }
 13519  
 13520  // TryCreateQuery calls the method "WebGL2RenderingContext.createQuery"
 13521  // in a try/catch block and returns (_, err, ok = false) when it went through
 13522  // the catch clause.
 13523  func (this WebGL2RenderingContext) TryCreateQuery() (ret WebGLQuery, exception js.Any, ok bool) {
 13524  	ok = js.True == bindings.TryWebGL2RenderingContextCreateQuery(
 13525  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13526  	)
 13527  
 13528  	return
 13529  }
 13530  
 13531  // HasFuncDeleteQuery returns true if the method "WebGL2RenderingContext.deleteQuery" exists.
 13532  func (this WebGL2RenderingContext) HasFuncDeleteQuery() bool {
 13533  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteQuery(
 13534  		this.ref,
 13535  	)
 13536  }
 13537  
 13538  // FuncDeleteQuery returns the method "WebGL2RenderingContext.deleteQuery".
 13539  func (this WebGL2RenderingContext) FuncDeleteQuery() (fn js.Func[func(query WebGLQuery)]) {
 13540  	bindings.FuncWebGL2RenderingContextDeleteQuery(
 13541  		this.ref, js.Pointer(&fn),
 13542  	)
 13543  	return
 13544  }
 13545  
 13546  // DeleteQuery calls the method "WebGL2RenderingContext.deleteQuery".
 13547  func (this WebGL2RenderingContext) DeleteQuery(query WebGLQuery) (ret js.Void) {
 13548  	bindings.CallWebGL2RenderingContextDeleteQuery(
 13549  		this.ref, js.Pointer(&ret),
 13550  		query.Ref(),
 13551  	)
 13552  
 13553  	return
 13554  }
 13555  
 13556  // TryDeleteQuery calls the method "WebGL2RenderingContext.deleteQuery"
 13557  // in a try/catch block and returns (_, err, ok = false) when it went through
 13558  // the catch clause.
 13559  func (this WebGL2RenderingContext) TryDeleteQuery(query WebGLQuery) (ret js.Void, exception js.Any, ok bool) {
 13560  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteQuery(
 13561  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13562  		query.Ref(),
 13563  	)
 13564  
 13565  	return
 13566  }
 13567  
 13568  // HasFuncIsQuery returns true if the method "WebGL2RenderingContext.isQuery" exists.
 13569  func (this WebGL2RenderingContext) HasFuncIsQuery() bool {
 13570  	return js.True == bindings.HasFuncWebGL2RenderingContextIsQuery(
 13571  		this.ref,
 13572  	)
 13573  }
 13574  
 13575  // FuncIsQuery returns the method "WebGL2RenderingContext.isQuery".
 13576  func (this WebGL2RenderingContext) FuncIsQuery() (fn js.Func[func(query WebGLQuery) GLboolean]) {
 13577  	bindings.FuncWebGL2RenderingContextIsQuery(
 13578  		this.ref, js.Pointer(&fn),
 13579  	)
 13580  	return
 13581  }
 13582  
 13583  // IsQuery calls the method "WebGL2RenderingContext.isQuery".
 13584  func (this WebGL2RenderingContext) IsQuery(query WebGLQuery) (ret GLboolean) {
 13585  	bindings.CallWebGL2RenderingContextIsQuery(
 13586  		this.ref, js.Pointer(&ret),
 13587  		query.Ref(),
 13588  	)
 13589  
 13590  	return
 13591  }
 13592  
 13593  // TryIsQuery calls the method "WebGL2RenderingContext.isQuery"
 13594  // in a try/catch block and returns (_, err, ok = false) when it went through
 13595  // the catch clause.
 13596  func (this WebGL2RenderingContext) TryIsQuery(query WebGLQuery) (ret GLboolean, exception js.Any, ok bool) {
 13597  	ok = js.True == bindings.TryWebGL2RenderingContextIsQuery(
 13598  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13599  		query.Ref(),
 13600  	)
 13601  
 13602  	return
 13603  }
 13604  
 13605  // HasFuncBeginQuery returns true if the method "WebGL2RenderingContext.beginQuery" exists.
 13606  func (this WebGL2RenderingContext) HasFuncBeginQuery() bool {
 13607  	return js.True == bindings.HasFuncWebGL2RenderingContextBeginQuery(
 13608  		this.ref,
 13609  	)
 13610  }
 13611  
 13612  // FuncBeginQuery returns the method "WebGL2RenderingContext.beginQuery".
 13613  func (this WebGL2RenderingContext) FuncBeginQuery() (fn js.Func[func(target GLenum, query WebGLQuery)]) {
 13614  	bindings.FuncWebGL2RenderingContextBeginQuery(
 13615  		this.ref, js.Pointer(&fn),
 13616  	)
 13617  	return
 13618  }
 13619  
 13620  // BeginQuery calls the method "WebGL2RenderingContext.beginQuery".
 13621  func (this WebGL2RenderingContext) BeginQuery(target GLenum, query WebGLQuery) (ret js.Void) {
 13622  	bindings.CallWebGL2RenderingContextBeginQuery(
 13623  		this.ref, js.Pointer(&ret),
 13624  		uint32(target),
 13625  		query.Ref(),
 13626  	)
 13627  
 13628  	return
 13629  }
 13630  
 13631  // TryBeginQuery calls the method "WebGL2RenderingContext.beginQuery"
 13632  // in a try/catch block and returns (_, err, ok = false) when it went through
 13633  // the catch clause.
 13634  func (this WebGL2RenderingContext) TryBeginQuery(target GLenum, query WebGLQuery) (ret js.Void, exception js.Any, ok bool) {
 13635  	ok = js.True == bindings.TryWebGL2RenderingContextBeginQuery(
 13636  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13637  		uint32(target),
 13638  		query.Ref(),
 13639  	)
 13640  
 13641  	return
 13642  }
 13643  
 13644  // HasFuncEndQuery returns true if the method "WebGL2RenderingContext.endQuery" exists.
 13645  func (this WebGL2RenderingContext) HasFuncEndQuery() bool {
 13646  	return js.True == bindings.HasFuncWebGL2RenderingContextEndQuery(
 13647  		this.ref,
 13648  	)
 13649  }
 13650  
 13651  // FuncEndQuery returns the method "WebGL2RenderingContext.endQuery".
 13652  func (this WebGL2RenderingContext) FuncEndQuery() (fn js.Func[func(target GLenum)]) {
 13653  	bindings.FuncWebGL2RenderingContextEndQuery(
 13654  		this.ref, js.Pointer(&fn),
 13655  	)
 13656  	return
 13657  }
 13658  
 13659  // EndQuery calls the method "WebGL2RenderingContext.endQuery".
 13660  func (this WebGL2RenderingContext) EndQuery(target GLenum) (ret js.Void) {
 13661  	bindings.CallWebGL2RenderingContextEndQuery(
 13662  		this.ref, js.Pointer(&ret),
 13663  		uint32(target),
 13664  	)
 13665  
 13666  	return
 13667  }
 13668  
 13669  // TryEndQuery calls the method "WebGL2RenderingContext.endQuery"
 13670  // in a try/catch block and returns (_, err, ok = false) when it went through
 13671  // the catch clause.
 13672  func (this WebGL2RenderingContext) TryEndQuery(target GLenum) (ret js.Void, exception js.Any, ok bool) {
 13673  	ok = js.True == bindings.TryWebGL2RenderingContextEndQuery(
 13674  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13675  		uint32(target),
 13676  	)
 13677  
 13678  	return
 13679  }
 13680  
 13681  // HasFuncGetQuery returns true if the method "WebGL2RenderingContext.getQuery" exists.
 13682  func (this WebGL2RenderingContext) HasFuncGetQuery() bool {
 13683  	return js.True == bindings.HasFuncWebGL2RenderingContextGetQuery(
 13684  		this.ref,
 13685  	)
 13686  }
 13687  
 13688  // FuncGetQuery returns the method "WebGL2RenderingContext.getQuery".
 13689  func (this WebGL2RenderingContext) FuncGetQuery() (fn js.Func[func(target GLenum, pname GLenum) WebGLQuery]) {
 13690  	bindings.FuncWebGL2RenderingContextGetQuery(
 13691  		this.ref, js.Pointer(&fn),
 13692  	)
 13693  	return
 13694  }
 13695  
 13696  // GetQuery calls the method "WebGL2RenderingContext.getQuery".
 13697  func (this WebGL2RenderingContext) GetQuery(target GLenum, pname GLenum) (ret WebGLQuery) {
 13698  	bindings.CallWebGL2RenderingContextGetQuery(
 13699  		this.ref, js.Pointer(&ret),
 13700  		uint32(target),
 13701  		uint32(pname),
 13702  	)
 13703  
 13704  	return
 13705  }
 13706  
 13707  // TryGetQuery calls the method "WebGL2RenderingContext.getQuery"
 13708  // in a try/catch block and returns (_, err, ok = false) when it went through
 13709  // the catch clause.
 13710  func (this WebGL2RenderingContext) TryGetQuery(target GLenum, pname GLenum) (ret WebGLQuery, exception js.Any, ok bool) {
 13711  	ok = js.True == bindings.TryWebGL2RenderingContextGetQuery(
 13712  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13713  		uint32(target),
 13714  		uint32(pname),
 13715  	)
 13716  
 13717  	return
 13718  }
 13719  
 13720  // HasFuncGetQueryParameter returns true if the method "WebGL2RenderingContext.getQueryParameter" exists.
 13721  func (this WebGL2RenderingContext) HasFuncGetQueryParameter() bool {
 13722  	return js.True == bindings.HasFuncWebGL2RenderingContextGetQueryParameter(
 13723  		this.ref,
 13724  	)
 13725  }
 13726  
 13727  // FuncGetQueryParameter returns the method "WebGL2RenderingContext.getQueryParameter".
 13728  func (this WebGL2RenderingContext) FuncGetQueryParameter() (fn js.Func[func(query WebGLQuery, pname GLenum) js.Any]) {
 13729  	bindings.FuncWebGL2RenderingContextGetQueryParameter(
 13730  		this.ref, js.Pointer(&fn),
 13731  	)
 13732  	return
 13733  }
 13734  
 13735  // GetQueryParameter calls the method "WebGL2RenderingContext.getQueryParameter".
 13736  func (this WebGL2RenderingContext) GetQueryParameter(query WebGLQuery, pname GLenum) (ret js.Any) {
 13737  	bindings.CallWebGL2RenderingContextGetQueryParameter(
 13738  		this.ref, js.Pointer(&ret),
 13739  		query.Ref(),
 13740  		uint32(pname),
 13741  	)
 13742  
 13743  	return
 13744  }
 13745  
 13746  // TryGetQueryParameter calls the method "WebGL2RenderingContext.getQueryParameter"
 13747  // in a try/catch block and returns (_, err, ok = false) when it went through
 13748  // the catch clause.
 13749  func (this WebGL2RenderingContext) TryGetQueryParameter(query WebGLQuery, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 13750  	ok = js.True == bindings.TryWebGL2RenderingContextGetQueryParameter(
 13751  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13752  		query.Ref(),
 13753  		uint32(pname),
 13754  	)
 13755  
 13756  	return
 13757  }
 13758  
 13759  // HasFuncCreateSampler returns true if the method "WebGL2RenderingContext.createSampler" exists.
 13760  func (this WebGL2RenderingContext) HasFuncCreateSampler() bool {
 13761  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateSampler(
 13762  		this.ref,
 13763  	)
 13764  }
 13765  
 13766  // FuncCreateSampler returns the method "WebGL2RenderingContext.createSampler".
 13767  func (this WebGL2RenderingContext) FuncCreateSampler() (fn js.Func[func() WebGLSampler]) {
 13768  	bindings.FuncWebGL2RenderingContextCreateSampler(
 13769  		this.ref, js.Pointer(&fn),
 13770  	)
 13771  	return
 13772  }
 13773  
 13774  // CreateSampler calls the method "WebGL2RenderingContext.createSampler".
 13775  func (this WebGL2RenderingContext) CreateSampler() (ret WebGLSampler) {
 13776  	bindings.CallWebGL2RenderingContextCreateSampler(
 13777  		this.ref, js.Pointer(&ret),
 13778  	)
 13779  
 13780  	return
 13781  }
 13782  
 13783  // TryCreateSampler calls the method "WebGL2RenderingContext.createSampler"
 13784  // in a try/catch block and returns (_, err, ok = false) when it went through
 13785  // the catch clause.
 13786  func (this WebGL2RenderingContext) TryCreateSampler() (ret WebGLSampler, exception js.Any, ok bool) {
 13787  	ok = js.True == bindings.TryWebGL2RenderingContextCreateSampler(
 13788  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13789  	)
 13790  
 13791  	return
 13792  }
 13793  
 13794  // HasFuncDeleteSampler returns true if the method "WebGL2RenderingContext.deleteSampler" exists.
 13795  func (this WebGL2RenderingContext) HasFuncDeleteSampler() bool {
 13796  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteSampler(
 13797  		this.ref,
 13798  	)
 13799  }
 13800  
 13801  // FuncDeleteSampler returns the method "WebGL2RenderingContext.deleteSampler".
 13802  func (this WebGL2RenderingContext) FuncDeleteSampler() (fn js.Func[func(sampler WebGLSampler)]) {
 13803  	bindings.FuncWebGL2RenderingContextDeleteSampler(
 13804  		this.ref, js.Pointer(&fn),
 13805  	)
 13806  	return
 13807  }
 13808  
 13809  // DeleteSampler calls the method "WebGL2RenderingContext.deleteSampler".
 13810  func (this WebGL2RenderingContext) DeleteSampler(sampler WebGLSampler) (ret js.Void) {
 13811  	bindings.CallWebGL2RenderingContextDeleteSampler(
 13812  		this.ref, js.Pointer(&ret),
 13813  		sampler.Ref(),
 13814  	)
 13815  
 13816  	return
 13817  }
 13818  
 13819  // TryDeleteSampler calls the method "WebGL2RenderingContext.deleteSampler"
 13820  // in a try/catch block and returns (_, err, ok = false) when it went through
 13821  // the catch clause.
 13822  func (this WebGL2RenderingContext) TryDeleteSampler(sampler WebGLSampler) (ret js.Void, exception js.Any, ok bool) {
 13823  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteSampler(
 13824  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13825  		sampler.Ref(),
 13826  	)
 13827  
 13828  	return
 13829  }
 13830  
 13831  // HasFuncIsSampler returns true if the method "WebGL2RenderingContext.isSampler" exists.
 13832  func (this WebGL2RenderingContext) HasFuncIsSampler() bool {
 13833  	return js.True == bindings.HasFuncWebGL2RenderingContextIsSampler(
 13834  		this.ref,
 13835  	)
 13836  }
 13837  
 13838  // FuncIsSampler returns the method "WebGL2RenderingContext.isSampler".
 13839  func (this WebGL2RenderingContext) FuncIsSampler() (fn js.Func[func(sampler WebGLSampler) GLboolean]) {
 13840  	bindings.FuncWebGL2RenderingContextIsSampler(
 13841  		this.ref, js.Pointer(&fn),
 13842  	)
 13843  	return
 13844  }
 13845  
 13846  // IsSampler calls the method "WebGL2RenderingContext.isSampler".
 13847  func (this WebGL2RenderingContext) IsSampler(sampler WebGLSampler) (ret GLboolean) {
 13848  	bindings.CallWebGL2RenderingContextIsSampler(
 13849  		this.ref, js.Pointer(&ret),
 13850  		sampler.Ref(),
 13851  	)
 13852  
 13853  	return
 13854  }
 13855  
 13856  // TryIsSampler calls the method "WebGL2RenderingContext.isSampler"
 13857  // in a try/catch block and returns (_, err, ok = false) when it went through
 13858  // the catch clause.
 13859  func (this WebGL2RenderingContext) TryIsSampler(sampler WebGLSampler) (ret GLboolean, exception js.Any, ok bool) {
 13860  	ok = js.True == bindings.TryWebGL2RenderingContextIsSampler(
 13861  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13862  		sampler.Ref(),
 13863  	)
 13864  
 13865  	return
 13866  }
 13867  
 13868  // HasFuncBindSampler returns true if the method "WebGL2RenderingContext.bindSampler" exists.
 13869  func (this WebGL2RenderingContext) HasFuncBindSampler() bool {
 13870  	return js.True == bindings.HasFuncWebGL2RenderingContextBindSampler(
 13871  		this.ref,
 13872  	)
 13873  }
 13874  
 13875  // FuncBindSampler returns the method "WebGL2RenderingContext.bindSampler".
 13876  func (this WebGL2RenderingContext) FuncBindSampler() (fn js.Func[func(unit GLuint, sampler WebGLSampler)]) {
 13877  	bindings.FuncWebGL2RenderingContextBindSampler(
 13878  		this.ref, js.Pointer(&fn),
 13879  	)
 13880  	return
 13881  }
 13882  
 13883  // BindSampler calls the method "WebGL2RenderingContext.bindSampler".
 13884  func (this WebGL2RenderingContext) BindSampler(unit GLuint, sampler WebGLSampler) (ret js.Void) {
 13885  	bindings.CallWebGL2RenderingContextBindSampler(
 13886  		this.ref, js.Pointer(&ret),
 13887  		uint32(unit),
 13888  		sampler.Ref(),
 13889  	)
 13890  
 13891  	return
 13892  }
 13893  
 13894  // TryBindSampler calls the method "WebGL2RenderingContext.bindSampler"
 13895  // in a try/catch block and returns (_, err, ok = false) when it went through
 13896  // the catch clause.
 13897  func (this WebGL2RenderingContext) TryBindSampler(unit GLuint, sampler WebGLSampler) (ret js.Void, exception js.Any, ok bool) {
 13898  	ok = js.True == bindings.TryWebGL2RenderingContextBindSampler(
 13899  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13900  		uint32(unit),
 13901  		sampler.Ref(),
 13902  	)
 13903  
 13904  	return
 13905  }
 13906  
 13907  // HasFuncSamplerParameteri returns true if the method "WebGL2RenderingContext.samplerParameteri" exists.
 13908  func (this WebGL2RenderingContext) HasFuncSamplerParameteri() bool {
 13909  	return js.True == bindings.HasFuncWebGL2RenderingContextSamplerParameteri(
 13910  		this.ref,
 13911  	)
 13912  }
 13913  
 13914  // FuncSamplerParameteri returns the method "WebGL2RenderingContext.samplerParameteri".
 13915  func (this WebGL2RenderingContext) FuncSamplerParameteri() (fn js.Func[func(sampler WebGLSampler, pname GLenum, param GLint)]) {
 13916  	bindings.FuncWebGL2RenderingContextSamplerParameteri(
 13917  		this.ref, js.Pointer(&fn),
 13918  	)
 13919  	return
 13920  }
 13921  
 13922  // SamplerParameteri calls the method "WebGL2RenderingContext.samplerParameteri".
 13923  func (this WebGL2RenderingContext) SamplerParameteri(sampler WebGLSampler, pname GLenum, param GLint) (ret js.Void) {
 13924  	bindings.CallWebGL2RenderingContextSamplerParameteri(
 13925  		this.ref, js.Pointer(&ret),
 13926  		sampler.Ref(),
 13927  		uint32(pname),
 13928  		int32(param),
 13929  	)
 13930  
 13931  	return
 13932  }
 13933  
 13934  // TrySamplerParameteri calls the method "WebGL2RenderingContext.samplerParameteri"
 13935  // in a try/catch block and returns (_, err, ok = false) when it went through
 13936  // the catch clause.
 13937  func (this WebGL2RenderingContext) TrySamplerParameteri(sampler WebGLSampler, pname GLenum, param GLint) (ret js.Void, exception js.Any, ok bool) {
 13938  	ok = js.True == bindings.TryWebGL2RenderingContextSamplerParameteri(
 13939  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13940  		sampler.Ref(),
 13941  		uint32(pname),
 13942  		int32(param),
 13943  	)
 13944  
 13945  	return
 13946  }
 13947  
 13948  // HasFuncSamplerParameterf returns true if the method "WebGL2RenderingContext.samplerParameterf" exists.
 13949  func (this WebGL2RenderingContext) HasFuncSamplerParameterf() bool {
 13950  	return js.True == bindings.HasFuncWebGL2RenderingContextSamplerParameterf(
 13951  		this.ref,
 13952  	)
 13953  }
 13954  
 13955  // FuncSamplerParameterf returns the method "WebGL2RenderingContext.samplerParameterf".
 13956  func (this WebGL2RenderingContext) FuncSamplerParameterf() (fn js.Func[func(sampler WebGLSampler, pname GLenum, param GLfloat)]) {
 13957  	bindings.FuncWebGL2RenderingContextSamplerParameterf(
 13958  		this.ref, js.Pointer(&fn),
 13959  	)
 13960  	return
 13961  }
 13962  
 13963  // SamplerParameterf calls the method "WebGL2RenderingContext.samplerParameterf".
 13964  func (this WebGL2RenderingContext) SamplerParameterf(sampler WebGLSampler, pname GLenum, param GLfloat) (ret js.Void) {
 13965  	bindings.CallWebGL2RenderingContextSamplerParameterf(
 13966  		this.ref, js.Pointer(&ret),
 13967  		sampler.Ref(),
 13968  		uint32(pname),
 13969  		float32(param),
 13970  	)
 13971  
 13972  	return
 13973  }
 13974  
 13975  // TrySamplerParameterf calls the method "WebGL2RenderingContext.samplerParameterf"
 13976  // in a try/catch block and returns (_, err, ok = false) when it went through
 13977  // the catch clause.
 13978  func (this WebGL2RenderingContext) TrySamplerParameterf(sampler WebGLSampler, pname GLenum, param GLfloat) (ret js.Void, exception js.Any, ok bool) {
 13979  	ok = js.True == bindings.TryWebGL2RenderingContextSamplerParameterf(
 13980  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 13981  		sampler.Ref(),
 13982  		uint32(pname),
 13983  		float32(param),
 13984  	)
 13985  
 13986  	return
 13987  }
 13988  
 13989  // HasFuncGetSamplerParameter returns true if the method "WebGL2RenderingContext.getSamplerParameter" exists.
 13990  func (this WebGL2RenderingContext) HasFuncGetSamplerParameter() bool {
 13991  	return js.True == bindings.HasFuncWebGL2RenderingContextGetSamplerParameter(
 13992  		this.ref,
 13993  	)
 13994  }
 13995  
 13996  // FuncGetSamplerParameter returns the method "WebGL2RenderingContext.getSamplerParameter".
 13997  func (this WebGL2RenderingContext) FuncGetSamplerParameter() (fn js.Func[func(sampler WebGLSampler, pname GLenum) js.Any]) {
 13998  	bindings.FuncWebGL2RenderingContextGetSamplerParameter(
 13999  		this.ref, js.Pointer(&fn),
 14000  	)
 14001  	return
 14002  }
 14003  
 14004  // GetSamplerParameter calls the method "WebGL2RenderingContext.getSamplerParameter".
 14005  func (this WebGL2RenderingContext) GetSamplerParameter(sampler WebGLSampler, pname GLenum) (ret js.Any) {
 14006  	bindings.CallWebGL2RenderingContextGetSamplerParameter(
 14007  		this.ref, js.Pointer(&ret),
 14008  		sampler.Ref(),
 14009  		uint32(pname),
 14010  	)
 14011  
 14012  	return
 14013  }
 14014  
 14015  // TryGetSamplerParameter calls the method "WebGL2RenderingContext.getSamplerParameter"
 14016  // in a try/catch block and returns (_, err, ok = false) when it went through
 14017  // the catch clause.
 14018  func (this WebGL2RenderingContext) TryGetSamplerParameter(sampler WebGLSampler, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 14019  	ok = js.True == bindings.TryWebGL2RenderingContextGetSamplerParameter(
 14020  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14021  		sampler.Ref(),
 14022  		uint32(pname),
 14023  	)
 14024  
 14025  	return
 14026  }
 14027  
 14028  // HasFuncFenceSync returns true if the method "WebGL2RenderingContext.fenceSync" exists.
 14029  func (this WebGL2RenderingContext) HasFuncFenceSync() bool {
 14030  	return js.True == bindings.HasFuncWebGL2RenderingContextFenceSync(
 14031  		this.ref,
 14032  	)
 14033  }
 14034  
 14035  // FuncFenceSync returns the method "WebGL2RenderingContext.fenceSync".
 14036  func (this WebGL2RenderingContext) FuncFenceSync() (fn js.Func[func(condition GLenum, flags GLbitfield) WebGLSync]) {
 14037  	bindings.FuncWebGL2RenderingContextFenceSync(
 14038  		this.ref, js.Pointer(&fn),
 14039  	)
 14040  	return
 14041  }
 14042  
 14043  // FenceSync calls the method "WebGL2RenderingContext.fenceSync".
 14044  func (this WebGL2RenderingContext) FenceSync(condition GLenum, flags GLbitfield) (ret WebGLSync) {
 14045  	bindings.CallWebGL2RenderingContextFenceSync(
 14046  		this.ref, js.Pointer(&ret),
 14047  		uint32(condition),
 14048  		uint32(flags),
 14049  	)
 14050  
 14051  	return
 14052  }
 14053  
 14054  // TryFenceSync calls the method "WebGL2RenderingContext.fenceSync"
 14055  // in a try/catch block and returns (_, err, ok = false) when it went through
 14056  // the catch clause.
 14057  func (this WebGL2RenderingContext) TryFenceSync(condition GLenum, flags GLbitfield) (ret WebGLSync, exception js.Any, ok bool) {
 14058  	ok = js.True == bindings.TryWebGL2RenderingContextFenceSync(
 14059  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14060  		uint32(condition),
 14061  		uint32(flags),
 14062  	)
 14063  
 14064  	return
 14065  }
 14066  
 14067  // HasFuncIsSync returns true if the method "WebGL2RenderingContext.isSync" exists.
 14068  func (this WebGL2RenderingContext) HasFuncIsSync() bool {
 14069  	return js.True == bindings.HasFuncWebGL2RenderingContextIsSync(
 14070  		this.ref,
 14071  	)
 14072  }
 14073  
 14074  // FuncIsSync returns the method "WebGL2RenderingContext.isSync".
 14075  func (this WebGL2RenderingContext) FuncIsSync() (fn js.Func[func(sync WebGLSync) GLboolean]) {
 14076  	bindings.FuncWebGL2RenderingContextIsSync(
 14077  		this.ref, js.Pointer(&fn),
 14078  	)
 14079  	return
 14080  }
 14081  
 14082  // IsSync calls the method "WebGL2RenderingContext.isSync".
 14083  func (this WebGL2RenderingContext) IsSync(sync WebGLSync) (ret GLboolean) {
 14084  	bindings.CallWebGL2RenderingContextIsSync(
 14085  		this.ref, js.Pointer(&ret),
 14086  		sync.Ref(),
 14087  	)
 14088  
 14089  	return
 14090  }
 14091  
 14092  // TryIsSync calls the method "WebGL2RenderingContext.isSync"
 14093  // in a try/catch block and returns (_, err, ok = false) when it went through
 14094  // the catch clause.
 14095  func (this WebGL2RenderingContext) TryIsSync(sync WebGLSync) (ret GLboolean, exception js.Any, ok bool) {
 14096  	ok = js.True == bindings.TryWebGL2RenderingContextIsSync(
 14097  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14098  		sync.Ref(),
 14099  	)
 14100  
 14101  	return
 14102  }
 14103  
 14104  // HasFuncDeleteSync returns true if the method "WebGL2RenderingContext.deleteSync" exists.
 14105  func (this WebGL2RenderingContext) HasFuncDeleteSync() bool {
 14106  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteSync(
 14107  		this.ref,
 14108  	)
 14109  }
 14110  
 14111  // FuncDeleteSync returns the method "WebGL2RenderingContext.deleteSync".
 14112  func (this WebGL2RenderingContext) FuncDeleteSync() (fn js.Func[func(sync WebGLSync)]) {
 14113  	bindings.FuncWebGL2RenderingContextDeleteSync(
 14114  		this.ref, js.Pointer(&fn),
 14115  	)
 14116  	return
 14117  }
 14118  
 14119  // DeleteSync calls the method "WebGL2RenderingContext.deleteSync".
 14120  func (this WebGL2RenderingContext) DeleteSync(sync WebGLSync) (ret js.Void) {
 14121  	bindings.CallWebGL2RenderingContextDeleteSync(
 14122  		this.ref, js.Pointer(&ret),
 14123  		sync.Ref(),
 14124  	)
 14125  
 14126  	return
 14127  }
 14128  
 14129  // TryDeleteSync calls the method "WebGL2RenderingContext.deleteSync"
 14130  // in a try/catch block and returns (_, err, ok = false) when it went through
 14131  // the catch clause.
 14132  func (this WebGL2RenderingContext) TryDeleteSync(sync WebGLSync) (ret js.Void, exception js.Any, ok bool) {
 14133  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteSync(
 14134  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14135  		sync.Ref(),
 14136  	)
 14137  
 14138  	return
 14139  }
 14140  
 14141  // HasFuncClientWaitSync returns true if the method "WebGL2RenderingContext.clientWaitSync" exists.
 14142  func (this WebGL2RenderingContext) HasFuncClientWaitSync() bool {
 14143  	return js.True == bindings.HasFuncWebGL2RenderingContextClientWaitSync(
 14144  		this.ref,
 14145  	)
 14146  }
 14147  
 14148  // FuncClientWaitSync returns the method "WebGL2RenderingContext.clientWaitSync".
 14149  func (this WebGL2RenderingContext) FuncClientWaitSync() (fn js.Func[func(sync WebGLSync, flags GLbitfield, timeout GLuint64) GLenum]) {
 14150  	bindings.FuncWebGL2RenderingContextClientWaitSync(
 14151  		this.ref, js.Pointer(&fn),
 14152  	)
 14153  	return
 14154  }
 14155  
 14156  // ClientWaitSync calls the method "WebGL2RenderingContext.clientWaitSync".
 14157  func (this WebGL2RenderingContext) ClientWaitSync(sync WebGLSync, flags GLbitfield, timeout GLuint64) (ret GLenum) {
 14158  	bindings.CallWebGL2RenderingContextClientWaitSync(
 14159  		this.ref, js.Pointer(&ret),
 14160  		sync.Ref(),
 14161  		uint32(flags),
 14162  		float64(timeout),
 14163  	)
 14164  
 14165  	return
 14166  }
 14167  
 14168  // TryClientWaitSync calls the method "WebGL2RenderingContext.clientWaitSync"
 14169  // in a try/catch block and returns (_, err, ok = false) when it went through
 14170  // the catch clause.
 14171  func (this WebGL2RenderingContext) TryClientWaitSync(sync WebGLSync, flags GLbitfield, timeout GLuint64) (ret GLenum, exception js.Any, ok bool) {
 14172  	ok = js.True == bindings.TryWebGL2RenderingContextClientWaitSync(
 14173  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14174  		sync.Ref(),
 14175  		uint32(flags),
 14176  		float64(timeout),
 14177  	)
 14178  
 14179  	return
 14180  }
 14181  
 14182  // HasFuncWaitSync returns true if the method "WebGL2RenderingContext.waitSync" exists.
 14183  func (this WebGL2RenderingContext) HasFuncWaitSync() bool {
 14184  	return js.True == bindings.HasFuncWebGL2RenderingContextWaitSync(
 14185  		this.ref,
 14186  	)
 14187  }
 14188  
 14189  // FuncWaitSync returns the method "WebGL2RenderingContext.waitSync".
 14190  func (this WebGL2RenderingContext) FuncWaitSync() (fn js.Func[func(sync WebGLSync, flags GLbitfield, timeout GLint64)]) {
 14191  	bindings.FuncWebGL2RenderingContextWaitSync(
 14192  		this.ref, js.Pointer(&fn),
 14193  	)
 14194  	return
 14195  }
 14196  
 14197  // WaitSync calls the method "WebGL2RenderingContext.waitSync".
 14198  func (this WebGL2RenderingContext) WaitSync(sync WebGLSync, flags GLbitfield, timeout GLint64) (ret js.Void) {
 14199  	bindings.CallWebGL2RenderingContextWaitSync(
 14200  		this.ref, js.Pointer(&ret),
 14201  		sync.Ref(),
 14202  		uint32(flags),
 14203  		float64(timeout),
 14204  	)
 14205  
 14206  	return
 14207  }
 14208  
 14209  // TryWaitSync calls the method "WebGL2RenderingContext.waitSync"
 14210  // in a try/catch block and returns (_, err, ok = false) when it went through
 14211  // the catch clause.
 14212  func (this WebGL2RenderingContext) TryWaitSync(sync WebGLSync, flags GLbitfield, timeout GLint64) (ret js.Void, exception js.Any, ok bool) {
 14213  	ok = js.True == bindings.TryWebGL2RenderingContextWaitSync(
 14214  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14215  		sync.Ref(),
 14216  		uint32(flags),
 14217  		float64(timeout),
 14218  	)
 14219  
 14220  	return
 14221  }
 14222  
 14223  // HasFuncGetSyncParameter returns true if the method "WebGL2RenderingContext.getSyncParameter" exists.
 14224  func (this WebGL2RenderingContext) HasFuncGetSyncParameter() bool {
 14225  	return js.True == bindings.HasFuncWebGL2RenderingContextGetSyncParameter(
 14226  		this.ref,
 14227  	)
 14228  }
 14229  
 14230  // FuncGetSyncParameter returns the method "WebGL2RenderingContext.getSyncParameter".
 14231  func (this WebGL2RenderingContext) FuncGetSyncParameter() (fn js.Func[func(sync WebGLSync, pname GLenum) js.Any]) {
 14232  	bindings.FuncWebGL2RenderingContextGetSyncParameter(
 14233  		this.ref, js.Pointer(&fn),
 14234  	)
 14235  	return
 14236  }
 14237  
 14238  // GetSyncParameter calls the method "WebGL2RenderingContext.getSyncParameter".
 14239  func (this WebGL2RenderingContext) GetSyncParameter(sync WebGLSync, pname GLenum) (ret js.Any) {
 14240  	bindings.CallWebGL2RenderingContextGetSyncParameter(
 14241  		this.ref, js.Pointer(&ret),
 14242  		sync.Ref(),
 14243  		uint32(pname),
 14244  	)
 14245  
 14246  	return
 14247  }
 14248  
 14249  // TryGetSyncParameter calls the method "WebGL2RenderingContext.getSyncParameter"
 14250  // in a try/catch block and returns (_, err, ok = false) when it went through
 14251  // the catch clause.
 14252  func (this WebGL2RenderingContext) TryGetSyncParameter(sync WebGLSync, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 14253  	ok = js.True == bindings.TryWebGL2RenderingContextGetSyncParameter(
 14254  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14255  		sync.Ref(),
 14256  		uint32(pname),
 14257  	)
 14258  
 14259  	return
 14260  }
 14261  
 14262  // HasFuncCreateTransformFeedback returns true if the method "WebGL2RenderingContext.createTransformFeedback" exists.
 14263  func (this WebGL2RenderingContext) HasFuncCreateTransformFeedback() bool {
 14264  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateTransformFeedback(
 14265  		this.ref,
 14266  	)
 14267  }
 14268  
 14269  // FuncCreateTransformFeedback returns the method "WebGL2RenderingContext.createTransformFeedback".
 14270  func (this WebGL2RenderingContext) FuncCreateTransformFeedback() (fn js.Func[func() WebGLTransformFeedback]) {
 14271  	bindings.FuncWebGL2RenderingContextCreateTransformFeedback(
 14272  		this.ref, js.Pointer(&fn),
 14273  	)
 14274  	return
 14275  }
 14276  
 14277  // CreateTransformFeedback calls the method "WebGL2RenderingContext.createTransformFeedback".
 14278  func (this WebGL2RenderingContext) CreateTransformFeedback() (ret WebGLTransformFeedback) {
 14279  	bindings.CallWebGL2RenderingContextCreateTransformFeedback(
 14280  		this.ref, js.Pointer(&ret),
 14281  	)
 14282  
 14283  	return
 14284  }
 14285  
 14286  // TryCreateTransformFeedback calls the method "WebGL2RenderingContext.createTransformFeedback"
 14287  // in a try/catch block and returns (_, err, ok = false) when it went through
 14288  // the catch clause.
 14289  func (this WebGL2RenderingContext) TryCreateTransformFeedback() (ret WebGLTransformFeedback, exception js.Any, ok bool) {
 14290  	ok = js.True == bindings.TryWebGL2RenderingContextCreateTransformFeedback(
 14291  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14292  	)
 14293  
 14294  	return
 14295  }
 14296  
 14297  // HasFuncDeleteTransformFeedback returns true if the method "WebGL2RenderingContext.deleteTransformFeedback" exists.
 14298  func (this WebGL2RenderingContext) HasFuncDeleteTransformFeedback() bool {
 14299  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteTransformFeedback(
 14300  		this.ref,
 14301  	)
 14302  }
 14303  
 14304  // FuncDeleteTransformFeedback returns the method "WebGL2RenderingContext.deleteTransformFeedback".
 14305  func (this WebGL2RenderingContext) FuncDeleteTransformFeedback() (fn js.Func[func(tf WebGLTransformFeedback)]) {
 14306  	bindings.FuncWebGL2RenderingContextDeleteTransformFeedback(
 14307  		this.ref, js.Pointer(&fn),
 14308  	)
 14309  	return
 14310  }
 14311  
 14312  // DeleteTransformFeedback calls the method "WebGL2RenderingContext.deleteTransformFeedback".
 14313  func (this WebGL2RenderingContext) DeleteTransformFeedback(tf WebGLTransformFeedback) (ret js.Void) {
 14314  	bindings.CallWebGL2RenderingContextDeleteTransformFeedback(
 14315  		this.ref, js.Pointer(&ret),
 14316  		tf.Ref(),
 14317  	)
 14318  
 14319  	return
 14320  }
 14321  
 14322  // TryDeleteTransformFeedback calls the method "WebGL2RenderingContext.deleteTransformFeedback"
 14323  // in a try/catch block and returns (_, err, ok = false) when it went through
 14324  // the catch clause.
 14325  func (this WebGL2RenderingContext) TryDeleteTransformFeedback(tf WebGLTransformFeedback) (ret js.Void, exception js.Any, ok bool) {
 14326  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteTransformFeedback(
 14327  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14328  		tf.Ref(),
 14329  	)
 14330  
 14331  	return
 14332  }
 14333  
 14334  // HasFuncIsTransformFeedback returns true if the method "WebGL2RenderingContext.isTransformFeedback" exists.
 14335  func (this WebGL2RenderingContext) HasFuncIsTransformFeedback() bool {
 14336  	return js.True == bindings.HasFuncWebGL2RenderingContextIsTransformFeedback(
 14337  		this.ref,
 14338  	)
 14339  }
 14340  
 14341  // FuncIsTransformFeedback returns the method "WebGL2RenderingContext.isTransformFeedback".
 14342  func (this WebGL2RenderingContext) FuncIsTransformFeedback() (fn js.Func[func(tf WebGLTransformFeedback) GLboolean]) {
 14343  	bindings.FuncWebGL2RenderingContextIsTransformFeedback(
 14344  		this.ref, js.Pointer(&fn),
 14345  	)
 14346  	return
 14347  }
 14348  
 14349  // IsTransformFeedback calls the method "WebGL2RenderingContext.isTransformFeedback".
 14350  func (this WebGL2RenderingContext) IsTransformFeedback(tf WebGLTransformFeedback) (ret GLboolean) {
 14351  	bindings.CallWebGL2RenderingContextIsTransformFeedback(
 14352  		this.ref, js.Pointer(&ret),
 14353  		tf.Ref(),
 14354  	)
 14355  
 14356  	return
 14357  }
 14358  
 14359  // TryIsTransformFeedback calls the method "WebGL2RenderingContext.isTransformFeedback"
 14360  // in a try/catch block and returns (_, err, ok = false) when it went through
 14361  // the catch clause.
 14362  func (this WebGL2RenderingContext) TryIsTransformFeedback(tf WebGLTransformFeedback) (ret GLboolean, exception js.Any, ok bool) {
 14363  	ok = js.True == bindings.TryWebGL2RenderingContextIsTransformFeedback(
 14364  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14365  		tf.Ref(),
 14366  	)
 14367  
 14368  	return
 14369  }
 14370  
 14371  // HasFuncBindTransformFeedback returns true if the method "WebGL2RenderingContext.bindTransformFeedback" exists.
 14372  func (this WebGL2RenderingContext) HasFuncBindTransformFeedback() bool {
 14373  	return js.True == bindings.HasFuncWebGL2RenderingContextBindTransformFeedback(
 14374  		this.ref,
 14375  	)
 14376  }
 14377  
 14378  // FuncBindTransformFeedback returns the method "WebGL2RenderingContext.bindTransformFeedback".
 14379  func (this WebGL2RenderingContext) FuncBindTransformFeedback() (fn js.Func[func(target GLenum, tf WebGLTransformFeedback)]) {
 14380  	bindings.FuncWebGL2RenderingContextBindTransformFeedback(
 14381  		this.ref, js.Pointer(&fn),
 14382  	)
 14383  	return
 14384  }
 14385  
 14386  // BindTransformFeedback calls the method "WebGL2RenderingContext.bindTransformFeedback".
 14387  func (this WebGL2RenderingContext) BindTransformFeedback(target GLenum, tf WebGLTransformFeedback) (ret js.Void) {
 14388  	bindings.CallWebGL2RenderingContextBindTransformFeedback(
 14389  		this.ref, js.Pointer(&ret),
 14390  		uint32(target),
 14391  		tf.Ref(),
 14392  	)
 14393  
 14394  	return
 14395  }
 14396  
 14397  // TryBindTransformFeedback calls the method "WebGL2RenderingContext.bindTransformFeedback"
 14398  // in a try/catch block and returns (_, err, ok = false) when it went through
 14399  // the catch clause.
 14400  func (this WebGL2RenderingContext) TryBindTransformFeedback(target GLenum, tf WebGLTransformFeedback) (ret js.Void, exception js.Any, ok bool) {
 14401  	ok = js.True == bindings.TryWebGL2RenderingContextBindTransformFeedback(
 14402  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14403  		uint32(target),
 14404  		tf.Ref(),
 14405  	)
 14406  
 14407  	return
 14408  }
 14409  
 14410  // HasFuncBeginTransformFeedback returns true if the method "WebGL2RenderingContext.beginTransformFeedback" exists.
 14411  func (this WebGL2RenderingContext) HasFuncBeginTransformFeedback() bool {
 14412  	return js.True == bindings.HasFuncWebGL2RenderingContextBeginTransformFeedback(
 14413  		this.ref,
 14414  	)
 14415  }
 14416  
 14417  // FuncBeginTransformFeedback returns the method "WebGL2RenderingContext.beginTransformFeedback".
 14418  func (this WebGL2RenderingContext) FuncBeginTransformFeedback() (fn js.Func[func(primitiveMode GLenum)]) {
 14419  	bindings.FuncWebGL2RenderingContextBeginTransformFeedback(
 14420  		this.ref, js.Pointer(&fn),
 14421  	)
 14422  	return
 14423  }
 14424  
 14425  // BeginTransformFeedback calls the method "WebGL2RenderingContext.beginTransformFeedback".
 14426  func (this WebGL2RenderingContext) BeginTransformFeedback(primitiveMode GLenum) (ret js.Void) {
 14427  	bindings.CallWebGL2RenderingContextBeginTransformFeedback(
 14428  		this.ref, js.Pointer(&ret),
 14429  		uint32(primitiveMode),
 14430  	)
 14431  
 14432  	return
 14433  }
 14434  
 14435  // TryBeginTransformFeedback calls the method "WebGL2RenderingContext.beginTransformFeedback"
 14436  // in a try/catch block and returns (_, err, ok = false) when it went through
 14437  // the catch clause.
 14438  func (this WebGL2RenderingContext) TryBeginTransformFeedback(primitiveMode GLenum) (ret js.Void, exception js.Any, ok bool) {
 14439  	ok = js.True == bindings.TryWebGL2RenderingContextBeginTransformFeedback(
 14440  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14441  		uint32(primitiveMode),
 14442  	)
 14443  
 14444  	return
 14445  }
 14446  
 14447  // HasFuncEndTransformFeedback returns true if the method "WebGL2RenderingContext.endTransformFeedback" exists.
 14448  func (this WebGL2RenderingContext) HasFuncEndTransformFeedback() bool {
 14449  	return js.True == bindings.HasFuncWebGL2RenderingContextEndTransformFeedback(
 14450  		this.ref,
 14451  	)
 14452  }
 14453  
 14454  // FuncEndTransformFeedback returns the method "WebGL2RenderingContext.endTransformFeedback".
 14455  func (this WebGL2RenderingContext) FuncEndTransformFeedback() (fn js.Func[func()]) {
 14456  	bindings.FuncWebGL2RenderingContextEndTransformFeedback(
 14457  		this.ref, js.Pointer(&fn),
 14458  	)
 14459  	return
 14460  }
 14461  
 14462  // EndTransformFeedback calls the method "WebGL2RenderingContext.endTransformFeedback".
 14463  func (this WebGL2RenderingContext) EndTransformFeedback() (ret js.Void) {
 14464  	bindings.CallWebGL2RenderingContextEndTransformFeedback(
 14465  		this.ref, js.Pointer(&ret),
 14466  	)
 14467  
 14468  	return
 14469  }
 14470  
 14471  // TryEndTransformFeedback calls the method "WebGL2RenderingContext.endTransformFeedback"
 14472  // in a try/catch block and returns (_, err, ok = false) when it went through
 14473  // the catch clause.
 14474  func (this WebGL2RenderingContext) TryEndTransformFeedback() (ret js.Void, exception js.Any, ok bool) {
 14475  	ok = js.True == bindings.TryWebGL2RenderingContextEndTransformFeedback(
 14476  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14477  	)
 14478  
 14479  	return
 14480  }
 14481  
 14482  // HasFuncTransformFeedbackVaryings returns true if the method "WebGL2RenderingContext.transformFeedbackVaryings" exists.
 14483  func (this WebGL2RenderingContext) HasFuncTransformFeedbackVaryings() bool {
 14484  	return js.True == bindings.HasFuncWebGL2RenderingContextTransformFeedbackVaryings(
 14485  		this.ref,
 14486  	)
 14487  }
 14488  
 14489  // FuncTransformFeedbackVaryings returns the method "WebGL2RenderingContext.transformFeedbackVaryings".
 14490  func (this WebGL2RenderingContext) FuncTransformFeedbackVaryings() (fn js.Func[func(program WebGLProgram, varyings js.Array[js.String], bufferMode GLenum)]) {
 14491  	bindings.FuncWebGL2RenderingContextTransformFeedbackVaryings(
 14492  		this.ref, js.Pointer(&fn),
 14493  	)
 14494  	return
 14495  }
 14496  
 14497  // TransformFeedbackVaryings calls the method "WebGL2RenderingContext.transformFeedbackVaryings".
 14498  func (this WebGL2RenderingContext) TransformFeedbackVaryings(program WebGLProgram, varyings js.Array[js.String], bufferMode GLenum) (ret js.Void) {
 14499  	bindings.CallWebGL2RenderingContextTransformFeedbackVaryings(
 14500  		this.ref, js.Pointer(&ret),
 14501  		program.Ref(),
 14502  		varyings.Ref(),
 14503  		uint32(bufferMode),
 14504  	)
 14505  
 14506  	return
 14507  }
 14508  
 14509  // TryTransformFeedbackVaryings calls the method "WebGL2RenderingContext.transformFeedbackVaryings"
 14510  // in a try/catch block and returns (_, err, ok = false) when it went through
 14511  // the catch clause.
 14512  func (this WebGL2RenderingContext) TryTransformFeedbackVaryings(program WebGLProgram, varyings js.Array[js.String], bufferMode GLenum) (ret js.Void, exception js.Any, ok bool) {
 14513  	ok = js.True == bindings.TryWebGL2RenderingContextTransformFeedbackVaryings(
 14514  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14515  		program.Ref(),
 14516  		varyings.Ref(),
 14517  		uint32(bufferMode),
 14518  	)
 14519  
 14520  	return
 14521  }
 14522  
 14523  // HasFuncGetTransformFeedbackVarying returns true if the method "WebGL2RenderingContext.getTransformFeedbackVarying" exists.
 14524  func (this WebGL2RenderingContext) HasFuncGetTransformFeedbackVarying() bool {
 14525  	return js.True == bindings.HasFuncWebGL2RenderingContextGetTransformFeedbackVarying(
 14526  		this.ref,
 14527  	)
 14528  }
 14529  
 14530  // FuncGetTransformFeedbackVarying returns the method "WebGL2RenderingContext.getTransformFeedbackVarying".
 14531  func (this WebGL2RenderingContext) FuncGetTransformFeedbackVarying() (fn js.Func[func(program WebGLProgram, index GLuint) WebGLActiveInfo]) {
 14532  	bindings.FuncWebGL2RenderingContextGetTransformFeedbackVarying(
 14533  		this.ref, js.Pointer(&fn),
 14534  	)
 14535  	return
 14536  }
 14537  
 14538  // GetTransformFeedbackVarying calls the method "WebGL2RenderingContext.getTransformFeedbackVarying".
 14539  func (this WebGL2RenderingContext) GetTransformFeedbackVarying(program WebGLProgram, index GLuint) (ret WebGLActiveInfo) {
 14540  	bindings.CallWebGL2RenderingContextGetTransformFeedbackVarying(
 14541  		this.ref, js.Pointer(&ret),
 14542  		program.Ref(),
 14543  		uint32(index),
 14544  	)
 14545  
 14546  	return
 14547  }
 14548  
 14549  // TryGetTransformFeedbackVarying calls the method "WebGL2RenderingContext.getTransformFeedbackVarying"
 14550  // in a try/catch block and returns (_, err, ok = false) when it went through
 14551  // the catch clause.
 14552  func (this WebGL2RenderingContext) TryGetTransformFeedbackVarying(program WebGLProgram, index GLuint) (ret WebGLActiveInfo, exception js.Any, ok bool) {
 14553  	ok = js.True == bindings.TryWebGL2RenderingContextGetTransformFeedbackVarying(
 14554  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14555  		program.Ref(),
 14556  		uint32(index),
 14557  	)
 14558  
 14559  	return
 14560  }
 14561  
 14562  // HasFuncPauseTransformFeedback returns true if the method "WebGL2RenderingContext.pauseTransformFeedback" exists.
 14563  func (this WebGL2RenderingContext) HasFuncPauseTransformFeedback() bool {
 14564  	return js.True == bindings.HasFuncWebGL2RenderingContextPauseTransformFeedback(
 14565  		this.ref,
 14566  	)
 14567  }
 14568  
 14569  // FuncPauseTransformFeedback returns the method "WebGL2RenderingContext.pauseTransformFeedback".
 14570  func (this WebGL2RenderingContext) FuncPauseTransformFeedback() (fn js.Func[func()]) {
 14571  	bindings.FuncWebGL2RenderingContextPauseTransformFeedback(
 14572  		this.ref, js.Pointer(&fn),
 14573  	)
 14574  	return
 14575  }
 14576  
 14577  // PauseTransformFeedback calls the method "WebGL2RenderingContext.pauseTransformFeedback".
 14578  func (this WebGL2RenderingContext) PauseTransformFeedback() (ret js.Void) {
 14579  	bindings.CallWebGL2RenderingContextPauseTransformFeedback(
 14580  		this.ref, js.Pointer(&ret),
 14581  	)
 14582  
 14583  	return
 14584  }
 14585  
 14586  // TryPauseTransformFeedback calls the method "WebGL2RenderingContext.pauseTransformFeedback"
 14587  // in a try/catch block and returns (_, err, ok = false) when it went through
 14588  // the catch clause.
 14589  func (this WebGL2RenderingContext) TryPauseTransformFeedback() (ret js.Void, exception js.Any, ok bool) {
 14590  	ok = js.True == bindings.TryWebGL2RenderingContextPauseTransformFeedback(
 14591  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14592  	)
 14593  
 14594  	return
 14595  }
 14596  
 14597  // HasFuncResumeTransformFeedback returns true if the method "WebGL2RenderingContext.resumeTransformFeedback" exists.
 14598  func (this WebGL2RenderingContext) HasFuncResumeTransformFeedback() bool {
 14599  	return js.True == bindings.HasFuncWebGL2RenderingContextResumeTransformFeedback(
 14600  		this.ref,
 14601  	)
 14602  }
 14603  
 14604  // FuncResumeTransformFeedback returns the method "WebGL2RenderingContext.resumeTransformFeedback".
 14605  func (this WebGL2RenderingContext) FuncResumeTransformFeedback() (fn js.Func[func()]) {
 14606  	bindings.FuncWebGL2RenderingContextResumeTransformFeedback(
 14607  		this.ref, js.Pointer(&fn),
 14608  	)
 14609  	return
 14610  }
 14611  
 14612  // ResumeTransformFeedback calls the method "WebGL2RenderingContext.resumeTransformFeedback".
 14613  func (this WebGL2RenderingContext) ResumeTransformFeedback() (ret js.Void) {
 14614  	bindings.CallWebGL2RenderingContextResumeTransformFeedback(
 14615  		this.ref, js.Pointer(&ret),
 14616  	)
 14617  
 14618  	return
 14619  }
 14620  
 14621  // TryResumeTransformFeedback calls the method "WebGL2RenderingContext.resumeTransformFeedback"
 14622  // in a try/catch block and returns (_, err, ok = false) when it went through
 14623  // the catch clause.
 14624  func (this WebGL2RenderingContext) TryResumeTransformFeedback() (ret js.Void, exception js.Any, ok bool) {
 14625  	ok = js.True == bindings.TryWebGL2RenderingContextResumeTransformFeedback(
 14626  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14627  	)
 14628  
 14629  	return
 14630  }
 14631  
 14632  // HasFuncBindBufferBase returns true if the method "WebGL2RenderingContext.bindBufferBase" exists.
 14633  func (this WebGL2RenderingContext) HasFuncBindBufferBase() bool {
 14634  	return js.True == bindings.HasFuncWebGL2RenderingContextBindBufferBase(
 14635  		this.ref,
 14636  	)
 14637  }
 14638  
 14639  // FuncBindBufferBase returns the method "WebGL2RenderingContext.bindBufferBase".
 14640  func (this WebGL2RenderingContext) FuncBindBufferBase() (fn js.Func[func(target GLenum, index GLuint, buffer WebGLBuffer)]) {
 14641  	bindings.FuncWebGL2RenderingContextBindBufferBase(
 14642  		this.ref, js.Pointer(&fn),
 14643  	)
 14644  	return
 14645  }
 14646  
 14647  // BindBufferBase calls the method "WebGL2RenderingContext.bindBufferBase".
 14648  func (this WebGL2RenderingContext) BindBufferBase(target GLenum, index GLuint, buffer WebGLBuffer) (ret js.Void) {
 14649  	bindings.CallWebGL2RenderingContextBindBufferBase(
 14650  		this.ref, js.Pointer(&ret),
 14651  		uint32(target),
 14652  		uint32(index),
 14653  		buffer.Ref(),
 14654  	)
 14655  
 14656  	return
 14657  }
 14658  
 14659  // TryBindBufferBase calls the method "WebGL2RenderingContext.bindBufferBase"
 14660  // in a try/catch block and returns (_, err, ok = false) when it went through
 14661  // the catch clause.
 14662  func (this WebGL2RenderingContext) TryBindBufferBase(target GLenum, index GLuint, buffer WebGLBuffer) (ret js.Void, exception js.Any, ok bool) {
 14663  	ok = js.True == bindings.TryWebGL2RenderingContextBindBufferBase(
 14664  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14665  		uint32(target),
 14666  		uint32(index),
 14667  		buffer.Ref(),
 14668  	)
 14669  
 14670  	return
 14671  }
 14672  
 14673  // HasFuncBindBufferRange returns true if the method "WebGL2RenderingContext.bindBufferRange" exists.
 14674  func (this WebGL2RenderingContext) HasFuncBindBufferRange() bool {
 14675  	return js.True == bindings.HasFuncWebGL2RenderingContextBindBufferRange(
 14676  		this.ref,
 14677  	)
 14678  }
 14679  
 14680  // FuncBindBufferRange returns the method "WebGL2RenderingContext.bindBufferRange".
 14681  func (this WebGL2RenderingContext) FuncBindBufferRange() (fn js.Func[func(target GLenum, index GLuint, buffer WebGLBuffer, offset GLintptr, size GLsizeiptr)]) {
 14682  	bindings.FuncWebGL2RenderingContextBindBufferRange(
 14683  		this.ref, js.Pointer(&fn),
 14684  	)
 14685  	return
 14686  }
 14687  
 14688  // BindBufferRange calls the method "WebGL2RenderingContext.bindBufferRange".
 14689  func (this WebGL2RenderingContext) BindBufferRange(target GLenum, index GLuint, buffer WebGLBuffer, offset GLintptr, size GLsizeiptr) (ret js.Void) {
 14690  	bindings.CallWebGL2RenderingContextBindBufferRange(
 14691  		this.ref, js.Pointer(&ret),
 14692  		uint32(target),
 14693  		uint32(index),
 14694  		buffer.Ref(),
 14695  		float64(offset),
 14696  		float64(size),
 14697  	)
 14698  
 14699  	return
 14700  }
 14701  
 14702  // TryBindBufferRange calls the method "WebGL2RenderingContext.bindBufferRange"
 14703  // in a try/catch block and returns (_, err, ok = false) when it went through
 14704  // the catch clause.
 14705  func (this WebGL2RenderingContext) TryBindBufferRange(target GLenum, index GLuint, buffer WebGLBuffer, offset GLintptr, size GLsizeiptr) (ret js.Void, exception js.Any, ok bool) {
 14706  	ok = js.True == bindings.TryWebGL2RenderingContextBindBufferRange(
 14707  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14708  		uint32(target),
 14709  		uint32(index),
 14710  		buffer.Ref(),
 14711  		float64(offset),
 14712  		float64(size),
 14713  	)
 14714  
 14715  	return
 14716  }
 14717  
 14718  // HasFuncGetIndexedParameter returns true if the method "WebGL2RenderingContext.getIndexedParameter" exists.
 14719  func (this WebGL2RenderingContext) HasFuncGetIndexedParameter() bool {
 14720  	return js.True == bindings.HasFuncWebGL2RenderingContextGetIndexedParameter(
 14721  		this.ref,
 14722  	)
 14723  }
 14724  
 14725  // FuncGetIndexedParameter returns the method "WebGL2RenderingContext.getIndexedParameter".
 14726  func (this WebGL2RenderingContext) FuncGetIndexedParameter() (fn js.Func[func(target GLenum, index GLuint) js.Any]) {
 14727  	bindings.FuncWebGL2RenderingContextGetIndexedParameter(
 14728  		this.ref, js.Pointer(&fn),
 14729  	)
 14730  	return
 14731  }
 14732  
 14733  // GetIndexedParameter calls the method "WebGL2RenderingContext.getIndexedParameter".
 14734  func (this WebGL2RenderingContext) GetIndexedParameter(target GLenum, index GLuint) (ret js.Any) {
 14735  	bindings.CallWebGL2RenderingContextGetIndexedParameter(
 14736  		this.ref, js.Pointer(&ret),
 14737  		uint32(target),
 14738  		uint32(index),
 14739  	)
 14740  
 14741  	return
 14742  }
 14743  
 14744  // TryGetIndexedParameter calls the method "WebGL2RenderingContext.getIndexedParameter"
 14745  // in a try/catch block and returns (_, err, ok = false) when it went through
 14746  // the catch clause.
 14747  func (this WebGL2RenderingContext) TryGetIndexedParameter(target GLenum, index GLuint) (ret js.Any, exception js.Any, ok bool) {
 14748  	ok = js.True == bindings.TryWebGL2RenderingContextGetIndexedParameter(
 14749  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14750  		uint32(target),
 14751  		uint32(index),
 14752  	)
 14753  
 14754  	return
 14755  }
 14756  
 14757  // HasFuncGetUniformIndices returns true if the method "WebGL2RenderingContext.getUniformIndices" exists.
 14758  func (this WebGL2RenderingContext) HasFuncGetUniformIndices() bool {
 14759  	return js.True == bindings.HasFuncWebGL2RenderingContextGetUniformIndices(
 14760  		this.ref,
 14761  	)
 14762  }
 14763  
 14764  // FuncGetUniformIndices returns the method "WebGL2RenderingContext.getUniformIndices".
 14765  func (this WebGL2RenderingContext) FuncGetUniformIndices() (fn js.Func[func(program WebGLProgram, uniformNames js.Array[js.String]) js.Array[GLuint]]) {
 14766  	bindings.FuncWebGL2RenderingContextGetUniformIndices(
 14767  		this.ref, js.Pointer(&fn),
 14768  	)
 14769  	return
 14770  }
 14771  
 14772  // GetUniformIndices calls the method "WebGL2RenderingContext.getUniformIndices".
 14773  func (this WebGL2RenderingContext) GetUniformIndices(program WebGLProgram, uniformNames js.Array[js.String]) (ret js.Array[GLuint]) {
 14774  	bindings.CallWebGL2RenderingContextGetUniformIndices(
 14775  		this.ref, js.Pointer(&ret),
 14776  		program.Ref(),
 14777  		uniformNames.Ref(),
 14778  	)
 14779  
 14780  	return
 14781  }
 14782  
 14783  // TryGetUniformIndices calls the method "WebGL2RenderingContext.getUniformIndices"
 14784  // in a try/catch block and returns (_, err, ok = false) when it went through
 14785  // the catch clause.
 14786  func (this WebGL2RenderingContext) TryGetUniformIndices(program WebGLProgram, uniformNames js.Array[js.String]) (ret js.Array[GLuint], exception js.Any, ok bool) {
 14787  	ok = js.True == bindings.TryWebGL2RenderingContextGetUniformIndices(
 14788  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14789  		program.Ref(),
 14790  		uniformNames.Ref(),
 14791  	)
 14792  
 14793  	return
 14794  }
 14795  
 14796  // HasFuncGetActiveUniforms returns true if the method "WebGL2RenderingContext.getActiveUniforms" exists.
 14797  func (this WebGL2RenderingContext) HasFuncGetActiveUniforms() bool {
 14798  	return js.True == bindings.HasFuncWebGL2RenderingContextGetActiveUniforms(
 14799  		this.ref,
 14800  	)
 14801  }
 14802  
 14803  // FuncGetActiveUniforms returns the method "WebGL2RenderingContext.getActiveUniforms".
 14804  func (this WebGL2RenderingContext) FuncGetActiveUniforms() (fn js.Func[func(program WebGLProgram, uniformIndices js.Array[GLuint], pname GLenum) js.Any]) {
 14805  	bindings.FuncWebGL2RenderingContextGetActiveUniforms(
 14806  		this.ref, js.Pointer(&fn),
 14807  	)
 14808  	return
 14809  }
 14810  
 14811  // GetActiveUniforms calls the method "WebGL2RenderingContext.getActiveUniforms".
 14812  func (this WebGL2RenderingContext) GetActiveUniforms(program WebGLProgram, uniformIndices js.Array[GLuint], pname GLenum) (ret js.Any) {
 14813  	bindings.CallWebGL2RenderingContextGetActiveUniforms(
 14814  		this.ref, js.Pointer(&ret),
 14815  		program.Ref(),
 14816  		uniformIndices.Ref(),
 14817  		uint32(pname),
 14818  	)
 14819  
 14820  	return
 14821  }
 14822  
 14823  // TryGetActiveUniforms calls the method "WebGL2RenderingContext.getActiveUniforms"
 14824  // in a try/catch block and returns (_, err, ok = false) when it went through
 14825  // the catch clause.
 14826  func (this WebGL2RenderingContext) TryGetActiveUniforms(program WebGLProgram, uniformIndices js.Array[GLuint], pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 14827  	ok = js.True == bindings.TryWebGL2RenderingContextGetActiveUniforms(
 14828  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14829  		program.Ref(),
 14830  		uniformIndices.Ref(),
 14831  		uint32(pname),
 14832  	)
 14833  
 14834  	return
 14835  }
 14836  
 14837  // HasFuncGetUniformBlockIndex returns true if the method "WebGL2RenderingContext.getUniformBlockIndex" exists.
 14838  func (this WebGL2RenderingContext) HasFuncGetUniformBlockIndex() bool {
 14839  	return js.True == bindings.HasFuncWebGL2RenderingContextGetUniformBlockIndex(
 14840  		this.ref,
 14841  	)
 14842  }
 14843  
 14844  // FuncGetUniformBlockIndex returns the method "WebGL2RenderingContext.getUniformBlockIndex".
 14845  func (this WebGL2RenderingContext) FuncGetUniformBlockIndex() (fn js.Func[func(program WebGLProgram, uniformBlockName js.String) GLuint]) {
 14846  	bindings.FuncWebGL2RenderingContextGetUniformBlockIndex(
 14847  		this.ref, js.Pointer(&fn),
 14848  	)
 14849  	return
 14850  }
 14851  
 14852  // GetUniformBlockIndex calls the method "WebGL2RenderingContext.getUniformBlockIndex".
 14853  func (this WebGL2RenderingContext) GetUniformBlockIndex(program WebGLProgram, uniformBlockName js.String) (ret GLuint) {
 14854  	bindings.CallWebGL2RenderingContextGetUniformBlockIndex(
 14855  		this.ref, js.Pointer(&ret),
 14856  		program.Ref(),
 14857  		uniformBlockName.Ref(),
 14858  	)
 14859  
 14860  	return
 14861  }
 14862  
 14863  // TryGetUniformBlockIndex calls the method "WebGL2RenderingContext.getUniformBlockIndex"
 14864  // in a try/catch block and returns (_, err, ok = false) when it went through
 14865  // the catch clause.
 14866  func (this WebGL2RenderingContext) TryGetUniformBlockIndex(program WebGLProgram, uniformBlockName js.String) (ret GLuint, exception js.Any, ok bool) {
 14867  	ok = js.True == bindings.TryWebGL2RenderingContextGetUniformBlockIndex(
 14868  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14869  		program.Ref(),
 14870  		uniformBlockName.Ref(),
 14871  	)
 14872  
 14873  	return
 14874  }
 14875  
 14876  // HasFuncGetActiveUniformBlockParameter returns true if the method "WebGL2RenderingContext.getActiveUniformBlockParameter" exists.
 14877  func (this WebGL2RenderingContext) HasFuncGetActiveUniformBlockParameter() bool {
 14878  	return js.True == bindings.HasFuncWebGL2RenderingContextGetActiveUniformBlockParameter(
 14879  		this.ref,
 14880  	)
 14881  }
 14882  
 14883  // FuncGetActiveUniformBlockParameter returns the method "WebGL2RenderingContext.getActiveUniformBlockParameter".
 14884  func (this WebGL2RenderingContext) FuncGetActiveUniformBlockParameter() (fn js.Func[func(program WebGLProgram, uniformBlockIndex GLuint, pname GLenum) js.Any]) {
 14885  	bindings.FuncWebGL2RenderingContextGetActiveUniformBlockParameter(
 14886  		this.ref, js.Pointer(&fn),
 14887  	)
 14888  	return
 14889  }
 14890  
 14891  // GetActiveUniformBlockParameter calls the method "WebGL2RenderingContext.getActiveUniformBlockParameter".
 14892  func (this WebGL2RenderingContext) GetActiveUniformBlockParameter(program WebGLProgram, uniformBlockIndex GLuint, pname GLenum) (ret js.Any) {
 14893  	bindings.CallWebGL2RenderingContextGetActiveUniformBlockParameter(
 14894  		this.ref, js.Pointer(&ret),
 14895  		program.Ref(),
 14896  		uint32(uniformBlockIndex),
 14897  		uint32(pname),
 14898  	)
 14899  
 14900  	return
 14901  }
 14902  
 14903  // TryGetActiveUniformBlockParameter calls the method "WebGL2RenderingContext.getActiveUniformBlockParameter"
 14904  // in a try/catch block and returns (_, err, ok = false) when it went through
 14905  // the catch clause.
 14906  func (this WebGL2RenderingContext) TryGetActiveUniformBlockParameter(program WebGLProgram, uniformBlockIndex GLuint, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 14907  	ok = js.True == bindings.TryWebGL2RenderingContextGetActiveUniformBlockParameter(
 14908  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14909  		program.Ref(),
 14910  		uint32(uniformBlockIndex),
 14911  		uint32(pname),
 14912  	)
 14913  
 14914  	return
 14915  }
 14916  
 14917  // HasFuncGetActiveUniformBlockName returns true if the method "WebGL2RenderingContext.getActiveUniformBlockName" exists.
 14918  func (this WebGL2RenderingContext) HasFuncGetActiveUniformBlockName() bool {
 14919  	return js.True == bindings.HasFuncWebGL2RenderingContextGetActiveUniformBlockName(
 14920  		this.ref,
 14921  	)
 14922  }
 14923  
 14924  // FuncGetActiveUniformBlockName returns the method "WebGL2RenderingContext.getActiveUniformBlockName".
 14925  func (this WebGL2RenderingContext) FuncGetActiveUniformBlockName() (fn js.Func[func(program WebGLProgram, uniformBlockIndex GLuint) js.String]) {
 14926  	bindings.FuncWebGL2RenderingContextGetActiveUniformBlockName(
 14927  		this.ref, js.Pointer(&fn),
 14928  	)
 14929  	return
 14930  }
 14931  
 14932  // GetActiveUniformBlockName calls the method "WebGL2RenderingContext.getActiveUniformBlockName".
 14933  func (this WebGL2RenderingContext) GetActiveUniformBlockName(program WebGLProgram, uniformBlockIndex GLuint) (ret js.String) {
 14934  	bindings.CallWebGL2RenderingContextGetActiveUniformBlockName(
 14935  		this.ref, js.Pointer(&ret),
 14936  		program.Ref(),
 14937  		uint32(uniformBlockIndex),
 14938  	)
 14939  
 14940  	return
 14941  }
 14942  
 14943  // TryGetActiveUniformBlockName calls the method "WebGL2RenderingContext.getActiveUniformBlockName"
 14944  // in a try/catch block and returns (_, err, ok = false) when it went through
 14945  // the catch clause.
 14946  func (this WebGL2RenderingContext) TryGetActiveUniformBlockName(program WebGLProgram, uniformBlockIndex GLuint) (ret js.String, exception js.Any, ok bool) {
 14947  	ok = js.True == bindings.TryWebGL2RenderingContextGetActiveUniformBlockName(
 14948  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14949  		program.Ref(),
 14950  		uint32(uniformBlockIndex),
 14951  	)
 14952  
 14953  	return
 14954  }
 14955  
 14956  // HasFuncUniformBlockBinding returns true if the method "WebGL2RenderingContext.uniformBlockBinding" exists.
 14957  func (this WebGL2RenderingContext) HasFuncUniformBlockBinding() bool {
 14958  	return js.True == bindings.HasFuncWebGL2RenderingContextUniformBlockBinding(
 14959  		this.ref,
 14960  	)
 14961  }
 14962  
 14963  // FuncUniformBlockBinding returns the method "WebGL2RenderingContext.uniformBlockBinding".
 14964  func (this WebGL2RenderingContext) FuncUniformBlockBinding() (fn js.Func[func(program WebGLProgram, uniformBlockIndex GLuint, uniformBlockBinding GLuint)]) {
 14965  	bindings.FuncWebGL2RenderingContextUniformBlockBinding(
 14966  		this.ref, js.Pointer(&fn),
 14967  	)
 14968  	return
 14969  }
 14970  
 14971  // UniformBlockBinding calls the method "WebGL2RenderingContext.uniformBlockBinding".
 14972  func (this WebGL2RenderingContext) UniformBlockBinding(program WebGLProgram, uniformBlockIndex GLuint, uniformBlockBinding GLuint) (ret js.Void) {
 14973  	bindings.CallWebGL2RenderingContextUniformBlockBinding(
 14974  		this.ref, js.Pointer(&ret),
 14975  		program.Ref(),
 14976  		uint32(uniformBlockIndex),
 14977  		uint32(uniformBlockBinding),
 14978  	)
 14979  
 14980  	return
 14981  }
 14982  
 14983  // TryUniformBlockBinding calls the method "WebGL2RenderingContext.uniformBlockBinding"
 14984  // in a try/catch block and returns (_, err, ok = false) when it went through
 14985  // the catch clause.
 14986  func (this WebGL2RenderingContext) TryUniformBlockBinding(program WebGLProgram, uniformBlockIndex GLuint, uniformBlockBinding GLuint) (ret js.Void, exception js.Any, ok bool) {
 14987  	ok = js.True == bindings.TryWebGL2RenderingContextUniformBlockBinding(
 14988  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 14989  		program.Ref(),
 14990  		uint32(uniformBlockIndex),
 14991  		uint32(uniformBlockBinding),
 14992  	)
 14993  
 14994  	return
 14995  }
 14996  
 14997  // HasFuncCreateVertexArray returns true if the method "WebGL2RenderingContext.createVertexArray" exists.
 14998  func (this WebGL2RenderingContext) HasFuncCreateVertexArray() bool {
 14999  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateVertexArray(
 15000  		this.ref,
 15001  	)
 15002  }
 15003  
 15004  // FuncCreateVertexArray returns the method "WebGL2RenderingContext.createVertexArray".
 15005  func (this WebGL2RenderingContext) FuncCreateVertexArray() (fn js.Func[func() WebGLVertexArrayObject]) {
 15006  	bindings.FuncWebGL2RenderingContextCreateVertexArray(
 15007  		this.ref, js.Pointer(&fn),
 15008  	)
 15009  	return
 15010  }
 15011  
 15012  // CreateVertexArray calls the method "WebGL2RenderingContext.createVertexArray".
 15013  func (this WebGL2RenderingContext) CreateVertexArray() (ret WebGLVertexArrayObject) {
 15014  	bindings.CallWebGL2RenderingContextCreateVertexArray(
 15015  		this.ref, js.Pointer(&ret),
 15016  	)
 15017  
 15018  	return
 15019  }
 15020  
 15021  // TryCreateVertexArray calls the method "WebGL2RenderingContext.createVertexArray"
 15022  // in a try/catch block and returns (_, err, ok = false) when it went through
 15023  // the catch clause.
 15024  func (this WebGL2RenderingContext) TryCreateVertexArray() (ret WebGLVertexArrayObject, exception js.Any, ok bool) {
 15025  	ok = js.True == bindings.TryWebGL2RenderingContextCreateVertexArray(
 15026  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15027  	)
 15028  
 15029  	return
 15030  }
 15031  
 15032  // HasFuncDeleteVertexArray returns true if the method "WebGL2RenderingContext.deleteVertexArray" exists.
 15033  func (this WebGL2RenderingContext) HasFuncDeleteVertexArray() bool {
 15034  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteVertexArray(
 15035  		this.ref,
 15036  	)
 15037  }
 15038  
 15039  // FuncDeleteVertexArray returns the method "WebGL2RenderingContext.deleteVertexArray".
 15040  func (this WebGL2RenderingContext) FuncDeleteVertexArray() (fn js.Func[func(vertexArray WebGLVertexArrayObject)]) {
 15041  	bindings.FuncWebGL2RenderingContextDeleteVertexArray(
 15042  		this.ref, js.Pointer(&fn),
 15043  	)
 15044  	return
 15045  }
 15046  
 15047  // DeleteVertexArray calls the method "WebGL2RenderingContext.deleteVertexArray".
 15048  func (this WebGL2RenderingContext) DeleteVertexArray(vertexArray WebGLVertexArrayObject) (ret js.Void) {
 15049  	bindings.CallWebGL2RenderingContextDeleteVertexArray(
 15050  		this.ref, js.Pointer(&ret),
 15051  		vertexArray.Ref(),
 15052  	)
 15053  
 15054  	return
 15055  }
 15056  
 15057  // TryDeleteVertexArray calls the method "WebGL2RenderingContext.deleteVertexArray"
 15058  // in a try/catch block and returns (_, err, ok = false) when it went through
 15059  // the catch clause.
 15060  func (this WebGL2RenderingContext) TryDeleteVertexArray(vertexArray WebGLVertexArrayObject) (ret js.Void, exception js.Any, ok bool) {
 15061  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteVertexArray(
 15062  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15063  		vertexArray.Ref(),
 15064  	)
 15065  
 15066  	return
 15067  }
 15068  
 15069  // HasFuncIsVertexArray returns true if the method "WebGL2RenderingContext.isVertexArray" exists.
 15070  func (this WebGL2RenderingContext) HasFuncIsVertexArray() bool {
 15071  	return js.True == bindings.HasFuncWebGL2RenderingContextIsVertexArray(
 15072  		this.ref,
 15073  	)
 15074  }
 15075  
 15076  // FuncIsVertexArray returns the method "WebGL2RenderingContext.isVertexArray".
 15077  func (this WebGL2RenderingContext) FuncIsVertexArray() (fn js.Func[func(vertexArray WebGLVertexArrayObject) GLboolean]) {
 15078  	bindings.FuncWebGL2RenderingContextIsVertexArray(
 15079  		this.ref, js.Pointer(&fn),
 15080  	)
 15081  	return
 15082  }
 15083  
 15084  // IsVertexArray calls the method "WebGL2RenderingContext.isVertexArray".
 15085  func (this WebGL2RenderingContext) IsVertexArray(vertexArray WebGLVertexArrayObject) (ret GLboolean) {
 15086  	bindings.CallWebGL2RenderingContextIsVertexArray(
 15087  		this.ref, js.Pointer(&ret),
 15088  		vertexArray.Ref(),
 15089  	)
 15090  
 15091  	return
 15092  }
 15093  
 15094  // TryIsVertexArray calls the method "WebGL2RenderingContext.isVertexArray"
 15095  // in a try/catch block and returns (_, err, ok = false) when it went through
 15096  // the catch clause.
 15097  func (this WebGL2RenderingContext) TryIsVertexArray(vertexArray WebGLVertexArrayObject) (ret GLboolean, exception js.Any, ok bool) {
 15098  	ok = js.True == bindings.TryWebGL2RenderingContextIsVertexArray(
 15099  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15100  		vertexArray.Ref(),
 15101  	)
 15102  
 15103  	return
 15104  }
 15105  
 15106  // HasFuncBindVertexArray returns true if the method "WebGL2RenderingContext.bindVertexArray" exists.
 15107  func (this WebGL2RenderingContext) HasFuncBindVertexArray() bool {
 15108  	return js.True == bindings.HasFuncWebGL2RenderingContextBindVertexArray(
 15109  		this.ref,
 15110  	)
 15111  }
 15112  
 15113  // FuncBindVertexArray returns the method "WebGL2RenderingContext.bindVertexArray".
 15114  func (this WebGL2RenderingContext) FuncBindVertexArray() (fn js.Func[func(array WebGLVertexArrayObject)]) {
 15115  	bindings.FuncWebGL2RenderingContextBindVertexArray(
 15116  		this.ref, js.Pointer(&fn),
 15117  	)
 15118  	return
 15119  }
 15120  
 15121  // BindVertexArray calls the method "WebGL2RenderingContext.bindVertexArray".
 15122  func (this WebGL2RenderingContext) BindVertexArray(array WebGLVertexArrayObject) (ret js.Void) {
 15123  	bindings.CallWebGL2RenderingContextBindVertexArray(
 15124  		this.ref, js.Pointer(&ret),
 15125  		array.Ref(),
 15126  	)
 15127  
 15128  	return
 15129  }
 15130  
 15131  // TryBindVertexArray calls the method "WebGL2RenderingContext.bindVertexArray"
 15132  // in a try/catch block and returns (_, err, ok = false) when it went through
 15133  // the catch clause.
 15134  func (this WebGL2RenderingContext) TryBindVertexArray(array WebGLVertexArrayObject) (ret js.Void, exception js.Any, ok bool) {
 15135  	ok = js.True == bindings.TryWebGL2RenderingContextBindVertexArray(
 15136  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15137  		array.Ref(),
 15138  	)
 15139  
 15140  	return
 15141  }
 15142  
 15143  // HasFuncGetContextAttributes returns true if the method "WebGL2RenderingContext.getContextAttributes" exists.
 15144  func (this WebGL2RenderingContext) HasFuncGetContextAttributes() bool {
 15145  	return js.True == bindings.HasFuncWebGL2RenderingContextGetContextAttributes(
 15146  		this.ref,
 15147  	)
 15148  }
 15149  
 15150  // FuncGetContextAttributes returns the method "WebGL2RenderingContext.getContextAttributes".
 15151  func (this WebGL2RenderingContext) FuncGetContextAttributes() (fn js.Func[func() WebGLContextAttributes]) {
 15152  	bindings.FuncWebGL2RenderingContextGetContextAttributes(
 15153  		this.ref, js.Pointer(&fn),
 15154  	)
 15155  	return
 15156  }
 15157  
 15158  // GetContextAttributes calls the method "WebGL2RenderingContext.getContextAttributes".
 15159  func (this WebGL2RenderingContext) GetContextAttributes() (ret WebGLContextAttributes) {
 15160  	bindings.CallWebGL2RenderingContextGetContextAttributes(
 15161  		this.ref, js.Pointer(&ret),
 15162  	)
 15163  
 15164  	return
 15165  }
 15166  
 15167  // TryGetContextAttributes calls the method "WebGL2RenderingContext.getContextAttributes"
 15168  // in a try/catch block and returns (_, err, ok = false) when it went through
 15169  // the catch clause.
 15170  func (this WebGL2RenderingContext) TryGetContextAttributes() (ret WebGLContextAttributes, exception js.Any, ok bool) {
 15171  	ok = js.True == bindings.TryWebGL2RenderingContextGetContextAttributes(
 15172  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15173  	)
 15174  
 15175  	return
 15176  }
 15177  
 15178  // HasFuncIsContextLost returns true if the method "WebGL2RenderingContext.isContextLost" exists.
 15179  func (this WebGL2RenderingContext) HasFuncIsContextLost() bool {
 15180  	return js.True == bindings.HasFuncWebGL2RenderingContextIsContextLost(
 15181  		this.ref,
 15182  	)
 15183  }
 15184  
 15185  // FuncIsContextLost returns the method "WebGL2RenderingContext.isContextLost".
 15186  func (this WebGL2RenderingContext) FuncIsContextLost() (fn js.Func[func() bool]) {
 15187  	bindings.FuncWebGL2RenderingContextIsContextLost(
 15188  		this.ref, js.Pointer(&fn),
 15189  	)
 15190  	return
 15191  }
 15192  
 15193  // IsContextLost calls the method "WebGL2RenderingContext.isContextLost".
 15194  func (this WebGL2RenderingContext) IsContextLost() (ret bool) {
 15195  	bindings.CallWebGL2RenderingContextIsContextLost(
 15196  		this.ref, js.Pointer(&ret),
 15197  	)
 15198  
 15199  	return
 15200  }
 15201  
 15202  // TryIsContextLost calls the method "WebGL2RenderingContext.isContextLost"
 15203  // in a try/catch block and returns (_, err, ok = false) when it went through
 15204  // the catch clause.
 15205  func (this WebGL2RenderingContext) TryIsContextLost() (ret bool, exception js.Any, ok bool) {
 15206  	ok = js.True == bindings.TryWebGL2RenderingContextIsContextLost(
 15207  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15208  	)
 15209  
 15210  	return
 15211  }
 15212  
 15213  // HasFuncGetSupportedExtensions returns true if the method "WebGL2RenderingContext.getSupportedExtensions" exists.
 15214  func (this WebGL2RenderingContext) HasFuncGetSupportedExtensions() bool {
 15215  	return js.True == bindings.HasFuncWebGL2RenderingContextGetSupportedExtensions(
 15216  		this.ref,
 15217  	)
 15218  }
 15219  
 15220  // FuncGetSupportedExtensions returns the method "WebGL2RenderingContext.getSupportedExtensions".
 15221  func (this WebGL2RenderingContext) FuncGetSupportedExtensions() (fn js.Func[func() js.Array[js.String]]) {
 15222  	bindings.FuncWebGL2RenderingContextGetSupportedExtensions(
 15223  		this.ref, js.Pointer(&fn),
 15224  	)
 15225  	return
 15226  }
 15227  
 15228  // GetSupportedExtensions calls the method "WebGL2RenderingContext.getSupportedExtensions".
 15229  func (this WebGL2RenderingContext) GetSupportedExtensions() (ret js.Array[js.String]) {
 15230  	bindings.CallWebGL2RenderingContextGetSupportedExtensions(
 15231  		this.ref, js.Pointer(&ret),
 15232  	)
 15233  
 15234  	return
 15235  }
 15236  
 15237  // TryGetSupportedExtensions calls the method "WebGL2RenderingContext.getSupportedExtensions"
 15238  // in a try/catch block and returns (_, err, ok = false) when it went through
 15239  // the catch clause.
 15240  func (this WebGL2RenderingContext) TryGetSupportedExtensions() (ret js.Array[js.String], exception js.Any, ok bool) {
 15241  	ok = js.True == bindings.TryWebGL2RenderingContextGetSupportedExtensions(
 15242  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15243  	)
 15244  
 15245  	return
 15246  }
 15247  
 15248  // HasFuncGetExtension returns true if the method "WebGL2RenderingContext.getExtension" exists.
 15249  func (this WebGL2RenderingContext) HasFuncGetExtension() bool {
 15250  	return js.True == bindings.HasFuncWebGL2RenderingContextGetExtension(
 15251  		this.ref,
 15252  	)
 15253  }
 15254  
 15255  // FuncGetExtension returns the method "WebGL2RenderingContext.getExtension".
 15256  func (this WebGL2RenderingContext) FuncGetExtension() (fn js.Func[func(name js.String) js.Object]) {
 15257  	bindings.FuncWebGL2RenderingContextGetExtension(
 15258  		this.ref, js.Pointer(&fn),
 15259  	)
 15260  	return
 15261  }
 15262  
 15263  // GetExtension calls the method "WebGL2RenderingContext.getExtension".
 15264  func (this WebGL2RenderingContext) GetExtension(name js.String) (ret js.Object) {
 15265  	bindings.CallWebGL2RenderingContextGetExtension(
 15266  		this.ref, js.Pointer(&ret),
 15267  		name.Ref(),
 15268  	)
 15269  
 15270  	return
 15271  }
 15272  
 15273  // TryGetExtension calls the method "WebGL2RenderingContext.getExtension"
 15274  // in a try/catch block and returns (_, err, ok = false) when it went through
 15275  // the catch clause.
 15276  func (this WebGL2RenderingContext) TryGetExtension(name js.String) (ret js.Object, exception js.Any, ok bool) {
 15277  	ok = js.True == bindings.TryWebGL2RenderingContextGetExtension(
 15278  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15279  		name.Ref(),
 15280  	)
 15281  
 15282  	return
 15283  }
 15284  
 15285  // HasFuncActiveTexture returns true if the method "WebGL2RenderingContext.activeTexture" exists.
 15286  func (this WebGL2RenderingContext) HasFuncActiveTexture() bool {
 15287  	return js.True == bindings.HasFuncWebGL2RenderingContextActiveTexture(
 15288  		this.ref,
 15289  	)
 15290  }
 15291  
 15292  // FuncActiveTexture returns the method "WebGL2RenderingContext.activeTexture".
 15293  func (this WebGL2RenderingContext) FuncActiveTexture() (fn js.Func[func(texture GLenum)]) {
 15294  	bindings.FuncWebGL2RenderingContextActiveTexture(
 15295  		this.ref, js.Pointer(&fn),
 15296  	)
 15297  	return
 15298  }
 15299  
 15300  // ActiveTexture calls the method "WebGL2RenderingContext.activeTexture".
 15301  func (this WebGL2RenderingContext) ActiveTexture(texture GLenum) (ret js.Void) {
 15302  	bindings.CallWebGL2RenderingContextActiveTexture(
 15303  		this.ref, js.Pointer(&ret),
 15304  		uint32(texture),
 15305  	)
 15306  
 15307  	return
 15308  }
 15309  
 15310  // TryActiveTexture calls the method "WebGL2RenderingContext.activeTexture"
 15311  // in a try/catch block and returns (_, err, ok = false) when it went through
 15312  // the catch clause.
 15313  func (this WebGL2RenderingContext) TryActiveTexture(texture GLenum) (ret js.Void, exception js.Any, ok bool) {
 15314  	ok = js.True == bindings.TryWebGL2RenderingContextActiveTexture(
 15315  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15316  		uint32(texture),
 15317  	)
 15318  
 15319  	return
 15320  }
 15321  
 15322  // HasFuncAttachShader returns true if the method "WebGL2RenderingContext.attachShader" exists.
 15323  func (this WebGL2RenderingContext) HasFuncAttachShader() bool {
 15324  	return js.True == bindings.HasFuncWebGL2RenderingContextAttachShader(
 15325  		this.ref,
 15326  	)
 15327  }
 15328  
 15329  // FuncAttachShader returns the method "WebGL2RenderingContext.attachShader".
 15330  func (this WebGL2RenderingContext) FuncAttachShader() (fn js.Func[func(program WebGLProgram, shader WebGLShader)]) {
 15331  	bindings.FuncWebGL2RenderingContextAttachShader(
 15332  		this.ref, js.Pointer(&fn),
 15333  	)
 15334  	return
 15335  }
 15336  
 15337  // AttachShader calls the method "WebGL2RenderingContext.attachShader".
 15338  func (this WebGL2RenderingContext) AttachShader(program WebGLProgram, shader WebGLShader) (ret js.Void) {
 15339  	bindings.CallWebGL2RenderingContextAttachShader(
 15340  		this.ref, js.Pointer(&ret),
 15341  		program.Ref(),
 15342  		shader.Ref(),
 15343  	)
 15344  
 15345  	return
 15346  }
 15347  
 15348  // TryAttachShader calls the method "WebGL2RenderingContext.attachShader"
 15349  // in a try/catch block and returns (_, err, ok = false) when it went through
 15350  // the catch clause.
 15351  func (this WebGL2RenderingContext) TryAttachShader(program WebGLProgram, shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
 15352  	ok = js.True == bindings.TryWebGL2RenderingContextAttachShader(
 15353  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15354  		program.Ref(),
 15355  		shader.Ref(),
 15356  	)
 15357  
 15358  	return
 15359  }
 15360  
 15361  // HasFuncBindAttribLocation returns true if the method "WebGL2RenderingContext.bindAttribLocation" exists.
 15362  func (this WebGL2RenderingContext) HasFuncBindAttribLocation() bool {
 15363  	return js.True == bindings.HasFuncWebGL2RenderingContextBindAttribLocation(
 15364  		this.ref,
 15365  	)
 15366  }
 15367  
 15368  // FuncBindAttribLocation returns the method "WebGL2RenderingContext.bindAttribLocation".
 15369  func (this WebGL2RenderingContext) FuncBindAttribLocation() (fn js.Func[func(program WebGLProgram, index GLuint, name js.String)]) {
 15370  	bindings.FuncWebGL2RenderingContextBindAttribLocation(
 15371  		this.ref, js.Pointer(&fn),
 15372  	)
 15373  	return
 15374  }
 15375  
 15376  // BindAttribLocation calls the method "WebGL2RenderingContext.bindAttribLocation".
 15377  func (this WebGL2RenderingContext) BindAttribLocation(program WebGLProgram, index GLuint, name js.String) (ret js.Void) {
 15378  	bindings.CallWebGL2RenderingContextBindAttribLocation(
 15379  		this.ref, js.Pointer(&ret),
 15380  		program.Ref(),
 15381  		uint32(index),
 15382  		name.Ref(),
 15383  	)
 15384  
 15385  	return
 15386  }
 15387  
 15388  // TryBindAttribLocation calls the method "WebGL2RenderingContext.bindAttribLocation"
 15389  // in a try/catch block and returns (_, err, ok = false) when it went through
 15390  // the catch clause.
 15391  func (this WebGL2RenderingContext) TryBindAttribLocation(program WebGLProgram, index GLuint, name js.String) (ret js.Void, exception js.Any, ok bool) {
 15392  	ok = js.True == bindings.TryWebGL2RenderingContextBindAttribLocation(
 15393  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15394  		program.Ref(),
 15395  		uint32(index),
 15396  		name.Ref(),
 15397  	)
 15398  
 15399  	return
 15400  }
 15401  
 15402  // HasFuncBindBuffer returns true if the method "WebGL2RenderingContext.bindBuffer" exists.
 15403  func (this WebGL2RenderingContext) HasFuncBindBuffer() bool {
 15404  	return js.True == bindings.HasFuncWebGL2RenderingContextBindBuffer(
 15405  		this.ref,
 15406  	)
 15407  }
 15408  
 15409  // FuncBindBuffer returns the method "WebGL2RenderingContext.bindBuffer".
 15410  func (this WebGL2RenderingContext) FuncBindBuffer() (fn js.Func[func(target GLenum, buffer WebGLBuffer)]) {
 15411  	bindings.FuncWebGL2RenderingContextBindBuffer(
 15412  		this.ref, js.Pointer(&fn),
 15413  	)
 15414  	return
 15415  }
 15416  
 15417  // BindBuffer calls the method "WebGL2RenderingContext.bindBuffer".
 15418  func (this WebGL2RenderingContext) BindBuffer(target GLenum, buffer WebGLBuffer) (ret js.Void) {
 15419  	bindings.CallWebGL2RenderingContextBindBuffer(
 15420  		this.ref, js.Pointer(&ret),
 15421  		uint32(target),
 15422  		buffer.Ref(),
 15423  	)
 15424  
 15425  	return
 15426  }
 15427  
 15428  // TryBindBuffer calls the method "WebGL2RenderingContext.bindBuffer"
 15429  // in a try/catch block and returns (_, err, ok = false) when it went through
 15430  // the catch clause.
 15431  func (this WebGL2RenderingContext) TryBindBuffer(target GLenum, buffer WebGLBuffer) (ret js.Void, exception js.Any, ok bool) {
 15432  	ok = js.True == bindings.TryWebGL2RenderingContextBindBuffer(
 15433  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15434  		uint32(target),
 15435  		buffer.Ref(),
 15436  	)
 15437  
 15438  	return
 15439  }
 15440  
 15441  // HasFuncBindFramebuffer returns true if the method "WebGL2RenderingContext.bindFramebuffer" exists.
 15442  func (this WebGL2RenderingContext) HasFuncBindFramebuffer() bool {
 15443  	return js.True == bindings.HasFuncWebGL2RenderingContextBindFramebuffer(
 15444  		this.ref,
 15445  	)
 15446  }
 15447  
 15448  // FuncBindFramebuffer returns the method "WebGL2RenderingContext.bindFramebuffer".
 15449  func (this WebGL2RenderingContext) FuncBindFramebuffer() (fn js.Func[func(target GLenum, framebuffer WebGLFramebuffer)]) {
 15450  	bindings.FuncWebGL2RenderingContextBindFramebuffer(
 15451  		this.ref, js.Pointer(&fn),
 15452  	)
 15453  	return
 15454  }
 15455  
 15456  // BindFramebuffer calls the method "WebGL2RenderingContext.bindFramebuffer".
 15457  func (this WebGL2RenderingContext) BindFramebuffer(target GLenum, framebuffer WebGLFramebuffer) (ret js.Void) {
 15458  	bindings.CallWebGL2RenderingContextBindFramebuffer(
 15459  		this.ref, js.Pointer(&ret),
 15460  		uint32(target),
 15461  		framebuffer.Ref(),
 15462  	)
 15463  
 15464  	return
 15465  }
 15466  
 15467  // TryBindFramebuffer calls the method "WebGL2RenderingContext.bindFramebuffer"
 15468  // in a try/catch block and returns (_, err, ok = false) when it went through
 15469  // the catch clause.
 15470  func (this WebGL2RenderingContext) TryBindFramebuffer(target GLenum, framebuffer WebGLFramebuffer) (ret js.Void, exception js.Any, ok bool) {
 15471  	ok = js.True == bindings.TryWebGL2RenderingContextBindFramebuffer(
 15472  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15473  		uint32(target),
 15474  		framebuffer.Ref(),
 15475  	)
 15476  
 15477  	return
 15478  }
 15479  
 15480  // HasFuncBindRenderbuffer returns true if the method "WebGL2RenderingContext.bindRenderbuffer" exists.
 15481  func (this WebGL2RenderingContext) HasFuncBindRenderbuffer() bool {
 15482  	return js.True == bindings.HasFuncWebGL2RenderingContextBindRenderbuffer(
 15483  		this.ref,
 15484  	)
 15485  }
 15486  
 15487  // FuncBindRenderbuffer returns the method "WebGL2RenderingContext.bindRenderbuffer".
 15488  func (this WebGL2RenderingContext) FuncBindRenderbuffer() (fn js.Func[func(target GLenum, renderbuffer WebGLRenderbuffer)]) {
 15489  	bindings.FuncWebGL2RenderingContextBindRenderbuffer(
 15490  		this.ref, js.Pointer(&fn),
 15491  	)
 15492  	return
 15493  }
 15494  
 15495  // BindRenderbuffer calls the method "WebGL2RenderingContext.bindRenderbuffer".
 15496  func (this WebGL2RenderingContext) BindRenderbuffer(target GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void) {
 15497  	bindings.CallWebGL2RenderingContextBindRenderbuffer(
 15498  		this.ref, js.Pointer(&ret),
 15499  		uint32(target),
 15500  		renderbuffer.Ref(),
 15501  	)
 15502  
 15503  	return
 15504  }
 15505  
 15506  // TryBindRenderbuffer calls the method "WebGL2RenderingContext.bindRenderbuffer"
 15507  // in a try/catch block and returns (_, err, ok = false) when it went through
 15508  // the catch clause.
 15509  func (this WebGL2RenderingContext) TryBindRenderbuffer(target GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void, exception js.Any, ok bool) {
 15510  	ok = js.True == bindings.TryWebGL2RenderingContextBindRenderbuffer(
 15511  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15512  		uint32(target),
 15513  		renderbuffer.Ref(),
 15514  	)
 15515  
 15516  	return
 15517  }
 15518  
 15519  // HasFuncBindTexture returns true if the method "WebGL2RenderingContext.bindTexture" exists.
 15520  func (this WebGL2RenderingContext) HasFuncBindTexture() bool {
 15521  	return js.True == bindings.HasFuncWebGL2RenderingContextBindTexture(
 15522  		this.ref,
 15523  	)
 15524  }
 15525  
 15526  // FuncBindTexture returns the method "WebGL2RenderingContext.bindTexture".
 15527  func (this WebGL2RenderingContext) FuncBindTexture() (fn js.Func[func(target GLenum, texture WebGLTexture)]) {
 15528  	bindings.FuncWebGL2RenderingContextBindTexture(
 15529  		this.ref, js.Pointer(&fn),
 15530  	)
 15531  	return
 15532  }
 15533  
 15534  // BindTexture calls the method "WebGL2RenderingContext.bindTexture".
 15535  func (this WebGL2RenderingContext) BindTexture(target GLenum, texture WebGLTexture) (ret js.Void) {
 15536  	bindings.CallWebGL2RenderingContextBindTexture(
 15537  		this.ref, js.Pointer(&ret),
 15538  		uint32(target),
 15539  		texture.Ref(),
 15540  	)
 15541  
 15542  	return
 15543  }
 15544  
 15545  // TryBindTexture calls the method "WebGL2RenderingContext.bindTexture"
 15546  // in a try/catch block and returns (_, err, ok = false) when it went through
 15547  // the catch clause.
 15548  func (this WebGL2RenderingContext) TryBindTexture(target GLenum, texture WebGLTexture) (ret js.Void, exception js.Any, ok bool) {
 15549  	ok = js.True == bindings.TryWebGL2RenderingContextBindTexture(
 15550  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15551  		uint32(target),
 15552  		texture.Ref(),
 15553  	)
 15554  
 15555  	return
 15556  }
 15557  
 15558  // HasFuncBlendColor returns true if the method "WebGL2RenderingContext.blendColor" exists.
 15559  func (this WebGL2RenderingContext) HasFuncBlendColor() bool {
 15560  	return js.True == bindings.HasFuncWebGL2RenderingContextBlendColor(
 15561  		this.ref,
 15562  	)
 15563  }
 15564  
 15565  // FuncBlendColor returns the method "WebGL2RenderingContext.blendColor".
 15566  func (this WebGL2RenderingContext) FuncBlendColor() (fn js.Func[func(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf)]) {
 15567  	bindings.FuncWebGL2RenderingContextBlendColor(
 15568  		this.ref, js.Pointer(&fn),
 15569  	)
 15570  	return
 15571  }
 15572  
 15573  // BlendColor calls the method "WebGL2RenderingContext.blendColor".
 15574  func (this WebGL2RenderingContext) BlendColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void) {
 15575  	bindings.CallWebGL2RenderingContextBlendColor(
 15576  		this.ref, js.Pointer(&ret),
 15577  		float32(red),
 15578  		float32(green),
 15579  		float32(blue),
 15580  		float32(alpha),
 15581  	)
 15582  
 15583  	return
 15584  }
 15585  
 15586  // TryBlendColor calls the method "WebGL2RenderingContext.blendColor"
 15587  // in a try/catch block and returns (_, err, ok = false) when it went through
 15588  // the catch clause.
 15589  func (this WebGL2RenderingContext) TryBlendColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void, exception js.Any, ok bool) {
 15590  	ok = js.True == bindings.TryWebGL2RenderingContextBlendColor(
 15591  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15592  		float32(red),
 15593  		float32(green),
 15594  		float32(blue),
 15595  		float32(alpha),
 15596  	)
 15597  
 15598  	return
 15599  }
 15600  
 15601  // HasFuncBlendEquation returns true if the method "WebGL2RenderingContext.blendEquation" exists.
 15602  func (this WebGL2RenderingContext) HasFuncBlendEquation() bool {
 15603  	return js.True == bindings.HasFuncWebGL2RenderingContextBlendEquation(
 15604  		this.ref,
 15605  	)
 15606  }
 15607  
 15608  // FuncBlendEquation returns the method "WebGL2RenderingContext.blendEquation".
 15609  func (this WebGL2RenderingContext) FuncBlendEquation() (fn js.Func[func(mode GLenum)]) {
 15610  	bindings.FuncWebGL2RenderingContextBlendEquation(
 15611  		this.ref, js.Pointer(&fn),
 15612  	)
 15613  	return
 15614  }
 15615  
 15616  // BlendEquation calls the method "WebGL2RenderingContext.blendEquation".
 15617  func (this WebGL2RenderingContext) BlendEquation(mode GLenum) (ret js.Void) {
 15618  	bindings.CallWebGL2RenderingContextBlendEquation(
 15619  		this.ref, js.Pointer(&ret),
 15620  		uint32(mode),
 15621  	)
 15622  
 15623  	return
 15624  }
 15625  
 15626  // TryBlendEquation calls the method "WebGL2RenderingContext.blendEquation"
 15627  // in a try/catch block and returns (_, err, ok = false) when it went through
 15628  // the catch clause.
 15629  func (this WebGL2RenderingContext) TryBlendEquation(mode GLenum) (ret js.Void, exception js.Any, ok bool) {
 15630  	ok = js.True == bindings.TryWebGL2RenderingContextBlendEquation(
 15631  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15632  		uint32(mode),
 15633  	)
 15634  
 15635  	return
 15636  }
 15637  
 15638  // HasFuncBlendEquationSeparate returns true if the method "WebGL2RenderingContext.blendEquationSeparate" exists.
 15639  func (this WebGL2RenderingContext) HasFuncBlendEquationSeparate() bool {
 15640  	return js.True == bindings.HasFuncWebGL2RenderingContextBlendEquationSeparate(
 15641  		this.ref,
 15642  	)
 15643  }
 15644  
 15645  // FuncBlendEquationSeparate returns the method "WebGL2RenderingContext.blendEquationSeparate".
 15646  func (this WebGL2RenderingContext) FuncBlendEquationSeparate() (fn js.Func[func(modeRGB GLenum, modeAlpha GLenum)]) {
 15647  	bindings.FuncWebGL2RenderingContextBlendEquationSeparate(
 15648  		this.ref, js.Pointer(&fn),
 15649  	)
 15650  	return
 15651  }
 15652  
 15653  // BlendEquationSeparate calls the method "WebGL2RenderingContext.blendEquationSeparate".
 15654  func (this WebGL2RenderingContext) BlendEquationSeparate(modeRGB GLenum, modeAlpha GLenum) (ret js.Void) {
 15655  	bindings.CallWebGL2RenderingContextBlendEquationSeparate(
 15656  		this.ref, js.Pointer(&ret),
 15657  		uint32(modeRGB),
 15658  		uint32(modeAlpha),
 15659  	)
 15660  
 15661  	return
 15662  }
 15663  
 15664  // TryBlendEquationSeparate calls the method "WebGL2RenderingContext.blendEquationSeparate"
 15665  // in a try/catch block and returns (_, err, ok = false) when it went through
 15666  // the catch clause.
 15667  func (this WebGL2RenderingContext) TryBlendEquationSeparate(modeRGB GLenum, modeAlpha GLenum) (ret js.Void, exception js.Any, ok bool) {
 15668  	ok = js.True == bindings.TryWebGL2RenderingContextBlendEquationSeparate(
 15669  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15670  		uint32(modeRGB),
 15671  		uint32(modeAlpha),
 15672  	)
 15673  
 15674  	return
 15675  }
 15676  
 15677  // HasFuncBlendFunc returns true if the method "WebGL2RenderingContext.blendFunc" exists.
 15678  func (this WebGL2RenderingContext) HasFuncBlendFunc() bool {
 15679  	return js.True == bindings.HasFuncWebGL2RenderingContextBlendFunc(
 15680  		this.ref,
 15681  	)
 15682  }
 15683  
 15684  // FuncBlendFunc returns the method "WebGL2RenderingContext.blendFunc".
 15685  func (this WebGL2RenderingContext) FuncBlendFunc() (fn js.Func[func(sfactor GLenum, dfactor GLenum)]) {
 15686  	bindings.FuncWebGL2RenderingContextBlendFunc(
 15687  		this.ref, js.Pointer(&fn),
 15688  	)
 15689  	return
 15690  }
 15691  
 15692  // BlendFunc calls the method "WebGL2RenderingContext.blendFunc".
 15693  func (this WebGL2RenderingContext) BlendFunc(sfactor GLenum, dfactor GLenum) (ret js.Void) {
 15694  	bindings.CallWebGL2RenderingContextBlendFunc(
 15695  		this.ref, js.Pointer(&ret),
 15696  		uint32(sfactor),
 15697  		uint32(dfactor),
 15698  	)
 15699  
 15700  	return
 15701  }
 15702  
 15703  // TryBlendFunc calls the method "WebGL2RenderingContext.blendFunc"
 15704  // in a try/catch block and returns (_, err, ok = false) when it went through
 15705  // the catch clause.
 15706  func (this WebGL2RenderingContext) TryBlendFunc(sfactor GLenum, dfactor GLenum) (ret js.Void, exception js.Any, ok bool) {
 15707  	ok = js.True == bindings.TryWebGL2RenderingContextBlendFunc(
 15708  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15709  		uint32(sfactor),
 15710  		uint32(dfactor),
 15711  	)
 15712  
 15713  	return
 15714  }
 15715  
 15716  // HasFuncBlendFuncSeparate returns true if the method "WebGL2RenderingContext.blendFuncSeparate" exists.
 15717  func (this WebGL2RenderingContext) HasFuncBlendFuncSeparate() bool {
 15718  	return js.True == bindings.HasFuncWebGL2RenderingContextBlendFuncSeparate(
 15719  		this.ref,
 15720  	)
 15721  }
 15722  
 15723  // FuncBlendFuncSeparate returns the method "WebGL2RenderingContext.blendFuncSeparate".
 15724  func (this WebGL2RenderingContext) FuncBlendFuncSeparate() (fn js.Func[func(srcRGB GLenum, dstRGB GLenum, srcAlpha GLenum, dstAlpha GLenum)]) {
 15725  	bindings.FuncWebGL2RenderingContextBlendFuncSeparate(
 15726  		this.ref, js.Pointer(&fn),
 15727  	)
 15728  	return
 15729  }
 15730  
 15731  // BlendFuncSeparate calls the method "WebGL2RenderingContext.blendFuncSeparate".
 15732  func (this WebGL2RenderingContext) BlendFuncSeparate(srcRGB GLenum, dstRGB GLenum, srcAlpha GLenum, dstAlpha GLenum) (ret js.Void) {
 15733  	bindings.CallWebGL2RenderingContextBlendFuncSeparate(
 15734  		this.ref, js.Pointer(&ret),
 15735  		uint32(srcRGB),
 15736  		uint32(dstRGB),
 15737  		uint32(srcAlpha),
 15738  		uint32(dstAlpha),
 15739  	)
 15740  
 15741  	return
 15742  }
 15743  
 15744  // TryBlendFuncSeparate calls the method "WebGL2RenderingContext.blendFuncSeparate"
 15745  // in a try/catch block and returns (_, err, ok = false) when it went through
 15746  // the catch clause.
 15747  func (this WebGL2RenderingContext) TryBlendFuncSeparate(srcRGB GLenum, dstRGB GLenum, srcAlpha GLenum, dstAlpha GLenum) (ret js.Void, exception js.Any, ok bool) {
 15748  	ok = js.True == bindings.TryWebGL2RenderingContextBlendFuncSeparate(
 15749  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15750  		uint32(srcRGB),
 15751  		uint32(dstRGB),
 15752  		uint32(srcAlpha),
 15753  		uint32(dstAlpha),
 15754  	)
 15755  
 15756  	return
 15757  }
 15758  
 15759  // HasFuncCheckFramebufferStatus returns true if the method "WebGL2RenderingContext.checkFramebufferStatus" exists.
 15760  func (this WebGL2RenderingContext) HasFuncCheckFramebufferStatus() bool {
 15761  	return js.True == bindings.HasFuncWebGL2RenderingContextCheckFramebufferStatus(
 15762  		this.ref,
 15763  	)
 15764  }
 15765  
 15766  // FuncCheckFramebufferStatus returns the method "WebGL2RenderingContext.checkFramebufferStatus".
 15767  func (this WebGL2RenderingContext) FuncCheckFramebufferStatus() (fn js.Func[func(target GLenum) GLenum]) {
 15768  	bindings.FuncWebGL2RenderingContextCheckFramebufferStatus(
 15769  		this.ref, js.Pointer(&fn),
 15770  	)
 15771  	return
 15772  }
 15773  
 15774  // CheckFramebufferStatus calls the method "WebGL2RenderingContext.checkFramebufferStatus".
 15775  func (this WebGL2RenderingContext) CheckFramebufferStatus(target GLenum) (ret GLenum) {
 15776  	bindings.CallWebGL2RenderingContextCheckFramebufferStatus(
 15777  		this.ref, js.Pointer(&ret),
 15778  		uint32(target),
 15779  	)
 15780  
 15781  	return
 15782  }
 15783  
 15784  // TryCheckFramebufferStatus calls the method "WebGL2RenderingContext.checkFramebufferStatus"
 15785  // in a try/catch block and returns (_, err, ok = false) when it went through
 15786  // the catch clause.
 15787  func (this WebGL2RenderingContext) TryCheckFramebufferStatus(target GLenum) (ret GLenum, exception js.Any, ok bool) {
 15788  	ok = js.True == bindings.TryWebGL2RenderingContextCheckFramebufferStatus(
 15789  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15790  		uint32(target),
 15791  	)
 15792  
 15793  	return
 15794  }
 15795  
 15796  // HasFuncClear returns true if the method "WebGL2RenderingContext.clear" exists.
 15797  func (this WebGL2RenderingContext) HasFuncClear() bool {
 15798  	return js.True == bindings.HasFuncWebGL2RenderingContextClear(
 15799  		this.ref,
 15800  	)
 15801  }
 15802  
 15803  // FuncClear returns the method "WebGL2RenderingContext.clear".
 15804  func (this WebGL2RenderingContext) FuncClear() (fn js.Func[func(mask GLbitfield)]) {
 15805  	bindings.FuncWebGL2RenderingContextClear(
 15806  		this.ref, js.Pointer(&fn),
 15807  	)
 15808  	return
 15809  }
 15810  
 15811  // Clear calls the method "WebGL2RenderingContext.clear".
 15812  func (this WebGL2RenderingContext) Clear(mask GLbitfield) (ret js.Void) {
 15813  	bindings.CallWebGL2RenderingContextClear(
 15814  		this.ref, js.Pointer(&ret),
 15815  		uint32(mask),
 15816  	)
 15817  
 15818  	return
 15819  }
 15820  
 15821  // TryClear calls the method "WebGL2RenderingContext.clear"
 15822  // in a try/catch block and returns (_, err, ok = false) when it went through
 15823  // the catch clause.
 15824  func (this WebGL2RenderingContext) TryClear(mask GLbitfield) (ret js.Void, exception js.Any, ok bool) {
 15825  	ok = js.True == bindings.TryWebGL2RenderingContextClear(
 15826  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15827  		uint32(mask),
 15828  	)
 15829  
 15830  	return
 15831  }
 15832  
 15833  // HasFuncClearColor returns true if the method "WebGL2RenderingContext.clearColor" exists.
 15834  func (this WebGL2RenderingContext) HasFuncClearColor() bool {
 15835  	return js.True == bindings.HasFuncWebGL2RenderingContextClearColor(
 15836  		this.ref,
 15837  	)
 15838  }
 15839  
 15840  // FuncClearColor returns the method "WebGL2RenderingContext.clearColor".
 15841  func (this WebGL2RenderingContext) FuncClearColor() (fn js.Func[func(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf)]) {
 15842  	bindings.FuncWebGL2RenderingContextClearColor(
 15843  		this.ref, js.Pointer(&fn),
 15844  	)
 15845  	return
 15846  }
 15847  
 15848  // ClearColor calls the method "WebGL2RenderingContext.clearColor".
 15849  func (this WebGL2RenderingContext) ClearColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void) {
 15850  	bindings.CallWebGL2RenderingContextClearColor(
 15851  		this.ref, js.Pointer(&ret),
 15852  		float32(red),
 15853  		float32(green),
 15854  		float32(blue),
 15855  		float32(alpha),
 15856  	)
 15857  
 15858  	return
 15859  }
 15860  
 15861  // TryClearColor calls the method "WebGL2RenderingContext.clearColor"
 15862  // in a try/catch block and returns (_, err, ok = false) when it went through
 15863  // the catch clause.
 15864  func (this WebGL2RenderingContext) TryClearColor(red GLclampf, green GLclampf, blue GLclampf, alpha GLclampf) (ret js.Void, exception js.Any, ok bool) {
 15865  	ok = js.True == bindings.TryWebGL2RenderingContextClearColor(
 15866  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15867  		float32(red),
 15868  		float32(green),
 15869  		float32(blue),
 15870  		float32(alpha),
 15871  	)
 15872  
 15873  	return
 15874  }
 15875  
 15876  // HasFuncClearDepth returns true if the method "WebGL2RenderingContext.clearDepth" exists.
 15877  func (this WebGL2RenderingContext) HasFuncClearDepth() bool {
 15878  	return js.True == bindings.HasFuncWebGL2RenderingContextClearDepth(
 15879  		this.ref,
 15880  	)
 15881  }
 15882  
 15883  // FuncClearDepth returns the method "WebGL2RenderingContext.clearDepth".
 15884  func (this WebGL2RenderingContext) FuncClearDepth() (fn js.Func[func(depth GLclampf)]) {
 15885  	bindings.FuncWebGL2RenderingContextClearDepth(
 15886  		this.ref, js.Pointer(&fn),
 15887  	)
 15888  	return
 15889  }
 15890  
 15891  // ClearDepth calls the method "WebGL2RenderingContext.clearDepth".
 15892  func (this WebGL2RenderingContext) ClearDepth(depth GLclampf) (ret js.Void) {
 15893  	bindings.CallWebGL2RenderingContextClearDepth(
 15894  		this.ref, js.Pointer(&ret),
 15895  		float32(depth),
 15896  	)
 15897  
 15898  	return
 15899  }
 15900  
 15901  // TryClearDepth calls the method "WebGL2RenderingContext.clearDepth"
 15902  // in a try/catch block and returns (_, err, ok = false) when it went through
 15903  // the catch clause.
 15904  func (this WebGL2RenderingContext) TryClearDepth(depth GLclampf) (ret js.Void, exception js.Any, ok bool) {
 15905  	ok = js.True == bindings.TryWebGL2RenderingContextClearDepth(
 15906  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15907  		float32(depth),
 15908  	)
 15909  
 15910  	return
 15911  }
 15912  
 15913  // HasFuncClearStencil returns true if the method "WebGL2RenderingContext.clearStencil" exists.
 15914  func (this WebGL2RenderingContext) HasFuncClearStencil() bool {
 15915  	return js.True == bindings.HasFuncWebGL2RenderingContextClearStencil(
 15916  		this.ref,
 15917  	)
 15918  }
 15919  
 15920  // FuncClearStencil returns the method "WebGL2RenderingContext.clearStencil".
 15921  func (this WebGL2RenderingContext) FuncClearStencil() (fn js.Func[func(s GLint)]) {
 15922  	bindings.FuncWebGL2RenderingContextClearStencil(
 15923  		this.ref, js.Pointer(&fn),
 15924  	)
 15925  	return
 15926  }
 15927  
 15928  // ClearStencil calls the method "WebGL2RenderingContext.clearStencil".
 15929  func (this WebGL2RenderingContext) ClearStencil(s GLint) (ret js.Void) {
 15930  	bindings.CallWebGL2RenderingContextClearStencil(
 15931  		this.ref, js.Pointer(&ret),
 15932  		int32(s),
 15933  	)
 15934  
 15935  	return
 15936  }
 15937  
 15938  // TryClearStencil calls the method "WebGL2RenderingContext.clearStencil"
 15939  // in a try/catch block and returns (_, err, ok = false) when it went through
 15940  // the catch clause.
 15941  func (this WebGL2RenderingContext) TryClearStencil(s GLint) (ret js.Void, exception js.Any, ok bool) {
 15942  	ok = js.True == bindings.TryWebGL2RenderingContextClearStencil(
 15943  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15944  		int32(s),
 15945  	)
 15946  
 15947  	return
 15948  }
 15949  
 15950  // HasFuncColorMask returns true if the method "WebGL2RenderingContext.colorMask" exists.
 15951  func (this WebGL2RenderingContext) HasFuncColorMask() bool {
 15952  	return js.True == bindings.HasFuncWebGL2RenderingContextColorMask(
 15953  		this.ref,
 15954  	)
 15955  }
 15956  
 15957  // FuncColorMask returns the method "WebGL2RenderingContext.colorMask".
 15958  func (this WebGL2RenderingContext) FuncColorMask() (fn js.Func[func(red GLboolean, green GLboolean, blue GLboolean, alpha GLboolean)]) {
 15959  	bindings.FuncWebGL2RenderingContextColorMask(
 15960  		this.ref, js.Pointer(&fn),
 15961  	)
 15962  	return
 15963  }
 15964  
 15965  // ColorMask calls the method "WebGL2RenderingContext.colorMask".
 15966  func (this WebGL2RenderingContext) ColorMask(red GLboolean, green GLboolean, blue GLboolean, alpha GLboolean) (ret js.Void) {
 15967  	bindings.CallWebGL2RenderingContextColorMask(
 15968  		this.ref, js.Pointer(&ret),
 15969  		js.Bool(bool(red)),
 15970  		js.Bool(bool(green)),
 15971  		js.Bool(bool(blue)),
 15972  		js.Bool(bool(alpha)),
 15973  	)
 15974  
 15975  	return
 15976  }
 15977  
 15978  // TryColorMask calls the method "WebGL2RenderingContext.colorMask"
 15979  // in a try/catch block and returns (_, err, ok = false) when it went through
 15980  // the catch clause.
 15981  func (this WebGL2RenderingContext) TryColorMask(red GLboolean, green GLboolean, blue GLboolean, alpha GLboolean) (ret js.Void, exception js.Any, ok bool) {
 15982  	ok = js.True == bindings.TryWebGL2RenderingContextColorMask(
 15983  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 15984  		js.Bool(bool(red)),
 15985  		js.Bool(bool(green)),
 15986  		js.Bool(bool(blue)),
 15987  		js.Bool(bool(alpha)),
 15988  	)
 15989  
 15990  	return
 15991  }
 15992  
 15993  // HasFuncCompileShader returns true if the method "WebGL2RenderingContext.compileShader" exists.
 15994  func (this WebGL2RenderingContext) HasFuncCompileShader() bool {
 15995  	return js.True == bindings.HasFuncWebGL2RenderingContextCompileShader(
 15996  		this.ref,
 15997  	)
 15998  }
 15999  
 16000  // FuncCompileShader returns the method "WebGL2RenderingContext.compileShader".
 16001  func (this WebGL2RenderingContext) FuncCompileShader() (fn js.Func[func(shader WebGLShader)]) {
 16002  	bindings.FuncWebGL2RenderingContextCompileShader(
 16003  		this.ref, js.Pointer(&fn),
 16004  	)
 16005  	return
 16006  }
 16007  
 16008  // CompileShader calls the method "WebGL2RenderingContext.compileShader".
 16009  func (this WebGL2RenderingContext) CompileShader(shader WebGLShader) (ret js.Void) {
 16010  	bindings.CallWebGL2RenderingContextCompileShader(
 16011  		this.ref, js.Pointer(&ret),
 16012  		shader.Ref(),
 16013  	)
 16014  
 16015  	return
 16016  }
 16017  
 16018  // TryCompileShader calls the method "WebGL2RenderingContext.compileShader"
 16019  // in a try/catch block and returns (_, err, ok = false) when it went through
 16020  // the catch clause.
 16021  func (this WebGL2RenderingContext) TryCompileShader(shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
 16022  	ok = js.True == bindings.TryWebGL2RenderingContextCompileShader(
 16023  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16024  		shader.Ref(),
 16025  	)
 16026  
 16027  	return
 16028  }
 16029  
 16030  // HasFuncCopyTexImage2D returns true if the method "WebGL2RenderingContext.copyTexImage2D" exists.
 16031  func (this WebGL2RenderingContext) HasFuncCopyTexImage2D() bool {
 16032  	return js.True == bindings.HasFuncWebGL2RenderingContextCopyTexImage2D(
 16033  		this.ref,
 16034  	)
 16035  }
 16036  
 16037  // FuncCopyTexImage2D returns the method "WebGL2RenderingContext.copyTexImage2D".
 16038  func (this WebGL2RenderingContext) FuncCopyTexImage2D() (fn js.Func[func(target GLenum, level GLint, internalformat GLenum, x GLint, y GLint, width GLsizei, height GLsizei, border GLint)]) {
 16039  	bindings.FuncWebGL2RenderingContextCopyTexImage2D(
 16040  		this.ref, js.Pointer(&fn),
 16041  	)
 16042  	return
 16043  }
 16044  
 16045  // CopyTexImage2D calls the method "WebGL2RenderingContext.copyTexImage2D".
 16046  func (this WebGL2RenderingContext) CopyTexImage2D(target GLenum, level GLint, internalformat GLenum, x GLint, y GLint, width GLsizei, height GLsizei, border GLint) (ret js.Void) {
 16047  	bindings.CallWebGL2RenderingContextCopyTexImage2D(
 16048  		this.ref, js.Pointer(&ret),
 16049  		uint32(target),
 16050  		int32(level),
 16051  		uint32(internalformat),
 16052  		int32(x),
 16053  		int32(y),
 16054  		int32(width),
 16055  		int32(height),
 16056  		int32(border),
 16057  	)
 16058  
 16059  	return
 16060  }
 16061  
 16062  // TryCopyTexImage2D calls the method "WebGL2RenderingContext.copyTexImage2D"
 16063  // in a try/catch block and returns (_, err, ok = false) when it went through
 16064  // the catch clause.
 16065  func (this WebGL2RenderingContext) TryCopyTexImage2D(target GLenum, level GLint, internalformat GLenum, x GLint, y GLint, width GLsizei, height GLsizei, border GLint) (ret js.Void, exception js.Any, ok bool) {
 16066  	ok = js.True == bindings.TryWebGL2RenderingContextCopyTexImage2D(
 16067  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16068  		uint32(target),
 16069  		int32(level),
 16070  		uint32(internalformat),
 16071  		int32(x),
 16072  		int32(y),
 16073  		int32(width),
 16074  		int32(height),
 16075  		int32(border),
 16076  	)
 16077  
 16078  	return
 16079  }
 16080  
 16081  // HasFuncCopyTexSubImage2D returns true if the method "WebGL2RenderingContext.copyTexSubImage2D" exists.
 16082  func (this WebGL2RenderingContext) HasFuncCopyTexSubImage2D() bool {
 16083  	return js.True == bindings.HasFuncWebGL2RenderingContextCopyTexSubImage2D(
 16084  		this.ref,
 16085  	)
 16086  }
 16087  
 16088  // FuncCopyTexSubImage2D returns the method "WebGL2RenderingContext.copyTexSubImage2D".
 16089  func (this WebGL2RenderingContext) FuncCopyTexSubImage2D() (fn js.Func[func(target GLenum, level GLint, xoffset GLint, yoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei)]) {
 16090  	bindings.FuncWebGL2RenderingContextCopyTexSubImage2D(
 16091  		this.ref, js.Pointer(&fn),
 16092  	)
 16093  	return
 16094  }
 16095  
 16096  // CopyTexSubImage2D calls the method "WebGL2RenderingContext.copyTexSubImage2D".
 16097  func (this WebGL2RenderingContext) CopyTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
 16098  	bindings.CallWebGL2RenderingContextCopyTexSubImage2D(
 16099  		this.ref, js.Pointer(&ret),
 16100  		uint32(target),
 16101  		int32(level),
 16102  		int32(xoffset),
 16103  		int32(yoffset),
 16104  		int32(x),
 16105  		int32(y),
 16106  		int32(width),
 16107  		int32(height),
 16108  	)
 16109  
 16110  	return
 16111  }
 16112  
 16113  // TryCopyTexSubImage2D calls the method "WebGL2RenderingContext.copyTexSubImage2D"
 16114  // in a try/catch block and returns (_, err, ok = false) when it went through
 16115  // the catch clause.
 16116  func (this WebGL2RenderingContext) TryCopyTexSubImage2D(target GLenum, level GLint, xoffset GLint, yoffset GLint, x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 16117  	ok = js.True == bindings.TryWebGL2RenderingContextCopyTexSubImage2D(
 16118  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16119  		uint32(target),
 16120  		int32(level),
 16121  		int32(xoffset),
 16122  		int32(yoffset),
 16123  		int32(x),
 16124  		int32(y),
 16125  		int32(width),
 16126  		int32(height),
 16127  	)
 16128  
 16129  	return
 16130  }
 16131  
 16132  // HasFuncCreateBuffer returns true if the method "WebGL2RenderingContext.createBuffer" exists.
 16133  func (this WebGL2RenderingContext) HasFuncCreateBuffer() bool {
 16134  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateBuffer(
 16135  		this.ref,
 16136  	)
 16137  }
 16138  
 16139  // FuncCreateBuffer returns the method "WebGL2RenderingContext.createBuffer".
 16140  func (this WebGL2RenderingContext) FuncCreateBuffer() (fn js.Func[func() WebGLBuffer]) {
 16141  	bindings.FuncWebGL2RenderingContextCreateBuffer(
 16142  		this.ref, js.Pointer(&fn),
 16143  	)
 16144  	return
 16145  }
 16146  
 16147  // CreateBuffer calls the method "WebGL2RenderingContext.createBuffer".
 16148  func (this WebGL2RenderingContext) CreateBuffer() (ret WebGLBuffer) {
 16149  	bindings.CallWebGL2RenderingContextCreateBuffer(
 16150  		this.ref, js.Pointer(&ret),
 16151  	)
 16152  
 16153  	return
 16154  }
 16155  
 16156  // TryCreateBuffer calls the method "WebGL2RenderingContext.createBuffer"
 16157  // in a try/catch block and returns (_, err, ok = false) when it went through
 16158  // the catch clause.
 16159  func (this WebGL2RenderingContext) TryCreateBuffer() (ret WebGLBuffer, exception js.Any, ok bool) {
 16160  	ok = js.True == bindings.TryWebGL2RenderingContextCreateBuffer(
 16161  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16162  	)
 16163  
 16164  	return
 16165  }
 16166  
 16167  // HasFuncCreateFramebuffer returns true if the method "WebGL2RenderingContext.createFramebuffer" exists.
 16168  func (this WebGL2RenderingContext) HasFuncCreateFramebuffer() bool {
 16169  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateFramebuffer(
 16170  		this.ref,
 16171  	)
 16172  }
 16173  
 16174  // FuncCreateFramebuffer returns the method "WebGL2RenderingContext.createFramebuffer".
 16175  func (this WebGL2RenderingContext) FuncCreateFramebuffer() (fn js.Func[func() WebGLFramebuffer]) {
 16176  	bindings.FuncWebGL2RenderingContextCreateFramebuffer(
 16177  		this.ref, js.Pointer(&fn),
 16178  	)
 16179  	return
 16180  }
 16181  
 16182  // CreateFramebuffer calls the method "WebGL2RenderingContext.createFramebuffer".
 16183  func (this WebGL2RenderingContext) CreateFramebuffer() (ret WebGLFramebuffer) {
 16184  	bindings.CallWebGL2RenderingContextCreateFramebuffer(
 16185  		this.ref, js.Pointer(&ret),
 16186  	)
 16187  
 16188  	return
 16189  }
 16190  
 16191  // TryCreateFramebuffer calls the method "WebGL2RenderingContext.createFramebuffer"
 16192  // in a try/catch block and returns (_, err, ok = false) when it went through
 16193  // the catch clause.
 16194  func (this WebGL2RenderingContext) TryCreateFramebuffer() (ret WebGLFramebuffer, exception js.Any, ok bool) {
 16195  	ok = js.True == bindings.TryWebGL2RenderingContextCreateFramebuffer(
 16196  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16197  	)
 16198  
 16199  	return
 16200  }
 16201  
 16202  // HasFuncCreateProgram returns true if the method "WebGL2RenderingContext.createProgram" exists.
 16203  func (this WebGL2RenderingContext) HasFuncCreateProgram() bool {
 16204  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateProgram(
 16205  		this.ref,
 16206  	)
 16207  }
 16208  
 16209  // FuncCreateProgram returns the method "WebGL2RenderingContext.createProgram".
 16210  func (this WebGL2RenderingContext) FuncCreateProgram() (fn js.Func[func() WebGLProgram]) {
 16211  	bindings.FuncWebGL2RenderingContextCreateProgram(
 16212  		this.ref, js.Pointer(&fn),
 16213  	)
 16214  	return
 16215  }
 16216  
 16217  // CreateProgram calls the method "WebGL2RenderingContext.createProgram".
 16218  func (this WebGL2RenderingContext) CreateProgram() (ret WebGLProgram) {
 16219  	bindings.CallWebGL2RenderingContextCreateProgram(
 16220  		this.ref, js.Pointer(&ret),
 16221  	)
 16222  
 16223  	return
 16224  }
 16225  
 16226  // TryCreateProgram calls the method "WebGL2RenderingContext.createProgram"
 16227  // in a try/catch block and returns (_, err, ok = false) when it went through
 16228  // the catch clause.
 16229  func (this WebGL2RenderingContext) TryCreateProgram() (ret WebGLProgram, exception js.Any, ok bool) {
 16230  	ok = js.True == bindings.TryWebGL2RenderingContextCreateProgram(
 16231  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16232  	)
 16233  
 16234  	return
 16235  }
 16236  
 16237  // HasFuncCreateRenderbuffer returns true if the method "WebGL2RenderingContext.createRenderbuffer" exists.
 16238  func (this WebGL2RenderingContext) HasFuncCreateRenderbuffer() bool {
 16239  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateRenderbuffer(
 16240  		this.ref,
 16241  	)
 16242  }
 16243  
 16244  // FuncCreateRenderbuffer returns the method "WebGL2RenderingContext.createRenderbuffer".
 16245  func (this WebGL2RenderingContext) FuncCreateRenderbuffer() (fn js.Func[func() WebGLRenderbuffer]) {
 16246  	bindings.FuncWebGL2RenderingContextCreateRenderbuffer(
 16247  		this.ref, js.Pointer(&fn),
 16248  	)
 16249  	return
 16250  }
 16251  
 16252  // CreateRenderbuffer calls the method "WebGL2RenderingContext.createRenderbuffer".
 16253  func (this WebGL2RenderingContext) CreateRenderbuffer() (ret WebGLRenderbuffer) {
 16254  	bindings.CallWebGL2RenderingContextCreateRenderbuffer(
 16255  		this.ref, js.Pointer(&ret),
 16256  	)
 16257  
 16258  	return
 16259  }
 16260  
 16261  // TryCreateRenderbuffer calls the method "WebGL2RenderingContext.createRenderbuffer"
 16262  // in a try/catch block and returns (_, err, ok = false) when it went through
 16263  // the catch clause.
 16264  func (this WebGL2RenderingContext) TryCreateRenderbuffer() (ret WebGLRenderbuffer, exception js.Any, ok bool) {
 16265  	ok = js.True == bindings.TryWebGL2RenderingContextCreateRenderbuffer(
 16266  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16267  	)
 16268  
 16269  	return
 16270  }
 16271  
 16272  // HasFuncCreateShader returns true if the method "WebGL2RenderingContext.createShader" exists.
 16273  func (this WebGL2RenderingContext) HasFuncCreateShader() bool {
 16274  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateShader(
 16275  		this.ref,
 16276  	)
 16277  }
 16278  
 16279  // FuncCreateShader returns the method "WebGL2RenderingContext.createShader".
 16280  func (this WebGL2RenderingContext) FuncCreateShader() (fn js.Func[func(typ GLenum) WebGLShader]) {
 16281  	bindings.FuncWebGL2RenderingContextCreateShader(
 16282  		this.ref, js.Pointer(&fn),
 16283  	)
 16284  	return
 16285  }
 16286  
 16287  // CreateShader calls the method "WebGL2RenderingContext.createShader".
 16288  func (this WebGL2RenderingContext) CreateShader(typ GLenum) (ret WebGLShader) {
 16289  	bindings.CallWebGL2RenderingContextCreateShader(
 16290  		this.ref, js.Pointer(&ret),
 16291  		uint32(typ),
 16292  	)
 16293  
 16294  	return
 16295  }
 16296  
 16297  // TryCreateShader calls the method "WebGL2RenderingContext.createShader"
 16298  // in a try/catch block and returns (_, err, ok = false) when it went through
 16299  // the catch clause.
 16300  func (this WebGL2RenderingContext) TryCreateShader(typ GLenum) (ret WebGLShader, exception js.Any, ok bool) {
 16301  	ok = js.True == bindings.TryWebGL2RenderingContextCreateShader(
 16302  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16303  		uint32(typ),
 16304  	)
 16305  
 16306  	return
 16307  }
 16308  
 16309  // HasFuncCreateTexture returns true if the method "WebGL2RenderingContext.createTexture" exists.
 16310  func (this WebGL2RenderingContext) HasFuncCreateTexture() bool {
 16311  	return js.True == bindings.HasFuncWebGL2RenderingContextCreateTexture(
 16312  		this.ref,
 16313  	)
 16314  }
 16315  
 16316  // FuncCreateTexture returns the method "WebGL2RenderingContext.createTexture".
 16317  func (this WebGL2RenderingContext) FuncCreateTexture() (fn js.Func[func() WebGLTexture]) {
 16318  	bindings.FuncWebGL2RenderingContextCreateTexture(
 16319  		this.ref, js.Pointer(&fn),
 16320  	)
 16321  	return
 16322  }
 16323  
 16324  // CreateTexture calls the method "WebGL2RenderingContext.createTexture".
 16325  func (this WebGL2RenderingContext) CreateTexture() (ret WebGLTexture) {
 16326  	bindings.CallWebGL2RenderingContextCreateTexture(
 16327  		this.ref, js.Pointer(&ret),
 16328  	)
 16329  
 16330  	return
 16331  }
 16332  
 16333  // TryCreateTexture calls the method "WebGL2RenderingContext.createTexture"
 16334  // in a try/catch block and returns (_, err, ok = false) when it went through
 16335  // the catch clause.
 16336  func (this WebGL2RenderingContext) TryCreateTexture() (ret WebGLTexture, exception js.Any, ok bool) {
 16337  	ok = js.True == bindings.TryWebGL2RenderingContextCreateTexture(
 16338  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16339  	)
 16340  
 16341  	return
 16342  }
 16343  
 16344  // HasFuncCullFace returns true if the method "WebGL2RenderingContext.cullFace" exists.
 16345  func (this WebGL2RenderingContext) HasFuncCullFace() bool {
 16346  	return js.True == bindings.HasFuncWebGL2RenderingContextCullFace(
 16347  		this.ref,
 16348  	)
 16349  }
 16350  
 16351  // FuncCullFace returns the method "WebGL2RenderingContext.cullFace".
 16352  func (this WebGL2RenderingContext) FuncCullFace() (fn js.Func[func(mode GLenum)]) {
 16353  	bindings.FuncWebGL2RenderingContextCullFace(
 16354  		this.ref, js.Pointer(&fn),
 16355  	)
 16356  	return
 16357  }
 16358  
 16359  // CullFace calls the method "WebGL2RenderingContext.cullFace".
 16360  func (this WebGL2RenderingContext) CullFace(mode GLenum) (ret js.Void) {
 16361  	bindings.CallWebGL2RenderingContextCullFace(
 16362  		this.ref, js.Pointer(&ret),
 16363  		uint32(mode),
 16364  	)
 16365  
 16366  	return
 16367  }
 16368  
 16369  // TryCullFace calls the method "WebGL2RenderingContext.cullFace"
 16370  // in a try/catch block and returns (_, err, ok = false) when it went through
 16371  // the catch clause.
 16372  func (this WebGL2RenderingContext) TryCullFace(mode GLenum) (ret js.Void, exception js.Any, ok bool) {
 16373  	ok = js.True == bindings.TryWebGL2RenderingContextCullFace(
 16374  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16375  		uint32(mode),
 16376  	)
 16377  
 16378  	return
 16379  }
 16380  
 16381  // HasFuncDeleteBuffer returns true if the method "WebGL2RenderingContext.deleteBuffer" exists.
 16382  func (this WebGL2RenderingContext) HasFuncDeleteBuffer() bool {
 16383  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteBuffer(
 16384  		this.ref,
 16385  	)
 16386  }
 16387  
 16388  // FuncDeleteBuffer returns the method "WebGL2RenderingContext.deleteBuffer".
 16389  func (this WebGL2RenderingContext) FuncDeleteBuffer() (fn js.Func[func(buffer WebGLBuffer)]) {
 16390  	bindings.FuncWebGL2RenderingContextDeleteBuffer(
 16391  		this.ref, js.Pointer(&fn),
 16392  	)
 16393  	return
 16394  }
 16395  
 16396  // DeleteBuffer calls the method "WebGL2RenderingContext.deleteBuffer".
 16397  func (this WebGL2RenderingContext) DeleteBuffer(buffer WebGLBuffer) (ret js.Void) {
 16398  	bindings.CallWebGL2RenderingContextDeleteBuffer(
 16399  		this.ref, js.Pointer(&ret),
 16400  		buffer.Ref(),
 16401  	)
 16402  
 16403  	return
 16404  }
 16405  
 16406  // TryDeleteBuffer calls the method "WebGL2RenderingContext.deleteBuffer"
 16407  // in a try/catch block and returns (_, err, ok = false) when it went through
 16408  // the catch clause.
 16409  func (this WebGL2RenderingContext) TryDeleteBuffer(buffer WebGLBuffer) (ret js.Void, exception js.Any, ok bool) {
 16410  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteBuffer(
 16411  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16412  		buffer.Ref(),
 16413  	)
 16414  
 16415  	return
 16416  }
 16417  
 16418  // HasFuncDeleteFramebuffer returns true if the method "WebGL2RenderingContext.deleteFramebuffer" exists.
 16419  func (this WebGL2RenderingContext) HasFuncDeleteFramebuffer() bool {
 16420  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteFramebuffer(
 16421  		this.ref,
 16422  	)
 16423  }
 16424  
 16425  // FuncDeleteFramebuffer returns the method "WebGL2RenderingContext.deleteFramebuffer".
 16426  func (this WebGL2RenderingContext) FuncDeleteFramebuffer() (fn js.Func[func(framebuffer WebGLFramebuffer)]) {
 16427  	bindings.FuncWebGL2RenderingContextDeleteFramebuffer(
 16428  		this.ref, js.Pointer(&fn),
 16429  	)
 16430  	return
 16431  }
 16432  
 16433  // DeleteFramebuffer calls the method "WebGL2RenderingContext.deleteFramebuffer".
 16434  func (this WebGL2RenderingContext) DeleteFramebuffer(framebuffer WebGLFramebuffer) (ret js.Void) {
 16435  	bindings.CallWebGL2RenderingContextDeleteFramebuffer(
 16436  		this.ref, js.Pointer(&ret),
 16437  		framebuffer.Ref(),
 16438  	)
 16439  
 16440  	return
 16441  }
 16442  
 16443  // TryDeleteFramebuffer calls the method "WebGL2RenderingContext.deleteFramebuffer"
 16444  // in a try/catch block and returns (_, err, ok = false) when it went through
 16445  // the catch clause.
 16446  func (this WebGL2RenderingContext) TryDeleteFramebuffer(framebuffer WebGLFramebuffer) (ret js.Void, exception js.Any, ok bool) {
 16447  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteFramebuffer(
 16448  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16449  		framebuffer.Ref(),
 16450  	)
 16451  
 16452  	return
 16453  }
 16454  
 16455  // HasFuncDeleteProgram returns true if the method "WebGL2RenderingContext.deleteProgram" exists.
 16456  func (this WebGL2RenderingContext) HasFuncDeleteProgram() bool {
 16457  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteProgram(
 16458  		this.ref,
 16459  	)
 16460  }
 16461  
 16462  // FuncDeleteProgram returns the method "WebGL2RenderingContext.deleteProgram".
 16463  func (this WebGL2RenderingContext) FuncDeleteProgram() (fn js.Func[func(program WebGLProgram)]) {
 16464  	bindings.FuncWebGL2RenderingContextDeleteProgram(
 16465  		this.ref, js.Pointer(&fn),
 16466  	)
 16467  	return
 16468  }
 16469  
 16470  // DeleteProgram calls the method "WebGL2RenderingContext.deleteProgram".
 16471  func (this WebGL2RenderingContext) DeleteProgram(program WebGLProgram) (ret js.Void) {
 16472  	bindings.CallWebGL2RenderingContextDeleteProgram(
 16473  		this.ref, js.Pointer(&ret),
 16474  		program.Ref(),
 16475  	)
 16476  
 16477  	return
 16478  }
 16479  
 16480  // TryDeleteProgram calls the method "WebGL2RenderingContext.deleteProgram"
 16481  // in a try/catch block and returns (_, err, ok = false) when it went through
 16482  // the catch clause.
 16483  func (this WebGL2RenderingContext) TryDeleteProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
 16484  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteProgram(
 16485  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16486  		program.Ref(),
 16487  	)
 16488  
 16489  	return
 16490  }
 16491  
 16492  // HasFuncDeleteRenderbuffer returns true if the method "WebGL2RenderingContext.deleteRenderbuffer" exists.
 16493  func (this WebGL2RenderingContext) HasFuncDeleteRenderbuffer() bool {
 16494  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteRenderbuffer(
 16495  		this.ref,
 16496  	)
 16497  }
 16498  
 16499  // FuncDeleteRenderbuffer returns the method "WebGL2RenderingContext.deleteRenderbuffer".
 16500  func (this WebGL2RenderingContext) FuncDeleteRenderbuffer() (fn js.Func[func(renderbuffer WebGLRenderbuffer)]) {
 16501  	bindings.FuncWebGL2RenderingContextDeleteRenderbuffer(
 16502  		this.ref, js.Pointer(&fn),
 16503  	)
 16504  	return
 16505  }
 16506  
 16507  // DeleteRenderbuffer calls the method "WebGL2RenderingContext.deleteRenderbuffer".
 16508  func (this WebGL2RenderingContext) DeleteRenderbuffer(renderbuffer WebGLRenderbuffer) (ret js.Void) {
 16509  	bindings.CallWebGL2RenderingContextDeleteRenderbuffer(
 16510  		this.ref, js.Pointer(&ret),
 16511  		renderbuffer.Ref(),
 16512  	)
 16513  
 16514  	return
 16515  }
 16516  
 16517  // TryDeleteRenderbuffer calls the method "WebGL2RenderingContext.deleteRenderbuffer"
 16518  // in a try/catch block and returns (_, err, ok = false) when it went through
 16519  // the catch clause.
 16520  func (this WebGL2RenderingContext) TryDeleteRenderbuffer(renderbuffer WebGLRenderbuffer) (ret js.Void, exception js.Any, ok bool) {
 16521  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteRenderbuffer(
 16522  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16523  		renderbuffer.Ref(),
 16524  	)
 16525  
 16526  	return
 16527  }
 16528  
 16529  // HasFuncDeleteShader returns true if the method "WebGL2RenderingContext.deleteShader" exists.
 16530  func (this WebGL2RenderingContext) HasFuncDeleteShader() bool {
 16531  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteShader(
 16532  		this.ref,
 16533  	)
 16534  }
 16535  
 16536  // FuncDeleteShader returns the method "WebGL2RenderingContext.deleteShader".
 16537  func (this WebGL2RenderingContext) FuncDeleteShader() (fn js.Func[func(shader WebGLShader)]) {
 16538  	bindings.FuncWebGL2RenderingContextDeleteShader(
 16539  		this.ref, js.Pointer(&fn),
 16540  	)
 16541  	return
 16542  }
 16543  
 16544  // DeleteShader calls the method "WebGL2RenderingContext.deleteShader".
 16545  func (this WebGL2RenderingContext) DeleteShader(shader WebGLShader) (ret js.Void) {
 16546  	bindings.CallWebGL2RenderingContextDeleteShader(
 16547  		this.ref, js.Pointer(&ret),
 16548  		shader.Ref(),
 16549  	)
 16550  
 16551  	return
 16552  }
 16553  
 16554  // TryDeleteShader calls the method "WebGL2RenderingContext.deleteShader"
 16555  // in a try/catch block and returns (_, err, ok = false) when it went through
 16556  // the catch clause.
 16557  func (this WebGL2RenderingContext) TryDeleteShader(shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
 16558  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteShader(
 16559  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16560  		shader.Ref(),
 16561  	)
 16562  
 16563  	return
 16564  }
 16565  
 16566  // HasFuncDeleteTexture returns true if the method "WebGL2RenderingContext.deleteTexture" exists.
 16567  func (this WebGL2RenderingContext) HasFuncDeleteTexture() bool {
 16568  	return js.True == bindings.HasFuncWebGL2RenderingContextDeleteTexture(
 16569  		this.ref,
 16570  	)
 16571  }
 16572  
 16573  // FuncDeleteTexture returns the method "WebGL2RenderingContext.deleteTexture".
 16574  func (this WebGL2RenderingContext) FuncDeleteTexture() (fn js.Func[func(texture WebGLTexture)]) {
 16575  	bindings.FuncWebGL2RenderingContextDeleteTexture(
 16576  		this.ref, js.Pointer(&fn),
 16577  	)
 16578  	return
 16579  }
 16580  
 16581  // DeleteTexture calls the method "WebGL2RenderingContext.deleteTexture".
 16582  func (this WebGL2RenderingContext) DeleteTexture(texture WebGLTexture) (ret js.Void) {
 16583  	bindings.CallWebGL2RenderingContextDeleteTexture(
 16584  		this.ref, js.Pointer(&ret),
 16585  		texture.Ref(),
 16586  	)
 16587  
 16588  	return
 16589  }
 16590  
 16591  // TryDeleteTexture calls the method "WebGL2RenderingContext.deleteTexture"
 16592  // in a try/catch block and returns (_, err, ok = false) when it went through
 16593  // the catch clause.
 16594  func (this WebGL2RenderingContext) TryDeleteTexture(texture WebGLTexture) (ret js.Void, exception js.Any, ok bool) {
 16595  	ok = js.True == bindings.TryWebGL2RenderingContextDeleteTexture(
 16596  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16597  		texture.Ref(),
 16598  	)
 16599  
 16600  	return
 16601  }
 16602  
 16603  // HasFuncDepthFunc returns true if the method "WebGL2RenderingContext.depthFunc" exists.
 16604  func (this WebGL2RenderingContext) HasFuncDepthFunc() bool {
 16605  	return js.True == bindings.HasFuncWebGL2RenderingContextDepthFunc(
 16606  		this.ref,
 16607  	)
 16608  }
 16609  
 16610  // FuncDepthFunc returns the method "WebGL2RenderingContext.depthFunc".
 16611  func (this WebGL2RenderingContext) FuncDepthFunc() (fn js.Func[func(fn GLenum)]) {
 16612  	bindings.FuncWebGL2RenderingContextDepthFunc(
 16613  		this.ref, js.Pointer(&fn),
 16614  	)
 16615  	return
 16616  }
 16617  
 16618  // DepthFunc calls the method "WebGL2RenderingContext.depthFunc".
 16619  func (this WebGL2RenderingContext) DepthFunc(fn GLenum) (ret js.Void) {
 16620  	bindings.CallWebGL2RenderingContextDepthFunc(
 16621  		this.ref, js.Pointer(&ret),
 16622  		uint32(fn),
 16623  	)
 16624  
 16625  	return
 16626  }
 16627  
 16628  // TryDepthFunc calls the method "WebGL2RenderingContext.depthFunc"
 16629  // in a try/catch block and returns (_, err, ok = false) when it went through
 16630  // the catch clause.
 16631  func (this WebGL2RenderingContext) TryDepthFunc(fn GLenum) (ret js.Void, exception js.Any, ok bool) {
 16632  	ok = js.True == bindings.TryWebGL2RenderingContextDepthFunc(
 16633  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16634  		uint32(fn),
 16635  	)
 16636  
 16637  	return
 16638  }
 16639  
 16640  // HasFuncDepthMask returns true if the method "WebGL2RenderingContext.depthMask" exists.
 16641  func (this WebGL2RenderingContext) HasFuncDepthMask() bool {
 16642  	return js.True == bindings.HasFuncWebGL2RenderingContextDepthMask(
 16643  		this.ref,
 16644  	)
 16645  }
 16646  
 16647  // FuncDepthMask returns the method "WebGL2RenderingContext.depthMask".
 16648  func (this WebGL2RenderingContext) FuncDepthMask() (fn js.Func[func(flag GLboolean)]) {
 16649  	bindings.FuncWebGL2RenderingContextDepthMask(
 16650  		this.ref, js.Pointer(&fn),
 16651  	)
 16652  	return
 16653  }
 16654  
 16655  // DepthMask calls the method "WebGL2RenderingContext.depthMask".
 16656  func (this WebGL2RenderingContext) DepthMask(flag GLboolean) (ret js.Void) {
 16657  	bindings.CallWebGL2RenderingContextDepthMask(
 16658  		this.ref, js.Pointer(&ret),
 16659  		js.Bool(bool(flag)),
 16660  	)
 16661  
 16662  	return
 16663  }
 16664  
 16665  // TryDepthMask calls the method "WebGL2RenderingContext.depthMask"
 16666  // in a try/catch block and returns (_, err, ok = false) when it went through
 16667  // the catch clause.
 16668  func (this WebGL2RenderingContext) TryDepthMask(flag GLboolean) (ret js.Void, exception js.Any, ok bool) {
 16669  	ok = js.True == bindings.TryWebGL2RenderingContextDepthMask(
 16670  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16671  		js.Bool(bool(flag)),
 16672  	)
 16673  
 16674  	return
 16675  }
 16676  
 16677  // HasFuncDepthRange returns true if the method "WebGL2RenderingContext.depthRange" exists.
 16678  func (this WebGL2RenderingContext) HasFuncDepthRange() bool {
 16679  	return js.True == bindings.HasFuncWebGL2RenderingContextDepthRange(
 16680  		this.ref,
 16681  	)
 16682  }
 16683  
 16684  // FuncDepthRange returns the method "WebGL2RenderingContext.depthRange".
 16685  func (this WebGL2RenderingContext) FuncDepthRange() (fn js.Func[func(zNear GLclampf, zFar GLclampf)]) {
 16686  	bindings.FuncWebGL2RenderingContextDepthRange(
 16687  		this.ref, js.Pointer(&fn),
 16688  	)
 16689  	return
 16690  }
 16691  
 16692  // DepthRange calls the method "WebGL2RenderingContext.depthRange".
 16693  func (this WebGL2RenderingContext) DepthRange(zNear GLclampf, zFar GLclampf) (ret js.Void) {
 16694  	bindings.CallWebGL2RenderingContextDepthRange(
 16695  		this.ref, js.Pointer(&ret),
 16696  		float32(zNear),
 16697  		float32(zFar),
 16698  	)
 16699  
 16700  	return
 16701  }
 16702  
 16703  // TryDepthRange calls the method "WebGL2RenderingContext.depthRange"
 16704  // in a try/catch block and returns (_, err, ok = false) when it went through
 16705  // the catch clause.
 16706  func (this WebGL2RenderingContext) TryDepthRange(zNear GLclampf, zFar GLclampf) (ret js.Void, exception js.Any, ok bool) {
 16707  	ok = js.True == bindings.TryWebGL2RenderingContextDepthRange(
 16708  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16709  		float32(zNear),
 16710  		float32(zFar),
 16711  	)
 16712  
 16713  	return
 16714  }
 16715  
 16716  // HasFuncDetachShader returns true if the method "WebGL2RenderingContext.detachShader" exists.
 16717  func (this WebGL2RenderingContext) HasFuncDetachShader() bool {
 16718  	return js.True == bindings.HasFuncWebGL2RenderingContextDetachShader(
 16719  		this.ref,
 16720  	)
 16721  }
 16722  
 16723  // FuncDetachShader returns the method "WebGL2RenderingContext.detachShader".
 16724  func (this WebGL2RenderingContext) FuncDetachShader() (fn js.Func[func(program WebGLProgram, shader WebGLShader)]) {
 16725  	bindings.FuncWebGL2RenderingContextDetachShader(
 16726  		this.ref, js.Pointer(&fn),
 16727  	)
 16728  	return
 16729  }
 16730  
 16731  // DetachShader calls the method "WebGL2RenderingContext.detachShader".
 16732  func (this WebGL2RenderingContext) DetachShader(program WebGLProgram, shader WebGLShader) (ret js.Void) {
 16733  	bindings.CallWebGL2RenderingContextDetachShader(
 16734  		this.ref, js.Pointer(&ret),
 16735  		program.Ref(),
 16736  		shader.Ref(),
 16737  	)
 16738  
 16739  	return
 16740  }
 16741  
 16742  // TryDetachShader calls the method "WebGL2RenderingContext.detachShader"
 16743  // in a try/catch block and returns (_, err, ok = false) when it went through
 16744  // the catch clause.
 16745  func (this WebGL2RenderingContext) TryDetachShader(program WebGLProgram, shader WebGLShader) (ret js.Void, exception js.Any, ok bool) {
 16746  	ok = js.True == bindings.TryWebGL2RenderingContextDetachShader(
 16747  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16748  		program.Ref(),
 16749  		shader.Ref(),
 16750  	)
 16751  
 16752  	return
 16753  }
 16754  
 16755  // HasFuncDisable returns true if the method "WebGL2RenderingContext.disable" exists.
 16756  func (this WebGL2RenderingContext) HasFuncDisable() bool {
 16757  	return js.True == bindings.HasFuncWebGL2RenderingContextDisable(
 16758  		this.ref,
 16759  	)
 16760  }
 16761  
 16762  // FuncDisable returns the method "WebGL2RenderingContext.disable".
 16763  func (this WebGL2RenderingContext) FuncDisable() (fn js.Func[func(cap GLenum)]) {
 16764  	bindings.FuncWebGL2RenderingContextDisable(
 16765  		this.ref, js.Pointer(&fn),
 16766  	)
 16767  	return
 16768  }
 16769  
 16770  // Disable calls the method "WebGL2RenderingContext.disable".
 16771  func (this WebGL2RenderingContext) Disable(cap GLenum) (ret js.Void) {
 16772  	bindings.CallWebGL2RenderingContextDisable(
 16773  		this.ref, js.Pointer(&ret),
 16774  		uint32(cap),
 16775  	)
 16776  
 16777  	return
 16778  }
 16779  
 16780  // TryDisable calls the method "WebGL2RenderingContext.disable"
 16781  // in a try/catch block and returns (_, err, ok = false) when it went through
 16782  // the catch clause.
 16783  func (this WebGL2RenderingContext) TryDisable(cap GLenum) (ret js.Void, exception js.Any, ok bool) {
 16784  	ok = js.True == bindings.TryWebGL2RenderingContextDisable(
 16785  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16786  		uint32(cap),
 16787  	)
 16788  
 16789  	return
 16790  }
 16791  
 16792  // HasFuncDisableVertexAttribArray returns true if the method "WebGL2RenderingContext.disableVertexAttribArray" exists.
 16793  func (this WebGL2RenderingContext) HasFuncDisableVertexAttribArray() bool {
 16794  	return js.True == bindings.HasFuncWebGL2RenderingContextDisableVertexAttribArray(
 16795  		this.ref,
 16796  	)
 16797  }
 16798  
 16799  // FuncDisableVertexAttribArray returns the method "WebGL2RenderingContext.disableVertexAttribArray".
 16800  func (this WebGL2RenderingContext) FuncDisableVertexAttribArray() (fn js.Func[func(index GLuint)]) {
 16801  	bindings.FuncWebGL2RenderingContextDisableVertexAttribArray(
 16802  		this.ref, js.Pointer(&fn),
 16803  	)
 16804  	return
 16805  }
 16806  
 16807  // DisableVertexAttribArray calls the method "WebGL2RenderingContext.disableVertexAttribArray".
 16808  func (this WebGL2RenderingContext) DisableVertexAttribArray(index GLuint) (ret js.Void) {
 16809  	bindings.CallWebGL2RenderingContextDisableVertexAttribArray(
 16810  		this.ref, js.Pointer(&ret),
 16811  		uint32(index),
 16812  	)
 16813  
 16814  	return
 16815  }
 16816  
 16817  // TryDisableVertexAttribArray calls the method "WebGL2RenderingContext.disableVertexAttribArray"
 16818  // in a try/catch block and returns (_, err, ok = false) when it went through
 16819  // the catch clause.
 16820  func (this WebGL2RenderingContext) TryDisableVertexAttribArray(index GLuint) (ret js.Void, exception js.Any, ok bool) {
 16821  	ok = js.True == bindings.TryWebGL2RenderingContextDisableVertexAttribArray(
 16822  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16823  		uint32(index),
 16824  	)
 16825  
 16826  	return
 16827  }
 16828  
 16829  // HasFuncDrawArrays returns true if the method "WebGL2RenderingContext.drawArrays" exists.
 16830  func (this WebGL2RenderingContext) HasFuncDrawArrays() bool {
 16831  	return js.True == bindings.HasFuncWebGL2RenderingContextDrawArrays(
 16832  		this.ref,
 16833  	)
 16834  }
 16835  
 16836  // FuncDrawArrays returns the method "WebGL2RenderingContext.drawArrays".
 16837  func (this WebGL2RenderingContext) FuncDrawArrays() (fn js.Func[func(mode GLenum, first GLint, count GLsizei)]) {
 16838  	bindings.FuncWebGL2RenderingContextDrawArrays(
 16839  		this.ref, js.Pointer(&fn),
 16840  	)
 16841  	return
 16842  }
 16843  
 16844  // DrawArrays calls the method "WebGL2RenderingContext.drawArrays".
 16845  func (this WebGL2RenderingContext) DrawArrays(mode GLenum, first GLint, count GLsizei) (ret js.Void) {
 16846  	bindings.CallWebGL2RenderingContextDrawArrays(
 16847  		this.ref, js.Pointer(&ret),
 16848  		uint32(mode),
 16849  		int32(first),
 16850  		int32(count),
 16851  	)
 16852  
 16853  	return
 16854  }
 16855  
 16856  // TryDrawArrays calls the method "WebGL2RenderingContext.drawArrays"
 16857  // in a try/catch block and returns (_, err, ok = false) when it went through
 16858  // the catch clause.
 16859  func (this WebGL2RenderingContext) TryDrawArrays(mode GLenum, first GLint, count GLsizei) (ret js.Void, exception js.Any, ok bool) {
 16860  	ok = js.True == bindings.TryWebGL2RenderingContextDrawArrays(
 16861  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16862  		uint32(mode),
 16863  		int32(first),
 16864  		int32(count),
 16865  	)
 16866  
 16867  	return
 16868  }
 16869  
 16870  // HasFuncDrawElements returns true if the method "WebGL2RenderingContext.drawElements" exists.
 16871  func (this WebGL2RenderingContext) HasFuncDrawElements() bool {
 16872  	return js.True == bindings.HasFuncWebGL2RenderingContextDrawElements(
 16873  		this.ref,
 16874  	)
 16875  }
 16876  
 16877  // FuncDrawElements returns the method "WebGL2RenderingContext.drawElements".
 16878  func (this WebGL2RenderingContext) FuncDrawElements() (fn js.Func[func(mode GLenum, count GLsizei, typ GLenum, offset GLintptr)]) {
 16879  	bindings.FuncWebGL2RenderingContextDrawElements(
 16880  		this.ref, js.Pointer(&fn),
 16881  	)
 16882  	return
 16883  }
 16884  
 16885  // DrawElements calls the method "WebGL2RenderingContext.drawElements".
 16886  func (this WebGL2RenderingContext) DrawElements(mode GLenum, count GLsizei, typ GLenum, offset GLintptr) (ret js.Void) {
 16887  	bindings.CallWebGL2RenderingContextDrawElements(
 16888  		this.ref, js.Pointer(&ret),
 16889  		uint32(mode),
 16890  		int32(count),
 16891  		uint32(typ),
 16892  		float64(offset),
 16893  	)
 16894  
 16895  	return
 16896  }
 16897  
 16898  // TryDrawElements calls the method "WebGL2RenderingContext.drawElements"
 16899  // in a try/catch block and returns (_, err, ok = false) when it went through
 16900  // the catch clause.
 16901  func (this WebGL2RenderingContext) TryDrawElements(mode GLenum, count GLsizei, typ GLenum, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 16902  	ok = js.True == bindings.TryWebGL2RenderingContextDrawElements(
 16903  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16904  		uint32(mode),
 16905  		int32(count),
 16906  		uint32(typ),
 16907  		float64(offset),
 16908  	)
 16909  
 16910  	return
 16911  }
 16912  
 16913  // HasFuncEnable returns true if the method "WebGL2RenderingContext.enable" exists.
 16914  func (this WebGL2RenderingContext) HasFuncEnable() bool {
 16915  	return js.True == bindings.HasFuncWebGL2RenderingContextEnable(
 16916  		this.ref,
 16917  	)
 16918  }
 16919  
 16920  // FuncEnable returns the method "WebGL2RenderingContext.enable".
 16921  func (this WebGL2RenderingContext) FuncEnable() (fn js.Func[func(cap GLenum)]) {
 16922  	bindings.FuncWebGL2RenderingContextEnable(
 16923  		this.ref, js.Pointer(&fn),
 16924  	)
 16925  	return
 16926  }
 16927  
 16928  // Enable calls the method "WebGL2RenderingContext.enable".
 16929  func (this WebGL2RenderingContext) Enable(cap GLenum) (ret js.Void) {
 16930  	bindings.CallWebGL2RenderingContextEnable(
 16931  		this.ref, js.Pointer(&ret),
 16932  		uint32(cap),
 16933  	)
 16934  
 16935  	return
 16936  }
 16937  
 16938  // TryEnable calls the method "WebGL2RenderingContext.enable"
 16939  // in a try/catch block and returns (_, err, ok = false) when it went through
 16940  // the catch clause.
 16941  func (this WebGL2RenderingContext) TryEnable(cap GLenum) (ret js.Void, exception js.Any, ok bool) {
 16942  	ok = js.True == bindings.TryWebGL2RenderingContextEnable(
 16943  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16944  		uint32(cap),
 16945  	)
 16946  
 16947  	return
 16948  }
 16949  
 16950  // HasFuncEnableVertexAttribArray returns true if the method "WebGL2RenderingContext.enableVertexAttribArray" exists.
 16951  func (this WebGL2RenderingContext) HasFuncEnableVertexAttribArray() bool {
 16952  	return js.True == bindings.HasFuncWebGL2RenderingContextEnableVertexAttribArray(
 16953  		this.ref,
 16954  	)
 16955  }
 16956  
 16957  // FuncEnableVertexAttribArray returns the method "WebGL2RenderingContext.enableVertexAttribArray".
 16958  func (this WebGL2RenderingContext) FuncEnableVertexAttribArray() (fn js.Func[func(index GLuint)]) {
 16959  	bindings.FuncWebGL2RenderingContextEnableVertexAttribArray(
 16960  		this.ref, js.Pointer(&fn),
 16961  	)
 16962  	return
 16963  }
 16964  
 16965  // EnableVertexAttribArray calls the method "WebGL2RenderingContext.enableVertexAttribArray".
 16966  func (this WebGL2RenderingContext) EnableVertexAttribArray(index GLuint) (ret js.Void) {
 16967  	bindings.CallWebGL2RenderingContextEnableVertexAttribArray(
 16968  		this.ref, js.Pointer(&ret),
 16969  		uint32(index),
 16970  	)
 16971  
 16972  	return
 16973  }
 16974  
 16975  // TryEnableVertexAttribArray calls the method "WebGL2RenderingContext.enableVertexAttribArray"
 16976  // in a try/catch block and returns (_, err, ok = false) when it went through
 16977  // the catch clause.
 16978  func (this WebGL2RenderingContext) TryEnableVertexAttribArray(index GLuint) (ret js.Void, exception js.Any, ok bool) {
 16979  	ok = js.True == bindings.TryWebGL2RenderingContextEnableVertexAttribArray(
 16980  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 16981  		uint32(index),
 16982  	)
 16983  
 16984  	return
 16985  }
 16986  
 16987  // HasFuncFinish returns true if the method "WebGL2RenderingContext.finish" exists.
 16988  func (this WebGL2RenderingContext) HasFuncFinish() bool {
 16989  	return js.True == bindings.HasFuncWebGL2RenderingContextFinish(
 16990  		this.ref,
 16991  	)
 16992  }
 16993  
 16994  // FuncFinish returns the method "WebGL2RenderingContext.finish".
 16995  func (this WebGL2RenderingContext) FuncFinish() (fn js.Func[func()]) {
 16996  	bindings.FuncWebGL2RenderingContextFinish(
 16997  		this.ref, js.Pointer(&fn),
 16998  	)
 16999  	return
 17000  }
 17001  
 17002  // Finish calls the method "WebGL2RenderingContext.finish".
 17003  func (this WebGL2RenderingContext) Finish() (ret js.Void) {
 17004  	bindings.CallWebGL2RenderingContextFinish(
 17005  		this.ref, js.Pointer(&ret),
 17006  	)
 17007  
 17008  	return
 17009  }
 17010  
 17011  // TryFinish calls the method "WebGL2RenderingContext.finish"
 17012  // in a try/catch block and returns (_, err, ok = false) when it went through
 17013  // the catch clause.
 17014  func (this WebGL2RenderingContext) TryFinish() (ret js.Void, exception js.Any, ok bool) {
 17015  	ok = js.True == bindings.TryWebGL2RenderingContextFinish(
 17016  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17017  	)
 17018  
 17019  	return
 17020  }
 17021  
 17022  // HasFuncFlush returns true if the method "WebGL2RenderingContext.flush" exists.
 17023  func (this WebGL2RenderingContext) HasFuncFlush() bool {
 17024  	return js.True == bindings.HasFuncWebGL2RenderingContextFlush(
 17025  		this.ref,
 17026  	)
 17027  }
 17028  
 17029  // FuncFlush returns the method "WebGL2RenderingContext.flush".
 17030  func (this WebGL2RenderingContext) FuncFlush() (fn js.Func[func()]) {
 17031  	bindings.FuncWebGL2RenderingContextFlush(
 17032  		this.ref, js.Pointer(&fn),
 17033  	)
 17034  	return
 17035  }
 17036  
 17037  // Flush calls the method "WebGL2RenderingContext.flush".
 17038  func (this WebGL2RenderingContext) Flush() (ret js.Void) {
 17039  	bindings.CallWebGL2RenderingContextFlush(
 17040  		this.ref, js.Pointer(&ret),
 17041  	)
 17042  
 17043  	return
 17044  }
 17045  
 17046  // TryFlush calls the method "WebGL2RenderingContext.flush"
 17047  // in a try/catch block and returns (_, err, ok = false) when it went through
 17048  // the catch clause.
 17049  func (this WebGL2RenderingContext) TryFlush() (ret js.Void, exception js.Any, ok bool) {
 17050  	ok = js.True == bindings.TryWebGL2RenderingContextFlush(
 17051  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17052  	)
 17053  
 17054  	return
 17055  }
 17056  
 17057  // HasFuncFramebufferRenderbuffer returns true if the method "WebGL2RenderingContext.framebufferRenderbuffer" exists.
 17058  func (this WebGL2RenderingContext) HasFuncFramebufferRenderbuffer() bool {
 17059  	return js.True == bindings.HasFuncWebGL2RenderingContextFramebufferRenderbuffer(
 17060  		this.ref,
 17061  	)
 17062  }
 17063  
 17064  // FuncFramebufferRenderbuffer returns the method "WebGL2RenderingContext.framebufferRenderbuffer".
 17065  func (this WebGL2RenderingContext) FuncFramebufferRenderbuffer() (fn js.Func[func(target GLenum, attachment GLenum, renderbuffertarget GLenum, renderbuffer WebGLRenderbuffer)]) {
 17066  	bindings.FuncWebGL2RenderingContextFramebufferRenderbuffer(
 17067  		this.ref, js.Pointer(&fn),
 17068  	)
 17069  	return
 17070  }
 17071  
 17072  // FramebufferRenderbuffer calls the method "WebGL2RenderingContext.framebufferRenderbuffer".
 17073  func (this WebGL2RenderingContext) FramebufferRenderbuffer(target GLenum, attachment GLenum, renderbuffertarget GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void) {
 17074  	bindings.CallWebGL2RenderingContextFramebufferRenderbuffer(
 17075  		this.ref, js.Pointer(&ret),
 17076  		uint32(target),
 17077  		uint32(attachment),
 17078  		uint32(renderbuffertarget),
 17079  		renderbuffer.Ref(),
 17080  	)
 17081  
 17082  	return
 17083  }
 17084  
 17085  // TryFramebufferRenderbuffer calls the method "WebGL2RenderingContext.framebufferRenderbuffer"
 17086  // in a try/catch block and returns (_, err, ok = false) when it went through
 17087  // the catch clause.
 17088  func (this WebGL2RenderingContext) TryFramebufferRenderbuffer(target GLenum, attachment GLenum, renderbuffertarget GLenum, renderbuffer WebGLRenderbuffer) (ret js.Void, exception js.Any, ok bool) {
 17089  	ok = js.True == bindings.TryWebGL2RenderingContextFramebufferRenderbuffer(
 17090  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17091  		uint32(target),
 17092  		uint32(attachment),
 17093  		uint32(renderbuffertarget),
 17094  		renderbuffer.Ref(),
 17095  	)
 17096  
 17097  	return
 17098  }
 17099  
 17100  // HasFuncFramebufferTexture2D returns true if the method "WebGL2RenderingContext.framebufferTexture2D" exists.
 17101  func (this WebGL2RenderingContext) HasFuncFramebufferTexture2D() bool {
 17102  	return js.True == bindings.HasFuncWebGL2RenderingContextFramebufferTexture2D(
 17103  		this.ref,
 17104  	)
 17105  }
 17106  
 17107  // FuncFramebufferTexture2D returns the method "WebGL2RenderingContext.framebufferTexture2D".
 17108  func (this WebGL2RenderingContext) FuncFramebufferTexture2D() (fn js.Func[func(target GLenum, attachment GLenum, textarget GLenum, texture WebGLTexture, level GLint)]) {
 17109  	bindings.FuncWebGL2RenderingContextFramebufferTexture2D(
 17110  		this.ref, js.Pointer(&fn),
 17111  	)
 17112  	return
 17113  }
 17114  
 17115  // FramebufferTexture2D calls the method "WebGL2RenderingContext.framebufferTexture2D".
 17116  func (this WebGL2RenderingContext) FramebufferTexture2D(target GLenum, attachment GLenum, textarget GLenum, texture WebGLTexture, level GLint) (ret js.Void) {
 17117  	bindings.CallWebGL2RenderingContextFramebufferTexture2D(
 17118  		this.ref, js.Pointer(&ret),
 17119  		uint32(target),
 17120  		uint32(attachment),
 17121  		uint32(textarget),
 17122  		texture.Ref(),
 17123  		int32(level),
 17124  	)
 17125  
 17126  	return
 17127  }
 17128  
 17129  // TryFramebufferTexture2D calls the method "WebGL2RenderingContext.framebufferTexture2D"
 17130  // in a try/catch block and returns (_, err, ok = false) when it went through
 17131  // the catch clause.
 17132  func (this WebGL2RenderingContext) TryFramebufferTexture2D(target GLenum, attachment GLenum, textarget GLenum, texture WebGLTexture, level GLint) (ret js.Void, exception js.Any, ok bool) {
 17133  	ok = js.True == bindings.TryWebGL2RenderingContextFramebufferTexture2D(
 17134  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17135  		uint32(target),
 17136  		uint32(attachment),
 17137  		uint32(textarget),
 17138  		texture.Ref(),
 17139  		int32(level),
 17140  	)
 17141  
 17142  	return
 17143  }
 17144  
 17145  // HasFuncFrontFace returns true if the method "WebGL2RenderingContext.frontFace" exists.
 17146  func (this WebGL2RenderingContext) HasFuncFrontFace() bool {
 17147  	return js.True == bindings.HasFuncWebGL2RenderingContextFrontFace(
 17148  		this.ref,
 17149  	)
 17150  }
 17151  
 17152  // FuncFrontFace returns the method "WebGL2RenderingContext.frontFace".
 17153  func (this WebGL2RenderingContext) FuncFrontFace() (fn js.Func[func(mode GLenum)]) {
 17154  	bindings.FuncWebGL2RenderingContextFrontFace(
 17155  		this.ref, js.Pointer(&fn),
 17156  	)
 17157  	return
 17158  }
 17159  
 17160  // FrontFace calls the method "WebGL2RenderingContext.frontFace".
 17161  func (this WebGL2RenderingContext) FrontFace(mode GLenum) (ret js.Void) {
 17162  	bindings.CallWebGL2RenderingContextFrontFace(
 17163  		this.ref, js.Pointer(&ret),
 17164  		uint32(mode),
 17165  	)
 17166  
 17167  	return
 17168  }
 17169  
 17170  // TryFrontFace calls the method "WebGL2RenderingContext.frontFace"
 17171  // in a try/catch block and returns (_, err, ok = false) when it went through
 17172  // the catch clause.
 17173  func (this WebGL2RenderingContext) TryFrontFace(mode GLenum) (ret js.Void, exception js.Any, ok bool) {
 17174  	ok = js.True == bindings.TryWebGL2RenderingContextFrontFace(
 17175  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17176  		uint32(mode),
 17177  	)
 17178  
 17179  	return
 17180  }
 17181  
 17182  // HasFuncGenerateMipmap returns true if the method "WebGL2RenderingContext.generateMipmap" exists.
 17183  func (this WebGL2RenderingContext) HasFuncGenerateMipmap() bool {
 17184  	return js.True == bindings.HasFuncWebGL2RenderingContextGenerateMipmap(
 17185  		this.ref,
 17186  	)
 17187  }
 17188  
 17189  // FuncGenerateMipmap returns the method "WebGL2RenderingContext.generateMipmap".
 17190  func (this WebGL2RenderingContext) FuncGenerateMipmap() (fn js.Func[func(target GLenum)]) {
 17191  	bindings.FuncWebGL2RenderingContextGenerateMipmap(
 17192  		this.ref, js.Pointer(&fn),
 17193  	)
 17194  	return
 17195  }
 17196  
 17197  // GenerateMipmap calls the method "WebGL2RenderingContext.generateMipmap".
 17198  func (this WebGL2RenderingContext) GenerateMipmap(target GLenum) (ret js.Void) {
 17199  	bindings.CallWebGL2RenderingContextGenerateMipmap(
 17200  		this.ref, js.Pointer(&ret),
 17201  		uint32(target),
 17202  	)
 17203  
 17204  	return
 17205  }
 17206  
 17207  // TryGenerateMipmap calls the method "WebGL2RenderingContext.generateMipmap"
 17208  // in a try/catch block and returns (_, err, ok = false) when it went through
 17209  // the catch clause.
 17210  func (this WebGL2RenderingContext) TryGenerateMipmap(target GLenum) (ret js.Void, exception js.Any, ok bool) {
 17211  	ok = js.True == bindings.TryWebGL2RenderingContextGenerateMipmap(
 17212  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17213  		uint32(target),
 17214  	)
 17215  
 17216  	return
 17217  }
 17218  
 17219  // HasFuncGetActiveAttrib returns true if the method "WebGL2RenderingContext.getActiveAttrib" exists.
 17220  func (this WebGL2RenderingContext) HasFuncGetActiveAttrib() bool {
 17221  	return js.True == bindings.HasFuncWebGL2RenderingContextGetActiveAttrib(
 17222  		this.ref,
 17223  	)
 17224  }
 17225  
 17226  // FuncGetActiveAttrib returns the method "WebGL2RenderingContext.getActiveAttrib".
 17227  func (this WebGL2RenderingContext) FuncGetActiveAttrib() (fn js.Func[func(program WebGLProgram, index GLuint) WebGLActiveInfo]) {
 17228  	bindings.FuncWebGL2RenderingContextGetActiveAttrib(
 17229  		this.ref, js.Pointer(&fn),
 17230  	)
 17231  	return
 17232  }
 17233  
 17234  // GetActiveAttrib calls the method "WebGL2RenderingContext.getActiveAttrib".
 17235  func (this WebGL2RenderingContext) GetActiveAttrib(program WebGLProgram, index GLuint) (ret WebGLActiveInfo) {
 17236  	bindings.CallWebGL2RenderingContextGetActiveAttrib(
 17237  		this.ref, js.Pointer(&ret),
 17238  		program.Ref(),
 17239  		uint32(index),
 17240  	)
 17241  
 17242  	return
 17243  }
 17244  
 17245  // TryGetActiveAttrib calls the method "WebGL2RenderingContext.getActiveAttrib"
 17246  // in a try/catch block and returns (_, err, ok = false) when it went through
 17247  // the catch clause.
 17248  func (this WebGL2RenderingContext) TryGetActiveAttrib(program WebGLProgram, index GLuint) (ret WebGLActiveInfo, exception js.Any, ok bool) {
 17249  	ok = js.True == bindings.TryWebGL2RenderingContextGetActiveAttrib(
 17250  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17251  		program.Ref(),
 17252  		uint32(index),
 17253  	)
 17254  
 17255  	return
 17256  }
 17257  
 17258  // HasFuncGetActiveUniform returns true if the method "WebGL2RenderingContext.getActiveUniform" exists.
 17259  func (this WebGL2RenderingContext) HasFuncGetActiveUniform() bool {
 17260  	return js.True == bindings.HasFuncWebGL2RenderingContextGetActiveUniform(
 17261  		this.ref,
 17262  	)
 17263  }
 17264  
 17265  // FuncGetActiveUniform returns the method "WebGL2RenderingContext.getActiveUniform".
 17266  func (this WebGL2RenderingContext) FuncGetActiveUniform() (fn js.Func[func(program WebGLProgram, index GLuint) WebGLActiveInfo]) {
 17267  	bindings.FuncWebGL2RenderingContextGetActiveUniform(
 17268  		this.ref, js.Pointer(&fn),
 17269  	)
 17270  	return
 17271  }
 17272  
 17273  // GetActiveUniform calls the method "WebGL2RenderingContext.getActiveUniform".
 17274  func (this WebGL2RenderingContext) GetActiveUniform(program WebGLProgram, index GLuint) (ret WebGLActiveInfo) {
 17275  	bindings.CallWebGL2RenderingContextGetActiveUniform(
 17276  		this.ref, js.Pointer(&ret),
 17277  		program.Ref(),
 17278  		uint32(index),
 17279  	)
 17280  
 17281  	return
 17282  }
 17283  
 17284  // TryGetActiveUniform calls the method "WebGL2RenderingContext.getActiveUniform"
 17285  // in a try/catch block and returns (_, err, ok = false) when it went through
 17286  // the catch clause.
 17287  func (this WebGL2RenderingContext) TryGetActiveUniform(program WebGLProgram, index GLuint) (ret WebGLActiveInfo, exception js.Any, ok bool) {
 17288  	ok = js.True == bindings.TryWebGL2RenderingContextGetActiveUniform(
 17289  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17290  		program.Ref(),
 17291  		uint32(index),
 17292  	)
 17293  
 17294  	return
 17295  }
 17296  
 17297  // HasFuncGetAttachedShaders returns true if the method "WebGL2RenderingContext.getAttachedShaders" exists.
 17298  func (this WebGL2RenderingContext) HasFuncGetAttachedShaders() bool {
 17299  	return js.True == bindings.HasFuncWebGL2RenderingContextGetAttachedShaders(
 17300  		this.ref,
 17301  	)
 17302  }
 17303  
 17304  // FuncGetAttachedShaders returns the method "WebGL2RenderingContext.getAttachedShaders".
 17305  func (this WebGL2RenderingContext) FuncGetAttachedShaders() (fn js.Func[func(program WebGLProgram) js.Array[WebGLShader]]) {
 17306  	bindings.FuncWebGL2RenderingContextGetAttachedShaders(
 17307  		this.ref, js.Pointer(&fn),
 17308  	)
 17309  	return
 17310  }
 17311  
 17312  // GetAttachedShaders calls the method "WebGL2RenderingContext.getAttachedShaders".
 17313  func (this WebGL2RenderingContext) GetAttachedShaders(program WebGLProgram) (ret js.Array[WebGLShader]) {
 17314  	bindings.CallWebGL2RenderingContextGetAttachedShaders(
 17315  		this.ref, js.Pointer(&ret),
 17316  		program.Ref(),
 17317  	)
 17318  
 17319  	return
 17320  }
 17321  
 17322  // TryGetAttachedShaders calls the method "WebGL2RenderingContext.getAttachedShaders"
 17323  // in a try/catch block and returns (_, err, ok = false) when it went through
 17324  // the catch clause.
 17325  func (this WebGL2RenderingContext) TryGetAttachedShaders(program WebGLProgram) (ret js.Array[WebGLShader], exception js.Any, ok bool) {
 17326  	ok = js.True == bindings.TryWebGL2RenderingContextGetAttachedShaders(
 17327  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17328  		program.Ref(),
 17329  	)
 17330  
 17331  	return
 17332  }
 17333  
 17334  // HasFuncGetAttribLocation returns true if the method "WebGL2RenderingContext.getAttribLocation" exists.
 17335  func (this WebGL2RenderingContext) HasFuncGetAttribLocation() bool {
 17336  	return js.True == bindings.HasFuncWebGL2RenderingContextGetAttribLocation(
 17337  		this.ref,
 17338  	)
 17339  }
 17340  
 17341  // FuncGetAttribLocation returns the method "WebGL2RenderingContext.getAttribLocation".
 17342  func (this WebGL2RenderingContext) FuncGetAttribLocation() (fn js.Func[func(program WebGLProgram, name js.String) GLint]) {
 17343  	bindings.FuncWebGL2RenderingContextGetAttribLocation(
 17344  		this.ref, js.Pointer(&fn),
 17345  	)
 17346  	return
 17347  }
 17348  
 17349  // GetAttribLocation calls the method "WebGL2RenderingContext.getAttribLocation".
 17350  func (this WebGL2RenderingContext) GetAttribLocation(program WebGLProgram, name js.String) (ret GLint) {
 17351  	bindings.CallWebGL2RenderingContextGetAttribLocation(
 17352  		this.ref, js.Pointer(&ret),
 17353  		program.Ref(),
 17354  		name.Ref(),
 17355  	)
 17356  
 17357  	return
 17358  }
 17359  
 17360  // TryGetAttribLocation calls the method "WebGL2RenderingContext.getAttribLocation"
 17361  // in a try/catch block and returns (_, err, ok = false) when it went through
 17362  // the catch clause.
 17363  func (this WebGL2RenderingContext) TryGetAttribLocation(program WebGLProgram, name js.String) (ret GLint, exception js.Any, ok bool) {
 17364  	ok = js.True == bindings.TryWebGL2RenderingContextGetAttribLocation(
 17365  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17366  		program.Ref(),
 17367  		name.Ref(),
 17368  	)
 17369  
 17370  	return
 17371  }
 17372  
 17373  // HasFuncGetBufferParameter returns true if the method "WebGL2RenderingContext.getBufferParameter" exists.
 17374  func (this WebGL2RenderingContext) HasFuncGetBufferParameter() bool {
 17375  	return js.True == bindings.HasFuncWebGL2RenderingContextGetBufferParameter(
 17376  		this.ref,
 17377  	)
 17378  }
 17379  
 17380  // FuncGetBufferParameter returns the method "WebGL2RenderingContext.getBufferParameter".
 17381  func (this WebGL2RenderingContext) FuncGetBufferParameter() (fn js.Func[func(target GLenum, pname GLenum) js.Any]) {
 17382  	bindings.FuncWebGL2RenderingContextGetBufferParameter(
 17383  		this.ref, js.Pointer(&fn),
 17384  	)
 17385  	return
 17386  }
 17387  
 17388  // GetBufferParameter calls the method "WebGL2RenderingContext.getBufferParameter".
 17389  func (this WebGL2RenderingContext) GetBufferParameter(target GLenum, pname GLenum) (ret js.Any) {
 17390  	bindings.CallWebGL2RenderingContextGetBufferParameter(
 17391  		this.ref, js.Pointer(&ret),
 17392  		uint32(target),
 17393  		uint32(pname),
 17394  	)
 17395  
 17396  	return
 17397  }
 17398  
 17399  // TryGetBufferParameter calls the method "WebGL2RenderingContext.getBufferParameter"
 17400  // in a try/catch block and returns (_, err, ok = false) when it went through
 17401  // the catch clause.
 17402  func (this WebGL2RenderingContext) TryGetBufferParameter(target GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17403  	ok = js.True == bindings.TryWebGL2RenderingContextGetBufferParameter(
 17404  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17405  		uint32(target),
 17406  		uint32(pname),
 17407  	)
 17408  
 17409  	return
 17410  }
 17411  
 17412  // HasFuncGetParameter returns true if the method "WebGL2RenderingContext.getParameter" exists.
 17413  func (this WebGL2RenderingContext) HasFuncGetParameter() bool {
 17414  	return js.True == bindings.HasFuncWebGL2RenderingContextGetParameter(
 17415  		this.ref,
 17416  	)
 17417  }
 17418  
 17419  // FuncGetParameter returns the method "WebGL2RenderingContext.getParameter".
 17420  func (this WebGL2RenderingContext) FuncGetParameter() (fn js.Func[func(pname GLenum) js.Any]) {
 17421  	bindings.FuncWebGL2RenderingContextGetParameter(
 17422  		this.ref, js.Pointer(&fn),
 17423  	)
 17424  	return
 17425  }
 17426  
 17427  // GetParameter calls the method "WebGL2RenderingContext.getParameter".
 17428  func (this WebGL2RenderingContext) GetParameter(pname GLenum) (ret js.Any) {
 17429  	bindings.CallWebGL2RenderingContextGetParameter(
 17430  		this.ref, js.Pointer(&ret),
 17431  		uint32(pname),
 17432  	)
 17433  
 17434  	return
 17435  }
 17436  
 17437  // TryGetParameter calls the method "WebGL2RenderingContext.getParameter"
 17438  // in a try/catch block and returns (_, err, ok = false) when it went through
 17439  // the catch clause.
 17440  func (this WebGL2RenderingContext) TryGetParameter(pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17441  	ok = js.True == bindings.TryWebGL2RenderingContextGetParameter(
 17442  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17443  		uint32(pname),
 17444  	)
 17445  
 17446  	return
 17447  }
 17448  
 17449  // HasFuncGetError returns true if the method "WebGL2RenderingContext.getError" exists.
 17450  func (this WebGL2RenderingContext) HasFuncGetError() bool {
 17451  	return js.True == bindings.HasFuncWebGL2RenderingContextGetError(
 17452  		this.ref,
 17453  	)
 17454  }
 17455  
 17456  // FuncGetError returns the method "WebGL2RenderingContext.getError".
 17457  func (this WebGL2RenderingContext) FuncGetError() (fn js.Func[func() GLenum]) {
 17458  	bindings.FuncWebGL2RenderingContextGetError(
 17459  		this.ref, js.Pointer(&fn),
 17460  	)
 17461  	return
 17462  }
 17463  
 17464  // GetError calls the method "WebGL2RenderingContext.getError".
 17465  func (this WebGL2RenderingContext) GetError() (ret GLenum) {
 17466  	bindings.CallWebGL2RenderingContextGetError(
 17467  		this.ref, js.Pointer(&ret),
 17468  	)
 17469  
 17470  	return
 17471  }
 17472  
 17473  // TryGetError calls the method "WebGL2RenderingContext.getError"
 17474  // in a try/catch block and returns (_, err, ok = false) when it went through
 17475  // the catch clause.
 17476  func (this WebGL2RenderingContext) TryGetError() (ret GLenum, exception js.Any, ok bool) {
 17477  	ok = js.True == bindings.TryWebGL2RenderingContextGetError(
 17478  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17479  	)
 17480  
 17481  	return
 17482  }
 17483  
 17484  // HasFuncGetFramebufferAttachmentParameter returns true if the method "WebGL2RenderingContext.getFramebufferAttachmentParameter" exists.
 17485  func (this WebGL2RenderingContext) HasFuncGetFramebufferAttachmentParameter() bool {
 17486  	return js.True == bindings.HasFuncWebGL2RenderingContextGetFramebufferAttachmentParameter(
 17487  		this.ref,
 17488  	)
 17489  }
 17490  
 17491  // FuncGetFramebufferAttachmentParameter returns the method "WebGL2RenderingContext.getFramebufferAttachmentParameter".
 17492  func (this WebGL2RenderingContext) FuncGetFramebufferAttachmentParameter() (fn js.Func[func(target GLenum, attachment GLenum, pname GLenum) js.Any]) {
 17493  	bindings.FuncWebGL2RenderingContextGetFramebufferAttachmentParameter(
 17494  		this.ref, js.Pointer(&fn),
 17495  	)
 17496  	return
 17497  }
 17498  
 17499  // GetFramebufferAttachmentParameter calls the method "WebGL2RenderingContext.getFramebufferAttachmentParameter".
 17500  func (this WebGL2RenderingContext) GetFramebufferAttachmentParameter(target GLenum, attachment GLenum, pname GLenum) (ret js.Any) {
 17501  	bindings.CallWebGL2RenderingContextGetFramebufferAttachmentParameter(
 17502  		this.ref, js.Pointer(&ret),
 17503  		uint32(target),
 17504  		uint32(attachment),
 17505  		uint32(pname),
 17506  	)
 17507  
 17508  	return
 17509  }
 17510  
 17511  // TryGetFramebufferAttachmentParameter calls the method "WebGL2RenderingContext.getFramebufferAttachmentParameter"
 17512  // in a try/catch block and returns (_, err, ok = false) when it went through
 17513  // the catch clause.
 17514  func (this WebGL2RenderingContext) TryGetFramebufferAttachmentParameter(target GLenum, attachment GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17515  	ok = js.True == bindings.TryWebGL2RenderingContextGetFramebufferAttachmentParameter(
 17516  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17517  		uint32(target),
 17518  		uint32(attachment),
 17519  		uint32(pname),
 17520  	)
 17521  
 17522  	return
 17523  }
 17524  
 17525  // HasFuncGetProgramParameter returns true if the method "WebGL2RenderingContext.getProgramParameter" exists.
 17526  func (this WebGL2RenderingContext) HasFuncGetProgramParameter() bool {
 17527  	return js.True == bindings.HasFuncWebGL2RenderingContextGetProgramParameter(
 17528  		this.ref,
 17529  	)
 17530  }
 17531  
 17532  // FuncGetProgramParameter returns the method "WebGL2RenderingContext.getProgramParameter".
 17533  func (this WebGL2RenderingContext) FuncGetProgramParameter() (fn js.Func[func(program WebGLProgram, pname GLenum) js.Any]) {
 17534  	bindings.FuncWebGL2RenderingContextGetProgramParameter(
 17535  		this.ref, js.Pointer(&fn),
 17536  	)
 17537  	return
 17538  }
 17539  
 17540  // GetProgramParameter calls the method "WebGL2RenderingContext.getProgramParameter".
 17541  func (this WebGL2RenderingContext) GetProgramParameter(program WebGLProgram, pname GLenum) (ret js.Any) {
 17542  	bindings.CallWebGL2RenderingContextGetProgramParameter(
 17543  		this.ref, js.Pointer(&ret),
 17544  		program.Ref(),
 17545  		uint32(pname),
 17546  	)
 17547  
 17548  	return
 17549  }
 17550  
 17551  // TryGetProgramParameter calls the method "WebGL2RenderingContext.getProgramParameter"
 17552  // in a try/catch block and returns (_, err, ok = false) when it went through
 17553  // the catch clause.
 17554  func (this WebGL2RenderingContext) TryGetProgramParameter(program WebGLProgram, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17555  	ok = js.True == bindings.TryWebGL2RenderingContextGetProgramParameter(
 17556  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17557  		program.Ref(),
 17558  		uint32(pname),
 17559  	)
 17560  
 17561  	return
 17562  }
 17563  
 17564  // HasFuncGetProgramInfoLog returns true if the method "WebGL2RenderingContext.getProgramInfoLog" exists.
 17565  func (this WebGL2RenderingContext) HasFuncGetProgramInfoLog() bool {
 17566  	return js.True == bindings.HasFuncWebGL2RenderingContextGetProgramInfoLog(
 17567  		this.ref,
 17568  	)
 17569  }
 17570  
 17571  // FuncGetProgramInfoLog returns the method "WebGL2RenderingContext.getProgramInfoLog".
 17572  func (this WebGL2RenderingContext) FuncGetProgramInfoLog() (fn js.Func[func(program WebGLProgram) js.String]) {
 17573  	bindings.FuncWebGL2RenderingContextGetProgramInfoLog(
 17574  		this.ref, js.Pointer(&fn),
 17575  	)
 17576  	return
 17577  }
 17578  
 17579  // GetProgramInfoLog calls the method "WebGL2RenderingContext.getProgramInfoLog".
 17580  func (this WebGL2RenderingContext) GetProgramInfoLog(program WebGLProgram) (ret js.String) {
 17581  	bindings.CallWebGL2RenderingContextGetProgramInfoLog(
 17582  		this.ref, js.Pointer(&ret),
 17583  		program.Ref(),
 17584  	)
 17585  
 17586  	return
 17587  }
 17588  
 17589  // TryGetProgramInfoLog calls the method "WebGL2RenderingContext.getProgramInfoLog"
 17590  // in a try/catch block and returns (_, err, ok = false) when it went through
 17591  // the catch clause.
 17592  func (this WebGL2RenderingContext) TryGetProgramInfoLog(program WebGLProgram) (ret js.String, exception js.Any, ok bool) {
 17593  	ok = js.True == bindings.TryWebGL2RenderingContextGetProgramInfoLog(
 17594  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17595  		program.Ref(),
 17596  	)
 17597  
 17598  	return
 17599  }
 17600  
 17601  // HasFuncGetRenderbufferParameter returns true if the method "WebGL2RenderingContext.getRenderbufferParameter" exists.
 17602  func (this WebGL2RenderingContext) HasFuncGetRenderbufferParameter() bool {
 17603  	return js.True == bindings.HasFuncWebGL2RenderingContextGetRenderbufferParameter(
 17604  		this.ref,
 17605  	)
 17606  }
 17607  
 17608  // FuncGetRenderbufferParameter returns the method "WebGL2RenderingContext.getRenderbufferParameter".
 17609  func (this WebGL2RenderingContext) FuncGetRenderbufferParameter() (fn js.Func[func(target GLenum, pname GLenum) js.Any]) {
 17610  	bindings.FuncWebGL2RenderingContextGetRenderbufferParameter(
 17611  		this.ref, js.Pointer(&fn),
 17612  	)
 17613  	return
 17614  }
 17615  
 17616  // GetRenderbufferParameter calls the method "WebGL2RenderingContext.getRenderbufferParameter".
 17617  func (this WebGL2RenderingContext) GetRenderbufferParameter(target GLenum, pname GLenum) (ret js.Any) {
 17618  	bindings.CallWebGL2RenderingContextGetRenderbufferParameter(
 17619  		this.ref, js.Pointer(&ret),
 17620  		uint32(target),
 17621  		uint32(pname),
 17622  	)
 17623  
 17624  	return
 17625  }
 17626  
 17627  // TryGetRenderbufferParameter calls the method "WebGL2RenderingContext.getRenderbufferParameter"
 17628  // in a try/catch block and returns (_, err, ok = false) when it went through
 17629  // the catch clause.
 17630  func (this WebGL2RenderingContext) TryGetRenderbufferParameter(target GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17631  	ok = js.True == bindings.TryWebGL2RenderingContextGetRenderbufferParameter(
 17632  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17633  		uint32(target),
 17634  		uint32(pname),
 17635  	)
 17636  
 17637  	return
 17638  }
 17639  
 17640  // HasFuncGetShaderParameter returns true if the method "WebGL2RenderingContext.getShaderParameter" exists.
 17641  func (this WebGL2RenderingContext) HasFuncGetShaderParameter() bool {
 17642  	return js.True == bindings.HasFuncWebGL2RenderingContextGetShaderParameter(
 17643  		this.ref,
 17644  	)
 17645  }
 17646  
 17647  // FuncGetShaderParameter returns the method "WebGL2RenderingContext.getShaderParameter".
 17648  func (this WebGL2RenderingContext) FuncGetShaderParameter() (fn js.Func[func(shader WebGLShader, pname GLenum) js.Any]) {
 17649  	bindings.FuncWebGL2RenderingContextGetShaderParameter(
 17650  		this.ref, js.Pointer(&fn),
 17651  	)
 17652  	return
 17653  }
 17654  
 17655  // GetShaderParameter calls the method "WebGL2RenderingContext.getShaderParameter".
 17656  func (this WebGL2RenderingContext) GetShaderParameter(shader WebGLShader, pname GLenum) (ret js.Any) {
 17657  	bindings.CallWebGL2RenderingContextGetShaderParameter(
 17658  		this.ref, js.Pointer(&ret),
 17659  		shader.Ref(),
 17660  		uint32(pname),
 17661  	)
 17662  
 17663  	return
 17664  }
 17665  
 17666  // TryGetShaderParameter calls the method "WebGL2RenderingContext.getShaderParameter"
 17667  // in a try/catch block and returns (_, err, ok = false) when it went through
 17668  // the catch clause.
 17669  func (this WebGL2RenderingContext) TryGetShaderParameter(shader WebGLShader, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17670  	ok = js.True == bindings.TryWebGL2RenderingContextGetShaderParameter(
 17671  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17672  		shader.Ref(),
 17673  		uint32(pname),
 17674  	)
 17675  
 17676  	return
 17677  }
 17678  
 17679  // HasFuncGetShaderPrecisionFormat returns true if the method "WebGL2RenderingContext.getShaderPrecisionFormat" exists.
 17680  func (this WebGL2RenderingContext) HasFuncGetShaderPrecisionFormat() bool {
 17681  	return js.True == bindings.HasFuncWebGL2RenderingContextGetShaderPrecisionFormat(
 17682  		this.ref,
 17683  	)
 17684  }
 17685  
 17686  // FuncGetShaderPrecisionFormat returns the method "WebGL2RenderingContext.getShaderPrecisionFormat".
 17687  func (this WebGL2RenderingContext) FuncGetShaderPrecisionFormat() (fn js.Func[func(shadertype GLenum, precisiontype GLenum) WebGLShaderPrecisionFormat]) {
 17688  	bindings.FuncWebGL2RenderingContextGetShaderPrecisionFormat(
 17689  		this.ref, js.Pointer(&fn),
 17690  	)
 17691  	return
 17692  }
 17693  
 17694  // GetShaderPrecisionFormat calls the method "WebGL2RenderingContext.getShaderPrecisionFormat".
 17695  func (this WebGL2RenderingContext) GetShaderPrecisionFormat(shadertype GLenum, precisiontype GLenum) (ret WebGLShaderPrecisionFormat) {
 17696  	bindings.CallWebGL2RenderingContextGetShaderPrecisionFormat(
 17697  		this.ref, js.Pointer(&ret),
 17698  		uint32(shadertype),
 17699  		uint32(precisiontype),
 17700  	)
 17701  
 17702  	return
 17703  }
 17704  
 17705  // TryGetShaderPrecisionFormat calls the method "WebGL2RenderingContext.getShaderPrecisionFormat"
 17706  // in a try/catch block and returns (_, err, ok = false) when it went through
 17707  // the catch clause.
 17708  func (this WebGL2RenderingContext) TryGetShaderPrecisionFormat(shadertype GLenum, precisiontype GLenum) (ret WebGLShaderPrecisionFormat, exception js.Any, ok bool) {
 17709  	ok = js.True == bindings.TryWebGL2RenderingContextGetShaderPrecisionFormat(
 17710  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17711  		uint32(shadertype),
 17712  		uint32(precisiontype),
 17713  	)
 17714  
 17715  	return
 17716  }
 17717  
 17718  // HasFuncGetShaderInfoLog returns true if the method "WebGL2RenderingContext.getShaderInfoLog" exists.
 17719  func (this WebGL2RenderingContext) HasFuncGetShaderInfoLog() bool {
 17720  	return js.True == bindings.HasFuncWebGL2RenderingContextGetShaderInfoLog(
 17721  		this.ref,
 17722  	)
 17723  }
 17724  
 17725  // FuncGetShaderInfoLog returns the method "WebGL2RenderingContext.getShaderInfoLog".
 17726  func (this WebGL2RenderingContext) FuncGetShaderInfoLog() (fn js.Func[func(shader WebGLShader) js.String]) {
 17727  	bindings.FuncWebGL2RenderingContextGetShaderInfoLog(
 17728  		this.ref, js.Pointer(&fn),
 17729  	)
 17730  	return
 17731  }
 17732  
 17733  // GetShaderInfoLog calls the method "WebGL2RenderingContext.getShaderInfoLog".
 17734  func (this WebGL2RenderingContext) GetShaderInfoLog(shader WebGLShader) (ret js.String) {
 17735  	bindings.CallWebGL2RenderingContextGetShaderInfoLog(
 17736  		this.ref, js.Pointer(&ret),
 17737  		shader.Ref(),
 17738  	)
 17739  
 17740  	return
 17741  }
 17742  
 17743  // TryGetShaderInfoLog calls the method "WebGL2RenderingContext.getShaderInfoLog"
 17744  // in a try/catch block and returns (_, err, ok = false) when it went through
 17745  // the catch clause.
 17746  func (this WebGL2RenderingContext) TryGetShaderInfoLog(shader WebGLShader) (ret js.String, exception js.Any, ok bool) {
 17747  	ok = js.True == bindings.TryWebGL2RenderingContextGetShaderInfoLog(
 17748  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17749  		shader.Ref(),
 17750  	)
 17751  
 17752  	return
 17753  }
 17754  
 17755  // HasFuncGetShaderSource returns true if the method "WebGL2RenderingContext.getShaderSource" exists.
 17756  func (this WebGL2RenderingContext) HasFuncGetShaderSource() bool {
 17757  	return js.True == bindings.HasFuncWebGL2RenderingContextGetShaderSource(
 17758  		this.ref,
 17759  	)
 17760  }
 17761  
 17762  // FuncGetShaderSource returns the method "WebGL2RenderingContext.getShaderSource".
 17763  func (this WebGL2RenderingContext) FuncGetShaderSource() (fn js.Func[func(shader WebGLShader) js.String]) {
 17764  	bindings.FuncWebGL2RenderingContextGetShaderSource(
 17765  		this.ref, js.Pointer(&fn),
 17766  	)
 17767  	return
 17768  }
 17769  
 17770  // GetShaderSource calls the method "WebGL2RenderingContext.getShaderSource".
 17771  func (this WebGL2RenderingContext) GetShaderSource(shader WebGLShader) (ret js.String) {
 17772  	bindings.CallWebGL2RenderingContextGetShaderSource(
 17773  		this.ref, js.Pointer(&ret),
 17774  		shader.Ref(),
 17775  	)
 17776  
 17777  	return
 17778  }
 17779  
 17780  // TryGetShaderSource calls the method "WebGL2RenderingContext.getShaderSource"
 17781  // in a try/catch block and returns (_, err, ok = false) when it went through
 17782  // the catch clause.
 17783  func (this WebGL2RenderingContext) TryGetShaderSource(shader WebGLShader) (ret js.String, exception js.Any, ok bool) {
 17784  	ok = js.True == bindings.TryWebGL2RenderingContextGetShaderSource(
 17785  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17786  		shader.Ref(),
 17787  	)
 17788  
 17789  	return
 17790  }
 17791  
 17792  // HasFuncGetTexParameter returns true if the method "WebGL2RenderingContext.getTexParameter" exists.
 17793  func (this WebGL2RenderingContext) HasFuncGetTexParameter() bool {
 17794  	return js.True == bindings.HasFuncWebGL2RenderingContextGetTexParameter(
 17795  		this.ref,
 17796  	)
 17797  }
 17798  
 17799  // FuncGetTexParameter returns the method "WebGL2RenderingContext.getTexParameter".
 17800  func (this WebGL2RenderingContext) FuncGetTexParameter() (fn js.Func[func(target GLenum, pname GLenum) js.Any]) {
 17801  	bindings.FuncWebGL2RenderingContextGetTexParameter(
 17802  		this.ref, js.Pointer(&fn),
 17803  	)
 17804  	return
 17805  }
 17806  
 17807  // GetTexParameter calls the method "WebGL2RenderingContext.getTexParameter".
 17808  func (this WebGL2RenderingContext) GetTexParameter(target GLenum, pname GLenum) (ret js.Any) {
 17809  	bindings.CallWebGL2RenderingContextGetTexParameter(
 17810  		this.ref, js.Pointer(&ret),
 17811  		uint32(target),
 17812  		uint32(pname),
 17813  	)
 17814  
 17815  	return
 17816  }
 17817  
 17818  // TryGetTexParameter calls the method "WebGL2RenderingContext.getTexParameter"
 17819  // in a try/catch block and returns (_, err, ok = false) when it went through
 17820  // the catch clause.
 17821  func (this WebGL2RenderingContext) TryGetTexParameter(target GLenum, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17822  	ok = js.True == bindings.TryWebGL2RenderingContextGetTexParameter(
 17823  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17824  		uint32(target),
 17825  		uint32(pname),
 17826  	)
 17827  
 17828  	return
 17829  }
 17830  
 17831  // HasFuncGetUniform returns true if the method "WebGL2RenderingContext.getUniform" exists.
 17832  func (this WebGL2RenderingContext) HasFuncGetUniform() bool {
 17833  	return js.True == bindings.HasFuncWebGL2RenderingContextGetUniform(
 17834  		this.ref,
 17835  	)
 17836  }
 17837  
 17838  // FuncGetUniform returns the method "WebGL2RenderingContext.getUniform".
 17839  func (this WebGL2RenderingContext) FuncGetUniform() (fn js.Func[func(program WebGLProgram, location WebGLUniformLocation) js.Any]) {
 17840  	bindings.FuncWebGL2RenderingContextGetUniform(
 17841  		this.ref, js.Pointer(&fn),
 17842  	)
 17843  	return
 17844  }
 17845  
 17846  // GetUniform calls the method "WebGL2RenderingContext.getUniform".
 17847  func (this WebGL2RenderingContext) GetUniform(program WebGLProgram, location WebGLUniformLocation) (ret js.Any) {
 17848  	bindings.CallWebGL2RenderingContextGetUniform(
 17849  		this.ref, js.Pointer(&ret),
 17850  		program.Ref(),
 17851  		location.Ref(),
 17852  	)
 17853  
 17854  	return
 17855  }
 17856  
 17857  // TryGetUniform calls the method "WebGL2RenderingContext.getUniform"
 17858  // in a try/catch block and returns (_, err, ok = false) when it went through
 17859  // the catch clause.
 17860  func (this WebGL2RenderingContext) TryGetUniform(program WebGLProgram, location WebGLUniformLocation) (ret js.Any, exception js.Any, ok bool) {
 17861  	ok = js.True == bindings.TryWebGL2RenderingContextGetUniform(
 17862  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17863  		program.Ref(),
 17864  		location.Ref(),
 17865  	)
 17866  
 17867  	return
 17868  }
 17869  
 17870  // HasFuncGetUniformLocation returns true if the method "WebGL2RenderingContext.getUniformLocation" exists.
 17871  func (this WebGL2RenderingContext) HasFuncGetUniformLocation() bool {
 17872  	return js.True == bindings.HasFuncWebGL2RenderingContextGetUniformLocation(
 17873  		this.ref,
 17874  	)
 17875  }
 17876  
 17877  // FuncGetUniformLocation returns the method "WebGL2RenderingContext.getUniformLocation".
 17878  func (this WebGL2RenderingContext) FuncGetUniformLocation() (fn js.Func[func(program WebGLProgram, name js.String) WebGLUniformLocation]) {
 17879  	bindings.FuncWebGL2RenderingContextGetUniformLocation(
 17880  		this.ref, js.Pointer(&fn),
 17881  	)
 17882  	return
 17883  }
 17884  
 17885  // GetUniformLocation calls the method "WebGL2RenderingContext.getUniformLocation".
 17886  func (this WebGL2RenderingContext) GetUniformLocation(program WebGLProgram, name js.String) (ret WebGLUniformLocation) {
 17887  	bindings.CallWebGL2RenderingContextGetUniformLocation(
 17888  		this.ref, js.Pointer(&ret),
 17889  		program.Ref(),
 17890  		name.Ref(),
 17891  	)
 17892  
 17893  	return
 17894  }
 17895  
 17896  // TryGetUniformLocation calls the method "WebGL2RenderingContext.getUniformLocation"
 17897  // in a try/catch block and returns (_, err, ok = false) when it went through
 17898  // the catch clause.
 17899  func (this WebGL2RenderingContext) TryGetUniformLocation(program WebGLProgram, name js.String) (ret WebGLUniformLocation, exception js.Any, ok bool) {
 17900  	ok = js.True == bindings.TryWebGL2RenderingContextGetUniformLocation(
 17901  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17902  		program.Ref(),
 17903  		name.Ref(),
 17904  	)
 17905  
 17906  	return
 17907  }
 17908  
 17909  // HasFuncGetVertexAttrib returns true if the method "WebGL2RenderingContext.getVertexAttrib" exists.
 17910  func (this WebGL2RenderingContext) HasFuncGetVertexAttrib() bool {
 17911  	return js.True == bindings.HasFuncWebGL2RenderingContextGetVertexAttrib(
 17912  		this.ref,
 17913  	)
 17914  }
 17915  
 17916  // FuncGetVertexAttrib returns the method "WebGL2RenderingContext.getVertexAttrib".
 17917  func (this WebGL2RenderingContext) FuncGetVertexAttrib() (fn js.Func[func(index GLuint, pname GLenum) js.Any]) {
 17918  	bindings.FuncWebGL2RenderingContextGetVertexAttrib(
 17919  		this.ref, js.Pointer(&fn),
 17920  	)
 17921  	return
 17922  }
 17923  
 17924  // GetVertexAttrib calls the method "WebGL2RenderingContext.getVertexAttrib".
 17925  func (this WebGL2RenderingContext) GetVertexAttrib(index GLuint, pname GLenum) (ret js.Any) {
 17926  	bindings.CallWebGL2RenderingContextGetVertexAttrib(
 17927  		this.ref, js.Pointer(&ret),
 17928  		uint32(index),
 17929  		uint32(pname),
 17930  	)
 17931  
 17932  	return
 17933  }
 17934  
 17935  // TryGetVertexAttrib calls the method "WebGL2RenderingContext.getVertexAttrib"
 17936  // in a try/catch block and returns (_, err, ok = false) when it went through
 17937  // the catch clause.
 17938  func (this WebGL2RenderingContext) TryGetVertexAttrib(index GLuint, pname GLenum) (ret js.Any, exception js.Any, ok bool) {
 17939  	ok = js.True == bindings.TryWebGL2RenderingContextGetVertexAttrib(
 17940  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17941  		uint32(index),
 17942  		uint32(pname),
 17943  	)
 17944  
 17945  	return
 17946  }
 17947  
 17948  // HasFuncGetVertexAttribOffset returns true if the method "WebGL2RenderingContext.getVertexAttribOffset" exists.
 17949  func (this WebGL2RenderingContext) HasFuncGetVertexAttribOffset() bool {
 17950  	return js.True == bindings.HasFuncWebGL2RenderingContextGetVertexAttribOffset(
 17951  		this.ref,
 17952  	)
 17953  }
 17954  
 17955  // FuncGetVertexAttribOffset returns the method "WebGL2RenderingContext.getVertexAttribOffset".
 17956  func (this WebGL2RenderingContext) FuncGetVertexAttribOffset() (fn js.Func[func(index GLuint, pname GLenum) GLintptr]) {
 17957  	bindings.FuncWebGL2RenderingContextGetVertexAttribOffset(
 17958  		this.ref, js.Pointer(&fn),
 17959  	)
 17960  	return
 17961  }
 17962  
 17963  // GetVertexAttribOffset calls the method "WebGL2RenderingContext.getVertexAttribOffset".
 17964  func (this WebGL2RenderingContext) GetVertexAttribOffset(index GLuint, pname GLenum) (ret GLintptr) {
 17965  	bindings.CallWebGL2RenderingContextGetVertexAttribOffset(
 17966  		this.ref, js.Pointer(&ret),
 17967  		uint32(index),
 17968  		uint32(pname),
 17969  	)
 17970  
 17971  	return
 17972  }
 17973  
 17974  // TryGetVertexAttribOffset calls the method "WebGL2RenderingContext.getVertexAttribOffset"
 17975  // in a try/catch block and returns (_, err, ok = false) when it went through
 17976  // the catch clause.
 17977  func (this WebGL2RenderingContext) TryGetVertexAttribOffset(index GLuint, pname GLenum) (ret GLintptr, exception js.Any, ok bool) {
 17978  	ok = js.True == bindings.TryWebGL2RenderingContextGetVertexAttribOffset(
 17979  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 17980  		uint32(index),
 17981  		uint32(pname),
 17982  	)
 17983  
 17984  	return
 17985  }
 17986  
 17987  // HasFuncHint returns true if the method "WebGL2RenderingContext.hint" exists.
 17988  func (this WebGL2RenderingContext) HasFuncHint() bool {
 17989  	return js.True == bindings.HasFuncWebGL2RenderingContextHint(
 17990  		this.ref,
 17991  	)
 17992  }
 17993  
 17994  // FuncHint returns the method "WebGL2RenderingContext.hint".
 17995  func (this WebGL2RenderingContext) FuncHint() (fn js.Func[func(target GLenum, mode GLenum)]) {
 17996  	bindings.FuncWebGL2RenderingContextHint(
 17997  		this.ref, js.Pointer(&fn),
 17998  	)
 17999  	return
 18000  }
 18001  
 18002  // Hint calls the method "WebGL2RenderingContext.hint".
 18003  func (this WebGL2RenderingContext) Hint(target GLenum, mode GLenum) (ret js.Void) {
 18004  	bindings.CallWebGL2RenderingContextHint(
 18005  		this.ref, js.Pointer(&ret),
 18006  		uint32(target),
 18007  		uint32(mode),
 18008  	)
 18009  
 18010  	return
 18011  }
 18012  
 18013  // TryHint calls the method "WebGL2RenderingContext.hint"
 18014  // in a try/catch block and returns (_, err, ok = false) when it went through
 18015  // the catch clause.
 18016  func (this WebGL2RenderingContext) TryHint(target GLenum, mode GLenum) (ret js.Void, exception js.Any, ok bool) {
 18017  	ok = js.True == bindings.TryWebGL2RenderingContextHint(
 18018  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18019  		uint32(target),
 18020  		uint32(mode),
 18021  	)
 18022  
 18023  	return
 18024  }
 18025  
 18026  // HasFuncIsBuffer returns true if the method "WebGL2RenderingContext.isBuffer" exists.
 18027  func (this WebGL2RenderingContext) HasFuncIsBuffer() bool {
 18028  	return js.True == bindings.HasFuncWebGL2RenderingContextIsBuffer(
 18029  		this.ref,
 18030  	)
 18031  }
 18032  
 18033  // FuncIsBuffer returns the method "WebGL2RenderingContext.isBuffer".
 18034  func (this WebGL2RenderingContext) FuncIsBuffer() (fn js.Func[func(buffer WebGLBuffer) GLboolean]) {
 18035  	bindings.FuncWebGL2RenderingContextIsBuffer(
 18036  		this.ref, js.Pointer(&fn),
 18037  	)
 18038  	return
 18039  }
 18040  
 18041  // IsBuffer calls the method "WebGL2RenderingContext.isBuffer".
 18042  func (this WebGL2RenderingContext) IsBuffer(buffer WebGLBuffer) (ret GLboolean) {
 18043  	bindings.CallWebGL2RenderingContextIsBuffer(
 18044  		this.ref, js.Pointer(&ret),
 18045  		buffer.Ref(),
 18046  	)
 18047  
 18048  	return
 18049  }
 18050  
 18051  // TryIsBuffer calls the method "WebGL2RenderingContext.isBuffer"
 18052  // in a try/catch block and returns (_, err, ok = false) when it went through
 18053  // the catch clause.
 18054  func (this WebGL2RenderingContext) TryIsBuffer(buffer WebGLBuffer) (ret GLboolean, exception js.Any, ok bool) {
 18055  	ok = js.True == bindings.TryWebGL2RenderingContextIsBuffer(
 18056  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18057  		buffer.Ref(),
 18058  	)
 18059  
 18060  	return
 18061  }
 18062  
 18063  // HasFuncIsEnabled returns true if the method "WebGL2RenderingContext.isEnabled" exists.
 18064  func (this WebGL2RenderingContext) HasFuncIsEnabled() bool {
 18065  	return js.True == bindings.HasFuncWebGL2RenderingContextIsEnabled(
 18066  		this.ref,
 18067  	)
 18068  }
 18069  
 18070  // FuncIsEnabled returns the method "WebGL2RenderingContext.isEnabled".
 18071  func (this WebGL2RenderingContext) FuncIsEnabled() (fn js.Func[func(cap GLenum) GLboolean]) {
 18072  	bindings.FuncWebGL2RenderingContextIsEnabled(
 18073  		this.ref, js.Pointer(&fn),
 18074  	)
 18075  	return
 18076  }
 18077  
 18078  // IsEnabled calls the method "WebGL2RenderingContext.isEnabled".
 18079  func (this WebGL2RenderingContext) IsEnabled(cap GLenum) (ret GLboolean) {
 18080  	bindings.CallWebGL2RenderingContextIsEnabled(
 18081  		this.ref, js.Pointer(&ret),
 18082  		uint32(cap),
 18083  	)
 18084  
 18085  	return
 18086  }
 18087  
 18088  // TryIsEnabled calls the method "WebGL2RenderingContext.isEnabled"
 18089  // in a try/catch block and returns (_, err, ok = false) when it went through
 18090  // the catch clause.
 18091  func (this WebGL2RenderingContext) TryIsEnabled(cap GLenum) (ret GLboolean, exception js.Any, ok bool) {
 18092  	ok = js.True == bindings.TryWebGL2RenderingContextIsEnabled(
 18093  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18094  		uint32(cap),
 18095  	)
 18096  
 18097  	return
 18098  }
 18099  
 18100  // HasFuncIsFramebuffer returns true if the method "WebGL2RenderingContext.isFramebuffer" exists.
 18101  func (this WebGL2RenderingContext) HasFuncIsFramebuffer() bool {
 18102  	return js.True == bindings.HasFuncWebGL2RenderingContextIsFramebuffer(
 18103  		this.ref,
 18104  	)
 18105  }
 18106  
 18107  // FuncIsFramebuffer returns the method "WebGL2RenderingContext.isFramebuffer".
 18108  func (this WebGL2RenderingContext) FuncIsFramebuffer() (fn js.Func[func(framebuffer WebGLFramebuffer) GLboolean]) {
 18109  	bindings.FuncWebGL2RenderingContextIsFramebuffer(
 18110  		this.ref, js.Pointer(&fn),
 18111  	)
 18112  	return
 18113  }
 18114  
 18115  // IsFramebuffer calls the method "WebGL2RenderingContext.isFramebuffer".
 18116  func (this WebGL2RenderingContext) IsFramebuffer(framebuffer WebGLFramebuffer) (ret GLboolean) {
 18117  	bindings.CallWebGL2RenderingContextIsFramebuffer(
 18118  		this.ref, js.Pointer(&ret),
 18119  		framebuffer.Ref(),
 18120  	)
 18121  
 18122  	return
 18123  }
 18124  
 18125  // TryIsFramebuffer calls the method "WebGL2RenderingContext.isFramebuffer"
 18126  // in a try/catch block and returns (_, err, ok = false) when it went through
 18127  // the catch clause.
 18128  func (this WebGL2RenderingContext) TryIsFramebuffer(framebuffer WebGLFramebuffer) (ret GLboolean, exception js.Any, ok bool) {
 18129  	ok = js.True == bindings.TryWebGL2RenderingContextIsFramebuffer(
 18130  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18131  		framebuffer.Ref(),
 18132  	)
 18133  
 18134  	return
 18135  }
 18136  
 18137  // HasFuncIsProgram returns true if the method "WebGL2RenderingContext.isProgram" exists.
 18138  func (this WebGL2RenderingContext) HasFuncIsProgram() bool {
 18139  	return js.True == bindings.HasFuncWebGL2RenderingContextIsProgram(
 18140  		this.ref,
 18141  	)
 18142  }
 18143  
 18144  // FuncIsProgram returns the method "WebGL2RenderingContext.isProgram".
 18145  func (this WebGL2RenderingContext) FuncIsProgram() (fn js.Func[func(program WebGLProgram) GLboolean]) {
 18146  	bindings.FuncWebGL2RenderingContextIsProgram(
 18147  		this.ref, js.Pointer(&fn),
 18148  	)
 18149  	return
 18150  }
 18151  
 18152  // IsProgram calls the method "WebGL2RenderingContext.isProgram".
 18153  func (this WebGL2RenderingContext) IsProgram(program WebGLProgram) (ret GLboolean) {
 18154  	bindings.CallWebGL2RenderingContextIsProgram(
 18155  		this.ref, js.Pointer(&ret),
 18156  		program.Ref(),
 18157  	)
 18158  
 18159  	return
 18160  }
 18161  
 18162  // TryIsProgram calls the method "WebGL2RenderingContext.isProgram"
 18163  // in a try/catch block and returns (_, err, ok = false) when it went through
 18164  // the catch clause.
 18165  func (this WebGL2RenderingContext) TryIsProgram(program WebGLProgram) (ret GLboolean, exception js.Any, ok bool) {
 18166  	ok = js.True == bindings.TryWebGL2RenderingContextIsProgram(
 18167  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18168  		program.Ref(),
 18169  	)
 18170  
 18171  	return
 18172  }
 18173  
 18174  // HasFuncIsRenderbuffer returns true if the method "WebGL2RenderingContext.isRenderbuffer" exists.
 18175  func (this WebGL2RenderingContext) HasFuncIsRenderbuffer() bool {
 18176  	return js.True == bindings.HasFuncWebGL2RenderingContextIsRenderbuffer(
 18177  		this.ref,
 18178  	)
 18179  }
 18180  
 18181  // FuncIsRenderbuffer returns the method "WebGL2RenderingContext.isRenderbuffer".
 18182  func (this WebGL2RenderingContext) FuncIsRenderbuffer() (fn js.Func[func(renderbuffer WebGLRenderbuffer) GLboolean]) {
 18183  	bindings.FuncWebGL2RenderingContextIsRenderbuffer(
 18184  		this.ref, js.Pointer(&fn),
 18185  	)
 18186  	return
 18187  }
 18188  
 18189  // IsRenderbuffer calls the method "WebGL2RenderingContext.isRenderbuffer".
 18190  func (this WebGL2RenderingContext) IsRenderbuffer(renderbuffer WebGLRenderbuffer) (ret GLboolean) {
 18191  	bindings.CallWebGL2RenderingContextIsRenderbuffer(
 18192  		this.ref, js.Pointer(&ret),
 18193  		renderbuffer.Ref(),
 18194  	)
 18195  
 18196  	return
 18197  }
 18198  
 18199  // TryIsRenderbuffer calls the method "WebGL2RenderingContext.isRenderbuffer"
 18200  // in a try/catch block and returns (_, err, ok = false) when it went through
 18201  // the catch clause.
 18202  func (this WebGL2RenderingContext) TryIsRenderbuffer(renderbuffer WebGLRenderbuffer) (ret GLboolean, exception js.Any, ok bool) {
 18203  	ok = js.True == bindings.TryWebGL2RenderingContextIsRenderbuffer(
 18204  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18205  		renderbuffer.Ref(),
 18206  	)
 18207  
 18208  	return
 18209  }
 18210  
 18211  // HasFuncIsShader returns true if the method "WebGL2RenderingContext.isShader" exists.
 18212  func (this WebGL2RenderingContext) HasFuncIsShader() bool {
 18213  	return js.True == bindings.HasFuncWebGL2RenderingContextIsShader(
 18214  		this.ref,
 18215  	)
 18216  }
 18217  
 18218  // FuncIsShader returns the method "WebGL2RenderingContext.isShader".
 18219  func (this WebGL2RenderingContext) FuncIsShader() (fn js.Func[func(shader WebGLShader) GLboolean]) {
 18220  	bindings.FuncWebGL2RenderingContextIsShader(
 18221  		this.ref, js.Pointer(&fn),
 18222  	)
 18223  	return
 18224  }
 18225  
 18226  // IsShader calls the method "WebGL2RenderingContext.isShader".
 18227  func (this WebGL2RenderingContext) IsShader(shader WebGLShader) (ret GLboolean) {
 18228  	bindings.CallWebGL2RenderingContextIsShader(
 18229  		this.ref, js.Pointer(&ret),
 18230  		shader.Ref(),
 18231  	)
 18232  
 18233  	return
 18234  }
 18235  
 18236  // TryIsShader calls the method "WebGL2RenderingContext.isShader"
 18237  // in a try/catch block and returns (_, err, ok = false) when it went through
 18238  // the catch clause.
 18239  func (this WebGL2RenderingContext) TryIsShader(shader WebGLShader) (ret GLboolean, exception js.Any, ok bool) {
 18240  	ok = js.True == bindings.TryWebGL2RenderingContextIsShader(
 18241  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18242  		shader.Ref(),
 18243  	)
 18244  
 18245  	return
 18246  }
 18247  
 18248  // HasFuncIsTexture returns true if the method "WebGL2RenderingContext.isTexture" exists.
 18249  func (this WebGL2RenderingContext) HasFuncIsTexture() bool {
 18250  	return js.True == bindings.HasFuncWebGL2RenderingContextIsTexture(
 18251  		this.ref,
 18252  	)
 18253  }
 18254  
 18255  // FuncIsTexture returns the method "WebGL2RenderingContext.isTexture".
 18256  func (this WebGL2RenderingContext) FuncIsTexture() (fn js.Func[func(texture WebGLTexture) GLboolean]) {
 18257  	bindings.FuncWebGL2RenderingContextIsTexture(
 18258  		this.ref, js.Pointer(&fn),
 18259  	)
 18260  	return
 18261  }
 18262  
 18263  // IsTexture calls the method "WebGL2RenderingContext.isTexture".
 18264  func (this WebGL2RenderingContext) IsTexture(texture WebGLTexture) (ret GLboolean) {
 18265  	bindings.CallWebGL2RenderingContextIsTexture(
 18266  		this.ref, js.Pointer(&ret),
 18267  		texture.Ref(),
 18268  	)
 18269  
 18270  	return
 18271  }
 18272  
 18273  // TryIsTexture calls the method "WebGL2RenderingContext.isTexture"
 18274  // in a try/catch block and returns (_, err, ok = false) when it went through
 18275  // the catch clause.
 18276  func (this WebGL2RenderingContext) TryIsTexture(texture WebGLTexture) (ret GLboolean, exception js.Any, ok bool) {
 18277  	ok = js.True == bindings.TryWebGL2RenderingContextIsTexture(
 18278  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18279  		texture.Ref(),
 18280  	)
 18281  
 18282  	return
 18283  }
 18284  
 18285  // HasFuncLineWidth returns true if the method "WebGL2RenderingContext.lineWidth" exists.
 18286  func (this WebGL2RenderingContext) HasFuncLineWidth() bool {
 18287  	return js.True == bindings.HasFuncWebGL2RenderingContextLineWidth(
 18288  		this.ref,
 18289  	)
 18290  }
 18291  
 18292  // FuncLineWidth returns the method "WebGL2RenderingContext.lineWidth".
 18293  func (this WebGL2RenderingContext) FuncLineWidth() (fn js.Func[func(width GLfloat)]) {
 18294  	bindings.FuncWebGL2RenderingContextLineWidth(
 18295  		this.ref, js.Pointer(&fn),
 18296  	)
 18297  	return
 18298  }
 18299  
 18300  // LineWidth calls the method "WebGL2RenderingContext.lineWidth".
 18301  func (this WebGL2RenderingContext) LineWidth(width GLfloat) (ret js.Void) {
 18302  	bindings.CallWebGL2RenderingContextLineWidth(
 18303  		this.ref, js.Pointer(&ret),
 18304  		float32(width),
 18305  	)
 18306  
 18307  	return
 18308  }
 18309  
 18310  // TryLineWidth calls the method "WebGL2RenderingContext.lineWidth"
 18311  // in a try/catch block and returns (_, err, ok = false) when it went through
 18312  // the catch clause.
 18313  func (this WebGL2RenderingContext) TryLineWidth(width GLfloat) (ret js.Void, exception js.Any, ok bool) {
 18314  	ok = js.True == bindings.TryWebGL2RenderingContextLineWidth(
 18315  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18316  		float32(width),
 18317  	)
 18318  
 18319  	return
 18320  }
 18321  
 18322  // HasFuncLinkProgram returns true if the method "WebGL2RenderingContext.linkProgram" exists.
 18323  func (this WebGL2RenderingContext) HasFuncLinkProgram() bool {
 18324  	return js.True == bindings.HasFuncWebGL2RenderingContextLinkProgram(
 18325  		this.ref,
 18326  	)
 18327  }
 18328  
 18329  // FuncLinkProgram returns the method "WebGL2RenderingContext.linkProgram".
 18330  func (this WebGL2RenderingContext) FuncLinkProgram() (fn js.Func[func(program WebGLProgram)]) {
 18331  	bindings.FuncWebGL2RenderingContextLinkProgram(
 18332  		this.ref, js.Pointer(&fn),
 18333  	)
 18334  	return
 18335  }
 18336  
 18337  // LinkProgram calls the method "WebGL2RenderingContext.linkProgram".
 18338  func (this WebGL2RenderingContext) LinkProgram(program WebGLProgram) (ret js.Void) {
 18339  	bindings.CallWebGL2RenderingContextLinkProgram(
 18340  		this.ref, js.Pointer(&ret),
 18341  		program.Ref(),
 18342  	)
 18343  
 18344  	return
 18345  }
 18346  
 18347  // TryLinkProgram calls the method "WebGL2RenderingContext.linkProgram"
 18348  // in a try/catch block and returns (_, err, ok = false) when it went through
 18349  // the catch clause.
 18350  func (this WebGL2RenderingContext) TryLinkProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
 18351  	ok = js.True == bindings.TryWebGL2RenderingContextLinkProgram(
 18352  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18353  		program.Ref(),
 18354  	)
 18355  
 18356  	return
 18357  }
 18358  
 18359  // HasFuncPixelStorei returns true if the method "WebGL2RenderingContext.pixelStorei" exists.
 18360  func (this WebGL2RenderingContext) HasFuncPixelStorei() bool {
 18361  	return js.True == bindings.HasFuncWebGL2RenderingContextPixelStorei(
 18362  		this.ref,
 18363  	)
 18364  }
 18365  
 18366  // FuncPixelStorei returns the method "WebGL2RenderingContext.pixelStorei".
 18367  func (this WebGL2RenderingContext) FuncPixelStorei() (fn js.Func[func(pname GLenum, param GLint)]) {
 18368  	bindings.FuncWebGL2RenderingContextPixelStorei(
 18369  		this.ref, js.Pointer(&fn),
 18370  	)
 18371  	return
 18372  }
 18373  
 18374  // PixelStorei calls the method "WebGL2RenderingContext.pixelStorei".
 18375  func (this WebGL2RenderingContext) PixelStorei(pname GLenum, param GLint) (ret js.Void) {
 18376  	bindings.CallWebGL2RenderingContextPixelStorei(
 18377  		this.ref, js.Pointer(&ret),
 18378  		uint32(pname),
 18379  		int32(param),
 18380  	)
 18381  
 18382  	return
 18383  }
 18384  
 18385  // TryPixelStorei calls the method "WebGL2RenderingContext.pixelStorei"
 18386  // in a try/catch block and returns (_, err, ok = false) when it went through
 18387  // the catch clause.
 18388  func (this WebGL2RenderingContext) TryPixelStorei(pname GLenum, param GLint) (ret js.Void, exception js.Any, ok bool) {
 18389  	ok = js.True == bindings.TryWebGL2RenderingContextPixelStorei(
 18390  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18391  		uint32(pname),
 18392  		int32(param),
 18393  	)
 18394  
 18395  	return
 18396  }
 18397  
 18398  // HasFuncPolygonOffset returns true if the method "WebGL2RenderingContext.polygonOffset" exists.
 18399  func (this WebGL2RenderingContext) HasFuncPolygonOffset() bool {
 18400  	return js.True == bindings.HasFuncWebGL2RenderingContextPolygonOffset(
 18401  		this.ref,
 18402  	)
 18403  }
 18404  
 18405  // FuncPolygonOffset returns the method "WebGL2RenderingContext.polygonOffset".
 18406  func (this WebGL2RenderingContext) FuncPolygonOffset() (fn js.Func[func(factor GLfloat, units GLfloat)]) {
 18407  	bindings.FuncWebGL2RenderingContextPolygonOffset(
 18408  		this.ref, js.Pointer(&fn),
 18409  	)
 18410  	return
 18411  }
 18412  
 18413  // PolygonOffset calls the method "WebGL2RenderingContext.polygonOffset".
 18414  func (this WebGL2RenderingContext) PolygonOffset(factor GLfloat, units GLfloat) (ret js.Void) {
 18415  	bindings.CallWebGL2RenderingContextPolygonOffset(
 18416  		this.ref, js.Pointer(&ret),
 18417  		float32(factor),
 18418  		float32(units),
 18419  	)
 18420  
 18421  	return
 18422  }
 18423  
 18424  // TryPolygonOffset calls the method "WebGL2RenderingContext.polygonOffset"
 18425  // in a try/catch block and returns (_, err, ok = false) when it went through
 18426  // the catch clause.
 18427  func (this WebGL2RenderingContext) TryPolygonOffset(factor GLfloat, units GLfloat) (ret js.Void, exception js.Any, ok bool) {
 18428  	ok = js.True == bindings.TryWebGL2RenderingContextPolygonOffset(
 18429  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18430  		float32(factor),
 18431  		float32(units),
 18432  	)
 18433  
 18434  	return
 18435  }
 18436  
 18437  // HasFuncRenderbufferStorage returns true if the method "WebGL2RenderingContext.renderbufferStorage" exists.
 18438  func (this WebGL2RenderingContext) HasFuncRenderbufferStorage() bool {
 18439  	return js.True == bindings.HasFuncWebGL2RenderingContextRenderbufferStorage(
 18440  		this.ref,
 18441  	)
 18442  }
 18443  
 18444  // FuncRenderbufferStorage returns the method "WebGL2RenderingContext.renderbufferStorage".
 18445  func (this WebGL2RenderingContext) FuncRenderbufferStorage() (fn js.Func[func(target GLenum, internalformat GLenum, width GLsizei, height GLsizei)]) {
 18446  	bindings.FuncWebGL2RenderingContextRenderbufferStorage(
 18447  		this.ref, js.Pointer(&fn),
 18448  	)
 18449  	return
 18450  }
 18451  
 18452  // RenderbufferStorage calls the method "WebGL2RenderingContext.renderbufferStorage".
 18453  func (this WebGL2RenderingContext) RenderbufferStorage(target GLenum, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void) {
 18454  	bindings.CallWebGL2RenderingContextRenderbufferStorage(
 18455  		this.ref, js.Pointer(&ret),
 18456  		uint32(target),
 18457  		uint32(internalformat),
 18458  		int32(width),
 18459  		int32(height),
 18460  	)
 18461  
 18462  	return
 18463  }
 18464  
 18465  // TryRenderbufferStorage calls the method "WebGL2RenderingContext.renderbufferStorage"
 18466  // in a try/catch block and returns (_, err, ok = false) when it went through
 18467  // the catch clause.
 18468  func (this WebGL2RenderingContext) TryRenderbufferStorage(target GLenum, internalformat GLenum, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 18469  	ok = js.True == bindings.TryWebGL2RenderingContextRenderbufferStorage(
 18470  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18471  		uint32(target),
 18472  		uint32(internalformat),
 18473  		int32(width),
 18474  		int32(height),
 18475  	)
 18476  
 18477  	return
 18478  }
 18479  
 18480  // HasFuncSampleCoverage returns true if the method "WebGL2RenderingContext.sampleCoverage" exists.
 18481  func (this WebGL2RenderingContext) HasFuncSampleCoverage() bool {
 18482  	return js.True == bindings.HasFuncWebGL2RenderingContextSampleCoverage(
 18483  		this.ref,
 18484  	)
 18485  }
 18486  
 18487  // FuncSampleCoverage returns the method "WebGL2RenderingContext.sampleCoverage".
 18488  func (this WebGL2RenderingContext) FuncSampleCoverage() (fn js.Func[func(value GLclampf, invert GLboolean)]) {
 18489  	bindings.FuncWebGL2RenderingContextSampleCoverage(
 18490  		this.ref, js.Pointer(&fn),
 18491  	)
 18492  	return
 18493  }
 18494  
 18495  // SampleCoverage calls the method "WebGL2RenderingContext.sampleCoverage".
 18496  func (this WebGL2RenderingContext) SampleCoverage(value GLclampf, invert GLboolean) (ret js.Void) {
 18497  	bindings.CallWebGL2RenderingContextSampleCoverage(
 18498  		this.ref, js.Pointer(&ret),
 18499  		float32(value),
 18500  		js.Bool(bool(invert)),
 18501  	)
 18502  
 18503  	return
 18504  }
 18505  
 18506  // TrySampleCoverage calls the method "WebGL2RenderingContext.sampleCoverage"
 18507  // in a try/catch block and returns (_, err, ok = false) when it went through
 18508  // the catch clause.
 18509  func (this WebGL2RenderingContext) TrySampleCoverage(value GLclampf, invert GLboolean) (ret js.Void, exception js.Any, ok bool) {
 18510  	ok = js.True == bindings.TryWebGL2RenderingContextSampleCoverage(
 18511  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18512  		float32(value),
 18513  		js.Bool(bool(invert)),
 18514  	)
 18515  
 18516  	return
 18517  }
 18518  
 18519  // HasFuncScissor returns true if the method "WebGL2RenderingContext.scissor" exists.
 18520  func (this WebGL2RenderingContext) HasFuncScissor() bool {
 18521  	return js.True == bindings.HasFuncWebGL2RenderingContextScissor(
 18522  		this.ref,
 18523  	)
 18524  }
 18525  
 18526  // FuncScissor returns the method "WebGL2RenderingContext.scissor".
 18527  func (this WebGL2RenderingContext) FuncScissor() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei)]) {
 18528  	bindings.FuncWebGL2RenderingContextScissor(
 18529  		this.ref, js.Pointer(&fn),
 18530  	)
 18531  	return
 18532  }
 18533  
 18534  // Scissor calls the method "WebGL2RenderingContext.scissor".
 18535  func (this WebGL2RenderingContext) Scissor(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
 18536  	bindings.CallWebGL2RenderingContextScissor(
 18537  		this.ref, js.Pointer(&ret),
 18538  		int32(x),
 18539  		int32(y),
 18540  		int32(width),
 18541  		int32(height),
 18542  	)
 18543  
 18544  	return
 18545  }
 18546  
 18547  // TryScissor calls the method "WebGL2RenderingContext.scissor"
 18548  // in a try/catch block and returns (_, err, ok = false) when it went through
 18549  // the catch clause.
 18550  func (this WebGL2RenderingContext) TryScissor(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 18551  	ok = js.True == bindings.TryWebGL2RenderingContextScissor(
 18552  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18553  		int32(x),
 18554  		int32(y),
 18555  		int32(width),
 18556  		int32(height),
 18557  	)
 18558  
 18559  	return
 18560  }
 18561  
 18562  // HasFuncShaderSource returns true if the method "WebGL2RenderingContext.shaderSource" exists.
 18563  func (this WebGL2RenderingContext) HasFuncShaderSource() bool {
 18564  	return js.True == bindings.HasFuncWebGL2RenderingContextShaderSource(
 18565  		this.ref,
 18566  	)
 18567  }
 18568  
 18569  // FuncShaderSource returns the method "WebGL2RenderingContext.shaderSource".
 18570  func (this WebGL2RenderingContext) FuncShaderSource() (fn js.Func[func(shader WebGLShader, source js.String)]) {
 18571  	bindings.FuncWebGL2RenderingContextShaderSource(
 18572  		this.ref, js.Pointer(&fn),
 18573  	)
 18574  	return
 18575  }
 18576  
 18577  // ShaderSource calls the method "WebGL2RenderingContext.shaderSource".
 18578  func (this WebGL2RenderingContext) ShaderSource(shader WebGLShader, source js.String) (ret js.Void) {
 18579  	bindings.CallWebGL2RenderingContextShaderSource(
 18580  		this.ref, js.Pointer(&ret),
 18581  		shader.Ref(),
 18582  		source.Ref(),
 18583  	)
 18584  
 18585  	return
 18586  }
 18587  
 18588  // TryShaderSource calls the method "WebGL2RenderingContext.shaderSource"
 18589  // in a try/catch block and returns (_, err, ok = false) when it went through
 18590  // the catch clause.
 18591  func (this WebGL2RenderingContext) TryShaderSource(shader WebGLShader, source js.String) (ret js.Void, exception js.Any, ok bool) {
 18592  	ok = js.True == bindings.TryWebGL2RenderingContextShaderSource(
 18593  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18594  		shader.Ref(),
 18595  		source.Ref(),
 18596  	)
 18597  
 18598  	return
 18599  }
 18600  
 18601  // HasFuncStencilFunc returns true if the method "WebGL2RenderingContext.stencilFunc" exists.
 18602  func (this WebGL2RenderingContext) HasFuncStencilFunc() bool {
 18603  	return js.True == bindings.HasFuncWebGL2RenderingContextStencilFunc(
 18604  		this.ref,
 18605  	)
 18606  }
 18607  
 18608  // FuncStencilFunc returns the method "WebGL2RenderingContext.stencilFunc".
 18609  func (this WebGL2RenderingContext) FuncStencilFunc() (fn js.Func[func(fn GLenum, ref GLint, mask GLuint)]) {
 18610  	bindings.FuncWebGL2RenderingContextStencilFunc(
 18611  		this.ref, js.Pointer(&fn),
 18612  	)
 18613  	return
 18614  }
 18615  
 18616  // StencilFunc calls the method "WebGL2RenderingContext.stencilFunc".
 18617  func (this WebGL2RenderingContext) StencilFunc(fn GLenum, ref GLint, mask GLuint) (ret js.Void) {
 18618  	bindings.CallWebGL2RenderingContextStencilFunc(
 18619  		this.ref, js.Pointer(&ret),
 18620  		uint32(fn),
 18621  		int32(ref),
 18622  		uint32(mask),
 18623  	)
 18624  
 18625  	return
 18626  }
 18627  
 18628  // TryStencilFunc calls the method "WebGL2RenderingContext.stencilFunc"
 18629  // in a try/catch block and returns (_, err, ok = false) when it went through
 18630  // the catch clause.
 18631  func (this WebGL2RenderingContext) TryStencilFunc(fn GLenum, ref GLint, mask GLuint) (ret js.Void, exception js.Any, ok bool) {
 18632  	ok = js.True == bindings.TryWebGL2RenderingContextStencilFunc(
 18633  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18634  		uint32(fn),
 18635  		int32(ref),
 18636  		uint32(mask),
 18637  	)
 18638  
 18639  	return
 18640  }
 18641  
 18642  // HasFuncStencilFuncSeparate returns true if the method "WebGL2RenderingContext.stencilFuncSeparate" exists.
 18643  func (this WebGL2RenderingContext) HasFuncStencilFuncSeparate() bool {
 18644  	return js.True == bindings.HasFuncWebGL2RenderingContextStencilFuncSeparate(
 18645  		this.ref,
 18646  	)
 18647  }
 18648  
 18649  // FuncStencilFuncSeparate returns the method "WebGL2RenderingContext.stencilFuncSeparate".
 18650  func (this WebGL2RenderingContext) FuncStencilFuncSeparate() (fn js.Func[func(face GLenum, fn GLenum, ref GLint, mask GLuint)]) {
 18651  	bindings.FuncWebGL2RenderingContextStencilFuncSeparate(
 18652  		this.ref, js.Pointer(&fn),
 18653  	)
 18654  	return
 18655  }
 18656  
 18657  // StencilFuncSeparate calls the method "WebGL2RenderingContext.stencilFuncSeparate".
 18658  func (this WebGL2RenderingContext) StencilFuncSeparate(face GLenum, fn GLenum, ref GLint, mask GLuint) (ret js.Void) {
 18659  	bindings.CallWebGL2RenderingContextStencilFuncSeparate(
 18660  		this.ref, js.Pointer(&ret),
 18661  		uint32(face),
 18662  		uint32(fn),
 18663  		int32(ref),
 18664  		uint32(mask),
 18665  	)
 18666  
 18667  	return
 18668  }
 18669  
 18670  // TryStencilFuncSeparate calls the method "WebGL2RenderingContext.stencilFuncSeparate"
 18671  // in a try/catch block and returns (_, err, ok = false) when it went through
 18672  // the catch clause.
 18673  func (this WebGL2RenderingContext) TryStencilFuncSeparate(face GLenum, fn GLenum, ref GLint, mask GLuint) (ret js.Void, exception js.Any, ok bool) {
 18674  	ok = js.True == bindings.TryWebGL2RenderingContextStencilFuncSeparate(
 18675  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18676  		uint32(face),
 18677  		uint32(fn),
 18678  		int32(ref),
 18679  		uint32(mask),
 18680  	)
 18681  
 18682  	return
 18683  }
 18684  
 18685  // HasFuncStencilMask returns true if the method "WebGL2RenderingContext.stencilMask" exists.
 18686  func (this WebGL2RenderingContext) HasFuncStencilMask() bool {
 18687  	return js.True == bindings.HasFuncWebGL2RenderingContextStencilMask(
 18688  		this.ref,
 18689  	)
 18690  }
 18691  
 18692  // FuncStencilMask returns the method "WebGL2RenderingContext.stencilMask".
 18693  func (this WebGL2RenderingContext) FuncStencilMask() (fn js.Func[func(mask GLuint)]) {
 18694  	bindings.FuncWebGL2RenderingContextStencilMask(
 18695  		this.ref, js.Pointer(&fn),
 18696  	)
 18697  	return
 18698  }
 18699  
 18700  // StencilMask calls the method "WebGL2RenderingContext.stencilMask".
 18701  func (this WebGL2RenderingContext) StencilMask(mask GLuint) (ret js.Void) {
 18702  	bindings.CallWebGL2RenderingContextStencilMask(
 18703  		this.ref, js.Pointer(&ret),
 18704  		uint32(mask),
 18705  	)
 18706  
 18707  	return
 18708  }
 18709  
 18710  // TryStencilMask calls the method "WebGL2RenderingContext.stencilMask"
 18711  // in a try/catch block and returns (_, err, ok = false) when it went through
 18712  // the catch clause.
 18713  func (this WebGL2RenderingContext) TryStencilMask(mask GLuint) (ret js.Void, exception js.Any, ok bool) {
 18714  	ok = js.True == bindings.TryWebGL2RenderingContextStencilMask(
 18715  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18716  		uint32(mask),
 18717  	)
 18718  
 18719  	return
 18720  }
 18721  
 18722  // HasFuncStencilMaskSeparate returns true if the method "WebGL2RenderingContext.stencilMaskSeparate" exists.
 18723  func (this WebGL2RenderingContext) HasFuncStencilMaskSeparate() bool {
 18724  	return js.True == bindings.HasFuncWebGL2RenderingContextStencilMaskSeparate(
 18725  		this.ref,
 18726  	)
 18727  }
 18728  
 18729  // FuncStencilMaskSeparate returns the method "WebGL2RenderingContext.stencilMaskSeparate".
 18730  func (this WebGL2RenderingContext) FuncStencilMaskSeparate() (fn js.Func[func(face GLenum, mask GLuint)]) {
 18731  	bindings.FuncWebGL2RenderingContextStencilMaskSeparate(
 18732  		this.ref, js.Pointer(&fn),
 18733  	)
 18734  	return
 18735  }
 18736  
 18737  // StencilMaskSeparate calls the method "WebGL2RenderingContext.stencilMaskSeparate".
 18738  func (this WebGL2RenderingContext) StencilMaskSeparate(face GLenum, mask GLuint) (ret js.Void) {
 18739  	bindings.CallWebGL2RenderingContextStencilMaskSeparate(
 18740  		this.ref, js.Pointer(&ret),
 18741  		uint32(face),
 18742  		uint32(mask),
 18743  	)
 18744  
 18745  	return
 18746  }
 18747  
 18748  // TryStencilMaskSeparate calls the method "WebGL2RenderingContext.stencilMaskSeparate"
 18749  // in a try/catch block and returns (_, err, ok = false) when it went through
 18750  // the catch clause.
 18751  func (this WebGL2RenderingContext) TryStencilMaskSeparate(face GLenum, mask GLuint) (ret js.Void, exception js.Any, ok bool) {
 18752  	ok = js.True == bindings.TryWebGL2RenderingContextStencilMaskSeparate(
 18753  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18754  		uint32(face),
 18755  		uint32(mask),
 18756  	)
 18757  
 18758  	return
 18759  }
 18760  
 18761  // HasFuncStencilOp returns true if the method "WebGL2RenderingContext.stencilOp" exists.
 18762  func (this WebGL2RenderingContext) HasFuncStencilOp() bool {
 18763  	return js.True == bindings.HasFuncWebGL2RenderingContextStencilOp(
 18764  		this.ref,
 18765  	)
 18766  }
 18767  
 18768  // FuncStencilOp returns the method "WebGL2RenderingContext.stencilOp".
 18769  func (this WebGL2RenderingContext) FuncStencilOp() (fn js.Func[func(fail GLenum, zfail GLenum, zpass GLenum)]) {
 18770  	bindings.FuncWebGL2RenderingContextStencilOp(
 18771  		this.ref, js.Pointer(&fn),
 18772  	)
 18773  	return
 18774  }
 18775  
 18776  // StencilOp calls the method "WebGL2RenderingContext.stencilOp".
 18777  func (this WebGL2RenderingContext) StencilOp(fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void) {
 18778  	bindings.CallWebGL2RenderingContextStencilOp(
 18779  		this.ref, js.Pointer(&ret),
 18780  		uint32(fail),
 18781  		uint32(zfail),
 18782  		uint32(zpass),
 18783  	)
 18784  
 18785  	return
 18786  }
 18787  
 18788  // TryStencilOp calls the method "WebGL2RenderingContext.stencilOp"
 18789  // in a try/catch block and returns (_, err, ok = false) when it went through
 18790  // the catch clause.
 18791  func (this WebGL2RenderingContext) TryStencilOp(fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void, exception js.Any, ok bool) {
 18792  	ok = js.True == bindings.TryWebGL2RenderingContextStencilOp(
 18793  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18794  		uint32(fail),
 18795  		uint32(zfail),
 18796  		uint32(zpass),
 18797  	)
 18798  
 18799  	return
 18800  }
 18801  
 18802  // HasFuncStencilOpSeparate returns true if the method "WebGL2RenderingContext.stencilOpSeparate" exists.
 18803  func (this WebGL2RenderingContext) HasFuncStencilOpSeparate() bool {
 18804  	return js.True == bindings.HasFuncWebGL2RenderingContextStencilOpSeparate(
 18805  		this.ref,
 18806  	)
 18807  }
 18808  
 18809  // FuncStencilOpSeparate returns the method "WebGL2RenderingContext.stencilOpSeparate".
 18810  func (this WebGL2RenderingContext) FuncStencilOpSeparate() (fn js.Func[func(face GLenum, fail GLenum, zfail GLenum, zpass GLenum)]) {
 18811  	bindings.FuncWebGL2RenderingContextStencilOpSeparate(
 18812  		this.ref, js.Pointer(&fn),
 18813  	)
 18814  	return
 18815  }
 18816  
 18817  // StencilOpSeparate calls the method "WebGL2RenderingContext.stencilOpSeparate".
 18818  func (this WebGL2RenderingContext) StencilOpSeparate(face GLenum, fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void) {
 18819  	bindings.CallWebGL2RenderingContextStencilOpSeparate(
 18820  		this.ref, js.Pointer(&ret),
 18821  		uint32(face),
 18822  		uint32(fail),
 18823  		uint32(zfail),
 18824  		uint32(zpass),
 18825  	)
 18826  
 18827  	return
 18828  }
 18829  
 18830  // TryStencilOpSeparate calls the method "WebGL2RenderingContext.stencilOpSeparate"
 18831  // in a try/catch block and returns (_, err, ok = false) when it went through
 18832  // the catch clause.
 18833  func (this WebGL2RenderingContext) TryStencilOpSeparate(face GLenum, fail GLenum, zfail GLenum, zpass GLenum) (ret js.Void, exception js.Any, ok bool) {
 18834  	ok = js.True == bindings.TryWebGL2RenderingContextStencilOpSeparate(
 18835  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18836  		uint32(face),
 18837  		uint32(fail),
 18838  		uint32(zfail),
 18839  		uint32(zpass),
 18840  	)
 18841  
 18842  	return
 18843  }
 18844  
 18845  // HasFuncTexParameterf returns true if the method "WebGL2RenderingContext.texParameterf" exists.
 18846  func (this WebGL2RenderingContext) HasFuncTexParameterf() bool {
 18847  	return js.True == bindings.HasFuncWebGL2RenderingContextTexParameterf(
 18848  		this.ref,
 18849  	)
 18850  }
 18851  
 18852  // FuncTexParameterf returns the method "WebGL2RenderingContext.texParameterf".
 18853  func (this WebGL2RenderingContext) FuncTexParameterf() (fn js.Func[func(target GLenum, pname GLenum, param GLfloat)]) {
 18854  	bindings.FuncWebGL2RenderingContextTexParameterf(
 18855  		this.ref, js.Pointer(&fn),
 18856  	)
 18857  	return
 18858  }
 18859  
 18860  // TexParameterf calls the method "WebGL2RenderingContext.texParameterf".
 18861  func (this WebGL2RenderingContext) TexParameterf(target GLenum, pname GLenum, param GLfloat) (ret js.Void) {
 18862  	bindings.CallWebGL2RenderingContextTexParameterf(
 18863  		this.ref, js.Pointer(&ret),
 18864  		uint32(target),
 18865  		uint32(pname),
 18866  		float32(param),
 18867  	)
 18868  
 18869  	return
 18870  }
 18871  
 18872  // TryTexParameterf calls the method "WebGL2RenderingContext.texParameterf"
 18873  // in a try/catch block and returns (_, err, ok = false) when it went through
 18874  // the catch clause.
 18875  func (this WebGL2RenderingContext) TryTexParameterf(target GLenum, pname GLenum, param GLfloat) (ret js.Void, exception js.Any, ok bool) {
 18876  	ok = js.True == bindings.TryWebGL2RenderingContextTexParameterf(
 18877  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18878  		uint32(target),
 18879  		uint32(pname),
 18880  		float32(param),
 18881  	)
 18882  
 18883  	return
 18884  }
 18885  
 18886  // HasFuncTexParameteri returns true if the method "WebGL2RenderingContext.texParameteri" exists.
 18887  func (this WebGL2RenderingContext) HasFuncTexParameteri() bool {
 18888  	return js.True == bindings.HasFuncWebGL2RenderingContextTexParameteri(
 18889  		this.ref,
 18890  	)
 18891  }
 18892  
 18893  // FuncTexParameteri returns the method "WebGL2RenderingContext.texParameteri".
 18894  func (this WebGL2RenderingContext) FuncTexParameteri() (fn js.Func[func(target GLenum, pname GLenum, param GLint)]) {
 18895  	bindings.FuncWebGL2RenderingContextTexParameteri(
 18896  		this.ref, js.Pointer(&fn),
 18897  	)
 18898  	return
 18899  }
 18900  
 18901  // TexParameteri calls the method "WebGL2RenderingContext.texParameteri".
 18902  func (this WebGL2RenderingContext) TexParameteri(target GLenum, pname GLenum, param GLint) (ret js.Void) {
 18903  	bindings.CallWebGL2RenderingContextTexParameteri(
 18904  		this.ref, js.Pointer(&ret),
 18905  		uint32(target),
 18906  		uint32(pname),
 18907  		int32(param),
 18908  	)
 18909  
 18910  	return
 18911  }
 18912  
 18913  // TryTexParameteri calls the method "WebGL2RenderingContext.texParameteri"
 18914  // in a try/catch block and returns (_, err, ok = false) when it went through
 18915  // the catch clause.
 18916  func (this WebGL2RenderingContext) TryTexParameteri(target GLenum, pname GLenum, param GLint) (ret js.Void, exception js.Any, ok bool) {
 18917  	ok = js.True == bindings.TryWebGL2RenderingContextTexParameteri(
 18918  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18919  		uint32(target),
 18920  		uint32(pname),
 18921  		int32(param),
 18922  	)
 18923  
 18924  	return
 18925  }
 18926  
 18927  // HasFuncUniform1f returns true if the method "WebGL2RenderingContext.uniform1f" exists.
 18928  func (this WebGL2RenderingContext) HasFuncUniform1f() bool {
 18929  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1f(
 18930  		this.ref,
 18931  	)
 18932  }
 18933  
 18934  // FuncUniform1f returns the method "WebGL2RenderingContext.uniform1f".
 18935  func (this WebGL2RenderingContext) FuncUniform1f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat)]) {
 18936  	bindings.FuncWebGL2RenderingContextUniform1f(
 18937  		this.ref, js.Pointer(&fn),
 18938  	)
 18939  	return
 18940  }
 18941  
 18942  // Uniform1f calls the method "WebGL2RenderingContext.uniform1f".
 18943  func (this WebGL2RenderingContext) Uniform1f(location WebGLUniformLocation, x GLfloat) (ret js.Void) {
 18944  	bindings.CallWebGL2RenderingContextUniform1f(
 18945  		this.ref, js.Pointer(&ret),
 18946  		location.Ref(),
 18947  		float32(x),
 18948  	)
 18949  
 18950  	return
 18951  }
 18952  
 18953  // TryUniform1f calls the method "WebGL2RenderingContext.uniform1f"
 18954  // in a try/catch block and returns (_, err, ok = false) when it went through
 18955  // the catch clause.
 18956  func (this WebGL2RenderingContext) TryUniform1f(location WebGLUniformLocation, x GLfloat) (ret js.Void, exception js.Any, ok bool) {
 18957  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1f(
 18958  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18959  		location.Ref(),
 18960  		float32(x),
 18961  	)
 18962  
 18963  	return
 18964  }
 18965  
 18966  // HasFuncUniform2f returns true if the method "WebGL2RenderingContext.uniform2f" exists.
 18967  func (this WebGL2RenderingContext) HasFuncUniform2f() bool {
 18968  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2f(
 18969  		this.ref,
 18970  	)
 18971  }
 18972  
 18973  // FuncUniform2f returns the method "WebGL2RenderingContext.uniform2f".
 18974  func (this WebGL2RenderingContext) FuncUniform2f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat, y GLfloat)]) {
 18975  	bindings.FuncWebGL2RenderingContextUniform2f(
 18976  		this.ref, js.Pointer(&fn),
 18977  	)
 18978  	return
 18979  }
 18980  
 18981  // Uniform2f calls the method "WebGL2RenderingContext.uniform2f".
 18982  func (this WebGL2RenderingContext) Uniform2f(location WebGLUniformLocation, x GLfloat, y GLfloat) (ret js.Void) {
 18983  	bindings.CallWebGL2RenderingContextUniform2f(
 18984  		this.ref, js.Pointer(&ret),
 18985  		location.Ref(),
 18986  		float32(x),
 18987  		float32(y),
 18988  	)
 18989  
 18990  	return
 18991  }
 18992  
 18993  // TryUniform2f calls the method "WebGL2RenderingContext.uniform2f"
 18994  // in a try/catch block and returns (_, err, ok = false) when it went through
 18995  // the catch clause.
 18996  func (this WebGL2RenderingContext) TryUniform2f(location WebGLUniformLocation, x GLfloat, y GLfloat) (ret js.Void, exception js.Any, ok bool) {
 18997  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2f(
 18998  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 18999  		location.Ref(),
 19000  		float32(x),
 19001  		float32(y),
 19002  	)
 19003  
 19004  	return
 19005  }
 19006  
 19007  // HasFuncUniform3f returns true if the method "WebGL2RenderingContext.uniform3f" exists.
 19008  func (this WebGL2RenderingContext) HasFuncUniform3f() bool {
 19009  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3f(
 19010  		this.ref,
 19011  	)
 19012  }
 19013  
 19014  // FuncUniform3f returns the method "WebGL2RenderingContext.uniform3f".
 19015  func (this WebGL2RenderingContext) FuncUniform3f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat)]) {
 19016  	bindings.FuncWebGL2RenderingContextUniform3f(
 19017  		this.ref, js.Pointer(&fn),
 19018  	)
 19019  	return
 19020  }
 19021  
 19022  // Uniform3f calls the method "WebGL2RenderingContext.uniform3f".
 19023  func (this WebGL2RenderingContext) Uniform3f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat) (ret js.Void) {
 19024  	bindings.CallWebGL2RenderingContextUniform3f(
 19025  		this.ref, js.Pointer(&ret),
 19026  		location.Ref(),
 19027  		float32(x),
 19028  		float32(y),
 19029  		float32(z),
 19030  	)
 19031  
 19032  	return
 19033  }
 19034  
 19035  // TryUniform3f calls the method "WebGL2RenderingContext.uniform3f"
 19036  // in a try/catch block and returns (_, err, ok = false) when it went through
 19037  // the catch clause.
 19038  func (this WebGL2RenderingContext) TryUniform3f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat) (ret js.Void, exception js.Any, ok bool) {
 19039  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3f(
 19040  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19041  		location.Ref(),
 19042  		float32(x),
 19043  		float32(y),
 19044  		float32(z),
 19045  	)
 19046  
 19047  	return
 19048  }
 19049  
 19050  // HasFuncUniform4f returns true if the method "WebGL2RenderingContext.uniform4f" exists.
 19051  func (this WebGL2RenderingContext) HasFuncUniform4f() bool {
 19052  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4f(
 19053  		this.ref,
 19054  	)
 19055  }
 19056  
 19057  // FuncUniform4f returns the method "WebGL2RenderingContext.uniform4f".
 19058  func (this WebGL2RenderingContext) FuncUniform4f() (fn js.Func[func(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat, w GLfloat)]) {
 19059  	bindings.FuncWebGL2RenderingContextUniform4f(
 19060  		this.ref, js.Pointer(&fn),
 19061  	)
 19062  	return
 19063  }
 19064  
 19065  // Uniform4f calls the method "WebGL2RenderingContext.uniform4f".
 19066  func (this WebGL2RenderingContext) Uniform4f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void) {
 19067  	bindings.CallWebGL2RenderingContextUniform4f(
 19068  		this.ref, js.Pointer(&ret),
 19069  		location.Ref(),
 19070  		float32(x),
 19071  		float32(y),
 19072  		float32(z),
 19073  		float32(w),
 19074  	)
 19075  
 19076  	return
 19077  }
 19078  
 19079  // TryUniform4f calls the method "WebGL2RenderingContext.uniform4f"
 19080  // in a try/catch block and returns (_, err, ok = false) when it went through
 19081  // the catch clause.
 19082  func (this WebGL2RenderingContext) TryUniform4f(location WebGLUniformLocation, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void, exception js.Any, ok bool) {
 19083  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4f(
 19084  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19085  		location.Ref(),
 19086  		float32(x),
 19087  		float32(y),
 19088  		float32(z),
 19089  		float32(w),
 19090  	)
 19091  
 19092  	return
 19093  }
 19094  
 19095  // HasFuncUniform1i returns true if the method "WebGL2RenderingContext.uniform1i" exists.
 19096  func (this WebGL2RenderingContext) HasFuncUniform1i() bool {
 19097  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform1i(
 19098  		this.ref,
 19099  	)
 19100  }
 19101  
 19102  // FuncUniform1i returns the method "WebGL2RenderingContext.uniform1i".
 19103  func (this WebGL2RenderingContext) FuncUniform1i() (fn js.Func[func(location WebGLUniformLocation, x GLint)]) {
 19104  	bindings.FuncWebGL2RenderingContextUniform1i(
 19105  		this.ref, js.Pointer(&fn),
 19106  	)
 19107  	return
 19108  }
 19109  
 19110  // Uniform1i calls the method "WebGL2RenderingContext.uniform1i".
 19111  func (this WebGL2RenderingContext) Uniform1i(location WebGLUniformLocation, x GLint) (ret js.Void) {
 19112  	bindings.CallWebGL2RenderingContextUniform1i(
 19113  		this.ref, js.Pointer(&ret),
 19114  		location.Ref(),
 19115  		int32(x),
 19116  	)
 19117  
 19118  	return
 19119  }
 19120  
 19121  // TryUniform1i calls the method "WebGL2RenderingContext.uniform1i"
 19122  // in a try/catch block and returns (_, err, ok = false) when it went through
 19123  // the catch clause.
 19124  func (this WebGL2RenderingContext) TryUniform1i(location WebGLUniformLocation, x GLint) (ret js.Void, exception js.Any, ok bool) {
 19125  	ok = js.True == bindings.TryWebGL2RenderingContextUniform1i(
 19126  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19127  		location.Ref(),
 19128  		int32(x),
 19129  	)
 19130  
 19131  	return
 19132  }
 19133  
 19134  // HasFuncUniform2i returns true if the method "WebGL2RenderingContext.uniform2i" exists.
 19135  func (this WebGL2RenderingContext) HasFuncUniform2i() bool {
 19136  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform2i(
 19137  		this.ref,
 19138  	)
 19139  }
 19140  
 19141  // FuncUniform2i returns the method "WebGL2RenderingContext.uniform2i".
 19142  func (this WebGL2RenderingContext) FuncUniform2i() (fn js.Func[func(location WebGLUniformLocation, x GLint, y GLint)]) {
 19143  	bindings.FuncWebGL2RenderingContextUniform2i(
 19144  		this.ref, js.Pointer(&fn),
 19145  	)
 19146  	return
 19147  }
 19148  
 19149  // Uniform2i calls the method "WebGL2RenderingContext.uniform2i".
 19150  func (this WebGL2RenderingContext) Uniform2i(location WebGLUniformLocation, x GLint, y GLint) (ret js.Void) {
 19151  	bindings.CallWebGL2RenderingContextUniform2i(
 19152  		this.ref, js.Pointer(&ret),
 19153  		location.Ref(),
 19154  		int32(x),
 19155  		int32(y),
 19156  	)
 19157  
 19158  	return
 19159  }
 19160  
 19161  // TryUniform2i calls the method "WebGL2RenderingContext.uniform2i"
 19162  // in a try/catch block and returns (_, err, ok = false) when it went through
 19163  // the catch clause.
 19164  func (this WebGL2RenderingContext) TryUniform2i(location WebGLUniformLocation, x GLint, y GLint) (ret js.Void, exception js.Any, ok bool) {
 19165  	ok = js.True == bindings.TryWebGL2RenderingContextUniform2i(
 19166  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19167  		location.Ref(),
 19168  		int32(x),
 19169  		int32(y),
 19170  	)
 19171  
 19172  	return
 19173  }
 19174  
 19175  // HasFuncUniform3i returns true if the method "WebGL2RenderingContext.uniform3i" exists.
 19176  func (this WebGL2RenderingContext) HasFuncUniform3i() bool {
 19177  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform3i(
 19178  		this.ref,
 19179  	)
 19180  }
 19181  
 19182  // FuncUniform3i returns the method "WebGL2RenderingContext.uniform3i".
 19183  func (this WebGL2RenderingContext) FuncUniform3i() (fn js.Func[func(location WebGLUniformLocation, x GLint, y GLint, z GLint)]) {
 19184  	bindings.FuncWebGL2RenderingContextUniform3i(
 19185  		this.ref, js.Pointer(&fn),
 19186  	)
 19187  	return
 19188  }
 19189  
 19190  // Uniform3i calls the method "WebGL2RenderingContext.uniform3i".
 19191  func (this WebGL2RenderingContext) Uniform3i(location WebGLUniformLocation, x GLint, y GLint, z GLint) (ret js.Void) {
 19192  	bindings.CallWebGL2RenderingContextUniform3i(
 19193  		this.ref, js.Pointer(&ret),
 19194  		location.Ref(),
 19195  		int32(x),
 19196  		int32(y),
 19197  		int32(z),
 19198  	)
 19199  
 19200  	return
 19201  }
 19202  
 19203  // TryUniform3i calls the method "WebGL2RenderingContext.uniform3i"
 19204  // in a try/catch block and returns (_, err, ok = false) when it went through
 19205  // the catch clause.
 19206  func (this WebGL2RenderingContext) TryUniform3i(location WebGLUniformLocation, x GLint, y GLint, z GLint) (ret js.Void, exception js.Any, ok bool) {
 19207  	ok = js.True == bindings.TryWebGL2RenderingContextUniform3i(
 19208  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19209  		location.Ref(),
 19210  		int32(x),
 19211  		int32(y),
 19212  		int32(z),
 19213  	)
 19214  
 19215  	return
 19216  }
 19217  
 19218  // HasFuncUniform4i returns true if the method "WebGL2RenderingContext.uniform4i" exists.
 19219  func (this WebGL2RenderingContext) HasFuncUniform4i() bool {
 19220  	return js.True == bindings.HasFuncWebGL2RenderingContextUniform4i(
 19221  		this.ref,
 19222  	)
 19223  }
 19224  
 19225  // FuncUniform4i returns the method "WebGL2RenderingContext.uniform4i".
 19226  func (this WebGL2RenderingContext) FuncUniform4i() (fn js.Func[func(location WebGLUniformLocation, x GLint, y GLint, z GLint, w GLint)]) {
 19227  	bindings.FuncWebGL2RenderingContextUniform4i(
 19228  		this.ref, js.Pointer(&fn),
 19229  	)
 19230  	return
 19231  }
 19232  
 19233  // Uniform4i calls the method "WebGL2RenderingContext.uniform4i".
 19234  func (this WebGL2RenderingContext) Uniform4i(location WebGLUniformLocation, x GLint, y GLint, z GLint, w GLint) (ret js.Void) {
 19235  	bindings.CallWebGL2RenderingContextUniform4i(
 19236  		this.ref, js.Pointer(&ret),
 19237  		location.Ref(),
 19238  		int32(x),
 19239  		int32(y),
 19240  		int32(z),
 19241  		int32(w),
 19242  	)
 19243  
 19244  	return
 19245  }
 19246  
 19247  // TryUniform4i calls the method "WebGL2RenderingContext.uniform4i"
 19248  // in a try/catch block and returns (_, err, ok = false) when it went through
 19249  // the catch clause.
 19250  func (this WebGL2RenderingContext) TryUniform4i(location WebGLUniformLocation, x GLint, y GLint, z GLint, w GLint) (ret js.Void, exception js.Any, ok bool) {
 19251  	ok = js.True == bindings.TryWebGL2RenderingContextUniform4i(
 19252  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19253  		location.Ref(),
 19254  		int32(x),
 19255  		int32(y),
 19256  		int32(z),
 19257  		int32(w),
 19258  	)
 19259  
 19260  	return
 19261  }
 19262  
 19263  // HasFuncUseProgram returns true if the method "WebGL2RenderingContext.useProgram" exists.
 19264  func (this WebGL2RenderingContext) HasFuncUseProgram() bool {
 19265  	return js.True == bindings.HasFuncWebGL2RenderingContextUseProgram(
 19266  		this.ref,
 19267  	)
 19268  }
 19269  
 19270  // FuncUseProgram returns the method "WebGL2RenderingContext.useProgram".
 19271  func (this WebGL2RenderingContext) FuncUseProgram() (fn js.Func[func(program WebGLProgram)]) {
 19272  	bindings.FuncWebGL2RenderingContextUseProgram(
 19273  		this.ref, js.Pointer(&fn),
 19274  	)
 19275  	return
 19276  }
 19277  
 19278  // UseProgram calls the method "WebGL2RenderingContext.useProgram".
 19279  func (this WebGL2RenderingContext) UseProgram(program WebGLProgram) (ret js.Void) {
 19280  	bindings.CallWebGL2RenderingContextUseProgram(
 19281  		this.ref, js.Pointer(&ret),
 19282  		program.Ref(),
 19283  	)
 19284  
 19285  	return
 19286  }
 19287  
 19288  // TryUseProgram calls the method "WebGL2RenderingContext.useProgram"
 19289  // in a try/catch block and returns (_, err, ok = false) when it went through
 19290  // the catch clause.
 19291  func (this WebGL2RenderingContext) TryUseProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
 19292  	ok = js.True == bindings.TryWebGL2RenderingContextUseProgram(
 19293  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19294  		program.Ref(),
 19295  	)
 19296  
 19297  	return
 19298  }
 19299  
 19300  // HasFuncValidateProgram returns true if the method "WebGL2RenderingContext.validateProgram" exists.
 19301  func (this WebGL2RenderingContext) HasFuncValidateProgram() bool {
 19302  	return js.True == bindings.HasFuncWebGL2RenderingContextValidateProgram(
 19303  		this.ref,
 19304  	)
 19305  }
 19306  
 19307  // FuncValidateProgram returns the method "WebGL2RenderingContext.validateProgram".
 19308  func (this WebGL2RenderingContext) FuncValidateProgram() (fn js.Func[func(program WebGLProgram)]) {
 19309  	bindings.FuncWebGL2RenderingContextValidateProgram(
 19310  		this.ref, js.Pointer(&fn),
 19311  	)
 19312  	return
 19313  }
 19314  
 19315  // ValidateProgram calls the method "WebGL2RenderingContext.validateProgram".
 19316  func (this WebGL2RenderingContext) ValidateProgram(program WebGLProgram) (ret js.Void) {
 19317  	bindings.CallWebGL2RenderingContextValidateProgram(
 19318  		this.ref, js.Pointer(&ret),
 19319  		program.Ref(),
 19320  	)
 19321  
 19322  	return
 19323  }
 19324  
 19325  // TryValidateProgram calls the method "WebGL2RenderingContext.validateProgram"
 19326  // in a try/catch block and returns (_, err, ok = false) when it went through
 19327  // the catch clause.
 19328  func (this WebGL2RenderingContext) TryValidateProgram(program WebGLProgram) (ret js.Void, exception js.Any, ok bool) {
 19329  	ok = js.True == bindings.TryWebGL2RenderingContextValidateProgram(
 19330  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19331  		program.Ref(),
 19332  	)
 19333  
 19334  	return
 19335  }
 19336  
 19337  // HasFuncVertexAttrib1f returns true if the method "WebGL2RenderingContext.vertexAttrib1f" exists.
 19338  func (this WebGL2RenderingContext) HasFuncVertexAttrib1f() bool {
 19339  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib1f(
 19340  		this.ref,
 19341  	)
 19342  }
 19343  
 19344  // FuncVertexAttrib1f returns the method "WebGL2RenderingContext.vertexAttrib1f".
 19345  func (this WebGL2RenderingContext) FuncVertexAttrib1f() (fn js.Func[func(index GLuint, x GLfloat)]) {
 19346  	bindings.FuncWebGL2RenderingContextVertexAttrib1f(
 19347  		this.ref, js.Pointer(&fn),
 19348  	)
 19349  	return
 19350  }
 19351  
 19352  // VertexAttrib1f calls the method "WebGL2RenderingContext.vertexAttrib1f".
 19353  func (this WebGL2RenderingContext) VertexAttrib1f(index GLuint, x GLfloat) (ret js.Void) {
 19354  	bindings.CallWebGL2RenderingContextVertexAttrib1f(
 19355  		this.ref, js.Pointer(&ret),
 19356  		uint32(index),
 19357  		float32(x),
 19358  	)
 19359  
 19360  	return
 19361  }
 19362  
 19363  // TryVertexAttrib1f calls the method "WebGL2RenderingContext.vertexAttrib1f"
 19364  // in a try/catch block and returns (_, err, ok = false) when it went through
 19365  // the catch clause.
 19366  func (this WebGL2RenderingContext) TryVertexAttrib1f(index GLuint, x GLfloat) (ret js.Void, exception js.Any, ok bool) {
 19367  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib1f(
 19368  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19369  		uint32(index),
 19370  		float32(x),
 19371  	)
 19372  
 19373  	return
 19374  }
 19375  
 19376  // HasFuncVertexAttrib2f returns true if the method "WebGL2RenderingContext.vertexAttrib2f" exists.
 19377  func (this WebGL2RenderingContext) HasFuncVertexAttrib2f() bool {
 19378  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib2f(
 19379  		this.ref,
 19380  	)
 19381  }
 19382  
 19383  // FuncVertexAttrib2f returns the method "WebGL2RenderingContext.vertexAttrib2f".
 19384  func (this WebGL2RenderingContext) FuncVertexAttrib2f() (fn js.Func[func(index GLuint, x GLfloat, y GLfloat)]) {
 19385  	bindings.FuncWebGL2RenderingContextVertexAttrib2f(
 19386  		this.ref, js.Pointer(&fn),
 19387  	)
 19388  	return
 19389  }
 19390  
 19391  // VertexAttrib2f calls the method "WebGL2RenderingContext.vertexAttrib2f".
 19392  func (this WebGL2RenderingContext) VertexAttrib2f(index GLuint, x GLfloat, y GLfloat) (ret js.Void) {
 19393  	bindings.CallWebGL2RenderingContextVertexAttrib2f(
 19394  		this.ref, js.Pointer(&ret),
 19395  		uint32(index),
 19396  		float32(x),
 19397  		float32(y),
 19398  	)
 19399  
 19400  	return
 19401  }
 19402  
 19403  // TryVertexAttrib2f calls the method "WebGL2RenderingContext.vertexAttrib2f"
 19404  // in a try/catch block and returns (_, err, ok = false) when it went through
 19405  // the catch clause.
 19406  func (this WebGL2RenderingContext) TryVertexAttrib2f(index GLuint, x GLfloat, y GLfloat) (ret js.Void, exception js.Any, ok bool) {
 19407  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib2f(
 19408  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19409  		uint32(index),
 19410  		float32(x),
 19411  		float32(y),
 19412  	)
 19413  
 19414  	return
 19415  }
 19416  
 19417  // HasFuncVertexAttrib3f returns true if the method "WebGL2RenderingContext.vertexAttrib3f" exists.
 19418  func (this WebGL2RenderingContext) HasFuncVertexAttrib3f() bool {
 19419  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib3f(
 19420  		this.ref,
 19421  	)
 19422  }
 19423  
 19424  // FuncVertexAttrib3f returns the method "WebGL2RenderingContext.vertexAttrib3f".
 19425  func (this WebGL2RenderingContext) FuncVertexAttrib3f() (fn js.Func[func(index GLuint, x GLfloat, y GLfloat, z GLfloat)]) {
 19426  	bindings.FuncWebGL2RenderingContextVertexAttrib3f(
 19427  		this.ref, js.Pointer(&fn),
 19428  	)
 19429  	return
 19430  }
 19431  
 19432  // VertexAttrib3f calls the method "WebGL2RenderingContext.vertexAttrib3f".
 19433  func (this WebGL2RenderingContext) VertexAttrib3f(index GLuint, x GLfloat, y GLfloat, z GLfloat) (ret js.Void) {
 19434  	bindings.CallWebGL2RenderingContextVertexAttrib3f(
 19435  		this.ref, js.Pointer(&ret),
 19436  		uint32(index),
 19437  		float32(x),
 19438  		float32(y),
 19439  		float32(z),
 19440  	)
 19441  
 19442  	return
 19443  }
 19444  
 19445  // TryVertexAttrib3f calls the method "WebGL2RenderingContext.vertexAttrib3f"
 19446  // in a try/catch block and returns (_, err, ok = false) when it went through
 19447  // the catch clause.
 19448  func (this WebGL2RenderingContext) TryVertexAttrib3f(index GLuint, x GLfloat, y GLfloat, z GLfloat) (ret js.Void, exception js.Any, ok bool) {
 19449  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib3f(
 19450  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19451  		uint32(index),
 19452  		float32(x),
 19453  		float32(y),
 19454  		float32(z),
 19455  	)
 19456  
 19457  	return
 19458  }
 19459  
 19460  // HasFuncVertexAttrib4f returns true if the method "WebGL2RenderingContext.vertexAttrib4f" exists.
 19461  func (this WebGL2RenderingContext) HasFuncVertexAttrib4f() bool {
 19462  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib4f(
 19463  		this.ref,
 19464  	)
 19465  }
 19466  
 19467  // FuncVertexAttrib4f returns the method "WebGL2RenderingContext.vertexAttrib4f".
 19468  func (this WebGL2RenderingContext) FuncVertexAttrib4f() (fn js.Func[func(index GLuint, x GLfloat, y GLfloat, z GLfloat, w GLfloat)]) {
 19469  	bindings.FuncWebGL2RenderingContextVertexAttrib4f(
 19470  		this.ref, js.Pointer(&fn),
 19471  	)
 19472  	return
 19473  }
 19474  
 19475  // VertexAttrib4f calls the method "WebGL2RenderingContext.vertexAttrib4f".
 19476  func (this WebGL2RenderingContext) VertexAttrib4f(index GLuint, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void) {
 19477  	bindings.CallWebGL2RenderingContextVertexAttrib4f(
 19478  		this.ref, js.Pointer(&ret),
 19479  		uint32(index),
 19480  		float32(x),
 19481  		float32(y),
 19482  		float32(z),
 19483  		float32(w),
 19484  	)
 19485  
 19486  	return
 19487  }
 19488  
 19489  // TryVertexAttrib4f calls the method "WebGL2RenderingContext.vertexAttrib4f"
 19490  // in a try/catch block and returns (_, err, ok = false) when it went through
 19491  // the catch clause.
 19492  func (this WebGL2RenderingContext) TryVertexAttrib4f(index GLuint, x GLfloat, y GLfloat, z GLfloat, w GLfloat) (ret js.Void, exception js.Any, ok bool) {
 19493  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib4f(
 19494  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19495  		uint32(index),
 19496  		float32(x),
 19497  		float32(y),
 19498  		float32(z),
 19499  		float32(w),
 19500  	)
 19501  
 19502  	return
 19503  }
 19504  
 19505  // HasFuncVertexAttrib1fv returns true if the method "WebGL2RenderingContext.vertexAttrib1fv" exists.
 19506  func (this WebGL2RenderingContext) HasFuncVertexAttrib1fv() bool {
 19507  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib1fv(
 19508  		this.ref,
 19509  	)
 19510  }
 19511  
 19512  // FuncVertexAttrib1fv returns the method "WebGL2RenderingContext.vertexAttrib1fv".
 19513  func (this WebGL2RenderingContext) FuncVertexAttrib1fv() (fn js.Func[func(index GLuint, values Float32List)]) {
 19514  	bindings.FuncWebGL2RenderingContextVertexAttrib1fv(
 19515  		this.ref, js.Pointer(&fn),
 19516  	)
 19517  	return
 19518  }
 19519  
 19520  // VertexAttrib1fv calls the method "WebGL2RenderingContext.vertexAttrib1fv".
 19521  func (this WebGL2RenderingContext) VertexAttrib1fv(index GLuint, values Float32List) (ret js.Void) {
 19522  	bindings.CallWebGL2RenderingContextVertexAttrib1fv(
 19523  		this.ref, js.Pointer(&ret),
 19524  		uint32(index),
 19525  		values.Ref(),
 19526  	)
 19527  
 19528  	return
 19529  }
 19530  
 19531  // TryVertexAttrib1fv calls the method "WebGL2RenderingContext.vertexAttrib1fv"
 19532  // in a try/catch block and returns (_, err, ok = false) when it went through
 19533  // the catch clause.
 19534  func (this WebGL2RenderingContext) TryVertexAttrib1fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
 19535  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib1fv(
 19536  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19537  		uint32(index),
 19538  		values.Ref(),
 19539  	)
 19540  
 19541  	return
 19542  }
 19543  
 19544  // HasFuncVertexAttrib2fv returns true if the method "WebGL2RenderingContext.vertexAttrib2fv" exists.
 19545  func (this WebGL2RenderingContext) HasFuncVertexAttrib2fv() bool {
 19546  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib2fv(
 19547  		this.ref,
 19548  	)
 19549  }
 19550  
 19551  // FuncVertexAttrib2fv returns the method "WebGL2RenderingContext.vertexAttrib2fv".
 19552  func (this WebGL2RenderingContext) FuncVertexAttrib2fv() (fn js.Func[func(index GLuint, values Float32List)]) {
 19553  	bindings.FuncWebGL2RenderingContextVertexAttrib2fv(
 19554  		this.ref, js.Pointer(&fn),
 19555  	)
 19556  	return
 19557  }
 19558  
 19559  // VertexAttrib2fv calls the method "WebGL2RenderingContext.vertexAttrib2fv".
 19560  func (this WebGL2RenderingContext) VertexAttrib2fv(index GLuint, values Float32List) (ret js.Void) {
 19561  	bindings.CallWebGL2RenderingContextVertexAttrib2fv(
 19562  		this.ref, js.Pointer(&ret),
 19563  		uint32(index),
 19564  		values.Ref(),
 19565  	)
 19566  
 19567  	return
 19568  }
 19569  
 19570  // TryVertexAttrib2fv calls the method "WebGL2RenderingContext.vertexAttrib2fv"
 19571  // in a try/catch block and returns (_, err, ok = false) when it went through
 19572  // the catch clause.
 19573  func (this WebGL2RenderingContext) TryVertexAttrib2fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
 19574  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib2fv(
 19575  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19576  		uint32(index),
 19577  		values.Ref(),
 19578  	)
 19579  
 19580  	return
 19581  }
 19582  
 19583  // HasFuncVertexAttrib3fv returns true if the method "WebGL2RenderingContext.vertexAttrib3fv" exists.
 19584  func (this WebGL2RenderingContext) HasFuncVertexAttrib3fv() bool {
 19585  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib3fv(
 19586  		this.ref,
 19587  	)
 19588  }
 19589  
 19590  // FuncVertexAttrib3fv returns the method "WebGL2RenderingContext.vertexAttrib3fv".
 19591  func (this WebGL2RenderingContext) FuncVertexAttrib3fv() (fn js.Func[func(index GLuint, values Float32List)]) {
 19592  	bindings.FuncWebGL2RenderingContextVertexAttrib3fv(
 19593  		this.ref, js.Pointer(&fn),
 19594  	)
 19595  	return
 19596  }
 19597  
 19598  // VertexAttrib3fv calls the method "WebGL2RenderingContext.vertexAttrib3fv".
 19599  func (this WebGL2RenderingContext) VertexAttrib3fv(index GLuint, values Float32List) (ret js.Void) {
 19600  	bindings.CallWebGL2RenderingContextVertexAttrib3fv(
 19601  		this.ref, js.Pointer(&ret),
 19602  		uint32(index),
 19603  		values.Ref(),
 19604  	)
 19605  
 19606  	return
 19607  }
 19608  
 19609  // TryVertexAttrib3fv calls the method "WebGL2RenderingContext.vertexAttrib3fv"
 19610  // in a try/catch block and returns (_, err, ok = false) when it went through
 19611  // the catch clause.
 19612  func (this WebGL2RenderingContext) TryVertexAttrib3fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
 19613  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib3fv(
 19614  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19615  		uint32(index),
 19616  		values.Ref(),
 19617  	)
 19618  
 19619  	return
 19620  }
 19621  
 19622  // HasFuncVertexAttrib4fv returns true if the method "WebGL2RenderingContext.vertexAttrib4fv" exists.
 19623  func (this WebGL2RenderingContext) HasFuncVertexAttrib4fv() bool {
 19624  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttrib4fv(
 19625  		this.ref,
 19626  	)
 19627  }
 19628  
 19629  // FuncVertexAttrib4fv returns the method "WebGL2RenderingContext.vertexAttrib4fv".
 19630  func (this WebGL2RenderingContext) FuncVertexAttrib4fv() (fn js.Func[func(index GLuint, values Float32List)]) {
 19631  	bindings.FuncWebGL2RenderingContextVertexAttrib4fv(
 19632  		this.ref, js.Pointer(&fn),
 19633  	)
 19634  	return
 19635  }
 19636  
 19637  // VertexAttrib4fv calls the method "WebGL2RenderingContext.vertexAttrib4fv".
 19638  func (this WebGL2RenderingContext) VertexAttrib4fv(index GLuint, values Float32List) (ret js.Void) {
 19639  	bindings.CallWebGL2RenderingContextVertexAttrib4fv(
 19640  		this.ref, js.Pointer(&ret),
 19641  		uint32(index),
 19642  		values.Ref(),
 19643  	)
 19644  
 19645  	return
 19646  }
 19647  
 19648  // TryVertexAttrib4fv calls the method "WebGL2RenderingContext.vertexAttrib4fv"
 19649  // in a try/catch block and returns (_, err, ok = false) when it went through
 19650  // the catch clause.
 19651  func (this WebGL2RenderingContext) TryVertexAttrib4fv(index GLuint, values Float32List) (ret js.Void, exception js.Any, ok bool) {
 19652  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttrib4fv(
 19653  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19654  		uint32(index),
 19655  		values.Ref(),
 19656  	)
 19657  
 19658  	return
 19659  }
 19660  
 19661  // HasFuncVertexAttribPointer returns true if the method "WebGL2RenderingContext.vertexAttribPointer" exists.
 19662  func (this WebGL2RenderingContext) HasFuncVertexAttribPointer() bool {
 19663  	return js.True == bindings.HasFuncWebGL2RenderingContextVertexAttribPointer(
 19664  		this.ref,
 19665  	)
 19666  }
 19667  
 19668  // FuncVertexAttribPointer returns the method "WebGL2RenderingContext.vertexAttribPointer".
 19669  func (this WebGL2RenderingContext) FuncVertexAttribPointer() (fn js.Func[func(index GLuint, size GLint, typ GLenum, normalized GLboolean, stride GLsizei, offset GLintptr)]) {
 19670  	bindings.FuncWebGL2RenderingContextVertexAttribPointer(
 19671  		this.ref, js.Pointer(&fn),
 19672  	)
 19673  	return
 19674  }
 19675  
 19676  // VertexAttribPointer calls the method "WebGL2RenderingContext.vertexAttribPointer".
 19677  func (this WebGL2RenderingContext) VertexAttribPointer(index GLuint, size GLint, typ GLenum, normalized GLboolean, stride GLsizei, offset GLintptr) (ret js.Void) {
 19678  	bindings.CallWebGL2RenderingContextVertexAttribPointer(
 19679  		this.ref, js.Pointer(&ret),
 19680  		uint32(index),
 19681  		int32(size),
 19682  		uint32(typ),
 19683  		js.Bool(bool(normalized)),
 19684  		int32(stride),
 19685  		float64(offset),
 19686  	)
 19687  
 19688  	return
 19689  }
 19690  
 19691  // TryVertexAttribPointer calls the method "WebGL2RenderingContext.vertexAttribPointer"
 19692  // in a try/catch block and returns (_, err, ok = false) when it went through
 19693  // the catch clause.
 19694  func (this WebGL2RenderingContext) TryVertexAttribPointer(index GLuint, size GLint, typ GLenum, normalized GLboolean, stride GLsizei, offset GLintptr) (ret js.Void, exception js.Any, ok bool) {
 19695  	ok = js.True == bindings.TryWebGL2RenderingContextVertexAttribPointer(
 19696  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19697  		uint32(index),
 19698  		int32(size),
 19699  		uint32(typ),
 19700  		js.Bool(bool(normalized)),
 19701  		int32(stride),
 19702  		float64(offset),
 19703  	)
 19704  
 19705  	return
 19706  }
 19707  
 19708  // HasFuncViewport returns true if the method "WebGL2RenderingContext.viewport" exists.
 19709  func (this WebGL2RenderingContext) HasFuncViewport() bool {
 19710  	return js.True == bindings.HasFuncWebGL2RenderingContextViewport(
 19711  		this.ref,
 19712  	)
 19713  }
 19714  
 19715  // FuncViewport returns the method "WebGL2RenderingContext.viewport".
 19716  func (this WebGL2RenderingContext) FuncViewport() (fn js.Func[func(x GLint, y GLint, width GLsizei, height GLsizei)]) {
 19717  	bindings.FuncWebGL2RenderingContextViewport(
 19718  		this.ref, js.Pointer(&fn),
 19719  	)
 19720  	return
 19721  }
 19722  
 19723  // Viewport calls the method "WebGL2RenderingContext.viewport".
 19724  func (this WebGL2RenderingContext) Viewport(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void) {
 19725  	bindings.CallWebGL2RenderingContextViewport(
 19726  		this.ref, js.Pointer(&ret),
 19727  		int32(x),
 19728  		int32(y),
 19729  		int32(width),
 19730  		int32(height),
 19731  	)
 19732  
 19733  	return
 19734  }
 19735  
 19736  // TryViewport calls the method "WebGL2RenderingContext.viewport"
 19737  // in a try/catch block and returns (_, err, ok = false) when it went through
 19738  // the catch clause.
 19739  func (this WebGL2RenderingContext) TryViewport(x GLint, y GLint, width GLsizei, height GLsizei) (ret js.Void, exception js.Any, ok bool) {
 19740  	ok = js.True == bindings.TryWebGL2RenderingContextViewport(
 19741  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19742  		int32(x),
 19743  		int32(y),
 19744  		int32(width),
 19745  		int32(height),
 19746  	)
 19747  
 19748  	return
 19749  }
 19750  
 19751  // HasFuncMakeXRCompatible returns true if the method "WebGL2RenderingContext.makeXRCompatible" exists.
 19752  func (this WebGL2RenderingContext) HasFuncMakeXRCompatible() bool {
 19753  	return js.True == bindings.HasFuncWebGL2RenderingContextMakeXRCompatible(
 19754  		this.ref,
 19755  	)
 19756  }
 19757  
 19758  // FuncMakeXRCompatible returns the method "WebGL2RenderingContext.makeXRCompatible".
 19759  func (this WebGL2RenderingContext) FuncMakeXRCompatible() (fn js.Func[func() js.Promise[js.Void]]) {
 19760  	bindings.FuncWebGL2RenderingContextMakeXRCompatible(
 19761  		this.ref, js.Pointer(&fn),
 19762  	)
 19763  	return
 19764  }
 19765  
 19766  // MakeXRCompatible calls the method "WebGL2RenderingContext.makeXRCompatible".
 19767  func (this WebGL2RenderingContext) MakeXRCompatible() (ret js.Promise[js.Void]) {
 19768  	bindings.CallWebGL2RenderingContextMakeXRCompatible(
 19769  		this.ref, js.Pointer(&ret),
 19770  	)
 19771  
 19772  	return
 19773  }
 19774  
 19775  // TryMakeXRCompatible calls the method "WebGL2RenderingContext.makeXRCompatible"
 19776  // in a try/catch block and returns (_, err, ok = false) when it went through
 19777  // the catch clause.
 19778  func (this WebGL2RenderingContext) TryMakeXRCompatible() (ret js.Promise[js.Void], exception js.Any, ok bool) {
 19779  	ok = js.True == bindings.TryWebGL2RenderingContextMakeXRCompatible(
 19780  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19781  	)
 19782  
 19783  	return
 19784  }
 19785  
 19786  type GPUMapModeFlags uint32
 19787  
 19788  type GPUSize64 uint64
 19789  
 19790  type GPUSize64Out uint64
 19791  
 19792  type GPUFlagsConstant uint32
 19793  
 19794  type GPUBufferMapState uint32
 19795  
 19796  const (
 19797  	_ GPUBufferMapState = iota
 19798  
 19799  	GPUBufferMapState_UNMAPPED
 19800  	GPUBufferMapState_PENDING
 19801  	GPUBufferMapState_MAPPED
 19802  )
 19803  
 19804  func (GPUBufferMapState) FromRef(str js.Ref) GPUBufferMapState {
 19805  	return GPUBufferMapState(bindings.ConstOfGPUBufferMapState(str))
 19806  }
 19807  
 19808  func (x GPUBufferMapState) String() (string, bool) {
 19809  	switch x {
 19810  	case GPUBufferMapState_UNMAPPED:
 19811  		return "unmapped", true
 19812  	case GPUBufferMapState_PENDING:
 19813  		return "pending", true
 19814  	case GPUBufferMapState_MAPPED:
 19815  		return "mapped", true
 19816  	default:
 19817  		return "", false
 19818  	}
 19819  }
 19820  
 19821  type GPUBuffer struct {
 19822  	ref js.Ref
 19823  }
 19824  
 19825  func (this GPUBuffer) Once() GPUBuffer {
 19826  	this.ref.Once()
 19827  	return this
 19828  }
 19829  
 19830  func (this GPUBuffer) Ref() js.Ref {
 19831  	return this.ref
 19832  }
 19833  
 19834  func (this GPUBuffer) FromRef(ref js.Ref) GPUBuffer {
 19835  	this.ref = ref
 19836  	return this
 19837  }
 19838  
 19839  func (this GPUBuffer) Free() {
 19840  	this.ref.Free()
 19841  }
 19842  
 19843  // Size returns the value of property "GPUBuffer.size".
 19844  //
 19845  // It returns ok=false if there is no such property.
 19846  func (this GPUBuffer) Size() (ret GPUSize64Out, ok bool) {
 19847  	ok = js.True == bindings.GetGPUBufferSize(
 19848  		this.ref, js.Pointer(&ret),
 19849  	)
 19850  	return
 19851  }
 19852  
 19853  // Usage returns the value of property "GPUBuffer.usage".
 19854  //
 19855  // It returns ok=false if there is no such property.
 19856  func (this GPUBuffer) Usage() (ret GPUFlagsConstant, ok bool) {
 19857  	ok = js.True == bindings.GetGPUBufferUsage(
 19858  		this.ref, js.Pointer(&ret),
 19859  	)
 19860  	return
 19861  }
 19862  
 19863  // MapState returns the value of property "GPUBuffer.mapState".
 19864  //
 19865  // It returns ok=false if there is no such property.
 19866  func (this GPUBuffer) MapState() (ret GPUBufferMapState, ok bool) {
 19867  	ok = js.True == bindings.GetGPUBufferMapState(
 19868  		this.ref, js.Pointer(&ret),
 19869  	)
 19870  	return
 19871  }
 19872  
 19873  // Label returns the value of property "GPUBuffer.label".
 19874  //
 19875  // It returns ok=false if there is no such property.
 19876  func (this GPUBuffer) Label() (ret js.String, ok bool) {
 19877  	ok = js.True == bindings.GetGPUBufferLabel(
 19878  		this.ref, js.Pointer(&ret),
 19879  	)
 19880  	return
 19881  }
 19882  
 19883  // SetLabel sets the value of property "GPUBuffer.label" to val.
 19884  //
 19885  // It returns false if the property cannot be set.
 19886  func (this GPUBuffer) SetLabel(val js.String) bool {
 19887  	return js.True == bindings.SetGPUBufferLabel(
 19888  		this.ref,
 19889  		val.Ref(),
 19890  	)
 19891  }
 19892  
 19893  // HasFuncMapAsync returns true if the method "GPUBuffer.mapAsync" exists.
 19894  func (this GPUBuffer) HasFuncMapAsync() bool {
 19895  	return js.True == bindings.HasFuncGPUBufferMapAsync(
 19896  		this.ref,
 19897  	)
 19898  }
 19899  
 19900  // FuncMapAsync returns the method "GPUBuffer.mapAsync".
 19901  func (this GPUBuffer) FuncMapAsync() (fn js.Func[func(mode GPUMapModeFlags, offset GPUSize64, size GPUSize64) js.Promise[js.Void]]) {
 19902  	bindings.FuncGPUBufferMapAsync(
 19903  		this.ref, js.Pointer(&fn),
 19904  	)
 19905  	return
 19906  }
 19907  
 19908  // MapAsync calls the method "GPUBuffer.mapAsync".
 19909  func (this GPUBuffer) MapAsync(mode GPUMapModeFlags, offset GPUSize64, size GPUSize64) (ret js.Promise[js.Void]) {
 19910  	bindings.CallGPUBufferMapAsync(
 19911  		this.ref, js.Pointer(&ret),
 19912  		uint32(mode),
 19913  		float64(offset),
 19914  		float64(size),
 19915  	)
 19916  
 19917  	return
 19918  }
 19919  
 19920  // TryMapAsync calls the method "GPUBuffer.mapAsync"
 19921  // in a try/catch block and returns (_, err, ok = false) when it went through
 19922  // the catch clause.
 19923  func (this GPUBuffer) TryMapAsync(mode GPUMapModeFlags, offset GPUSize64, size GPUSize64) (ret js.Promise[js.Void], exception js.Any, ok bool) {
 19924  	ok = js.True == bindings.TryGPUBufferMapAsync(
 19925  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19926  		uint32(mode),
 19927  		float64(offset),
 19928  		float64(size),
 19929  	)
 19930  
 19931  	return
 19932  }
 19933  
 19934  // HasFuncMapAsync1 returns true if the method "GPUBuffer.mapAsync" exists.
 19935  func (this GPUBuffer) HasFuncMapAsync1() bool {
 19936  	return js.True == bindings.HasFuncGPUBufferMapAsync1(
 19937  		this.ref,
 19938  	)
 19939  }
 19940  
 19941  // FuncMapAsync1 returns the method "GPUBuffer.mapAsync".
 19942  func (this GPUBuffer) FuncMapAsync1() (fn js.Func[func(mode GPUMapModeFlags, offset GPUSize64) js.Promise[js.Void]]) {
 19943  	bindings.FuncGPUBufferMapAsync1(
 19944  		this.ref, js.Pointer(&fn),
 19945  	)
 19946  	return
 19947  }
 19948  
 19949  // MapAsync1 calls the method "GPUBuffer.mapAsync".
 19950  func (this GPUBuffer) MapAsync1(mode GPUMapModeFlags, offset GPUSize64) (ret js.Promise[js.Void]) {
 19951  	bindings.CallGPUBufferMapAsync1(
 19952  		this.ref, js.Pointer(&ret),
 19953  		uint32(mode),
 19954  		float64(offset),
 19955  	)
 19956  
 19957  	return
 19958  }
 19959  
 19960  // TryMapAsync1 calls the method "GPUBuffer.mapAsync"
 19961  // in a try/catch block and returns (_, err, ok = false) when it went through
 19962  // the catch clause.
 19963  func (this GPUBuffer) TryMapAsync1(mode GPUMapModeFlags, offset GPUSize64) (ret js.Promise[js.Void], exception js.Any, ok bool) {
 19964  	ok = js.True == bindings.TryGPUBufferMapAsync1(
 19965  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 19966  		uint32(mode),
 19967  		float64(offset),
 19968  	)
 19969  
 19970  	return
 19971  }
 19972  
 19973  // HasFuncMapAsync2 returns true if the method "GPUBuffer.mapAsync" exists.
 19974  func (this GPUBuffer) HasFuncMapAsync2() bool {
 19975  	return js.True == bindings.HasFuncGPUBufferMapAsync2(
 19976  		this.ref,
 19977  	)
 19978  }
 19979  
 19980  // FuncMapAsync2 returns the method "GPUBuffer.mapAsync".
 19981  func (this GPUBuffer) FuncMapAsync2() (fn js.Func[func(mode GPUMapModeFlags) js.Promise[js.Void]]) {
 19982  	bindings.FuncGPUBufferMapAsync2(
 19983  		this.ref, js.Pointer(&fn),
 19984  	)
 19985  	return
 19986  }
 19987  
 19988  // MapAsync2 calls the method "GPUBuffer.mapAsync".
 19989  func (this GPUBuffer) MapAsync2(mode GPUMapModeFlags) (ret js.Promise[js.Void]) {
 19990  	bindings.CallGPUBufferMapAsync2(
 19991  		this.ref, js.Pointer(&ret),
 19992  		uint32(mode),
 19993  	)
 19994  
 19995  	return
 19996  }
 19997  
 19998  // TryMapAsync2 calls the method "GPUBuffer.mapAsync"
 19999  // in a try/catch block and returns (_, err, ok = false) when it went through
 20000  // the catch clause.
 20001  func (this GPUBuffer) TryMapAsync2(mode GPUMapModeFlags) (ret js.Promise[js.Void], exception js.Any, ok bool) {
 20002  	ok = js.True == bindings.TryGPUBufferMapAsync2(
 20003  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20004  		uint32(mode),
 20005  	)
 20006  
 20007  	return
 20008  }
 20009  
 20010  // HasFuncGetMappedRange returns true if the method "GPUBuffer.getMappedRange" exists.
 20011  func (this GPUBuffer) HasFuncGetMappedRange() bool {
 20012  	return js.True == bindings.HasFuncGPUBufferGetMappedRange(
 20013  		this.ref,
 20014  	)
 20015  }
 20016  
 20017  // FuncGetMappedRange returns the method "GPUBuffer.getMappedRange".
 20018  func (this GPUBuffer) FuncGetMappedRange() (fn js.Func[func(offset GPUSize64, size GPUSize64) js.ArrayBuffer]) {
 20019  	bindings.FuncGPUBufferGetMappedRange(
 20020  		this.ref, js.Pointer(&fn),
 20021  	)
 20022  	return
 20023  }
 20024  
 20025  // GetMappedRange calls the method "GPUBuffer.getMappedRange".
 20026  func (this GPUBuffer) GetMappedRange(offset GPUSize64, size GPUSize64) (ret js.ArrayBuffer) {
 20027  	bindings.CallGPUBufferGetMappedRange(
 20028  		this.ref, js.Pointer(&ret),
 20029  		float64(offset),
 20030  		float64(size),
 20031  	)
 20032  
 20033  	return
 20034  }
 20035  
 20036  // TryGetMappedRange calls the method "GPUBuffer.getMappedRange"
 20037  // in a try/catch block and returns (_, err, ok = false) when it went through
 20038  // the catch clause.
 20039  func (this GPUBuffer) TryGetMappedRange(offset GPUSize64, size GPUSize64) (ret js.ArrayBuffer, exception js.Any, ok bool) {
 20040  	ok = js.True == bindings.TryGPUBufferGetMappedRange(
 20041  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20042  		float64(offset),
 20043  		float64(size),
 20044  	)
 20045  
 20046  	return
 20047  }
 20048  
 20049  // HasFuncGetMappedRange1 returns true if the method "GPUBuffer.getMappedRange" exists.
 20050  func (this GPUBuffer) HasFuncGetMappedRange1() bool {
 20051  	return js.True == bindings.HasFuncGPUBufferGetMappedRange1(
 20052  		this.ref,
 20053  	)
 20054  }
 20055  
 20056  // FuncGetMappedRange1 returns the method "GPUBuffer.getMappedRange".
 20057  func (this GPUBuffer) FuncGetMappedRange1() (fn js.Func[func(offset GPUSize64) js.ArrayBuffer]) {
 20058  	bindings.FuncGPUBufferGetMappedRange1(
 20059  		this.ref, js.Pointer(&fn),
 20060  	)
 20061  	return
 20062  }
 20063  
 20064  // GetMappedRange1 calls the method "GPUBuffer.getMappedRange".
 20065  func (this GPUBuffer) GetMappedRange1(offset GPUSize64) (ret js.ArrayBuffer) {
 20066  	bindings.CallGPUBufferGetMappedRange1(
 20067  		this.ref, js.Pointer(&ret),
 20068  		float64(offset),
 20069  	)
 20070  
 20071  	return
 20072  }
 20073  
 20074  // TryGetMappedRange1 calls the method "GPUBuffer.getMappedRange"
 20075  // in a try/catch block and returns (_, err, ok = false) when it went through
 20076  // the catch clause.
 20077  func (this GPUBuffer) TryGetMappedRange1(offset GPUSize64) (ret js.ArrayBuffer, exception js.Any, ok bool) {
 20078  	ok = js.True == bindings.TryGPUBufferGetMappedRange1(
 20079  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20080  		float64(offset),
 20081  	)
 20082  
 20083  	return
 20084  }
 20085  
 20086  // HasFuncGetMappedRange2 returns true if the method "GPUBuffer.getMappedRange" exists.
 20087  func (this GPUBuffer) HasFuncGetMappedRange2() bool {
 20088  	return js.True == bindings.HasFuncGPUBufferGetMappedRange2(
 20089  		this.ref,
 20090  	)
 20091  }
 20092  
 20093  // FuncGetMappedRange2 returns the method "GPUBuffer.getMappedRange".
 20094  func (this GPUBuffer) FuncGetMappedRange2() (fn js.Func[func() js.ArrayBuffer]) {
 20095  	bindings.FuncGPUBufferGetMappedRange2(
 20096  		this.ref, js.Pointer(&fn),
 20097  	)
 20098  	return
 20099  }
 20100  
 20101  // GetMappedRange2 calls the method "GPUBuffer.getMappedRange".
 20102  func (this GPUBuffer) GetMappedRange2() (ret js.ArrayBuffer) {
 20103  	bindings.CallGPUBufferGetMappedRange2(
 20104  		this.ref, js.Pointer(&ret),
 20105  	)
 20106  
 20107  	return
 20108  }
 20109  
 20110  // TryGetMappedRange2 calls the method "GPUBuffer.getMappedRange"
 20111  // in a try/catch block and returns (_, err, ok = false) when it went through
 20112  // the catch clause.
 20113  func (this GPUBuffer) TryGetMappedRange2() (ret js.ArrayBuffer, exception js.Any, ok bool) {
 20114  	ok = js.True == bindings.TryGPUBufferGetMappedRange2(
 20115  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20116  	)
 20117  
 20118  	return
 20119  }
 20120  
 20121  // HasFuncUnmap returns true if the method "GPUBuffer.unmap" exists.
 20122  func (this GPUBuffer) HasFuncUnmap() bool {
 20123  	return js.True == bindings.HasFuncGPUBufferUnmap(
 20124  		this.ref,
 20125  	)
 20126  }
 20127  
 20128  // FuncUnmap returns the method "GPUBuffer.unmap".
 20129  func (this GPUBuffer) FuncUnmap() (fn js.Func[func()]) {
 20130  	bindings.FuncGPUBufferUnmap(
 20131  		this.ref, js.Pointer(&fn),
 20132  	)
 20133  	return
 20134  }
 20135  
 20136  // Unmap calls the method "GPUBuffer.unmap".
 20137  func (this GPUBuffer) Unmap() (ret js.Void) {
 20138  	bindings.CallGPUBufferUnmap(
 20139  		this.ref, js.Pointer(&ret),
 20140  	)
 20141  
 20142  	return
 20143  }
 20144  
 20145  // TryUnmap calls the method "GPUBuffer.unmap"
 20146  // in a try/catch block and returns (_, err, ok = false) when it went through
 20147  // the catch clause.
 20148  func (this GPUBuffer) TryUnmap() (ret js.Void, exception js.Any, ok bool) {
 20149  	ok = js.True == bindings.TryGPUBufferUnmap(
 20150  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20151  	)
 20152  
 20153  	return
 20154  }
 20155  
 20156  // HasFuncDestroy returns true if the method "GPUBuffer.destroy" exists.
 20157  func (this GPUBuffer) HasFuncDestroy() bool {
 20158  	return js.True == bindings.HasFuncGPUBufferDestroy(
 20159  		this.ref,
 20160  	)
 20161  }
 20162  
 20163  // FuncDestroy returns the method "GPUBuffer.destroy".
 20164  func (this GPUBuffer) FuncDestroy() (fn js.Func[func()]) {
 20165  	bindings.FuncGPUBufferDestroy(
 20166  		this.ref, js.Pointer(&fn),
 20167  	)
 20168  	return
 20169  }
 20170  
 20171  // Destroy calls the method "GPUBuffer.destroy".
 20172  func (this GPUBuffer) Destroy() (ret js.Void) {
 20173  	bindings.CallGPUBufferDestroy(
 20174  		this.ref, js.Pointer(&ret),
 20175  	)
 20176  
 20177  	return
 20178  }
 20179  
 20180  // TryDestroy calls the method "GPUBuffer.destroy"
 20181  // in a try/catch block and returns (_, err, ok = false) when it went through
 20182  // the catch clause.
 20183  func (this GPUBuffer) TryDestroy() (ret js.Void, exception js.Any, ok bool) {
 20184  	ok = js.True == bindings.TryGPUBufferDestroy(
 20185  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20186  	)
 20187  
 20188  	return
 20189  }
 20190  
 20191  type GPUBufferUsageFlags uint32
 20192  
 20193  type GPUBufferDescriptor struct {
 20194  	// Size is "GPUBufferDescriptor.size"
 20195  	//
 20196  	// Required
 20197  	Size GPUSize64
 20198  	// Usage is "GPUBufferDescriptor.usage"
 20199  	//
 20200  	// Required
 20201  	Usage GPUBufferUsageFlags
 20202  	// MappedAtCreation is "GPUBufferDescriptor.mappedAtCreation"
 20203  	//
 20204  	// Optional, defaults to false.
 20205  	//
 20206  	// NOTE: FFI_USE_MappedAtCreation MUST be set to true to make this field effective.
 20207  	MappedAtCreation bool
 20208  	// Label is "GPUBufferDescriptor.label"
 20209  	//
 20210  	// Optional, defaults to "".
 20211  	Label js.String
 20212  
 20213  	FFI_USE_MappedAtCreation bool // for MappedAtCreation.
 20214  
 20215  	FFI_USE bool
 20216  }
 20217  
 20218  // FromRef calls UpdateFrom and returns a GPUBufferDescriptor with all fields set.
 20219  func (p GPUBufferDescriptor) FromRef(ref js.Ref) GPUBufferDescriptor {
 20220  	p.UpdateFrom(ref)
 20221  	return p
 20222  }
 20223  
 20224  // New creates a new GPUBufferDescriptor in the application heap.
 20225  func (p GPUBufferDescriptor) New() js.Ref {
 20226  	return bindings.GPUBufferDescriptorJSLoad(
 20227  		js.Pointer(&p), js.True, 0,
 20228  	)
 20229  }
 20230  
 20231  // UpdateFrom copies value of all fields of the heap object to p.
 20232  func (p *GPUBufferDescriptor) UpdateFrom(ref js.Ref) {
 20233  	bindings.GPUBufferDescriptorJSStore(
 20234  		js.Pointer(p), ref,
 20235  	)
 20236  }
 20237  
 20238  // Update writes all fields of the p to the heap object referenced by ref.
 20239  func (p *GPUBufferDescriptor) Update(ref js.Ref) {
 20240  	bindings.GPUBufferDescriptorJSLoad(
 20241  		js.Pointer(p), js.False, ref,
 20242  	)
 20243  }
 20244  
 20245  // FreeMembers frees fields with heap reference, if recursive is true
 20246  // free all heap references reachable from p.
 20247  func (p *GPUBufferDescriptor) FreeMembers(recursive bool) {
 20248  	js.Free(
 20249  		p.Label.Ref(),
 20250  	)
 20251  	p.Label = p.Label.FromRef(js.Undefined)
 20252  }
 20253  
 20254  type GPUTextureView struct {
 20255  	ref js.Ref
 20256  }
 20257  
 20258  func (this GPUTextureView) Once() GPUTextureView {
 20259  	this.ref.Once()
 20260  	return this
 20261  }
 20262  
 20263  func (this GPUTextureView) Ref() js.Ref {
 20264  	return this.ref
 20265  }
 20266  
 20267  func (this GPUTextureView) FromRef(ref js.Ref) GPUTextureView {
 20268  	this.ref = ref
 20269  	return this
 20270  }
 20271  
 20272  func (this GPUTextureView) Free() {
 20273  	this.ref.Free()
 20274  }
 20275  
 20276  // Label returns the value of property "GPUTextureView.label".
 20277  //
 20278  // It returns ok=false if there is no such property.
 20279  func (this GPUTextureView) Label() (ret js.String, ok bool) {
 20280  	ok = js.True == bindings.GetGPUTextureViewLabel(
 20281  		this.ref, js.Pointer(&ret),
 20282  	)
 20283  	return
 20284  }
 20285  
 20286  // SetLabel sets the value of property "GPUTextureView.label" to val.
 20287  //
 20288  // It returns false if the property cannot be set.
 20289  func (this GPUTextureView) SetLabel(val js.String) bool {
 20290  	return js.True == bindings.SetGPUTextureViewLabel(
 20291  		this.ref,
 20292  		val.Ref(),
 20293  	)
 20294  }
 20295  
 20296  type GPUTextureFormat uint32
 20297  
 20298  const (
 20299  	_ GPUTextureFormat = iota
 20300  
 20301  	GPUTextureFormat_R_8UNORM
 20302  	GPUTextureFormat_R_8SNORM
 20303  	GPUTextureFormat_R_8UINT
 20304  	GPUTextureFormat_R_8SINT
 20305  	GPUTextureFormat_R_16UINT
 20306  	GPUTextureFormat_R_16SINT
 20307  	GPUTextureFormat_R_16FLOAT
 20308  	GPUTextureFormat_RG_8UNORM
 20309  	GPUTextureFormat_RG_8SNORM
 20310  	GPUTextureFormat_RG_8UINT
 20311  	GPUTextureFormat_RG_8SINT
 20312  	GPUTextureFormat_R_32UINT
 20313  	GPUTextureFormat_R_32SINT
 20314  	GPUTextureFormat_R_32FLOAT
 20315  	GPUTextureFormat_RG_16UINT
 20316  	GPUTextureFormat_RG_16SINT
 20317  	GPUTextureFormat_RG_16FLOAT
 20318  	GPUTextureFormat_RGBA_8UNORM
 20319  	GPUTextureFormat_RGBA_8UNORM_SRGB
 20320  	GPUTextureFormat_RGBA_8SNORM
 20321  	GPUTextureFormat_RGBA_8UINT
 20322  	GPUTextureFormat_RGBA_8SINT
 20323  	GPUTextureFormat_BGRA_8UNORM
 20324  	GPUTextureFormat_BGRA_8UNORM_SRGB
 20325  	GPUTextureFormat_RGB_9E5UFLOAT
 20326  	GPUTextureFormat_RGB_10A2UINT
 20327  	GPUTextureFormat_RGB_10A2UNORM
 20328  	GPUTextureFormat_RG_11B10UFLOAT
 20329  	GPUTextureFormat_RG_32UINT
 20330  	GPUTextureFormat_RG_32SINT
 20331  	GPUTextureFormat_RG_32FLOAT
 20332  	GPUTextureFormat_RGBA_16UINT
 20333  	GPUTextureFormat_RGBA_16SINT
 20334  	GPUTextureFormat_RGBA_16FLOAT
 20335  	GPUTextureFormat_RGBA_32UINT
 20336  	GPUTextureFormat_RGBA_32SINT
 20337  	GPUTextureFormat_RGBA_32FLOAT
 20338  	GPUTextureFormat_STENCIL8
 20339  	GPUTextureFormat_DEPTH_16UNORM
 20340  	GPUTextureFormat_DEPTH_24PLUS
 20341  	GPUTextureFormat_DEPTH_24PLUS_STENCIL8
 20342  	GPUTextureFormat_DEPTH_32FLOAT
 20343  	GPUTextureFormat_DEPTH_32FLOAT_STENCIL8
 20344  	GPUTextureFormat_BC1_RGBA_UNORM
 20345  	GPUTextureFormat_BC1_RGBA_UNORM_SRGB
 20346  	GPUTextureFormat_BC2_RGBA_UNORM
 20347  	GPUTextureFormat_BC2_RGBA_UNORM_SRGB
 20348  	GPUTextureFormat_BC3_RGBA_UNORM
 20349  	GPUTextureFormat_BC3_RGBA_UNORM_SRGB
 20350  	GPUTextureFormat_BC4_R_UNORM
 20351  	GPUTextureFormat_BC4_R_SNORM
 20352  	GPUTextureFormat_BC5_RG_UNORM
 20353  	GPUTextureFormat_BC5_RG_SNORM
 20354  	GPUTextureFormat_BC_6H_RGB_UFLOAT
 20355  	GPUTextureFormat_BC_6H_RGB_FLOAT
 20356  	GPUTextureFormat_BC7_RGBA_UNORM
 20357  	GPUTextureFormat_BC7_RGBA_UNORM_SRGB
 20358  	GPUTextureFormat_ETC2_RGB_8UNORM
 20359  	GPUTextureFormat_ETC2_RGB_8UNORM_SRGB
 20360  	GPUTextureFormat_ETC2_RGB_8A1UNORM
 20361  	GPUTextureFormat_ETC2_RGB_8A1UNORM_SRGB
 20362  	GPUTextureFormat_ETC2_RGBA_8UNORM
 20363  	GPUTextureFormat_ETC2_RGBA_8UNORM_SRGB
 20364  	GPUTextureFormat_EAC_R_11UNORM
 20365  	GPUTextureFormat_EAC_R_11SNORM
 20366  	GPUTextureFormat_EAC_RG_11UNORM
 20367  	GPUTextureFormat_EAC_RG_11SNORM
 20368  	GPUTextureFormat_ASTC_4X4_UNORM
 20369  	GPUTextureFormat_ASTC_4X4_UNORM_SRGB
 20370  	GPUTextureFormat_ASTC_5X4_UNORM
 20371  	GPUTextureFormat_ASTC_5X4_UNORM_SRGB
 20372  	GPUTextureFormat_ASTC_5X5_UNORM
 20373  	GPUTextureFormat_ASTC_5X5_UNORM_SRGB
 20374  	GPUTextureFormat_ASTC_6X5_UNORM
 20375  	GPUTextureFormat_ASTC_6X5_UNORM_SRGB
 20376  	GPUTextureFormat_ASTC_6X6_UNORM
 20377  	GPUTextureFormat_ASTC_6X6_UNORM_SRGB
 20378  	GPUTextureFormat_ASTC_8X5_UNORM
 20379  	GPUTextureFormat_ASTC_8X5_UNORM_SRGB
 20380  	GPUTextureFormat_ASTC_8X6_UNORM
 20381  	GPUTextureFormat_ASTC_8X6_UNORM_SRGB
 20382  	GPUTextureFormat_ASTC_8X8_UNORM
 20383  	GPUTextureFormat_ASTC_8X8_UNORM_SRGB
 20384  	GPUTextureFormat_ASTC_10X5_UNORM
 20385  	GPUTextureFormat_ASTC_10X5_UNORM_SRGB
 20386  	GPUTextureFormat_ASTC_10X6_UNORM
 20387  	GPUTextureFormat_ASTC_10X6_UNORM_SRGB
 20388  	GPUTextureFormat_ASTC_10X8_UNORM
 20389  	GPUTextureFormat_ASTC_10X8_UNORM_SRGB
 20390  	GPUTextureFormat_ASTC_10X10_UNORM
 20391  	GPUTextureFormat_ASTC_10X10_UNORM_SRGB
 20392  	GPUTextureFormat_ASTC_12X10_UNORM
 20393  	GPUTextureFormat_ASTC_12X10_UNORM_SRGB
 20394  	GPUTextureFormat_ASTC_12X12_UNORM
 20395  	GPUTextureFormat_ASTC_12X12_UNORM_SRGB
 20396  )
 20397  
 20398  func (GPUTextureFormat) FromRef(str js.Ref) GPUTextureFormat {
 20399  	return GPUTextureFormat(bindings.ConstOfGPUTextureFormat(str))
 20400  }
 20401  
 20402  func (x GPUTextureFormat) String() (string, bool) {
 20403  	switch x {
 20404  	case GPUTextureFormat_R_8UNORM:
 20405  		return "r8unorm", true
 20406  	case GPUTextureFormat_R_8SNORM:
 20407  		return "r8snorm", true
 20408  	case GPUTextureFormat_R_8UINT:
 20409  		return "r8uint", true
 20410  	case GPUTextureFormat_R_8SINT:
 20411  		return "r8sint", true
 20412  	case GPUTextureFormat_R_16UINT:
 20413  		return "r16uint", true
 20414  	case GPUTextureFormat_R_16SINT:
 20415  		return "r16sint", true
 20416  	case GPUTextureFormat_R_16FLOAT:
 20417  		return "r16float", true
 20418  	case GPUTextureFormat_RG_8UNORM:
 20419  		return "rg8unorm", true
 20420  	case GPUTextureFormat_RG_8SNORM:
 20421  		return "rg8snorm", true
 20422  	case GPUTextureFormat_RG_8UINT:
 20423  		return "rg8uint", true
 20424  	case GPUTextureFormat_RG_8SINT:
 20425  		return "rg8sint", true
 20426  	case GPUTextureFormat_R_32UINT:
 20427  		return "r32uint", true
 20428  	case GPUTextureFormat_R_32SINT:
 20429  		return "r32sint", true
 20430  	case GPUTextureFormat_R_32FLOAT:
 20431  		return "r32float", true
 20432  	case GPUTextureFormat_RG_16UINT:
 20433  		return "rg16uint", true
 20434  	case GPUTextureFormat_RG_16SINT:
 20435  		return "rg16sint", true
 20436  	case GPUTextureFormat_RG_16FLOAT:
 20437  		return "rg16float", true
 20438  	case GPUTextureFormat_RGBA_8UNORM:
 20439  		return "rgba8unorm", true
 20440  	case GPUTextureFormat_RGBA_8UNORM_SRGB:
 20441  		return "rgba8unorm-srgb", true
 20442  	case GPUTextureFormat_RGBA_8SNORM:
 20443  		return "rgba8snorm", true
 20444  	case GPUTextureFormat_RGBA_8UINT:
 20445  		return "rgba8uint", true
 20446  	case GPUTextureFormat_RGBA_8SINT:
 20447  		return "rgba8sint", true
 20448  	case GPUTextureFormat_BGRA_8UNORM:
 20449  		return "bgra8unorm", true
 20450  	case GPUTextureFormat_BGRA_8UNORM_SRGB:
 20451  		return "bgra8unorm-srgb", true
 20452  	case GPUTextureFormat_RGB_9E5UFLOAT:
 20453  		return "rgb9e5ufloat", true
 20454  	case GPUTextureFormat_RGB_10A2UINT:
 20455  		return "rgb10a2uint", true
 20456  	case GPUTextureFormat_RGB_10A2UNORM:
 20457  		return "rgb10a2unorm", true
 20458  	case GPUTextureFormat_RG_11B10UFLOAT:
 20459  		return "rg11b10ufloat", true
 20460  	case GPUTextureFormat_RG_32UINT:
 20461  		return "rg32uint", true
 20462  	case GPUTextureFormat_RG_32SINT:
 20463  		return "rg32sint", true
 20464  	case GPUTextureFormat_RG_32FLOAT:
 20465  		return "rg32float", true
 20466  	case GPUTextureFormat_RGBA_16UINT:
 20467  		return "rgba16uint", true
 20468  	case GPUTextureFormat_RGBA_16SINT:
 20469  		return "rgba16sint", true
 20470  	case GPUTextureFormat_RGBA_16FLOAT:
 20471  		return "rgba16float", true
 20472  	case GPUTextureFormat_RGBA_32UINT:
 20473  		return "rgba32uint", true
 20474  	case GPUTextureFormat_RGBA_32SINT:
 20475  		return "rgba32sint", true
 20476  	case GPUTextureFormat_RGBA_32FLOAT:
 20477  		return "rgba32float", true
 20478  	case GPUTextureFormat_STENCIL8:
 20479  		return "stencil8", true
 20480  	case GPUTextureFormat_DEPTH_16UNORM:
 20481  		return "depth16unorm", true
 20482  	case GPUTextureFormat_DEPTH_24PLUS:
 20483  		return "depth24plus", true
 20484  	case GPUTextureFormat_DEPTH_24PLUS_STENCIL8:
 20485  		return "depth24plus-stencil8", true
 20486  	case GPUTextureFormat_DEPTH_32FLOAT:
 20487  		return "depth32float", true
 20488  	case GPUTextureFormat_DEPTH_32FLOAT_STENCIL8:
 20489  		return "depth32float-stencil8", true
 20490  	case GPUTextureFormat_BC1_RGBA_UNORM:
 20491  		return "bc1-rgba-unorm", true
 20492  	case GPUTextureFormat_BC1_RGBA_UNORM_SRGB:
 20493  		return "bc1-rgba-unorm-srgb", true
 20494  	case GPUTextureFormat_BC2_RGBA_UNORM:
 20495  		return "bc2-rgba-unorm", true
 20496  	case GPUTextureFormat_BC2_RGBA_UNORM_SRGB:
 20497  		return "bc2-rgba-unorm-srgb", true
 20498  	case GPUTextureFormat_BC3_RGBA_UNORM:
 20499  		return "bc3-rgba-unorm", true
 20500  	case GPUTextureFormat_BC3_RGBA_UNORM_SRGB:
 20501  		return "bc3-rgba-unorm-srgb", true
 20502  	case GPUTextureFormat_BC4_R_UNORM:
 20503  		return "bc4-r-unorm", true
 20504  	case GPUTextureFormat_BC4_R_SNORM:
 20505  		return "bc4-r-snorm", true
 20506  	case GPUTextureFormat_BC5_RG_UNORM:
 20507  		return "bc5-rg-unorm", true
 20508  	case GPUTextureFormat_BC5_RG_SNORM:
 20509  		return "bc5-rg-snorm", true
 20510  	case GPUTextureFormat_BC_6H_RGB_UFLOAT:
 20511  		return "bc6h-rgb-ufloat", true
 20512  	case GPUTextureFormat_BC_6H_RGB_FLOAT:
 20513  		return "bc6h-rgb-float", true
 20514  	case GPUTextureFormat_BC7_RGBA_UNORM:
 20515  		return "bc7-rgba-unorm", true
 20516  	case GPUTextureFormat_BC7_RGBA_UNORM_SRGB:
 20517  		return "bc7-rgba-unorm-srgb", true
 20518  	case GPUTextureFormat_ETC2_RGB_8UNORM:
 20519  		return "etc2-rgb8unorm", true
 20520  	case GPUTextureFormat_ETC2_RGB_8UNORM_SRGB:
 20521  		return "etc2-rgb8unorm-srgb", true
 20522  	case GPUTextureFormat_ETC2_RGB_8A1UNORM:
 20523  		return "etc2-rgb8a1unorm", true
 20524  	case GPUTextureFormat_ETC2_RGB_8A1UNORM_SRGB:
 20525  		return "etc2-rgb8a1unorm-srgb", true
 20526  	case GPUTextureFormat_ETC2_RGBA_8UNORM:
 20527  		return "etc2-rgba8unorm", true
 20528  	case GPUTextureFormat_ETC2_RGBA_8UNORM_SRGB:
 20529  		return "etc2-rgba8unorm-srgb", true
 20530  	case GPUTextureFormat_EAC_R_11UNORM:
 20531  		return "eac-r11unorm", true
 20532  	case GPUTextureFormat_EAC_R_11SNORM:
 20533  		return "eac-r11snorm", true
 20534  	case GPUTextureFormat_EAC_RG_11UNORM:
 20535  		return "eac-rg11unorm", true
 20536  	case GPUTextureFormat_EAC_RG_11SNORM:
 20537  		return "eac-rg11snorm", true
 20538  	case GPUTextureFormat_ASTC_4X4_UNORM:
 20539  		return "astc-4x4-unorm", true
 20540  	case GPUTextureFormat_ASTC_4X4_UNORM_SRGB:
 20541  		return "astc-4x4-unorm-srgb", true
 20542  	case GPUTextureFormat_ASTC_5X4_UNORM:
 20543  		return "astc-5x4-unorm", true
 20544  	case GPUTextureFormat_ASTC_5X4_UNORM_SRGB:
 20545  		return "astc-5x4-unorm-srgb", true
 20546  	case GPUTextureFormat_ASTC_5X5_UNORM:
 20547  		return "astc-5x5-unorm", true
 20548  	case GPUTextureFormat_ASTC_5X5_UNORM_SRGB:
 20549  		return "astc-5x5-unorm-srgb", true
 20550  	case GPUTextureFormat_ASTC_6X5_UNORM:
 20551  		return "astc-6x5-unorm", true
 20552  	case GPUTextureFormat_ASTC_6X5_UNORM_SRGB:
 20553  		return "astc-6x5-unorm-srgb", true
 20554  	case GPUTextureFormat_ASTC_6X6_UNORM:
 20555  		return "astc-6x6-unorm", true
 20556  	case GPUTextureFormat_ASTC_6X6_UNORM_SRGB:
 20557  		return "astc-6x6-unorm-srgb", true
 20558  	case GPUTextureFormat_ASTC_8X5_UNORM:
 20559  		return "astc-8x5-unorm", true
 20560  	case GPUTextureFormat_ASTC_8X5_UNORM_SRGB:
 20561  		return "astc-8x5-unorm-srgb", true
 20562  	case GPUTextureFormat_ASTC_8X6_UNORM:
 20563  		return "astc-8x6-unorm", true
 20564  	case GPUTextureFormat_ASTC_8X6_UNORM_SRGB:
 20565  		return "astc-8x6-unorm-srgb", true
 20566  	case GPUTextureFormat_ASTC_8X8_UNORM:
 20567  		return "astc-8x8-unorm", true
 20568  	case GPUTextureFormat_ASTC_8X8_UNORM_SRGB:
 20569  		return "astc-8x8-unorm-srgb", true
 20570  	case GPUTextureFormat_ASTC_10X5_UNORM:
 20571  		return "astc-10x5-unorm", true
 20572  	case GPUTextureFormat_ASTC_10X5_UNORM_SRGB:
 20573  		return "astc-10x5-unorm-srgb", true
 20574  	case GPUTextureFormat_ASTC_10X6_UNORM:
 20575  		return "astc-10x6-unorm", true
 20576  	case GPUTextureFormat_ASTC_10X6_UNORM_SRGB:
 20577  		return "astc-10x6-unorm-srgb", true
 20578  	case GPUTextureFormat_ASTC_10X8_UNORM:
 20579  		return "astc-10x8-unorm", true
 20580  	case GPUTextureFormat_ASTC_10X8_UNORM_SRGB:
 20581  		return "astc-10x8-unorm-srgb", true
 20582  	case GPUTextureFormat_ASTC_10X10_UNORM:
 20583  		return "astc-10x10-unorm", true
 20584  	case GPUTextureFormat_ASTC_10X10_UNORM_SRGB:
 20585  		return "astc-10x10-unorm-srgb", true
 20586  	case GPUTextureFormat_ASTC_12X10_UNORM:
 20587  		return "astc-12x10-unorm", true
 20588  	case GPUTextureFormat_ASTC_12X10_UNORM_SRGB:
 20589  		return "astc-12x10-unorm-srgb", true
 20590  	case GPUTextureFormat_ASTC_12X12_UNORM:
 20591  		return "astc-12x12-unorm", true
 20592  	case GPUTextureFormat_ASTC_12X12_UNORM_SRGB:
 20593  		return "astc-12x12-unorm-srgb", true
 20594  	default:
 20595  		return "", false
 20596  	}
 20597  }
 20598  
 20599  type GPUTextureViewDimension uint32
 20600  
 20601  const (
 20602  	_ GPUTextureViewDimension = iota
 20603  
 20604  	GPUTextureViewDimension_1D
 20605  	GPUTextureViewDimension_2D
 20606  	GPUTextureViewDimension_2D_ARRAY
 20607  	GPUTextureViewDimension_CUBE
 20608  	GPUTextureViewDimension_CUBE_ARRAY
 20609  	GPUTextureViewDimension_3D
 20610  )
 20611  
 20612  func (GPUTextureViewDimension) FromRef(str js.Ref) GPUTextureViewDimension {
 20613  	return GPUTextureViewDimension(bindings.ConstOfGPUTextureViewDimension(str))
 20614  }
 20615  
 20616  func (x GPUTextureViewDimension) String() (string, bool) {
 20617  	switch x {
 20618  	case GPUTextureViewDimension_1D:
 20619  		return "1d", true
 20620  	case GPUTextureViewDimension_2D:
 20621  		return "2d", true
 20622  	case GPUTextureViewDimension_2D_ARRAY:
 20623  		return "2d-array", true
 20624  	case GPUTextureViewDimension_CUBE:
 20625  		return "cube", true
 20626  	case GPUTextureViewDimension_CUBE_ARRAY:
 20627  		return "cube-array", true
 20628  	case GPUTextureViewDimension_3D:
 20629  		return "3d", true
 20630  	default:
 20631  		return "", false
 20632  	}
 20633  }
 20634  
 20635  type GPUTextureAspect uint32
 20636  
 20637  const (
 20638  	_ GPUTextureAspect = iota
 20639  
 20640  	GPUTextureAspect_ALL
 20641  	GPUTextureAspect_STENCIL_ONLY
 20642  	GPUTextureAspect_DEPTH_ONLY
 20643  )
 20644  
 20645  func (GPUTextureAspect) FromRef(str js.Ref) GPUTextureAspect {
 20646  	return GPUTextureAspect(bindings.ConstOfGPUTextureAspect(str))
 20647  }
 20648  
 20649  func (x GPUTextureAspect) String() (string, bool) {
 20650  	switch x {
 20651  	case GPUTextureAspect_ALL:
 20652  		return "all", true
 20653  	case GPUTextureAspect_STENCIL_ONLY:
 20654  		return "stencil-only", true
 20655  	case GPUTextureAspect_DEPTH_ONLY:
 20656  		return "depth-only", true
 20657  	default:
 20658  		return "", false
 20659  	}
 20660  }
 20661  
 20662  type GPUIntegerCoordinate uint32
 20663  
 20664  type GPUTextureViewDescriptor struct {
 20665  	// Format is "GPUTextureViewDescriptor.format"
 20666  	//
 20667  	// Optional
 20668  	Format GPUTextureFormat
 20669  	// Dimension is "GPUTextureViewDescriptor.dimension"
 20670  	//
 20671  	// Optional
 20672  	Dimension GPUTextureViewDimension
 20673  	// Aspect is "GPUTextureViewDescriptor.aspect"
 20674  	//
 20675  	// Optional, defaults to "all".
 20676  	Aspect GPUTextureAspect
 20677  	// BaseMipLevel is "GPUTextureViewDescriptor.baseMipLevel"
 20678  	//
 20679  	// Optional, defaults to 0.
 20680  	//
 20681  	// NOTE: FFI_USE_BaseMipLevel MUST be set to true to make this field effective.
 20682  	BaseMipLevel GPUIntegerCoordinate
 20683  	// MipLevelCount is "GPUTextureViewDescriptor.mipLevelCount"
 20684  	//
 20685  	// Optional
 20686  	//
 20687  	// NOTE: FFI_USE_MipLevelCount MUST be set to true to make this field effective.
 20688  	MipLevelCount GPUIntegerCoordinate
 20689  	// BaseArrayLayer is "GPUTextureViewDescriptor.baseArrayLayer"
 20690  	//
 20691  	// Optional, defaults to 0.
 20692  	//
 20693  	// NOTE: FFI_USE_BaseArrayLayer MUST be set to true to make this field effective.
 20694  	BaseArrayLayer GPUIntegerCoordinate
 20695  	// ArrayLayerCount is "GPUTextureViewDescriptor.arrayLayerCount"
 20696  	//
 20697  	// Optional
 20698  	//
 20699  	// NOTE: FFI_USE_ArrayLayerCount MUST be set to true to make this field effective.
 20700  	ArrayLayerCount GPUIntegerCoordinate
 20701  	// Label is "GPUTextureViewDescriptor.label"
 20702  	//
 20703  	// Optional, defaults to "".
 20704  	Label js.String
 20705  
 20706  	FFI_USE_BaseMipLevel    bool // for BaseMipLevel.
 20707  	FFI_USE_MipLevelCount   bool // for MipLevelCount.
 20708  	FFI_USE_BaseArrayLayer  bool // for BaseArrayLayer.
 20709  	FFI_USE_ArrayLayerCount bool // for ArrayLayerCount.
 20710  
 20711  	FFI_USE bool
 20712  }
 20713  
 20714  // FromRef calls UpdateFrom and returns a GPUTextureViewDescriptor with all fields set.
 20715  func (p GPUTextureViewDescriptor) FromRef(ref js.Ref) GPUTextureViewDescriptor {
 20716  	p.UpdateFrom(ref)
 20717  	return p
 20718  }
 20719  
 20720  // New creates a new GPUTextureViewDescriptor in the application heap.
 20721  func (p GPUTextureViewDescriptor) New() js.Ref {
 20722  	return bindings.GPUTextureViewDescriptorJSLoad(
 20723  		js.Pointer(&p), js.True, 0,
 20724  	)
 20725  }
 20726  
 20727  // UpdateFrom copies value of all fields of the heap object to p.
 20728  func (p *GPUTextureViewDescriptor) UpdateFrom(ref js.Ref) {
 20729  	bindings.GPUTextureViewDescriptorJSStore(
 20730  		js.Pointer(p), ref,
 20731  	)
 20732  }
 20733  
 20734  // Update writes all fields of the p to the heap object referenced by ref.
 20735  func (p *GPUTextureViewDescriptor) Update(ref js.Ref) {
 20736  	bindings.GPUTextureViewDescriptorJSLoad(
 20737  		js.Pointer(p), js.False, ref,
 20738  	)
 20739  }
 20740  
 20741  // FreeMembers frees fields with heap reference, if recursive is true
 20742  // free all heap references reachable from p.
 20743  func (p *GPUTextureViewDescriptor) FreeMembers(recursive bool) {
 20744  	js.Free(
 20745  		p.Label.Ref(),
 20746  	)
 20747  	p.Label = p.Label.FromRef(js.Undefined)
 20748  }
 20749  
 20750  type GPUIntegerCoordinateOut uint32
 20751  
 20752  type GPUSize32Out uint32
 20753  
 20754  type GPUTextureDimension uint32
 20755  
 20756  const (
 20757  	_ GPUTextureDimension = iota
 20758  
 20759  	GPUTextureDimension_1D
 20760  	GPUTextureDimension_2D
 20761  	GPUTextureDimension_3D
 20762  )
 20763  
 20764  func (GPUTextureDimension) FromRef(str js.Ref) GPUTextureDimension {
 20765  	return GPUTextureDimension(bindings.ConstOfGPUTextureDimension(str))
 20766  }
 20767  
 20768  func (x GPUTextureDimension) String() (string, bool) {
 20769  	switch x {
 20770  	case GPUTextureDimension_1D:
 20771  		return "1d", true
 20772  	case GPUTextureDimension_2D:
 20773  		return "2d", true
 20774  	case GPUTextureDimension_3D:
 20775  		return "3d", true
 20776  	default:
 20777  		return "", false
 20778  	}
 20779  }
 20780  
 20781  type GPUTexture struct {
 20782  	ref js.Ref
 20783  }
 20784  
 20785  func (this GPUTexture) Once() GPUTexture {
 20786  	this.ref.Once()
 20787  	return this
 20788  }
 20789  
 20790  func (this GPUTexture) Ref() js.Ref {
 20791  	return this.ref
 20792  }
 20793  
 20794  func (this GPUTexture) FromRef(ref js.Ref) GPUTexture {
 20795  	this.ref = ref
 20796  	return this
 20797  }
 20798  
 20799  func (this GPUTexture) Free() {
 20800  	this.ref.Free()
 20801  }
 20802  
 20803  // Width returns the value of property "GPUTexture.width".
 20804  //
 20805  // It returns ok=false if there is no such property.
 20806  func (this GPUTexture) Width() (ret GPUIntegerCoordinateOut, ok bool) {
 20807  	ok = js.True == bindings.GetGPUTextureWidth(
 20808  		this.ref, js.Pointer(&ret),
 20809  	)
 20810  	return
 20811  }
 20812  
 20813  // Height returns the value of property "GPUTexture.height".
 20814  //
 20815  // It returns ok=false if there is no such property.
 20816  func (this GPUTexture) Height() (ret GPUIntegerCoordinateOut, ok bool) {
 20817  	ok = js.True == bindings.GetGPUTextureHeight(
 20818  		this.ref, js.Pointer(&ret),
 20819  	)
 20820  	return
 20821  }
 20822  
 20823  // DepthOrArrayLayers returns the value of property "GPUTexture.depthOrArrayLayers".
 20824  //
 20825  // It returns ok=false if there is no such property.
 20826  func (this GPUTexture) DepthOrArrayLayers() (ret GPUIntegerCoordinateOut, ok bool) {
 20827  	ok = js.True == bindings.GetGPUTextureDepthOrArrayLayers(
 20828  		this.ref, js.Pointer(&ret),
 20829  	)
 20830  	return
 20831  }
 20832  
 20833  // MipLevelCount returns the value of property "GPUTexture.mipLevelCount".
 20834  //
 20835  // It returns ok=false if there is no such property.
 20836  func (this GPUTexture) MipLevelCount() (ret GPUIntegerCoordinateOut, ok bool) {
 20837  	ok = js.True == bindings.GetGPUTextureMipLevelCount(
 20838  		this.ref, js.Pointer(&ret),
 20839  	)
 20840  	return
 20841  }
 20842  
 20843  // SampleCount returns the value of property "GPUTexture.sampleCount".
 20844  //
 20845  // It returns ok=false if there is no such property.
 20846  func (this GPUTexture) SampleCount() (ret GPUSize32Out, ok bool) {
 20847  	ok = js.True == bindings.GetGPUTextureSampleCount(
 20848  		this.ref, js.Pointer(&ret),
 20849  	)
 20850  	return
 20851  }
 20852  
 20853  // Dimension returns the value of property "GPUTexture.dimension".
 20854  //
 20855  // It returns ok=false if there is no such property.
 20856  func (this GPUTexture) Dimension() (ret GPUTextureDimension, ok bool) {
 20857  	ok = js.True == bindings.GetGPUTextureDimension(
 20858  		this.ref, js.Pointer(&ret),
 20859  	)
 20860  	return
 20861  }
 20862  
 20863  // Format returns the value of property "GPUTexture.format".
 20864  //
 20865  // It returns ok=false if there is no such property.
 20866  func (this GPUTexture) Format() (ret GPUTextureFormat, ok bool) {
 20867  	ok = js.True == bindings.GetGPUTextureFormat(
 20868  		this.ref, js.Pointer(&ret),
 20869  	)
 20870  	return
 20871  }
 20872  
 20873  // Usage returns the value of property "GPUTexture.usage".
 20874  //
 20875  // It returns ok=false if there is no such property.
 20876  func (this GPUTexture) Usage() (ret GPUFlagsConstant, ok bool) {
 20877  	ok = js.True == bindings.GetGPUTextureUsage(
 20878  		this.ref, js.Pointer(&ret),
 20879  	)
 20880  	return
 20881  }
 20882  
 20883  // Label returns the value of property "GPUTexture.label".
 20884  //
 20885  // It returns ok=false if there is no such property.
 20886  func (this GPUTexture) Label() (ret js.String, ok bool) {
 20887  	ok = js.True == bindings.GetGPUTextureLabel(
 20888  		this.ref, js.Pointer(&ret),
 20889  	)
 20890  	return
 20891  }
 20892  
 20893  // SetLabel sets the value of property "GPUTexture.label" to val.
 20894  //
 20895  // It returns false if the property cannot be set.
 20896  func (this GPUTexture) SetLabel(val js.String) bool {
 20897  	return js.True == bindings.SetGPUTextureLabel(
 20898  		this.ref,
 20899  		val.Ref(),
 20900  	)
 20901  }
 20902  
 20903  // HasFuncCreateView returns true if the method "GPUTexture.createView" exists.
 20904  func (this GPUTexture) HasFuncCreateView() bool {
 20905  	return js.True == bindings.HasFuncGPUTextureCreateView(
 20906  		this.ref,
 20907  	)
 20908  }
 20909  
 20910  // FuncCreateView returns the method "GPUTexture.createView".
 20911  func (this GPUTexture) FuncCreateView() (fn js.Func[func(descriptor GPUTextureViewDescriptor) GPUTextureView]) {
 20912  	bindings.FuncGPUTextureCreateView(
 20913  		this.ref, js.Pointer(&fn),
 20914  	)
 20915  	return
 20916  }
 20917  
 20918  // CreateView calls the method "GPUTexture.createView".
 20919  func (this GPUTexture) CreateView(descriptor GPUTextureViewDescriptor) (ret GPUTextureView) {
 20920  	bindings.CallGPUTextureCreateView(
 20921  		this.ref, js.Pointer(&ret),
 20922  		js.Pointer(&descriptor),
 20923  	)
 20924  
 20925  	return
 20926  }
 20927  
 20928  // TryCreateView calls the method "GPUTexture.createView"
 20929  // in a try/catch block and returns (_, err, ok = false) when it went through
 20930  // the catch clause.
 20931  func (this GPUTexture) TryCreateView(descriptor GPUTextureViewDescriptor) (ret GPUTextureView, exception js.Any, ok bool) {
 20932  	ok = js.True == bindings.TryGPUTextureCreateView(
 20933  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20934  		js.Pointer(&descriptor),
 20935  	)
 20936  
 20937  	return
 20938  }
 20939  
 20940  // HasFuncCreateView1 returns true if the method "GPUTexture.createView" exists.
 20941  func (this GPUTexture) HasFuncCreateView1() bool {
 20942  	return js.True == bindings.HasFuncGPUTextureCreateView1(
 20943  		this.ref,
 20944  	)
 20945  }
 20946  
 20947  // FuncCreateView1 returns the method "GPUTexture.createView".
 20948  func (this GPUTexture) FuncCreateView1() (fn js.Func[func() GPUTextureView]) {
 20949  	bindings.FuncGPUTextureCreateView1(
 20950  		this.ref, js.Pointer(&fn),
 20951  	)
 20952  	return
 20953  }
 20954  
 20955  // CreateView1 calls the method "GPUTexture.createView".
 20956  func (this GPUTexture) CreateView1() (ret GPUTextureView) {
 20957  	bindings.CallGPUTextureCreateView1(
 20958  		this.ref, js.Pointer(&ret),
 20959  	)
 20960  
 20961  	return
 20962  }
 20963  
 20964  // TryCreateView1 calls the method "GPUTexture.createView"
 20965  // in a try/catch block and returns (_, err, ok = false) when it went through
 20966  // the catch clause.
 20967  func (this GPUTexture) TryCreateView1() (ret GPUTextureView, exception js.Any, ok bool) {
 20968  	ok = js.True == bindings.TryGPUTextureCreateView1(
 20969  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 20970  	)
 20971  
 20972  	return
 20973  }
 20974  
 20975  // HasFuncDestroy returns true if the method "GPUTexture.destroy" exists.
 20976  func (this GPUTexture) HasFuncDestroy() bool {
 20977  	return js.True == bindings.HasFuncGPUTextureDestroy(
 20978  		this.ref,
 20979  	)
 20980  }
 20981  
 20982  // FuncDestroy returns the method "GPUTexture.destroy".
 20983  func (this GPUTexture) FuncDestroy() (fn js.Func[func()]) {
 20984  	bindings.FuncGPUTextureDestroy(
 20985  		this.ref, js.Pointer(&fn),
 20986  	)
 20987  	return
 20988  }
 20989  
 20990  // Destroy calls the method "GPUTexture.destroy".
 20991  func (this GPUTexture) Destroy() (ret js.Void) {
 20992  	bindings.CallGPUTextureDestroy(
 20993  		this.ref, js.Pointer(&ret),
 20994  	)
 20995  
 20996  	return
 20997  }
 20998  
 20999  // TryDestroy calls the method "GPUTexture.destroy"
 21000  // in a try/catch block and returns (_, err, ok = false) when it went through
 21001  // the catch clause.
 21002  func (this GPUTexture) TryDestroy() (ret js.Void, exception js.Any, ok bool) {
 21003  	ok = js.True == bindings.TryGPUTextureDestroy(
 21004  		this.ref, js.Pointer(&ret), js.Pointer(&exception),
 21005  	)
 21006  
 21007  	return
 21008  }