@nativescript/canvas 1.0.0-debug.0 → 1.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/Canvas/common.d.ts +35 -13
  2. package/Canvas/common.js +458 -204
  3. package/Canvas/common.js.map +1 -1
  4. package/Canvas/index.android.d.ts +2 -0
  5. package/Canvas/index.android.js +17 -7
  6. package/Canvas/index.android.js.map +1 -1
  7. package/Canvas/index.d.ts +14 -0
  8. package/Canvas/index.ios.d.ts +1 -0
  9. package/Canvas/index.ios.js +10 -2
  10. package/Canvas/index.ios.js.map +1 -1
  11. package/Canvas2D/CanvasGradient/CanvasGradient.android.js.map +1 -1
  12. package/Canvas2D/CanvasRenderingContext2D/index.android.d.ts +3 -0
  13. package/Canvas2D/CanvasRenderingContext2D/index.android.js +53 -35
  14. package/Canvas2D/CanvasRenderingContext2D/index.android.js.map +1 -1
  15. package/Canvas2D/CanvasRenderingContext2D/index.d.ts +6 -0
  16. package/Canvas2D/CanvasRenderingContext2D/index.ios.d.ts +4 -1
  17. package/Canvas2D/CanvasRenderingContext2D/index.ios.js +126 -113
  18. package/Canvas2D/CanvasRenderingContext2D/index.ios.js.map +1 -1
  19. package/Canvas2D/DOMMatrix/DOMMatrix.android.js +3 -0
  20. package/Canvas2D/DOMMatrix/DOMMatrix.android.js.map +1 -1
  21. package/Canvas2D/DOMMatrix/DOMMatrix.ios.js +3 -0
  22. package/Canvas2D/DOMMatrix/DOMMatrix.ios.js.map +1 -1
  23. package/Canvas2D/DOMMatrix/common.d.ts +1 -0
  24. package/Canvas2D/DOMMatrix/common.js +4 -0
  25. package/Canvas2D/DOMMatrix/common.js.map +1 -1
  26. package/Canvas2D/ImageData/ImageData.android.js +11 -0
  27. package/Canvas2D/ImageData/ImageData.android.js.map +1 -1
  28. package/Canvas2D/ImageData/ImageData.ios.js +11 -0
  29. package/Canvas2D/ImageData/ImageData.ios.js.map +1 -1
  30. package/Canvas2D/ImageData/common.d.ts +1 -0
  31. package/Canvas2D/ImageData/common.js +4 -0
  32. package/Canvas2D/ImageData/common.js.map +1 -1
  33. package/Canvas2D/Path2D/common.d.ts +1 -0
  34. package/Canvas2D/Path2D/common.js +4 -0
  35. package/Canvas2D/Path2D/common.js.map +1 -1
  36. package/Canvas2D/TextMetrics/common.d.ts +1 -0
  37. package/Canvas2D/TextMetrics/common.js +4 -0
  38. package/Canvas2D/TextMetrics/common.js.map +1 -1
  39. package/ImageAsset/common.d.ts +1 -0
  40. package/ImageAsset/common.js +4 -0
  41. package/ImageAsset/common.js.map +1 -1
  42. package/ImageBitmap/common.d.ts +1 -0
  43. package/ImageBitmap/common.js +4 -0
  44. package/ImageBitmap/common.js.map +1 -1
  45. package/ImageBitmap/index.android.js +32 -0
  46. package/ImageBitmap/index.android.js.map +1 -1
  47. package/ImageBitmap/index.ios.js +41 -9
  48. package/ImageBitmap/index.ios.js.map +1 -1
  49. package/SVG/Image.js +2 -0
  50. package/SVG/Image.js.map +1 -1
  51. package/SVG/SVG.js +9 -0
  52. package/SVG/SVG.js.map +1 -1
  53. package/TextDecoder/TextDecoder.android.d.ts +1 -0
  54. package/TextDecoder/TextDecoder.android.js +29 -20
  55. package/TextDecoder/TextDecoder.android.js.map +1 -1
  56. package/TextDecoder/TextDecoder.ios.js +12 -16
  57. package/TextDecoder/TextDecoder.ios.js.map +1 -1
  58. package/TextDecoder/common.d.ts +1 -0
  59. package/TextDecoder/common.js +4 -0
  60. package/TextDecoder/common.js.map +1 -1
  61. package/TextEncoder/common.d.ts +1 -0
  62. package/TextEncoder/common.js +4 -0
  63. package/TextEncoder/common.js.map +1 -1
  64. package/WebGL/WebGLExtensions/index.android.js +1 -0
  65. package/WebGL/WebGLExtensions/index.android.js.map +1 -1
  66. package/WebGL/WebGLExtensions/index.ios.js +1 -0
  67. package/WebGL/WebGLExtensions/index.ios.js.map +1 -1
  68. package/WebGL/WebGLRenderingContext/index.android.d.ts +1 -0
  69. package/WebGL/WebGLRenderingContext/index.android.js +394 -111
  70. package/WebGL/WebGLRenderingContext/index.android.js.map +1 -1
  71. package/WebGL/WebGLRenderingContext/index.ios.js +35 -24
  72. package/WebGL/WebGLRenderingContext/index.ios.js.map +1 -1
  73. package/WebGL2/WebGL2RenderingContext/index.android.js +2 -2
  74. package/WebGL2/WebGL2RenderingContext/index.android.js.map +1 -1
  75. package/WebGL2/WebGL2RenderingContext/index.ios.js +39 -29
  76. package/WebGL2/WebGL2RenderingContext/index.ios.js.map +1 -1
  77. package/angular/esm2020/index.mjs +17 -0
  78. package/angular/esm2020/nativescript-canvas-angular.mjs +5 -0
  79. package/angular/fesm2015/nativescript-canvas-angular.mjs +24 -0
  80. package/angular/fesm2015/nativescript-canvas-angular.mjs.map +1 -0
  81. package/angular/fesm2020/nativescript-canvas-angular.mjs +24 -0
  82. package/angular/fesm2020/nativescript-canvas-angular.mjs.map +1 -0
  83. package/angular/index.d.ts +4 -0
  84. package/angular/package.json +20 -8
  85. package/index.d.ts +3 -4
  86. package/index.js +54 -8
  87. package/index.js.map +1 -1
  88. package/package.json +2 -3
  89. package/platforms/android/include.gradle +21 -1
  90. package/platforms/ios/CanvasNative.xcframework/Info.plist +10 -5
  91. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  92. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +120 -3
  93. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +1122 -471
  94. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
  95. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  96. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +74840 -0
  97. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/{arm64.swiftinterface → arm64-apple-ios.private.swiftinterface} +203 -121
  98. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  99. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +203 -121
  100. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/module.modulemap +2 -2
  101. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/TNSCanvas.nib +0 -0
  102. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Info.plist +20 -0
  103. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  104. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/CanvasNative +0 -0
  105. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +4116 -0
  106. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Headers/CanvasNative.h +0 -0
  107. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Headers/Utils.h +0 -0
  108. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Headers/canvas_native.h +1122 -471
  109. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Info.plist +0 -0
  110. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  111. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  112. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +74840 -0
  113. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3270 -0
  114. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  115. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3270 -0
  116. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +74840 -0
  117. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftinterface → ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface} +203 -121
  118. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  119. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +203 -121
  120. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/Modules/module.modulemap +2 -2
  121. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/TNSCanvas.nib +0 -0
  122. package/platforms/ios/CanvasNative.xcframework/{ios-x86_64-simulator → ios-arm64_x86_64-simulator}/CanvasNative.framework/_CodeSignature/CodeResources +87 -69
  123. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Info.plist +20 -0
  124. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  125. package/platforms/ios/Podfile +1 -1
  126. package/typings/objc!CanvasNative.d.ts +2018 -0
  127. package/typings/objc!CanvasNative.js +1 -0
  128. package/typings/objc!CanvasNative.js.map +1 -0
  129. package/utils.d.ts +3 -0
  130. package/utils.js +27 -0
  131. package/utils.js.map +1 -1
  132. package/angular/bundles/nativescript-canvas-angular.umd.js +0 -29
  133. package/angular/bundles/nativescript-canvas-angular.umd.js.map +0 -1
  134. package/angular/esm2015/index.js +0 -12
  135. package/angular/esm2015/nativescript-canvas-angular.js +0 -5
  136. package/angular/fesm2015/nativescript-canvas-angular.js +0 -19
  137. package/angular/fesm2015/nativescript-canvas-angular.js.map +0 -1
  138. package/angular/nativescript-canvas-angular.d.ts +0 -4
  139. package/angular/nativescript-canvas-angular.metadata.json +0 -1
  140. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftdoc +0 -0
  141. package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +0 -1943
  142. package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  143. package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftdoc +0 -0
  144. package/platforms/ios/CanvasNative.xcframework/ios-x86_64-simulator/CanvasNative.framework/TNSCanvas.nib +0 -0
@@ -1,4 +1,6 @@
1
- // Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
2
4
  #ifndef CANVASNATIVE_SWIFT_H
3
5
  #define CANVASNATIVE_SWIFT_H
4
6
  #pragma clang diagnostic push
@@ -21,11 +23,20 @@
21
23
  # include <swift/objc-prologue.h>
22
24
  #endif
23
25
 
26
+ #pragma clang diagnostic ignored "-Wduplicate-method-match"
24
27
  #pragma clang diagnostic ignored "-Wauto-import"
28
+ #if defined(__OBJC__)
25
29
  #include <Foundation/Foundation.h>
30
+ #endif
31
+ #if defined(__cplusplus)
32
+ #include <cstdint>
33
+ #include <cstddef>
34
+ #include <cstdbool>
35
+ #else
26
36
  #include <stdint.h>
27
37
  #include <stddef.h>
28
38
  #include <stdbool.h>
39
+ #endif
29
40
 
30
41
  #if !defined(SWIFT_TYPEDEFS)
31
42
  # define SWIFT_TYPEDEFS 1
@@ -181,15 +192,45 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
181
192
  #else
182
193
  # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
183
194
  #endif
195
+ #if defined(__OBJC__)
184
196
  #if !defined(IBSegueAction)
185
197
  # define IBSegueAction
186
198
  #endif
199
+ #endif
200
+ #if !defined(SWIFT_EXTERN)
201
+ # if defined(__cplusplus)
202
+ # define SWIFT_EXTERN extern "C"
203
+ # else
204
+ # define SWIFT_EXTERN extern
205
+ # endif
206
+ #endif
207
+ #if !defined(SWIFT_CALL)
208
+ # define SWIFT_CALL __attribute__((swiftcall))
209
+ #endif
210
+ #if defined(__cplusplus)
211
+ #if !defined(SWIFT_NOEXCEPT)
212
+ # define SWIFT_NOEXCEPT noexcept
213
+ #endif
214
+ #else
215
+ #if !defined(SWIFT_NOEXCEPT)
216
+ # define SWIFT_NOEXCEPT
217
+ #endif
218
+ #endif
219
+ #if defined(__cplusplus)
220
+ #if !defined(SWIFT_CXX_INT_DEFINED)
221
+ #define SWIFT_CXX_INT_DEFINED
222
+ namespace swift {
223
+ using Int = ptrdiff_t;
224
+ using UInt = size_t;
225
+ }
226
+ #endif
227
+ #endif
228
+ #if defined(__OBJC__)
187
229
  #if __has_feature(modules)
188
230
  #if __has_warning("-Watimport-in-framework-header")
189
231
  #pragma clang diagnostic ignored "-Watimport-in-framework-header"
190
232
  #endif
191
233
  @import CoreFoundation;
192
- @import CoreGraphics;
193
234
  @import CoreVideo;
194
235
  @import Dispatch;
195
236
  @import Foundation;
@@ -199,6 +240,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
199
240
  @import UIKit;
200
241
  #endif
201
242
 
243
+ #endif
202
244
  #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
203
245
  #pragma clang diagnostic ignored "-Wduplicate-method-arg"
204
246
  #if __has_warning("-Wpragma-clang-attribute")
@@ -206,6 +248,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
206
248
  #endif
207
249
  #pragma clang diagnostic ignored "-Wunknown-pragmas"
208
250
  #pragma clang diagnostic ignored "-Wnullability"
251
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
209
252
 
210
253
  #if __has_attribute(external_source_symbol)
211
254
  # pragma push_macro("any")
@@ -214,7 +257,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
214
257
  # pragma pop_macro("any")
215
258
  #endif
216
259
 
217
- @class NSNumber;
260
+ #if defined(__OBJC__)
218
261
  @class NSCoder;
219
262
 
220
263
  SWIFT_CLASS_NAMED("CanvasCPUView")
@@ -287,6 +330,7 @@ SWIFT_CLASS_NAMED("TNSCanvas")
287
330
  - (void)toDataURLAsync:(NSString * _Nonnull)type :(void (^ _Nonnull)(NSString * _Nonnull))callback;
288
331
  - (void)toDataURLAsync:(NSString * _Nonnull)type :(float)format :(void (^ _Nonnull)(NSString * _Nonnull))callback;
289
332
  - (NSArray<NSNumber *> * _Nonnull)snapshot SWIFT_WARN_UNUSED_RESULT;
333
+ - (NSArray<NSNumber *> * _Nonnull)snapshotEncoded SWIFT_WARN_UNUSED_RESULT;
290
334
  @property (nonatomic, readonly) BOOL isGL;
291
335
  - (GLint)getId SWIFT_WARN_UNUSED_RESULT;
292
336
  @property (nonatomic, readonly) float width;
@@ -333,6 +377,7 @@ enum TNSTextBaseLine : NSInteger;
333
377
  enum TNSFillRule : NSInteger;
334
378
  @class TNSLinearGradient;
335
379
  @class TNSRadialGradient;
380
+ @class TNSConicGradient;
336
381
  enum TNSPatternRepetition : NSInteger;
337
382
  @class TNSImageData;
338
383
  @class TNSTextMetrics;
@@ -357,7 +402,9 @@ SWIFT_CLASS_NAMED("TNSCanvasRenderingContext2D")
357
402
  @property (nonatomic) float shadowOffsetY;
358
403
  @property (nonatomic) enum TNSTextAlignment textAlign;
359
404
  @property (nonatomic) enum TNSTextBaseLine textBaseline;
405
+ - (void)setFillStyleWithString:(NSString * _Nonnull)color;
360
406
  @property (nonatomic, strong) id <ICanvasColorStyle> _Nonnull fillStyle;
407
+ - (void)setStrokeStyleWithString:(NSString * _Nonnull)color;
361
408
  @property (nonatomic, strong) id <ICanvasColorStyle> _Nonnull strokeStyle;
362
409
  - (void)fillRect:(float)x :(float)y :(float)width :(float)height;
363
410
  - (void)strokeRect:(float)x :(float)y :(float)width :(float)height;
@@ -366,6 +413,9 @@ SWIFT_CLASS_NAMED("TNSCanvasRenderingContext2D")
366
413
  - (void)strokeText:(NSString * _Nonnull)text :(float)x :(float)y;
367
414
  - (void)strokeText:(NSString * _Nonnull)text :(float)x :(float)y :(float)width;
368
415
  - (void)rect:(float)x :(float)y :(float)width :(float)height;
416
+ - (void)roundRectWithX:(float)x y:(float)y width:(float)width height:(float)height topLeft:(float)topLeft topRight:(float)topRight bottomRight:(float)bottomRight bottomLeft:(float)bottomLeft;
417
+ - (void)roundRectWithX:(float)x y:(float)y width:(float)width height:(float)height radii:(float)radii;
418
+ - (void)roundRect:(float)x :(float)y :(float)width :(float)height :(NSArray<NSNumber *> * _Nonnull)radii;
369
419
  - (void)fill;
370
420
  - (void)fillWithValue:(id _Nonnull)value;
371
421
  - (void)fill:(TNSPath2D * _Nonnull)path :(enum TNSFillRule)rule;
@@ -389,6 +439,7 @@ SWIFT_CLASS_NAMED("TNSCanvasRenderingContext2D")
389
439
  - (TNSCanvas * _Nonnull)getCanvas SWIFT_WARN_UNUSED_RESULT;
390
440
  - (TNSLinearGradient * _Nonnull)createLinearGradient:(float)x0 :(float)y0 :(float)x1 :(float)y1 SWIFT_WARN_UNUSED_RESULT;
391
441
  - (TNSRadialGradient * _Nonnull)createRadialGradient:(float)x0 :(float)y0 :(float)r0 :(float)x1 :(float)y1 :(float)r1 SWIFT_WARN_UNUSED_RESULT;
442
+ - (TNSConicGradient * _Nonnull)createConicGradient:(float)startAngle :(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
392
443
  - (id _Nullable)createPattern:(id _Nonnull)value :(enum TNSPatternRepetition)repetition SWIFT_WARN_UNUSED_RESULT;
393
444
  - (void)setTransform:(float)a :(float)b :(float)c :(float)d :(float)e :(float)f;
394
445
  - (void)scale:(float)x :(float)y;
@@ -454,6 +505,11 @@ SWIFT_CLASS_NAMED("TNSRadialGradient")
454
505
  @end
455
506
 
456
507
 
508
+ SWIFT_CLASS_NAMED("TNSConicGradient")
509
+ @interface TNSConicGradient : TNSGradient
510
+ @end
511
+
512
+
457
513
  SWIFT_CLASS_NAMED("TNSPattern")
458
514
  @interface TNSPattern : NSObject <ICanvasColorStyle>
459
515
  - (void)setTransformWithMatrix:(TNSDOMMatrix * _Nonnull)matrix;
@@ -715,6 +771,7 @@ SWIFT_CLASS_NAMED("TNSSVG")
715
771
  - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
716
772
  - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
717
773
  - (void)drawRect:(CGRect)rect;
774
+ - (UIImage * _Nullable)toImage SWIFT_WARN_UNUSED_RESULT;
718
775
  @end
719
776
 
720
777
  typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextAlignment, "TNSTextAlignment", open) {
@@ -741,11 +798,26 @@ SWIFT_CLASS_NAMED("TNSTextDecoder")
741
798
  - (nonnull instancetype)initWithEncoding:(NSString * _Nonnull)encoding OBJC_DESIGNATED_INITIALIZER;
742
799
  @property (nonatomic, readonly, copy) NSString * _Nonnull encoding;
743
800
  - (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer SWIFT_WARN_UNUSED_RESULT;
801
+ - (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
802
+ - (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer offset:(NSInteger)offset length:(NSInteger)length SWIFT_WARN_UNUSED_RESULT;
803
+ - (NSString * _Nonnull)decodeWithU8:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
804
+ - (NSString * _Nonnull)decodeWithU8:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
805
+ - (NSString * _Nonnull)decodeWithI8:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
806
+ - (NSString * _Nonnull)decodeWithI8:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
807
+ - (NSString * _Nonnull)decodeWithU16:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
808
+ - (NSString * _Nonnull)decodeWithU16:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
809
+ - (NSString * _Nonnull)decodeWithI16:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
810
+ - (NSString * _Nonnull)decodeWithI16:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
811
+ - (NSString * _Nonnull)decodeWithI32:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
812
+ - (NSString * _Nonnull)decodeWithI32:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
813
+ - (NSString * _Nonnull)decodeWithU32:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
814
+ - (NSString * _Nonnull)decodeWithU32:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
744
815
  - (NSString * _Nonnull)decodeWithBytes:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
745
816
  - (NSString * _Nonnull)decodeWithI8:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
746
817
  - (NSString * _Nonnull)decodeWithU16:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
747
818
  - (NSString * _Nonnull)decodeWithI16:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
748
819
  - (NSString * _Nonnull)decodeWithI32:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
820
+ - (NSString * _Nonnull)decodeWithU32:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
749
821
  @end
750
822
 
751
823
  typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextDirection, "TNSTextDirection", open) {
@@ -809,6 +881,7 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
809
881
  - (void)bufferData:(uint32_t)target srcData:(NSNull * _Nonnull)srcData :(uint32_t)usage;
810
882
  - (void)bufferData:(uint32_t)target i8:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
811
883
  - (void)bufferData:(uint32_t)target srcData:(void * _Nonnull)srcData size:(NSInteger)size :(uint32_t)usage;
884
+ - (void)bufferData:(uint32_t)target srcData:(void * _Nonnull)srcData size:(NSInteger)size :(uint32_t)usage offset:(NSInteger)offset;
812
885
  - (void)bufferData:(uint32_t)target u8:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
813
886
  - (void)bufferData:(uint32_t)target i16:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
814
887
  - (void)bufferData:(uint32_t)target u16:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
@@ -819,6 +892,7 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
819
892
  - (void)bufferSubData:(uint32_t)target :(NSInteger)offset :(NSNull * _Nonnull)srcData;
820
893
  - (void)bufferSubData:(uint32_t)target :(NSInteger)offset i8:(NSArray<NSNumber *> * _Nonnull)srcData;
821
894
  - (void)bufferSubData:(uint32_t)target :(NSInteger)offset srcData:(void * _Nonnull)srcData size:(NSInteger)size;
895
+ - (void)bufferSubData:(uint32_t)target :(NSInteger)offset srcData:(void * _Nonnull)srcData size:(NSInteger)size os:(NSInteger)os;
822
896
  - (void)bufferSubData:(uint32_t)target :(NSInteger)offset u8:(NSArray<NSNumber *> * _Nonnull)srcData;
823
897
  - (void)bufferSubData:(uint32_t)target :(NSInteger)offset i16:(NSArray<NSNumber *> * _Nonnull)srcData;
824
898
  - (void)bufferSubData:(uint32_t)target :(NSInteger)offset u16:(NSArray<NSNumber *> * _Nonnull)srcData;
@@ -904,6 +978,7 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
904
978
  - (void)pixelStorei:(uint32_t)pname :(uint32_t)param;
905
979
  - (void)polygonOffset:(float)factor :(float)units;
906
980
  - (void)readPixels:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type :(void * _Nonnull)pixels;
981
+ - (void)readPixels:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type :(void * _Nonnull)pixels offset:(NSInteger)offset;
907
982
  - (void)renderbufferStorage:(uint32_t)target :(uint32_t)internalFormat :(int32_t)width :(int32_t)height;
908
983
  - (void)sampleCoverage:(float)value :(BOOL)invert;
909
984
  - (void)scissor:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
@@ -917,6 +992,7 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
917
992
  - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type data:(NSData * _Nonnull)data;
918
993
  - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)pixels;
919
994
  - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type pixels:(void const * _Nonnull)pixels size:(NSInteger)size;
995
+ - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type pixels:(void const * _Nonnull)pixels size:(NSInteger)size offset:(NSInteger)offset;
920
996
  - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type u16:(NSArray<NSNumber *> * _Nonnull)pixels;
921
997
  - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type u32:(NSArray<NSNumber *> * _Nonnull)pixels;
922
998
  - (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(uint32_t)format :(uint32_t)type f32:(NSArray<NSNumber *> * _Nonnull)pixels;
@@ -931,6 +1007,7 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
931
1007
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type data:(NSData * _Nonnull)data;
932
1008
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)pixels;
933
1009
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type pixels:(void * _Nonnull)pixels size:(NSInteger)size;
1010
+ - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type pixels:(void * _Nonnull)pixels size:(NSInteger)size offset:(NSInteger)offset;
934
1011
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type u16:(NSArray<NSNumber *> * _Nonnull)pixels;
935
1012
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type f32:(NSArray<NSNumber *> * _Nonnull)pixels;
936
1013
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type :(NSNull * _Nonnull)pixels;
@@ -941,23 +1018,34 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
941
1018
  - (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type :(NSNull * _Nonnull)pixels;
942
1019
  - (void)uniform1f:(int32_t)location :(float)v0;
943
1020
  - (void)uniform1fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1021
+ - (void)uniform1fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
944
1022
  - (void)uniform1i:(int32_t)location :(int32_t)v0;
945
1023
  - (void)uniform1iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1024
+ - (void)uniform1iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
946
1025
  - (void)uniform2f:(int32_t)location :(float)v0 :(float)v1;
947
1026
  - (void)uniform2fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1027
+ - (void)uniform2fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
948
1028
  - (void)uniform2i:(int32_t)location :(int32_t)v0 :(int32_t)v1;
949
1029
  - (void)uniform2iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1030
+ - (void)uniform2iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
950
1031
  - (void)uniform3f:(int32_t)location :(float)v0 :(float)v1 :(float)v2;
951
1032
  - (void)uniform3fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1033
+ - (void)uniform3fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
952
1034
  - (void)uniform3i:(int32_t)location :(int32_t)v0 :(int32_t)v1 :(int32_t)v2;
953
1035
  - (void)uniform3iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1036
+ - (void)uniform3iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
954
1037
  - (void)uniform4f:(int32_t)location :(float)v0 :(float)v1 :(float)v2 :(float)v3;
955
1038
  - (void)uniform4fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1039
+ - (void)uniform4fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
956
1040
  - (void)uniform4i:(int32_t)location :(int32_t)v0 :(int32_t)v1 :(int32_t)v2 :(int32_t)v3;
957
1041
  - (void)uniform4iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
1042
+ - (void)uniform4iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
958
1043
  - (void)uniformMatrix2fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
1044
+ - (void)uniformMatrix2fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
959
1045
  - (void)uniformMatrix3fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
1046
+ - (void)uniformMatrix3fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
960
1047
  - (void)uniformMatrix4fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
1048
+ - (void)uniformMatrix4fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
961
1049
  - (void)useProgram:(uint32_t)program;
962
1050
  - (void)validateProgram:(uint32_t)program;
963
1051
  - (void)vertexAttrib1f:(uint32_t)index :(float)v0;
@@ -965,9 +1053,13 @@ SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
965
1053
  - (void)vertexAttrib3f:(uint32_t)index :(float)v0 :(float)v1 :(float)v2;
966
1054
  - (void)vertexAttrib4f:(uint32_t)index :(float)v0 :(float)v1 :(float)v2 :(float)v3;
967
1055
  - (void)vertexAttrib1fv:(uint32_t)index :(void * _Nonnull)value;
1056
+ - (void)vertexAttrib1fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
968
1057
  - (void)vertexAttrib2fv:(uint32_t)index :(void * _Nonnull)value;
1058
+ - (void)vertexAttrib2fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
969
1059
  - (void)vertexAttrib3fv:(uint32_t)index :(void * _Nonnull)value;
1060
+ - (void)vertexAttrib3fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
970
1061
  - (void)vertexAttrib4fv:(uint32_t)index :(void * _Nonnull)value;
1062
+ - (void)vertexAttrib4fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
971
1063
  - (void)vertexAttribPointer:(uint32_t)index :(int32_t)size :(uint32_t)type :(BOOL)normalized :(int32_t)stride :(NSInteger)offset;
972
1064
  - (void)viewport:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
973
1065
  @property (nonatomic, readonly) uint32_t DEPTH_BUFFER_BIT;
@@ -1284,8 +1376,11 @@ SWIFT_CLASS_NAMED("TNSWebGL2RenderingContext")
1284
1376
  - (void)bindVertexArray:(uint32_t)vertexArray;
1285
1377
  - (void)blitFramebuffer:(int32_t)srcX0 :(int32_t)srcY0 :(int32_t)srcX1 :(int32_t)srcY1 :(int32_t)dstX0 :(int32_t)dstY0 :(int32_t)dstX1 :(int32_t)dstY1 :(uint32_t)mask :(uint32_t)filter;
1286
1378
  - (void)clearBufferfv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
1379
+ - (void)clearBufferfv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
1287
1380
  - (void)clearBufferiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
1381
+ - (void)clearBufferiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
1288
1382
  - (void)clearBufferuiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
1383
+ - (void)clearBufferuiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
1289
1384
  - (void)clearBufferfi:(uint32_t)buffer :(int32_t)drawbuffer :(float)depth :(int32_t)stencil;
1290
1385
  - (int32_t)clientWaitSync:(GLsync _Nonnull)sync :(uint32_t)flags :(uint64_t)timeout SWIFT_WARN_UNUSED_RESULT;
1291
1386
  - (void)compressedTexSubImage3D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)zoffset :(int32_t)width :(int32_t)height :(int32_t)depth :(uint32_t)format :(int32_t)imageSize :(int32_t)offset;
@@ -1320,6 +1415,7 @@ SWIFT_CLASS_NAMED("TNSWebGL2RenderingContext")
1320
1415
  - (id _Nonnull)getActiveUniformBlockParameter:(uint32_t)program :(uint32_t)uniformBlockIndex :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
1321
1416
  - (id _Nonnull)getActiveUniforms:(uint32_t)program :(NSArray<NSNumber *> * _Nonnull)uniformIndices :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
1322
1417
  - (void)getBufferSubData:(uint32_t)target :(NSInteger)srcByteOffset :(void * _Nonnull)dstData size:(NSInteger)size :(int32_t)dstOffset :(int32_t)length;
1418
+ - (void)getBufferSubData:(uint32_t)target :(NSInteger)srcByteOffset :(void * _Nonnull)dstData size:(NSInteger)size :(int32_t)dstOffset :(int32_t)length offset:(NSInteger)offset;
1323
1419
  - (int32_t)getFragDataLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
1324
1420
  - (id _Nonnull)getIndexedParameter:(uint32_t)target :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
1325
1421
  - (id _Nonnull)getInternalformatParameter:(uint32_t)target :(uint32_t)internalformat :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
@@ -1346,6 +1442,8 @@ SWIFT_CLASS_NAMED("TNSWebGL2RenderingContext")
1346
1442
  - (void)samplerParameterf:(uint32_t)sampler :(uint32_t)pname :(float)param;
1347
1443
  - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type data:(NSData * _Nonnull)data;
1348
1444
  - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type offset:(NSInteger)offset;
1445
+ - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type pixels:(void const * _Nonnull)pixels size:(NSInteger)size;
1446
+ - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type pixels:(void const * _Nonnull)pixels size:(NSInteger)size pixelOffset:(NSInteger)pixelOffset srcOffset:(int32_t)srcOffset;
1349
1447
  - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type i8:(NSArray<NSNumber *> * _Nonnull)source;
1350
1448
  - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)source;
1351
1449
  - (void)texImage3D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth :(int32_t)border :(uint32_t)format :(uint32_t)type i16:(NSArray<NSNumber *> * _Nonnull)source;
@@ -1396,21 +1494,33 @@ SWIFT_CLASS_NAMED("TNSWebGL2RenderingContext")
1396
1494
  - (void)uniform3ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2;
1397
1495
  - (void)uniform4ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2 :(uint32_t)v3;
1398
1496
  - (void)uniform1uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
1497
+ - (void)uniform1uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1399
1498
  - (void)uniform2uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
1499
+ - (void)uniform2uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1400
1500
  - (void)uniform3uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
1501
+ - (void)uniform3uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1401
1502
  - (void)uniform4uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
1503
+ - (void)uniform4uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1402
1504
  - (void)uniformBlockBinding:(uint32_t)program :(uint32_t)uniformBlockIndex :(uint32_t)uniformBlockBinding;
1403
1505
  - (void)uniformMatrix3x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
1506
+ - (void)uniformMatrix3x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1404
1507
  - (void)uniformMatrix4x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
1508
+ - (void)uniformMatrix4x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1405
1509
  - (void)uniformMatrix2x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
1510
+ - (void)uniformMatrix2x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1406
1511
  - (void)uniformMatrix4x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
1512
+ - (void)uniformMatrix4x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1407
1513
  - (void)uniformMatrix2x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
1514
+ - (void)uniformMatrix2x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1408
1515
  - (void)uniformMatrix3x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
1516
+ - (void)uniformMatrix3x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
1409
1517
  - (void)vertexAttribDivisor:(uint32_t)index :(uint32_t)divisor;
1410
1518
  - (void)vertexAttribI4i:(uint32_t)index :(int32_t)v0 :(int32_t)v1 :(int32_t)v2 :(int32_t)v3;
1411
1519
  - (void)vertexAttribI4ui:(uint32_t)index :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2 :(uint32_t)v3;
1412
1520
  - (void)vertexAttribI4iv:(uint32_t)index :(void const * _Nonnull)value;
1521
+ - (void)vertexAttribI4iv:(uint32_t)index :(void const * _Nonnull)value offset:(NSInteger)offset;
1413
1522
  - (void)vertexAttribI4uiv:(uint32_t)index :(void const * _Nonnull)value;
1523
+ - (void)vertexAttribI4uiv:(uint32_t)index :(void const * _Nonnull)value offset:(NSInteger)offset;
1414
1524
  @property (nonatomic, readonly) uint32_t READ_BUFFER;
1415
1525
  @property (nonatomic, readonly) uint32_t UNPACK_ROW_LENGTH;
1416
1526
  @property (nonatomic, readonly) uint32_t UNPACK_SKIP_ROWS;
@@ -1936,8 +2046,15 @@ SWIFT_CLASS_NAMED("Utils")
1936
2046
  - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
1937
2047
  @end
1938
2048
 
2049
+ #endif
2050
+ #if defined(__cplusplus)
2051
+ #endif
1939
2052
  #if __has_attribute(external_source_symbol)
1940
2053
  # pragma clang attribute pop
1941
2054
  #endif
1942
2055
  #pragma clang diagnostic pop
1943
2056
  #endif
2057
+
2058
+ #else
2059
+ #error unsupported Swift architecture
2060
+ #endif