@nativescript/canvas 2.0.0-alpha.2 → 2.0.0-alpha.21
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.
- package/Canvas/common.d.ts +2 -0
- package/Canvas/common.js +69 -32
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +8 -0
- package/Canvas/index.android.js +76 -29
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +12 -0
- package/Canvas/index.ios.d.ts +8 -2
- package/Canvas/index.ios.js +129 -77
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/CanvasGradient/index.d.ts +7 -2
- package/Canvas2D/CanvasGradient/index.js +14 -2
- package/Canvas2D/CanvasGradient/index.js.map +1 -1
- package/Canvas2D/CanvasPattern/index.d.ts +7 -2
- package/Canvas2D/CanvasPattern/index.js +11 -2
- package/Canvas2D/CanvasPattern/index.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.d.ts +118 -132
- package/Canvas2D/CanvasRenderingContext2D/{index.android.js → index.js} +229 -238
- package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -0
- package/Canvas2D/DOMMatrix/index.d.ts +74 -2
- package/Canvas2D/DOMMatrix/index.js +180 -2
- package/Canvas2D/DOMMatrix/index.js.map +1 -1
- package/Canvas2D/ImageData/index.d.ts +15 -2
- package/Canvas2D/ImageData/index.js +66 -2
- package/Canvas2D/ImageData/index.js.map +1 -1
- package/Canvas2D/Path2D/index.d.ts +19 -2
- package/Canvas2D/Path2D/index.js +82 -2
- package/Canvas2D/Path2D/index.js.map +1 -1
- package/Canvas2D/TextMetrics/index.d.ts +17 -2
- package/Canvas2D/TextMetrics/index.js +44 -2
- package/Canvas2D/TextMetrics/index.js.map +1 -1
- package/Dom/Dom.d.ts +10 -0
- package/Dom/Dom.js +36 -0
- package/Dom/Dom.js.map +1 -0
- package/Dom/Fill.d.ts +4 -0
- package/Dom/Fill.js +8 -0
- package/Dom/Fill.js.map +1 -0
- package/Dom/Group.d.ts +21 -0
- package/Dom/Group.js +179 -0
- package/Dom/Group.js.map +1 -0
- package/Dom/Image.d.ts +12 -0
- package/Dom/Image.js +33 -0
- package/Dom/Image.js.map +1 -0
- package/Dom/Paint.d.ts +15 -0
- package/Dom/Paint.js +57 -0
- package/Dom/Paint.js.map +1 -0
- package/Dom/Shadow.d.ts +10 -0
- package/Dom/Shadow.js +26 -0
- package/Dom/Shadow.js.map +1 -0
- package/Dom/Text.d.ts +9 -0
- package/Dom/Text.js +50 -0
- package/Dom/Text.js.map +1 -0
- package/Dom/index.d.ts +8 -0
- package/Dom/index.js +9 -0
- package/Dom/index.js.map +1 -0
- package/Dom/shapes/Circle.d.ts +21 -0
- package/Dom/shapes/Circle.js +98 -0
- package/Dom/shapes/Circle.js.map +1 -0
- package/Dom/shapes/Line.d.ts +9 -0
- package/Dom/shapes/Line.js +37 -0
- package/Dom/shapes/Line.js.map +1 -0
- package/Dom/shapes/Path.d.ts +8 -0
- package/Dom/shapes/Path.js +31 -0
- package/Dom/shapes/Path.js.map +1 -0
- package/Dom/shapes/Points.d.ts +15 -0
- package/Dom/shapes/Points.js +20 -0
- package/Dom/shapes/Points.js.map +1 -0
- package/Dom/shapes/Rect.d.ts +15 -0
- package/Dom/shapes/Rect.js +63 -0
- package/Dom/shapes/Rect.js.map +1 -0
- package/Dom/shapes/RoundedRect.d.ts +12 -0
- package/Dom/shapes/RoundedRect.js +96 -0
- package/Dom/shapes/RoundedRect.js.map +1 -0
- package/Dom/shapes/index.d.ts +6 -0
- package/Dom/shapes/index.js +7 -0
- package/Dom/shapes/index.js.map +1 -0
- package/ImageAsset/index.d.ts +28 -2
- package/ImageAsset/index.js +154 -2
- package/ImageAsset/index.js.map +1 -1
- package/ImageBitmap/{index.ios.d.ts → index.d.ts} +3 -4
- package/ImageBitmap/{index.android.js → index.js} +52 -36
- package/ImageBitmap/index.js.map +1 -0
- package/LICENSE +201 -0
- package/SVG/SVG.js +1 -1
- package/SVG/SVG.js.map +1 -1
- package/TextDecoder/index.d.ts +7 -2
- package/TextDecoder/index.js +44 -2
- package/TextDecoder/index.js.map +1 -1
- package/TextEncoder/index.d.ts +7 -2
- package/TextEncoder/index.js +42 -2
- package/TextEncoder/index.js.map +1 -1
- package/WebGL/WebGLExtensions/index.d.ts +150 -242
- package/WebGL/WebGLExtensions/{index.android.js → index.js} +18 -75
- package/WebGL/WebGLExtensions/index.js.map +1 -0
- package/WebGL/WebGLRenderingContext/common.d.ts +0 -2
- package/WebGL/WebGLRenderingContext/common.js +0 -10
- package/WebGL/WebGLRenderingContext/common.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.d.ts +153 -293
- package/WebGL/WebGLRenderingContext/{index.android.js → index.js} +193 -309
- package/WebGL/WebGLRenderingContext/index.js.map +1 -0
- package/WebGL2/WebGL2RenderingContext/common.d.ts +1 -0
- package/WebGL2/WebGL2RenderingContext/common.js +3 -0
- package/WebGL2/WebGL2RenderingContext/common.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.d.ts +101 -455
- package/WebGL2/WebGL2RenderingContext/{index.android.js → index.js} +125 -201
- package/WebGL2/WebGL2RenderingContext/index.js.map +1 -0
- package/angular/esm2020/index.mjs +4 -4
- package/angular/fesm2015/nativescript-canvas-angular.mjs +4 -4
- package/angular/fesm2020/nativescript-canvas-angular.mjs +4 -4
- package/angular/package.json +2 -2
- package/helpers.js +3 -0
- package/helpers.js.map +1 -1
- package/index.js.map +1 -1
- package/package.json +3 -2
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/android/include.gradle +15 -0
- package/platforms/ios/CanvasNative.xcframework/Info.plist +5 -5
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +209 -1767
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative.h +10 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_ios.h +142 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +2621 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +6571 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +153 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +91 -3202
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/module.modulemap +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/{TNSCanvas.nib → NSCCanvas.nib} +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +408 -3534
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative.h +10 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_ios.h +142 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +2621 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +6571 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +153 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +91 -3202
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +6571 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +153 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +91 -3202
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/module.modulemap +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/{TNSCanvas.nib → NSCCanvas.nib} +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +58 -91
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/Podfile +5 -1
- package/platforms/ios/build.xcconfig +5 -0
- package/platforms/ios/src/CanvasModule.h +8 -0
- package/platforms/ios/src/CanvasModule.mm +14 -0
- package/platforms/ios/src/NSOperationQueueWrapper.h +11 -0
- package/platforms/ios/src/NSOperationQueueWrapper.mm +74 -0
- package/platforms/ios/src/cpp/Caches.cpp +35 -0
- package/platforms/ios/src/cpp/Caches.h +186 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.cpp +1582 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.h +33 -0
- package/platforms/ios/src/cpp/Common.h +30 -0
- package/platforms/ios/src/cpp/ConcurrentMap.h +54 -0
- package/platforms/ios/src/cpp/Helpers.h +329 -0
- package/platforms/ios/src/cpp/ImageAssetImpl.cpp +802 -0
- package/platforms/ios/src/cpp/ImageAssetImpl.h +62 -0
- package/platforms/ios/src/cpp/ImageBitmapImpl.cpp +189 -0
- package/platforms/ios/src/cpp/ImageBitmapImpl.h +47 -0
- package/platforms/ios/src/cpp/JSICallback.h +71 -0
- package/platforms/ios/src/cpp/JSIReadFileCallback.h +96 -0
- package/platforms/ios/src/cpp/JSIRuntime.cpp +21 -0
- package/platforms/ios/src/cpp/JSIRuntime.h +7 -0
- package/platforms/ios/src/cpp/OnRafCallback.cpp +25 -0
- package/platforms/ios/src/cpp/OnRafCallback.h +24 -0
- package/platforms/ios/src/cpp/OneByteStringResource.cpp +25 -0
- package/platforms/ios/src/cpp/OneByteStringResource.h +21 -0
- package/platforms/ios/src/cpp/RafImpl.cpp +8 -0
- package/platforms/ios/src/cpp/RafImpl.h +30 -0
- package/platforms/ios/src/cpp/TextDecoderImpl.cpp +188 -0
- package/platforms/ios/src/cpp/TextDecoderImpl.h +34 -0
- package/platforms/ios/src/cpp/TextEncoderImpl.cpp +139 -0
- package/platforms/ios/src/cpp/TextEncoderImpl.h +37 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.cpp +71 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +42 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.cpp +89 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +42 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +2402 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +318 -0
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.cpp +203 -0
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +43 -0
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.cpp +800 -0
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +188 -0
- package/platforms/ios/src/cpp/canvas2d/Path2D.cpp +449 -0
- package/platforms/ios/src/cpp/canvas2d/Path2D.h +56 -0
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.cpp +253 -0
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +67 -0
- package/platforms/ios/src/cpp/gl.h +79 -0
- package/platforms/ios/src/cpp/gl3stub.c +425 -0
- package/platforms/ios/src/cpp/gl3stub.h +665 -0
- package/platforms/ios/src/cpp/gles3jni.h +37 -0
- package/platforms/ios/src/cpp/include/robin_hood.h +2544 -0
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.cpp +93 -0
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +48 -0
- package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +59 -0
- package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +60 -0
- package/platforms/ios/src/cpp/webgl/WebGLProgram.h +59 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +58 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +6691 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +388 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.cpp +119 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +69 -0
- package/platforms/ios/src/cpp/webgl/WebGLShader.h +58 -0
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.cpp +50 -0
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +83 -0
- package/platforms/ios/src/cpp/webgl/WebGLTexture.h +57 -0
- package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +64 -0
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.cpp +126 -0
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +41 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.cpp +35 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +36 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.cpp +41 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +37 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.cpp +323 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +62 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +61 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +51 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +59 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +61 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +51 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +56 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +53 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +52 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +53 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +54 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.cpp +102 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +87 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +63 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +61 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +59 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +88 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +69 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +65 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +72 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +59 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.cpp +43 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +143 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.cpp +32 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +80 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.cpp +4517 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +227 -0
- package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +57 -0
- package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +60 -0
- package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +57 -0
- package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +59 -0
- package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +60 -0
- package/platforms/ios/src/module.modulemap +5 -0
- package/Canvas2D/CanvasGradient/CanvasGradient.android.d.ts +0 -10
- package/Canvas2D/CanvasGradient/CanvasGradient.android.js +0 -26
- package/Canvas2D/CanvasGradient/CanvasGradient.android.js.map +0 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.d.ts +0 -12
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.d.ts +0 -8
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.js +0 -19
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.js.map +0 -1
- package/Canvas2D/CanvasGradient/common.d.ts +0 -3
- package/Canvas2D/CanvasGradient/common.js +0 -3
- package/Canvas2D/CanvasGradient/common.js.map +0 -1
- package/Canvas2D/CanvasPattern/CanvasPattern.android.d.ts +0 -8
- package/Canvas2D/CanvasPattern/CanvasPattern.android.js +0 -20
- package/Canvas2D/CanvasPattern/CanvasPattern.android.js.map +0 -1
- package/Canvas2D/CanvasPattern/CanvasPattern.d.ts +0 -8
- package/Canvas2D/CanvasPattern/CanvasPattern.ios.d.ts +0 -6
- package/Canvas2D/CanvasPattern/CanvasPattern.ios.js +0 -10
- package/Canvas2D/CanvasPattern/CanvasPattern.ios.js.map +0 -1
- package/Canvas2D/CanvasPattern/common.d.ts +0 -7
- package/Canvas2D/CanvasPattern/common.js +0 -9
- package/Canvas2D/CanvasPattern/common.js.map +0 -1
- package/Canvas2D/CanvasRenderingContext2D/common.d.ts +0 -87
- package/Canvas2D/CanvasRenderingContext2D/common.js +0 -12
- package/Canvas2D/CanvasRenderingContext2D/common.js.map +0 -1
- package/Canvas2D/CanvasRenderingContext2D/index.android.d.ts +0 -112
- package/Canvas2D/CanvasRenderingContext2D/index.android.js.map +0 -1
- package/Canvas2D/CanvasRenderingContext2D/index.ios.d.ts +0 -110
- package/Canvas2D/CanvasRenderingContext2D/index.ios.js +0 -897
- package/Canvas2D/CanvasRenderingContext2D/index.ios.js.map +0 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.android.d.ts +0 -72
- package/Canvas2D/DOMMatrix/DOMMatrix.android.js +0 -177
- package/Canvas2D/DOMMatrix/DOMMatrix.android.js.map +0 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.d.ts +0 -30
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.d.ts +0 -48
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.js +0 -142
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.js.map +0 -1
- package/Canvas2D/DOMMatrix/common.d.ts +0 -27
- package/Canvas2D/DOMMatrix/common.js +0 -9
- package/Canvas2D/DOMMatrix/common.js.map +0 -1
- package/Canvas2D/ImageData/ImageData.android.d.ts +0 -9
- package/Canvas2D/ImageData/ImageData.android.js +0 -65
- package/Canvas2D/ImageData/ImageData.android.js.map +0 -1
- package/Canvas2D/ImageData/ImageData.d.ts +0 -11
- package/Canvas2D/ImageData/ImageData.ios.d.ts +0 -10
- package/Canvas2D/ImageData/ImageData.ios.js +0 -45
- package/Canvas2D/ImageData/ImageData.ios.js.map +0 -1
- package/Canvas2D/ImageData/common.d.ts +0 -9
- package/Canvas2D/ImageData/common.js +0 -13
- package/Canvas2D/ImageData/common.js.map +0 -1
- package/Canvas2D/Path2D/Path2D.android.d.ts +0 -18
- package/Canvas2D/Path2D/Path2D.android.js +0 -83
- package/Canvas2D/Path2D/Path2D.android.js.map +0 -1
- package/Canvas2D/Path2D/Path2D.d.ts +0 -26
- package/Canvas2D/Path2D/Path2D.ios.d.ts +0 -15
- package/Canvas2D/Path2D/Path2D.ios.js +0 -55
- package/Canvas2D/Path2D/Path2D.ios.js.map +0 -1
- package/Canvas2D/Path2D/common.d.ts +0 -17
- package/Canvas2D/Path2D/common.js +0 -12
- package/Canvas2D/Path2D/common.js.map +0 -1
- package/Canvas2D/TextMetrics/TextMetrics.android.d.ts +0 -16
- package/Canvas2D/TextMetrics/TextMetrics.android.js +0 -43
- package/Canvas2D/TextMetrics/TextMetrics.android.js.map +0 -1
- package/Canvas2D/TextMetrics/TextMetrics.d.ts +0 -7
- package/Canvas2D/TextMetrics/TextMetrics.ios.d.ts +0 -16
- package/Canvas2D/TextMetrics/TextMetrics.ios.js +0 -43
- package/Canvas2D/TextMetrics/TextMetrics.ios.js.map +0 -1
- package/Canvas2D/TextMetrics/common.d.ts +0 -18
- package/Canvas2D/TextMetrics/common.js +0 -13
- package/Canvas2D/TextMetrics/common.js.map +0 -1
- package/ImageAsset/ImageAsset.android.d.ts +0 -20
- package/ImageAsset/ImageAsset.android.js +0 -149
- package/ImageAsset/ImageAsset.android.js.map +0 -1
- package/ImageAsset/ImageAsset.d.ts +0 -31
- package/ImageAsset/ImageAsset.ios.d.ts +0 -22
- package/ImageAsset/ImageAsset.ios.js +0 -114
- package/ImageAsset/ImageAsset.ios.js.map +0 -1
- package/ImageAsset/common.d.ts +0 -13
- package/ImageAsset/common.js +0 -21
- package/ImageAsset/common.js.map +0 -1
- package/ImageBitmap/common.d.ts +0 -8
- package/ImageBitmap/common.js +0 -9
- package/ImageBitmap/common.js.map +0 -1
- package/ImageBitmap/index.android.d.ts +0 -12
- package/ImageBitmap/index.android.js.map +0 -1
- package/ImageBitmap/index.ios.js +0 -283
- package/ImageBitmap/index.ios.js.map +0 -1
- package/TextDecoder/TextDecoder.android.d.ts +0 -8
- package/TextDecoder/TextDecoder.android.js +0 -52
- package/TextDecoder/TextDecoder.android.js.map +0 -1
- package/TextDecoder/TextDecoder.d.ts +0 -10
- package/TextDecoder/TextDecoder.ios.d.ts +0 -6
- package/TextDecoder/TextDecoder.ios.js +0 -37
- package/TextDecoder/TextDecoder.ios.js.map +0 -1
- package/TextDecoder/common.d.ts +0 -8
- package/TextDecoder/common.js +0 -13
- package/TextDecoder/common.js.map +0 -1
- package/TextEncoder/TextEncoder.android.d.ts +0 -8
- package/TextEncoder/TextEncoder.android.js +0 -50
- package/TextEncoder/TextEncoder.android.js.map +0 -1
- package/TextEncoder/TextEncoder.d.ts +0 -10
- package/TextEncoder/TextEncoder.ios.d.ts +0 -6
- package/TextEncoder/TextEncoder.ios.js +0 -14
- package/TextEncoder/TextEncoder.ios.js.map +0 -1
- package/TextEncoder/common.d.ts +0 -7
- package/TextEncoder/common.js +0 -9
- package/TextEncoder/common.js.map +0 -1
- package/WebGL/WebGLExtensions/index.android.d.ts +0 -209
- package/WebGL/WebGLExtensions/index.android.js.map +0 -1
- package/WebGL/WebGLExtensions/index.ios.d.ts +0 -192
- package/WebGL/WebGLExtensions/index.ios.js +0 -250
- package/WebGL/WebGLExtensions/index.ios.js.map +0 -1
- package/WebGL/WebGLRenderingContext/index.android.d.ts +0 -165
- package/WebGL/WebGLRenderingContext/index.android.js.map +0 -1
- package/WebGL/WebGLRenderingContext/index.ios.d.ts +0 -163
- package/WebGL/WebGLRenderingContext/index.ios.js +0 -1168
- package/WebGL/WebGLRenderingContext/index.ios.js.map +0 -1
- package/WebGL2/WebGL2RenderingContext/index.android.d.ts +0 -103
- package/WebGL2/WebGL2RenderingContext/index.android.js.map +0 -1
- package/WebGL2/WebGL2RenderingContext/index.ios.d.ts +0 -102
- package/WebGL2/WebGL2RenderingContext/index.ios.js +0 -618
- package/WebGL2/WebGL2RenderingContext/index.ios.js.map +0 -1
- package/angular/nativescript-canvas-angular.d.ts +0 -5
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/Utils.h +0 -26
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftinterface +0 -3264
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/Utils.h +0 -26
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftinterface +0 -3264
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftinterface +0 -3264
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 5.
|
|
3
|
+
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
|
|
4
4
|
#ifndef CANVASNATIVE_SWIFT_H
|
|
5
5
|
#define CANVASNATIVE_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -24,10 +24,32 @@
|
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
26
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
27
|
+
#if defined(__OBJC__)
|
|
27
28
|
#include <Foundation/Foundation.h>
|
|
29
|
+
#endif
|
|
30
|
+
#if defined(__cplusplus)
|
|
31
|
+
#include <cstdint>
|
|
32
|
+
#include <cstddef>
|
|
33
|
+
#include <cstdbool>
|
|
34
|
+
#include <cstring>
|
|
35
|
+
#include <stdlib.h>
|
|
36
|
+
#include <new>
|
|
37
|
+
#include <type_traits>
|
|
38
|
+
#else
|
|
28
39
|
#include <stdint.h>
|
|
29
40
|
#include <stddef.h>
|
|
30
41
|
#include <stdbool.h>
|
|
42
|
+
#include <string.h>
|
|
43
|
+
#endif
|
|
44
|
+
#if defined(__cplusplus)
|
|
45
|
+
#if __has_include(<ptrauth.h>)
|
|
46
|
+
# include <ptrauth.h>
|
|
47
|
+
#else
|
|
48
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
49
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
50
|
+
# endif
|
|
51
|
+
#endif
|
|
52
|
+
#endif
|
|
31
53
|
|
|
32
54
|
#if !defined(SWIFT_TYPEDEFS)
|
|
33
55
|
# define SWIFT_TYPEDEFS 1
|
|
@@ -62,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
62
84
|
# if __has_feature(objc_class_property)
|
|
63
85
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
64
86
|
# else
|
|
65
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
87
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
66
88
|
# endif
|
|
67
89
|
#endif
|
|
68
|
-
|
|
69
|
-
#if __has_attribute(objc_runtime_name)
|
|
70
|
-
#
|
|
71
|
-
#else
|
|
72
|
-
#
|
|
90
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
91
|
+
# if __has_attribute(objc_runtime_name)
|
|
92
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
93
|
+
# else
|
|
94
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
95
|
+
# endif
|
|
73
96
|
#endif
|
|
74
|
-
#if
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
#
|
|
97
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
98
|
+
# if __has_attribute(swift_name)
|
|
99
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
100
|
+
# else
|
|
101
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
102
|
+
# endif
|
|
78
103
|
#endif
|
|
79
|
-
#if
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
104
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
105
|
+
# if __has_attribute(objc_method_family)
|
|
106
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
107
|
+
# else
|
|
108
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
109
|
+
# endif
|
|
83
110
|
#endif
|
|
84
|
-
#if
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
111
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
112
|
+
# if __has_attribute(noescape)
|
|
113
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
114
|
+
# else
|
|
115
|
+
# define SWIFT_NOESCAPE
|
|
116
|
+
# endif
|
|
88
117
|
#endif
|
|
89
|
-
#if
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
118
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
119
|
+
# if __has_attribute(ns_consumed)
|
|
120
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
121
|
+
# else
|
|
122
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
123
|
+
# endif
|
|
93
124
|
#endif
|
|
94
|
-
#if
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
#
|
|
125
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
126
|
+
# if __has_attribute(warn_unused_result)
|
|
127
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
128
|
+
# else
|
|
129
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
130
|
+
# endif
|
|
98
131
|
#endif
|
|
99
|
-
#if
|
|
100
|
-
#
|
|
101
|
-
#
|
|
102
|
-
#
|
|
132
|
+
#if !defined(SWIFT_NORETURN)
|
|
133
|
+
# if __has_attribute(noreturn)
|
|
134
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
135
|
+
# else
|
|
136
|
+
# define SWIFT_NORETURN
|
|
137
|
+
# endif
|
|
103
138
|
#endif
|
|
104
139
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
105
|
-
# define SWIFT_CLASS_EXTRA
|
|
140
|
+
# define SWIFT_CLASS_EXTRA
|
|
106
141
|
#endif
|
|
107
142
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
108
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
143
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
109
144
|
#endif
|
|
110
145
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
111
|
-
# define SWIFT_ENUM_EXTRA
|
|
146
|
+
# define SWIFT_ENUM_EXTRA
|
|
112
147
|
#endif
|
|
113
148
|
#if !defined(SWIFT_CLASS)
|
|
114
149
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -128,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
128
163
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
129
164
|
# endif
|
|
130
165
|
#endif
|
|
131
|
-
|
|
132
166
|
#if !defined(SWIFT_PROTOCOL)
|
|
133
167
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
134
168
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
135
169
|
#endif
|
|
136
|
-
|
|
137
170
|
#if !defined(SWIFT_EXTENSION)
|
|
138
171
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
139
172
|
#endif
|
|
140
|
-
|
|
141
173
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
142
174
|
# if __has_attribute(objc_designated_initializer)
|
|
143
175
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
144
176
|
# else
|
|
145
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
177
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
146
178
|
# endif
|
|
147
179
|
#endif
|
|
148
180
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
149
|
-
# if
|
|
181
|
+
# if __has_attribute(enum_extensibility)
|
|
150
182
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
151
183
|
# else
|
|
152
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
184
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
153
185
|
# endif
|
|
154
186
|
#endif
|
|
155
187
|
#if !defined(SWIFT_ENUM)
|
|
@@ -178,20 +210,57 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
178
210
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
179
211
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
180
212
|
#endif
|
|
181
|
-
#if
|
|
182
|
-
#
|
|
183
|
-
#
|
|
184
|
-
#
|
|
213
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
214
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
215
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
216
|
+
# else
|
|
217
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
218
|
+
# endif
|
|
185
219
|
#endif
|
|
220
|
+
#if defined(__OBJC__)
|
|
186
221
|
#if !defined(IBSegueAction)
|
|
187
|
-
# define IBSegueAction
|
|
222
|
+
# define IBSegueAction
|
|
188
223
|
#endif
|
|
189
|
-
#
|
|
224
|
+
#endif
|
|
225
|
+
#if !defined(SWIFT_EXTERN)
|
|
226
|
+
# if defined(__cplusplus)
|
|
227
|
+
# define SWIFT_EXTERN extern "C"
|
|
228
|
+
# else
|
|
229
|
+
# define SWIFT_EXTERN extern
|
|
230
|
+
# endif
|
|
231
|
+
#endif
|
|
232
|
+
#if !defined(SWIFT_CALL)
|
|
233
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
234
|
+
#endif
|
|
235
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
236
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
237
|
+
#endif
|
|
238
|
+
#if !defined(SWIFT_CONTEXT)
|
|
239
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
240
|
+
#endif
|
|
241
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
242
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
243
|
+
#endif
|
|
244
|
+
#if defined(__cplusplus)
|
|
245
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
246
|
+
#else
|
|
247
|
+
# define SWIFT_NOEXCEPT
|
|
248
|
+
#endif
|
|
249
|
+
#if defined(_WIN32)
|
|
250
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
251
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
252
|
+
#endif
|
|
253
|
+
#else
|
|
254
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
255
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
256
|
+
#endif
|
|
257
|
+
#endif
|
|
258
|
+
#if defined(__OBJC__)
|
|
259
|
+
#if __has_feature(objc_modules)
|
|
190
260
|
#if __has_warning("-Watimport-in-framework-header")
|
|
191
261
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
192
262
|
#endif
|
|
193
263
|
@import CoreFoundation;
|
|
194
|
-
@import CoreGraphics;
|
|
195
264
|
@import CoreVideo;
|
|
196
265
|
@import Dispatch;
|
|
197
266
|
@import Foundation;
|
|
@@ -201,6 +270,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
201
270
|
@import UIKit;
|
|
202
271
|
#endif
|
|
203
272
|
|
|
273
|
+
#endif
|
|
204
274
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
205
275
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
206
276
|
#if __has_warning("-Wpragma-clang-attribute")
|
|
@@ -208,6 +278,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
208
278
|
#endif
|
|
209
279
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
210
280
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
281
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
211
282
|
|
|
212
283
|
#if __has_attribute(external_source_symbol)
|
|
213
284
|
# pragma push_macro("any")
|
|
@@ -216,7 +287,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
216
287
|
# pragma pop_macro("any")
|
|
217
288
|
#endif
|
|
218
289
|
|
|
219
|
-
|
|
290
|
+
#if defined(__OBJC__)
|
|
220
291
|
@class NSCoder;
|
|
221
292
|
|
|
222
293
|
SWIFT_CLASS_NAMED("CanvasCPUView")
|
|
@@ -228,12 +299,6 @@ SWIFT_CLASS_NAMED("CanvasCPUView")
|
|
|
228
299
|
- (void)drawRect:(CGRect)rect;
|
|
229
300
|
@end
|
|
230
301
|
|
|
231
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, CanvasColorStyleType, "CanvasColorStyleType", open) {
|
|
232
|
-
CanvasColorStyleTypeColor = 0,
|
|
233
|
-
CanvasColorStyleTypeGradient = 1,
|
|
234
|
-
CanvasColorStyleTypePattern = 2,
|
|
235
|
-
};
|
|
236
|
-
|
|
237
302
|
@class EAGLContext;
|
|
238
303
|
|
|
239
304
|
SWIFT_CLASS_NAMED("CanvasGLKView")
|
|
@@ -246,495 +311,123 @@ SWIFT_CLASS_NAMED("CanvasGLKView")
|
|
|
246
311
|
- (nonnull instancetype)initWithFrame:(CGRect)frame context:(EAGLContext * _Nonnull)context SWIFT_UNAVAILABLE;
|
|
247
312
|
@end
|
|
248
313
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
@interface GLRenderer : NSObject <GLKViewDelegate>
|
|
252
|
-
- (void)glkView:(GLKView * _Nonnull)view drawInRect:(CGRect)rect;
|
|
253
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
254
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
255
|
-
@end
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
SWIFT_PROTOCOL("_TtP12CanvasNative17ICanvasColorStyle_")
|
|
259
|
-
@protocol ICanvasColorStyle
|
|
260
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
261
|
-
@end
|
|
262
|
-
|
|
314
|
+
@class UIImage;
|
|
315
|
+
@class NSMutableData;
|
|
263
316
|
@class NSString;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
+ (
|
|
280
|
-
|
|
317
|
+
@class NSData;
|
|
318
|
+
@class NSError;
|
|
319
|
+
|
|
320
|
+
SWIFT_CLASS_NAMED("CanvasHelpers")
|
|
321
|
+
@interface NSSCanvasHelpers : NSObject
|
|
322
|
+
+ (NSMutableData * _Nonnull)getBytesFromUIImage:(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
323
|
+
+ (int64_t)createPattern:(int64_t)context :(UIImage * _Nonnull)image :(NSString * _Nonnull)repetition SWIFT_WARN_UNUSED_RESULT;
|
|
324
|
+
+ (BOOL)loadImageAssetWithContext:(int64_t)asset :(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
325
|
+
+ (void)drawImageWithContext:(int64_t)context image:(UIImage * _Nonnull)image dx:(float)dx dy:(float)dy;
|
|
326
|
+
+ (void)drawImageWithContext:(int64_t)context image:(UIImage * _Nonnull)image dx:(float)dx dy:(float)dy dw:(float)dw dh:(float)dh;
|
|
327
|
+
+ (void)drawImageWithContext:(int64_t)context image:(UIImage * _Nonnull)image sx:(float)sx sy:(float)sy sw:(float)sw sh:(float)sh dx:(float)dx dy:(float)dy dw:(float)dw dh:(float)dh;
|
|
328
|
+
+ (int64_t)initGLWithView:(int64_t)view :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
329
|
+
+ (int64_t)initSharedGLWithView:(int64_t)view :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas :(int64_t)shared_context SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
330
|
+
+ (int64_t)initGLWithWidthAndHeight:(int32_t)width :(int32_t)height :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
331
|
+
+ (int64_t)initSharedGLWidthAndHeight:(int32_t)width :(int32_t)height :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas :(int64_t)shared_context SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
332
|
+
+ (void)resize2DContext:(int64_t)context :(float)width :(float)height;
|
|
333
|
+
+ (void)flush2DContext:(int64_t)context;
|
|
334
|
+
+ (BOOL)flushGL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
335
|
+
+ (void)releaseGL:(int64_t)context;
|
|
336
|
+
+ (int64_t)getGLPointer:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
337
|
+
+ (void)releaseGLPointer:(int64_t)context;
|
|
338
|
+
+ (int64_t)create2DContext:(int64_t)context :(int32_t)width :(int32_t)height :(BOOL)alpha :(float)density :(int32_t)samples :(int32_t)font_color :(float)ppi :(int32_t)direction SWIFT_WARN_UNUSED_RESULT;
|
|
339
|
+
+ (void)updateGLSurfaceWithView:(int64_t)view :(int32_t)width :(int32_t)height :(int64_t)context;
|
|
340
|
+
+ (void)test2D:(int64_t)context;
|
|
341
|
+
+ (NSString * _Nonnull)testToDataURL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
342
|
+
+ (void)writeFile:(NSData * _Nonnull)data :(NSString * _Nonnull)path :(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable))callback;
|
|
343
|
+
+ (void)readFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSString * _Nullable, NSData * _Nullable))callback;
|
|
344
|
+
+ (void)deleteFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSError * _Nullable, BOOL))callback;
|
|
345
|
+
+ (void)handleBase64Image:(NSString * _Nonnull)mime :(NSString * _Nonnull)dir :(NSString * _Nonnull)base64 :(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable))callback;
|
|
346
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
347
|
+
@end
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
@interface GLKView (SWIFT_EXTENSION(CanvasNative))
|
|
351
|
+
- (void)snapshotWithData:(NSData * _Nonnull)data;
|
|
352
|
+
@end
|
|
353
|
+
|
|
354
|
+
@class NSMutableDictionary;
|
|
355
|
+
@protocol NSCCanvasListener;
|
|
356
|
+
|
|
357
|
+
SWIFT_CLASS_NAMED("NSCCanvas")
|
|
358
|
+
@interface NSCCanvas : UIView <GLKViewDelegate>
|
|
359
|
+
- (void)glkView:(GLKView * _Nonnull)view drawInRect:(CGRect)rect;
|
|
360
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSMutableDictionary * _Nonnull store;)
|
|
361
|
+
+ (NSMutableDictionary * _Nonnull)store SWIFT_WARN_UNUSED_RESULT;
|
|
362
|
+
+ (NSMapTable<NSString *, NSCCanvas *> * _Nonnull)getViews SWIFT_WARN_UNUSED_RESULT;
|
|
363
|
+
- (void * _Nonnull)getViewPtr SWIFT_WARN_UNUSED_RESULT;
|
|
281
364
|
@property (nonatomic) BOOL ignorePixelScaling;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
@property (nonatomic)
|
|
285
|
-
|
|
286
|
-
- (NSString * _Nonnull)toDataURL SWIFT_WARN_UNUSED_RESULT;
|
|
287
|
-
- (NSString * _Nonnull)toDataURL:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
288
|
-
- (NSString * _Nonnull)toDataURL:(NSString * _Nonnull)type :(float)format SWIFT_WARN_UNUSED_RESULT;
|
|
289
|
-
- (void)toDataURLAsync:(void (^ _Nonnull)(NSString * _Nonnull))callback;
|
|
290
|
-
- (void)toDataURLAsync:(NSString * _Nonnull)type :(void (^ _Nonnull)(NSString * _Nonnull))callback;
|
|
291
|
-
- (void)toDataURLAsync:(NSString * _Nonnull)type :(float)format :(void (^ _Nonnull)(NSString * _Nonnull))callback;
|
|
292
|
-
- (NSArray<NSNumber *> * _Nonnull)snapshot SWIFT_WARN_UNUSED_RESULT;
|
|
293
|
-
@property (nonatomic, readonly) BOOL isGL;
|
|
294
|
-
- (GLint)getId SWIFT_WARN_UNUSED_RESULT;
|
|
365
|
+
@property (nonatomic, readonly) int64_t nativeGL;
|
|
366
|
+
@property (nonatomic, readonly) int64_t nativeContext;
|
|
367
|
+
@property (nonatomic, readonly) NSInteger drawingBufferWidth;
|
|
368
|
+
@property (nonatomic, readonly) NSInteger drawingBufferHeight;
|
|
295
369
|
@property (nonatomic, readonly) float width;
|
|
296
370
|
@property (nonatomic, readonly) float height;
|
|
297
|
-
- (void)
|
|
298
|
-
|
|
299
|
-
- (void)
|
|
300
|
-
- (
|
|
371
|
+
- (void)initContext:(NSString * _Nonnull)type :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible SWIFT_METHOD_FAMILY(none);
|
|
372
|
+
- (int64_t)create2DContext:(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible :(int32_t)fontColor SWIFT_WARN_UNUSED_RESULT;
|
|
373
|
+
- (void)forceLayout:(CGFloat)width :(CGFloat)height;
|
|
374
|
+
- (UIImage * _Nullable)snapshot:(BOOL)flip SWIFT_WARN_UNUSED_RESULT;
|
|
375
|
+
- (BOOL)render;
|
|
376
|
+
- (void)context2DTest:(int64_t)context;
|
|
377
|
+
- (NSString * _Nonnull)context2DTestToDataURL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
301
378
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
302
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame
|
|
303
|
-
- (void)setListener:(id <
|
|
304
|
-
@property (nonatomic, readonly) float fps;
|
|
379
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
380
|
+
- (void)setListener:(id <NSCCanvasListener> _Nullable)listener;
|
|
305
381
|
- (void)layoutSubviews;
|
|
306
|
-
- (void)resume;
|
|
307
|
-
- (void)pause;
|
|
308
|
-
- (void)moveToMain;
|
|
309
|
-
- (void)moveOffMain;
|
|
310
|
-
- (void)handleMoveOffMain;
|
|
311
|
-
- (void)handleMoveToMain;
|
|
312
|
-
- (TNSCanvasRenderingContext * _Nullable)getContext:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
313
|
-
- (TNSCanvasRenderingContext * _Nullable)getContext:(NSString * _Nonnull)type contextAttributes:(NSDictionary * _Nonnull)contextAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
314
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
315
382
|
@end
|
|
316
383
|
|
|
317
|
-
@class NSData;
|
|
318
|
-
@class NSURL;
|
|
319
|
-
|
|
320
|
-
SWIFT_CLASS_NAMED("TNSCanvasData")
|
|
321
|
-
@interface TNSCanvasData : NSMutableData
|
|
322
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
323
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
324
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
325
|
-
- (nullable instancetype)initWithContentsOfMappedFile:(NSString * _Nonnull)path SWIFT_UNAVAILABLE;
|
|
326
|
-
- (nullable instancetype)initWithBase64EncodedString:(NSString * _Nonnull)base64String options:(NSDataBase64DecodingOptions)options SWIFT_UNAVAILABLE;
|
|
327
|
-
- (nullable instancetype)initWithBase64EncodedData:(NSData * _Nonnull)base64Data options:(NSDataBase64DecodingOptions)options SWIFT_UNAVAILABLE;
|
|
328
|
-
- (nonnull instancetype)initWithBytes:(void const * _Nullable)bytes length:(NSUInteger)length SWIFT_UNAVAILABLE;
|
|
329
|
-
- (nonnull instancetype)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length SWIFT_UNAVAILABLE;
|
|
330
|
-
- (nonnull instancetype)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b SWIFT_UNAVAILABLE;
|
|
331
|
-
- (nonnull instancetype)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length deallocator:(void (^ _Nullable)(void * _Nonnull, NSInteger))deallocator SWIFT_UNAVAILABLE;
|
|
332
|
-
- (nullable instancetype)initWithContentsOfFile:(NSString * _Nonnull)path options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE;
|
|
333
|
-
- (nullable instancetype)initWithContentsOfURL:(NSURL * _Nonnull)url options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE;
|
|
334
|
-
- (nullable instancetype)initWithContentsOfFile:(NSString * _Nonnull)path SWIFT_UNAVAILABLE;
|
|
335
|
-
- (nullable instancetype)initWithContentsOfURL:(NSURL * _Nonnull)url SWIFT_UNAVAILABLE;
|
|
336
|
-
- (nonnull instancetype)initWithData:(NSData * _Nonnull)data SWIFT_UNAVAILABLE;
|
|
337
|
-
- (nullable instancetype)initWithCapacity:(NSUInteger)capacity SWIFT_UNAVAILABLE;
|
|
338
|
-
- (nullable instancetype)initWithLength:(NSUInteger)length SWIFT_UNAVAILABLE;
|
|
339
|
-
@end
|
|
340
384
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
@protocol TNSCanvasListener
|
|
385
|
+
SWIFT_PROTOCOL_NAMED("NSCCanvasListener")
|
|
386
|
+
@protocol NSCCanvasListener
|
|
344
387
|
- (void)contextReady;
|
|
345
388
|
@end
|
|
346
389
|
|
|
347
390
|
|
|
348
|
-
SWIFT_CLASS_NAMED("
|
|
349
|
-
@interface
|
|
391
|
+
SWIFT_CLASS_NAMED("NSCCanvasRenderingContext")
|
|
392
|
+
@interface NSCCanvasRenderingContext : NSObject
|
|
350
393
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
351
394
|
@end
|
|
352
395
|
|
|
353
|
-
enum TNSCompositeOperationType : NSInteger;
|
|
354
|
-
enum TNSImageSmoothingQuality : uint32_t;
|
|
355
|
-
enum TNSLineCap : NSInteger;
|
|
356
|
-
enum TNSLineJoin : NSInteger;
|
|
357
|
-
enum TNSTextAlignment : NSInteger;
|
|
358
|
-
enum TNSTextBaseLine : NSInteger;
|
|
359
|
-
@class TNSPath2D;
|
|
360
|
-
enum TNSFillRule : NSInteger;
|
|
361
|
-
@class TNSLinearGradient;
|
|
362
|
-
@class TNSRadialGradient;
|
|
363
|
-
enum TNSPatternRepetition : NSInteger;
|
|
364
|
-
@class TNSImageData;
|
|
365
|
-
@class TNSTextMetrics;
|
|
366
|
-
|
|
367
|
-
SWIFT_CLASS_NAMED("TNSCanvasRenderingContext2D")
|
|
368
|
-
@interface TNSCanvasRenderingContext2D : TNSCanvasRenderingContext
|
|
369
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
370
|
-
@property (nonatomic, copy) NSString * _Nonnull font;
|
|
371
|
-
@property (nonatomic, copy) NSString * _Nonnull filter;
|
|
372
|
-
@property (nonatomic) float globalAlpha;
|
|
373
|
-
@property (nonatomic) enum TNSCompositeOperationType globalCompositeOperation;
|
|
374
|
-
@property (nonatomic) BOOL imageSmoothingEnabled;
|
|
375
|
-
@property (nonatomic) enum TNSImageSmoothingQuality imageSmoothingQuality;
|
|
376
|
-
@property (nonatomic) enum TNSLineCap lineCap;
|
|
377
|
-
@property (nonatomic) float lineDashOffset;
|
|
378
|
-
@property (nonatomic) float lineWidth;
|
|
379
|
-
@property (nonatomic) enum TNSLineJoin lineJoin;
|
|
380
|
-
@property (nonatomic) float miterLimit;
|
|
381
|
-
@property (nonatomic) float shadowBlur;
|
|
382
|
-
@property (nonatomic, copy) NSString * _Nonnull shadowColor;
|
|
383
|
-
@property (nonatomic) float shadowOffsetX;
|
|
384
|
-
@property (nonatomic) float shadowOffsetY;
|
|
385
|
-
@property (nonatomic) enum TNSTextAlignment textAlign;
|
|
386
|
-
@property (nonatomic) enum TNSTextBaseLine textBaseline;
|
|
387
|
-
- (void)setFillStyleWithString:(NSString * _Nonnull)style;
|
|
388
|
-
@property (nonatomic, strong) id <ICanvasColorStyle> _Nonnull fillStyle;
|
|
389
|
-
- (void)setStrokeStyleWithString:(NSString * _Nonnull)style;
|
|
390
|
-
@property (nonatomic, strong) id <ICanvasColorStyle> _Nonnull strokeStyle;
|
|
391
|
-
- (void)fillRect:(float)x :(float)y :(float)width :(float)height;
|
|
392
|
-
- (void)strokeRect:(float)x :(float)y :(float)width :(float)height;
|
|
393
|
-
- (void)fillText:(NSString * _Nonnull)text :(float)x :(float)y;
|
|
394
|
-
- (void)fillText:(NSString * _Nonnull)text :(float)x :(float)y :(float)width;
|
|
395
|
-
- (void)strokeText:(NSString * _Nonnull)text :(float)x :(float)y;
|
|
396
|
-
- (void)strokeText:(NSString * _Nonnull)text :(float)x :(float)y :(float)width;
|
|
397
|
-
- (void)rect:(float)x :(float)y :(float)width :(float)height;
|
|
398
|
-
- (void)fill;
|
|
399
|
-
- (void)fillWithValue:(id _Nonnull)value;
|
|
400
|
-
- (void)fill:(TNSPath2D * _Nonnull)path :(enum TNSFillRule)rule;
|
|
401
|
-
- (void)stroke;
|
|
402
|
-
- (void)stroke:(TNSPath2D * _Nullable)path;
|
|
403
|
-
- (void)beginPath;
|
|
404
|
-
- (void)moveTo:(float)x :(float)y;
|
|
405
|
-
- (void)lineTo:(float)x :(float)y;
|
|
406
|
-
- (void)closePath;
|
|
407
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle;
|
|
408
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
409
|
-
- (void)arcTo:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)radius;
|
|
410
|
-
- (void)bezierCurveTo:(float)cp1x :(float)cp1y :(float)cp2x :(float)cp2y :(float)x :(float)y;
|
|
411
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle;
|
|
412
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
413
|
-
- (void)clip;
|
|
414
|
-
- (void)clip:(id _Nonnull)value;
|
|
415
|
-
- (void)clip:(TNSPath2D * _Nonnull)path :(enum TNSFillRule)rule;
|
|
416
|
-
- (void)clearRect:(float)x :(float)y :(float)width :(float)height;
|
|
417
|
-
- (void)setLineDash:(NSArray<NSNumber *> * _Nonnull)segments;
|
|
418
|
-
- (TNSCanvas * _Nonnull)getCanvas SWIFT_WARN_UNUSED_RESULT;
|
|
419
|
-
- (TNSLinearGradient * _Nonnull)createLinearGradient:(float)x0 :(float)y0 :(float)x1 :(float)y1 SWIFT_WARN_UNUSED_RESULT;
|
|
420
|
-
- (TNSRadialGradient * _Nonnull)createRadialGradient:(float)x0 :(float)y0 :(float)r0 :(float)x1 :(float)y1 :(float)r1 SWIFT_WARN_UNUSED_RESULT;
|
|
421
|
-
- (id _Nullable)createPattern:(id _Nonnull)value :(enum TNSPatternRepetition)repetition SWIFT_WARN_UNUSED_RESULT;
|
|
422
|
-
- (void)setTransform:(float)a :(float)b :(float)c :(float)d :(float)e :(float)f;
|
|
423
|
-
- (void)scale:(float)x :(float)y;
|
|
424
|
-
- (void)rotate:(float)angle;
|
|
425
|
-
- (void)translate:(float)x :(float)y;
|
|
426
|
-
- (void)quadraticCurveTo:(float)cpx :(float)cpy :(float)x :(float)y;
|
|
427
|
-
- (void)drawImage:(id _Nonnull)image :(float)dx :(float)dy;
|
|
428
|
-
- (void)drawImage:(id _Nonnull)image :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
429
|
-
- (void)drawImage:(id _Nonnull)image :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
430
|
-
- (TNSImageData * _Nonnull)createImageData:(int32_t)width :(int32_t)height SWIFT_WARN_UNUSED_RESULT;
|
|
431
|
-
- (TNSImageData * _Nonnull)createImageData:(TNSImageData * _Nonnull)imageData SWIFT_WARN_UNUSED_RESULT;
|
|
432
|
-
- (TNSImageData * _Nonnull)getImageData:(float)sx :(float)sy :(float)sw :(float)sh SWIFT_WARN_UNUSED_RESULT;
|
|
433
|
-
- (void)putImageData:(TNSImageData * _Nonnull)imageData :(float)dx :(float)dy;
|
|
434
|
-
- (void)putImageData:(TNSImageData * _Nonnull)imageData :(float)dx :(float)dy :(float)dirtyX :(float)dirtyY :(float)dirtyWidth :(float)dirtyHeight;
|
|
435
|
-
- (NSArray<NSNumber *> * _Nonnull)getLineDash SWIFT_WARN_UNUSED_RESULT;
|
|
436
|
-
- (void)save;
|
|
437
|
-
- (void)restore;
|
|
438
|
-
- (TNSTextMetrics * _Nonnull)measureText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
|
|
439
|
-
- (void)resetTransform;
|
|
440
|
-
- (void)transform:(float)a :(float)b :(float)c :(float)d :(float)e :(float)f;
|
|
441
|
-
- (BOOL)isPointInPath:(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
|
|
442
|
-
- (BOOL)isPointInPath:(float)x :(float)y :(enum TNSFillRule)fillRule SWIFT_WARN_UNUSED_RESULT;
|
|
443
|
-
- (BOOL)isPointInPath:(TNSPath2D * _Nonnull)path :(float)x :(float)y :(enum TNSFillRule)fillRule SWIFT_WARN_UNUSED_RESULT;
|
|
444
|
-
- (BOOL)isPointInStroke:(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
|
|
445
|
-
- (BOOL)isPointInStroke:(TNSPath2D * _Nonnull)path :(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
|
|
446
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
447
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
448
|
-
@end
|
|
449
|
-
|
|
450
396
|
|
|
451
|
-
SWIFT_CLASS_NAMED("
|
|
452
|
-
@interface
|
|
397
|
+
SWIFT_CLASS_NAMED("NSCCanvasRenderingContext2D")
|
|
398
|
+
@interface NSCCanvasRenderingContext2D : NSCCanvasRenderingContext
|
|
399
|
+
+ (int64_t)createPattern:(int64_t)context :(UIImage * _Nonnull)src :(NSString * _Nonnull)repetition SWIFT_WARN_UNUSED_RESULT;
|
|
400
|
+
+ (void)drawImage:(int64_t)context :(UIImage * _Nonnull)image :(float)dx :(float)dy;
|
|
401
|
+
+ (void)drawImage:(int64_t)context :(UIImage * _Nonnull)image :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
402
|
+
+ (void)drawImage:(int64_t)context :(UIImage * _Nonnull)image :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
453
403
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
454
404
|
@end
|
|
455
405
|
|
|
456
406
|
|
|
457
|
-
SWIFT_CLASS_NAMED("
|
|
458
|
-
@interface
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
462
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
463
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
464
|
-
@end
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
SWIFT_CLASS_NAMED("TNSGradient")
|
|
468
|
-
@interface TNSGradient : NSObject <ICanvasColorStyle>
|
|
469
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
470
|
-
- (void)addColorStop:(float)offset :(NSString * _Nonnull)color;
|
|
471
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
472
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
473
|
-
@end
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
SWIFT_CLASS_NAMED("TNSLinearGradient")
|
|
477
|
-
@interface TNSLinearGradient : TNSGradient
|
|
478
|
-
@end
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
SWIFT_CLASS_NAMED("TNSRadialGradient")
|
|
482
|
-
@interface TNSRadialGradient : TNSGradient
|
|
483
|
-
@end
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
SWIFT_CLASS_NAMED("TNSPattern")
|
|
487
|
-
@interface TNSPattern : NSObject <ICanvasColorStyle>
|
|
488
|
-
- (void)setTransformWithMatrix:(TNSDOMMatrix * _Nonnull)matrix;
|
|
489
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
490
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
491
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
492
|
-
@end
|
|
493
|
-
|
|
494
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSCompositeOperationType, "TNSCompositeOperationType", open) {
|
|
495
|
-
TNSCompositeOperationTypeSourceOver = 0,
|
|
496
|
-
TNSCompositeOperationTypeSourceIn = 1,
|
|
497
|
-
TNSCompositeOperationTypeSourceOut = 2,
|
|
498
|
-
TNSCompositeOperationTypeSourceAtop = 3,
|
|
499
|
-
TNSCompositeOperationTypeDestinationOver = 4,
|
|
500
|
-
TNSCompositeOperationTypeDestinationIn = 5,
|
|
501
|
-
TNSCompositeOperationTypeDestinationOut = 6,
|
|
502
|
-
TNSCompositeOperationTypeDestinationAtop = 7,
|
|
503
|
-
TNSCompositeOperationTypeLighter = 8,
|
|
504
|
-
TNSCompositeOperationTypeCopy = 9,
|
|
505
|
-
TNSCompositeOperationTypeXor = 10,
|
|
506
|
-
TNSCompositeOperationTypeMultiply = 11,
|
|
507
|
-
TNSCompositeOperationTypeScreen = 12,
|
|
508
|
-
TNSCompositeOperationTypeOverlay = 13,
|
|
509
|
-
TNSCompositeOperationTypeDarken = 14,
|
|
510
|
-
TNSCompositeOperationTypeLighten = 15,
|
|
511
|
-
TNSCompositeOperationTypeColorDodge = 16,
|
|
512
|
-
TNSCompositeOperationTypeColorBurn = 17,
|
|
513
|
-
TNSCompositeOperationTypeHardLight = 18,
|
|
514
|
-
TNSCompositeOperationTypeSoftLight = 19,
|
|
515
|
-
TNSCompositeOperationTypeDifference = 20,
|
|
516
|
-
TNSCompositeOperationTypeExclusion = 21,
|
|
517
|
-
TNSCompositeOperationTypeHue = 22,
|
|
518
|
-
TNSCompositeOperationTypeSaturation = 23,
|
|
519
|
-
TNSCompositeOperationTypeColor = 24,
|
|
520
|
-
TNSCompositeOperationTypeLuminosity = 25,
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
SWIFT_CLASS_NAMED("TNSDOMMatrix")
|
|
525
|
-
@interface TNSDOMMatrix : NSObject
|
|
526
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
527
|
-
@property (nonatomic) float a;
|
|
528
|
-
@property (nonatomic) float b;
|
|
529
|
-
@property (nonatomic) float c;
|
|
530
|
-
@property (nonatomic) float d;
|
|
531
|
-
@property (nonatomic) float e;
|
|
532
|
-
@property (nonatomic) float f;
|
|
533
|
-
@property (nonatomic) float m11;
|
|
534
|
-
@property (nonatomic) float m12;
|
|
535
|
-
@property (nonatomic) float m13;
|
|
536
|
-
@property (nonatomic) float m14;
|
|
537
|
-
@property (nonatomic) float m21;
|
|
538
|
-
@property (nonatomic) float m22;
|
|
539
|
-
@property (nonatomic) float m23;
|
|
540
|
-
@property (nonatomic) float m24;
|
|
541
|
-
@property (nonatomic) float m31;
|
|
542
|
-
@property (nonatomic) float m32;
|
|
543
|
-
@property (nonatomic) float m33;
|
|
544
|
-
@property (nonatomic) float m34;
|
|
545
|
-
@property (nonatomic) float m41;
|
|
546
|
-
@property (nonatomic) float m42;
|
|
547
|
-
@property (nonatomic) float m43;
|
|
548
|
-
@property (nonatomic) float m44;
|
|
549
|
-
@end
|
|
550
|
-
|
|
551
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSFillRule, "TNSFillRule", open) {
|
|
552
|
-
TNSFillRuleNonZero = 0,
|
|
553
|
-
TNSFillRuleEvenOdd = 1,
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
SWIFT_CLASS_NAMED("TNSFramebufferAttachmentParameter")
|
|
558
|
-
@interface TNSFramebufferAttachmentParameter : NSObject
|
|
559
|
-
@property (nonatomic, readonly) BOOL isTexture;
|
|
560
|
-
@property (nonatomic, readonly) BOOL isRenderbuffer;
|
|
561
|
-
@property (nonatomic, readonly) int32_t value;
|
|
407
|
+
SWIFT_CLASS_NAMED("NSCImageAsset")
|
|
408
|
+
@interface NSCImageAsset : NSObject
|
|
409
|
+
+ (BOOL)loadImageFromImageSync:(int64_t)context :(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
410
|
+
+ (void)loadImageFromImage:(int64_t)context :(UIImage * _Nonnull)image :(void (^ _Nonnull)(BOOL))callback;
|
|
562
411
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
563
|
-
- (nonnull instancetype)initWithIsTexture:(BOOL)isTexture isRenderbuffer:(BOOL)isRenderbuffer value:(int32_t)value OBJC_DESIGNATED_INITIALIZER;
|
|
564
412
|
@end
|
|
565
413
|
|
|
566
|
-
@class UIImage;
|
|
567
|
-
enum TNSImageAssetFormat : NSInteger;
|
|
568
|
-
|
|
569
|
-
SWIFT_CLASS_NAMED("TNSImageAsset")
|
|
570
|
-
@interface TNSImageAsset : NSObject
|
|
571
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) dispatch_queue_t _Nullable _queue;)
|
|
572
|
-
+ (dispatch_queue_t _Nullable)_queue SWIFT_WARN_UNUSED_RESULT;
|
|
573
|
-
+ (void)set_queue:(dispatch_queue_t _Nullable)value;
|
|
574
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
575
|
-
- (BOOL)loadImageFromPathWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
576
|
-
- (BOOL)loadImageFromUrlWithUrl:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
577
|
-
- (void)loadImageFromUrlAsyncWithUrl:(NSString * _Nonnull)url callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
578
|
-
- (void)loadImageFromPathAsyncWithPath:(NSString * _Nonnull)path callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
579
|
-
- (BOOL)loadImageFromBytesWithArray:(NSArray<NSNumber *> * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
580
|
-
- (void)loadImageFromBytesAsyncWithArray:(NSArray<NSNumber *> * _Nonnull)array callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
581
|
-
- (BOOL)loadImageFromImageWithImage:(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
582
|
-
- (void)loadImageFromImageAsyncWithImage:(UIImage * _Nonnull)image callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
583
|
-
- (uint8_t * _Nullable)getRawBytes SWIFT_WARN_UNUSED_RESULT;
|
|
584
|
-
@property (nonatomic, readonly) int32_t width;
|
|
585
|
-
@property (nonatomic, readonly) int32_t height;
|
|
586
|
-
- (void)flipX;
|
|
587
|
-
- (void)flipY;
|
|
588
|
-
- (void)scaleWithX:(uint32_t)x y:(uint32_t)y;
|
|
589
|
-
- (BOOL)saveWithPath:(NSString * _Nonnull)path format:(enum TNSImageAssetFormat)format SWIFT_WARN_UNUSED_RESULT;
|
|
590
|
-
- (void)saveAsyncWithPath:(NSString * _Nonnull)path format:(enum TNSImageAssetFormat)format callback:(void (^ _Nonnull)(BOOL))callback;
|
|
591
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable error;
|
|
592
|
-
@end
|
|
593
|
-
|
|
594
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageAssetFormat, "TNSImageAssetFormat", open) {
|
|
595
|
-
TNSImageAssetFormatJPG = 0,
|
|
596
|
-
TNSImageAssetFormatPNG = 1,
|
|
597
|
-
TNSImageAssetFormatICO = 2,
|
|
598
|
-
TNSImageAssetFormatBMP = 3,
|
|
599
|
-
TNSImageAssetFormatTIFF = 4,
|
|
600
|
-
};
|
|
601
|
-
|
|
602
|
-
@class TNSImageBitmapOptions;
|
|
603
414
|
|
|
604
|
-
SWIFT_CLASS_NAMED("
|
|
605
|
-
@interface
|
|
415
|
+
SWIFT_CLASS_NAMED("NSCImageBitmap")
|
|
416
|
+
@interface NSCImageBitmap : NSObject
|
|
606
417
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) dispatch_queue_t _Nonnull queue;)
|
|
607
418
|
+ (dispatch_queue_t _Nonnull)queue SWIFT_WARN_UNUSED_RESULT;
|
|
608
|
-
+ (void)createFromImageBitmap:(TNSImageBitmap * _Nonnull)imageBitmap :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
609
|
-
+ (void)createFromImageBitmap:(TNSImageBitmap * _Nonnull)imageBitmap :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
610
|
-
+ (void)createFromImageAsset:(TNSImageAsset * _Nonnull)imageAsset :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
611
|
-
+ (void)createFromImageAsset:(TNSImageAsset * _Nonnull)imageAsset :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
612
|
-
+ (void)createFromImageData:(TNSImageData * _Nonnull)imageData :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
613
|
-
+ (void)createFromImageData:(TNSImageData * _Nonnull)imageData :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
614
|
-
+ (void)createFromCanvas:(TNSCanvas * _Nonnull)canvas :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
615
|
-
+ (void)createFromCanvas:(TNSCanvas * _Nonnull)canvas :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
616
|
-
+ (void)createFromData:(NSData * _Nonnull)data :(float)imageWidth :(float)imageHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
617
|
-
+ (void)createFromData:(NSData * _Nonnull)data :(float)imageWidth :(float)imageHeight :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
618
|
-
+ (void)createFromDataEncoded:(NSData * _Nonnull)data :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
619
|
-
+ (void)createFromDataEncoded:(NSData * _Nonnull)data :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
620
|
-
+ (void)createFromBytes:(NSArray<NSNumber *> * _Nonnull)bytes :(float)imageWidth :(float)imageHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
621
|
-
+ (void)createFromBytes:(NSArray<NSNumber *> * _Nonnull)bytes :(float)imageWidth :(float)imageHeight :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
622
|
-
+ (void)createFromBytesEncoded:(NSArray<NSNumber *> * _Nonnull)bytes :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
623
|
-
+ (void)createFromBytesEncoded:(NSArray<NSNumber *> * _Nonnull)bytes :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
624
|
-
+ (void)createFromUIImage:(UIImage * _Nonnull)canvas :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
625
|
-
+ (void)createFromUIImage:(UIImage * _Nonnull)canvas :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
626
|
-
@property (nonatomic, readonly) int32_t width;
|
|
627
|
-
@property (nonatomic, readonly) int32_t height;
|
|
628
|
-
- (void)close;
|
|
629
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable error;
|
|
630
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
631
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
632
|
-
@end
|
|
633
|
-
|
|
634
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageBitmapColorSpaceConversion, "TNSImageBitmapColorSpaceConversion", open) {
|
|
635
|
-
TNSImageBitmapColorSpaceConversionDefault = 0,
|
|
636
|
-
TNSImageBitmapColorSpaceConversionNone = 1,
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
enum TNSImageBitmapPremultiplyAlpha : NSInteger;
|
|
640
|
-
enum TNSImageBitmapResizeQuality : NSInteger;
|
|
641
|
-
|
|
642
|
-
SWIFT_CLASS_NAMED("TNSImageBitmapOptions")
|
|
643
|
-
@interface TNSImageBitmapOptions : NSObject
|
|
644
|
-
@property (nonatomic) BOOL flipY;
|
|
645
|
-
@property (nonatomic) enum TNSImageBitmapPremultiplyAlpha premultiplyAlpha;
|
|
646
|
-
@property (nonatomic) enum TNSImageBitmapColorSpaceConversion colorSpaceConversion;
|
|
647
|
-
@property (nonatomic) enum TNSImageBitmapResizeQuality resizeQuality;
|
|
648
|
-
@property (nonatomic) float resizeWidth;
|
|
649
|
-
@property (nonatomic) float resizeHeight;
|
|
650
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
651
|
-
@end
|
|
652
|
-
|
|
653
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageBitmapPremultiplyAlpha, "TNSImageBitmapPremultiplyAlpha", open) {
|
|
654
|
-
TNSImageBitmapPremultiplyAlphaDefault = 0,
|
|
655
|
-
TNSImageBitmapPremultiplyAlphaPremultiply = 1,
|
|
656
|
-
TNSImageBitmapPremultiplyAlphaNone = 2,
|
|
657
|
-
};
|
|
658
|
-
|
|
659
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageBitmapResizeQuality, "TNSImageBitmapResizeQuality", open) {
|
|
660
|
-
TNSImageBitmapResizeQualityLow = 0,
|
|
661
|
-
TNSImageBitmapResizeQualityMedium = 1,
|
|
662
|
-
TNSImageBitmapResizeQualityHigh = 2,
|
|
663
|
-
TNSImageBitmapResizeQualityPixelated = 3,
|
|
664
|
-
};
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
SWIFT_CLASS_NAMED("TNSImageData")
|
|
668
|
-
@interface TNSImageData : NSObject
|
|
669
|
-
@property (nonatomic, readonly, strong) NSData * _Nonnull data;
|
|
670
|
-
@property (nonatomic, readonly) int32_t width;
|
|
671
|
-
@property (nonatomic, readonly) int32_t height;
|
|
672
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
673
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
674
|
-
@end
|
|
675
|
-
|
|
676
|
-
typedef SWIFT_ENUM_NAMED(uint32_t, TNSImageSmoothingQuality, "TNSImageSmoothingQuality", open) {
|
|
677
|
-
TNSImageSmoothingQualityLow = 0,
|
|
678
|
-
TNSImageSmoothingQualityMedium = 1,
|
|
679
|
-
TNSImageSmoothingQualityHigh = 2,
|
|
680
|
-
};
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
SWIFT_CLASS_NAMED("TNSIndexedParameter")
|
|
684
|
-
@interface TNSIndexedParameter : NSObject
|
|
685
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
686
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
687
|
-
@end
|
|
688
|
-
|
|
689
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSLineCap, "TNSLineCap", open) {
|
|
690
|
-
TNSLineCapButt = 0,
|
|
691
|
-
TNSLineCapRound = 1,
|
|
692
|
-
TNSLineCapSquare = 2,
|
|
693
|
-
};
|
|
694
|
-
|
|
695
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSLineJoin, "TNSLineJoin", open) {
|
|
696
|
-
TNSLineJoinRound = 0,
|
|
697
|
-
TNSLineJoinBevel = 1,
|
|
698
|
-
TNSLineJoinMiter = 2,
|
|
699
|
-
};
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
SWIFT_CLASS_NAMED("TNSPath2D")
|
|
703
|
-
@interface TNSPath2D : NSObject
|
|
704
419
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
705
|
-
- (nonnull instancetype)initWithPath:(TNSPath2D * _Nonnull)path OBJC_DESIGNATED_INITIALIZER;
|
|
706
|
-
- (nonnull instancetype)initWithData:(NSString * _Nonnull)data OBJC_DESIGNATED_INITIALIZER;
|
|
707
|
-
- (void)addPath:(TNSPath2D * _Nonnull)path;
|
|
708
|
-
- (void)addPath:(TNSPath2D * _Nonnull)path :(TNSDOMMatrix * _Nullable)transform;
|
|
709
|
-
- (void)closePath;
|
|
710
|
-
- (void)moveTo:(float)x :(float)y;
|
|
711
|
-
- (void)lineTo:(float)x :(float)y;
|
|
712
|
-
- (void)bezierCurveTo:(float)cp1x :(float)cp1y :(float)cp2x :(float)cp2y :(float)x :(float)y;
|
|
713
|
-
- (void)quadraticCurveTo:(float)cpx :(float)cpy :(float)x :(float)y;
|
|
714
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle;
|
|
715
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
716
|
-
- (void)arcTo:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)radius;
|
|
717
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle;
|
|
718
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
719
|
-
- (void)rect:(float)x :(float)y :(float)width :(float)height;
|
|
720
420
|
@end
|
|
721
421
|
|
|
722
|
-
typedef SWIFT_ENUM(NSInteger, TNSPatternRepetition, open) {
|
|
723
|
-
TNSPatternRepetitionRepeat = 0,
|
|
724
|
-
TNSPatternRepetitionRepeatX = 1,
|
|
725
|
-
TNSPatternRepetitionRepeatY = 2,
|
|
726
|
-
TNSPatternRepetitionNoRepeat = 3,
|
|
727
|
-
};
|
|
728
422
|
|
|
729
|
-
|
|
730
|
-
SWIFT_CLASS_NAMED("TNSRender")
|
|
423
|
+
SWIFT_CLASS_NAMED("NSCRender")
|
|
731
424
|
@interface TNSRender : NSObject
|
|
732
425
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
733
426
|
- (void)createSurface;
|
|
734
427
|
@end
|
|
735
428
|
|
|
736
429
|
|
|
737
|
-
SWIFT_CLASS_NAMED("
|
|
430
|
+
SWIFT_CLASS_NAMED("NSCSVG")
|
|
738
431
|
@interface TNSSVG : UIView
|
|
739
432
|
@property (nonatomic) BOOL ignorePixelScaling;
|
|
740
433
|
@property (nonatomic, copy) NSString * _Nullable src;
|
|
@@ -745,1278 +438,21 @@ SWIFT_CLASS_NAMED("TNSSVG")
|
|
|
745
438
|
- (void)drawRect:(CGRect)rect;
|
|
746
439
|
@end
|
|
747
440
|
|
|
748
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextAlignment, "TNSTextAlignment", open) {
|
|
749
|
-
TNSTextAlignmentStart = 0,
|
|
750
|
-
TNSTextAlignmentLeft = 1,
|
|
751
|
-
TNSTextAlignmentCenter = 2,
|
|
752
|
-
TNSTextAlignmentRight = 3,
|
|
753
|
-
TNSTextAlignmentEnd = 4,
|
|
754
|
-
};
|
|
755
|
-
|
|
756
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextBaseLine, "TNSTextBaseLine", open) {
|
|
757
|
-
TNSTextBaseLineTop = 0,
|
|
758
|
-
TNSTextBaseLineHanging = 1,
|
|
759
|
-
TNSTextBaseLineMiddle = 2,
|
|
760
|
-
TNSTextBaseLineAlphabetic = 3,
|
|
761
|
-
TNSTextBaseLineIdeographic = 4,
|
|
762
|
-
TNSTextBaseLineBottom = 5,
|
|
763
|
-
};
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
SWIFT_CLASS_NAMED("TNSTextDecoder")
|
|
767
|
-
@interface TNSTextDecoder : NSObject
|
|
768
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
769
|
-
- (nonnull instancetype)initWithEncoding:(NSString * _Nonnull)encoding OBJC_DESIGNATED_INITIALIZER;
|
|
770
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull encoding;
|
|
771
|
-
- (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer SWIFT_WARN_UNUSED_RESULT;
|
|
772
|
-
- (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
773
|
-
- (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer offset:(NSInteger)offset length:(NSInteger)length SWIFT_WARN_UNUSED_RESULT;
|
|
774
|
-
- (NSString * _Nonnull)decodeWithU8:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
775
|
-
- (NSString * _Nonnull)decodeWithU8:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
776
|
-
- (NSString * _Nonnull)decodeWithI8:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
777
|
-
- (NSString * _Nonnull)decodeWithI8:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
778
|
-
- (NSString * _Nonnull)decodeWithU16:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
779
|
-
- (NSString * _Nonnull)decodeWithU16:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
780
|
-
- (NSString * _Nonnull)decodeWithI16:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
781
|
-
- (NSString * _Nonnull)decodeWithI16:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
782
|
-
- (NSString * _Nonnull)decodeWithI32:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
783
|
-
- (NSString * _Nonnull)decodeWithI32:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
784
|
-
- (NSString * _Nonnull)decodeWithU32:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
785
|
-
- (NSString * _Nonnull)decodeWithU32:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
786
|
-
- (NSString * _Nonnull)decodeWithBytes:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
787
|
-
- (NSString * _Nonnull)decodeWithI8:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
788
|
-
- (NSString * _Nonnull)decodeWithU16:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
789
|
-
- (NSString * _Nonnull)decodeWithI16:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
790
|
-
- (NSString * _Nonnull)decodeWithI32:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
791
|
-
- (NSString * _Nonnull)decodeWithU32:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
792
|
-
@end
|
|
793
|
-
|
|
794
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextDirection, "TNSTextDirection", open) {
|
|
795
|
-
TNSTextDirectionLtr = 0,
|
|
796
|
-
TNSTextDirectionRtl = 1,
|
|
797
|
-
};
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
SWIFT_CLASS_NAMED("TNSTextEncoder")
|
|
801
|
-
@interface TNSTextEncoder : NSObject
|
|
802
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
803
|
-
- (nonnull instancetype)initWithEncoding:(NSString * _Nonnull)encoding OBJC_DESIGNATED_INITIALIZER;
|
|
804
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull encoding;
|
|
805
|
-
- (NSData * _Nonnull)encodeWithText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
|
|
806
|
-
- (NSData * _Nonnull)encodeWithPointer:(int8_t const * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
807
|
-
@end
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
SWIFT_CLASS_NAMED("TNSTextMetrics")
|
|
811
|
-
@interface TNSTextMetrics : NSObject
|
|
812
|
-
@property (nonatomic, readonly) float width;
|
|
813
|
-
@property (nonatomic, readonly) float actualBoundingBoxLeft;
|
|
814
|
-
@property (nonatomic, readonly) float actualBoundingBoxRight;
|
|
815
|
-
@property (nonatomic, readonly) float actualBoundingBoxAscent;
|
|
816
|
-
@property (nonatomic, readonly) float actualBoundingBoxDescent;
|
|
817
|
-
@property (nonatomic, readonly) float fontBoundingBoxAscent;
|
|
818
|
-
@property (nonatomic, readonly) float fontBoundingBoxDescent;
|
|
819
|
-
@property (nonatomic, readonly) float emHeightAscent;
|
|
820
|
-
@property (nonatomic, readonly) float emHeightDescent;
|
|
821
|
-
@property (nonatomic, readonly) float hangingBaseline;
|
|
822
|
-
@property (nonatomic, readonly) float alphabeticBaseline;
|
|
823
|
-
@property (nonatomic, readonly) float ideographicBaseline;
|
|
824
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
825
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
826
|
-
@end
|
|
827
|
-
|
|
828
|
-
@class NSNull;
|
|
829
|
-
@class TNSWebGLActiveInfo;
|
|
830
|
-
@class TNSWebGLShaderPrecisionFormat;
|
|
831
|
-
|
|
832
|
-
SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
|
|
833
|
-
@interface TNSWebGLRenderingContext : TNSCanvasRenderingContext
|
|
834
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
835
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas :(NSDictionary<NSString *, id> * _Nonnull)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
836
|
-
- (TNSCanvas * _Nonnull)getCanvas SWIFT_WARN_UNUSED_RESULT;
|
|
837
|
-
@property (nonatomic, readonly) int32_t drawingBufferWidth;
|
|
838
|
-
@property (nonatomic, readonly) int32_t drawingBufferHeight;
|
|
839
|
-
- (void)activeTexture:(uint32_t)texture;
|
|
840
|
-
- (void)attachShader:(uint32_t)program :(uint32_t)shader;
|
|
841
|
-
- (void)bindAttribLocation:(uint32_t)program :(uint32_t)index :(NSString * _Nonnull)name;
|
|
842
|
-
- (void)bindBuffer:(uint32_t)target :(uint32_t)buffer;
|
|
843
|
-
- (void)bindFramebuffer:(uint32_t)target :(uint32_t)framebuffer;
|
|
844
|
-
- (void)bindRenderbuffer:(uint32_t)target :(uint32_t)renderbuffer;
|
|
845
|
-
- (void)bindTexture:(uint32_t)target :(uint32_t)texture;
|
|
846
|
-
- (void)blendColor:(float)red :(float)green :(float)blue :(float)alpha;
|
|
847
|
-
- (void)blendEquation:(uint32_t)mode;
|
|
848
|
-
- (void)blendEquationSeparate:(uint32_t)modeRGB :(uint32_t)modeAlpha;
|
|
849
|
-
- (void)blendFunc:(uint32_t)sfactor :(uint32_t)dfactor;
|
|
850
|
-
- (void)blendFuncSeparate:(uint32_t)srcRGB :(uint32_t)dstRGB :(uint32_t)srcAlpha :(uint32_t)dstAlpha;
|
|
851
|
-
- (void)bufferData:(uint32_t)target size:(NSInteger)size :(uint32_t)usage;
|
|
852
|
-
- (void)bufferData:(uint32_t)target srcData:(NSNull * _Nonnull)srcData :(uint32_t)usage;
|
|
853
|
-
- (void)bufferData:(uint32_t)target i8:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
854
|
-
- (void)bufferData:(uint32_t)target srcData:(void * _Nonnull)srcData size:(NSInteger)size :(uint32_t)usage;
|
|
855
|
-
- (void)bufferData:(uint32_t)target srcData:(void * _Nonnull)srcData size:(NSInteger)size :(uint32_t)usage offset:(NSInteger)offset;
|
|
856
|
-
- (void)bufferData:(uint32_t)target u8:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
857
|
-
- (void)bufferData:(uint32_t)target i16:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
858
|
-
- (void)bufferData:(uint32_t)target u16:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
859
|
-
- (void)bufferData:(uint32_t)target i32:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
860
|
-
- (void)bufferData:(uint32_t)target u32:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
861
|
-
- (void)bufferData:(uint32_t)target f32:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
862
|
-
- (void)bufferData:(uint32_t)target f64:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
863
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset :(NSNull * _Nonnull)srcData;
|
|
864
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset i8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
865
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset srcData:(void * _Nonnull)srcData size:(NSInteger)size;
|
|
866
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset srcData:(void * _Nonnull)srcData size:(NSInteger)size os:(NSInteger)os;
|
|
867
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset u8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
868
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset i16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
869
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset u16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
870
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset i32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
871
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset u32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
872
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset f32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
873
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset f64:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
874
|
-
- (uint32_t)checkFramebufferStatus:(uint32_t)target SWIFT_WARN_UNUSED_RESULT;
|
|
875
|
-
- (void)clear:(uint32_t)mask;
|
|
876
|
-
- (void)clearColor:(float)red :(float)green :(float)blue :(float)alpha;
|
|
877
|
-
- (void)clearDepth:(float)depth;
|
|
878
|
-
- (void)clearStencil:(int32_t)stencil;
|
|
879
|
-
- (void)colorMask:(BOOL)red :(BOOL)green :(BOOL)blue :(BOOL)alpha;
|
|
880
|
-
- (void)commit;
|
|
881
|
-
- (void)compileShader:(uint32_t)shader;
|
|
882
|
-
- (void)compressedTexImage2D:(uint32_t)target :(int32_t)level :(uint32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(NSData * _Nullable)pixels;
|
|
883
|
-
- (void)compressedTexSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(NSData * _Nullable)pixels;
|
|
884
|
-
- (void)copyTexImage2D:(uint32_t)target :(int32_t)level :(uint32_t)internalformat :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height :(int32_t)border;
|
|
885
|
-
- (void)copyTexSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
886
|
-
- (uint32_t)createBuffer SWIFT_WARN_UNUSED_RESULT;
|
|
887
|
-
- (uint32_t)createFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
888
|
-
- (uint32_t)createProgram SWIFT_WARN_UNUSED_RESULT;
|
|
889
|
-
- (uint32_t)createRenderbuffer SWIFT_WARN_UNUSED_RESULT;
|
|
890
|
-
- (uint32_t)createShader:(uint32_t)type SWIFT_WARN_UNUSED_RESULT;
|
|
891
|
-
- (uint32_t)createTexture SWIFT_WARN_UNUSED_RESULT;
|
|
892
|
-
- (void)cullFace:(uint32_t)mode;
|
|
893
|
-
- (void)deleteBuffer:(uint32_t)buffer;
|
|
894
|
-
- (void)deleteFramebuffer:(uint32_t)frameBuffer;
|
|
895
|
-
- (void)deleteProgram:(uint32_t)program;
|
|
896
|
-
- (void)deleteRenderbuffer:(uint32_t)renderbuffer;
|
|
897
|
-
- (void)deleteShader:(uint32_t)shader;
|
|
898
|
-
- (void)deleteTexture:(uint32_t)texture;
|
|
899
|
-
- (void)depthFunc:(uint32_t)fn;
|
|
900
|
-
- (void)depthMask:(BOOL)flag;
|
|
901
|
-
- (void)depthRange:(float)zNear :(float)zFar;
|
|
902
|
-
- (void)detachShader:(uint32_t)program :(uint32_t)shader;
|
|
903
|
-
- (void)disable:(uint32_t)cap;
|
|
904
|
-
- (void)disableVertexAttribArray:(uint32_t)index;
|
|
905
|
-
- (void)drawArrays:(uint32_t)mode :(int32_t)first :(int32_t)count;
|
|
906
|
-
- (void)drawElements:(uint32_t)mode :(int32_t)count :(uint32_t)type :(NSInteger)offset;
|
|
907
|
-
- (void)enable:(uint32_t)cap;
|
|
908
|
-
- (void)enableVertexAttribArray:(uint32_t)index;
|
|
909
|
-
- (void)finish;
|
|
910
|
-
- (void)flush;
|
|
911
|
-
- (void)framebufferRenderbuffer:(uint32_t)target :(uint32_t)attachment :(uint32_t)renderbuffertarget :(uint32_t)renderbuffer;
|
|
912
|
-
- (void)framebufferTexture2D:(uint32_t)target :(uint32_t)attachment :(uint32_t)textarget :(uint32_t)texture :(int32_t)level;
|
|
913
|
-
- (void)frontFace:(uint32_t)mode;
|
|
914
|
-
- (void)generateMipmap:(uint32_t)target;
|
|
915
|
-
- (TNSWebGLActiveInfo * _Nonnull)getActiveAttrib:(uint32_t)program :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
916
|
-
- (TNSWebGLActiveInfo * _Nonnull)getActiveUniform:(uint32_t)program :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
917
|
-
- (NSArray<NSNumber *> * _Nonnull)getAttachedShaders:(uint32_t)program SWIFT_WARN_UNUSED_RESULT;
|
|
918
|
-
- (int32_t)getAttribLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
919
|
-
- (int32_t)getBufferParameter:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
920
|
-
- (id _Nonnull)getContextAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
921
|
-
- (uint32_t)getError SWIFT_WARN_UNUSED_RESULT;
|
|
922
|
-
- (id _Nullable)getExtension:(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
923
|
-
- (TNSFramebufferAttachmentParameter * _Nonnull)getFramebufferAttachmentParameter:(uint32_t)target :(uint32_t)attachment :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
924
|
-
- (id _Nullable)getParameter:(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
925
|
-
- (NSString * _Nonnull)getProgramInfoLog:(uint32_t)program SWIFT_WARN_UNUSED_RESULT;
|
|
926
|
-
- (id _Nonnull)getProgramParameter:(uint32_t)program :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
927
|
-
- (int32_t)getRenderbufferParameter:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
928
|
-
- (NSString * _Nonnull)getShaderInfoLog:(uint32_t)shader SWIFT_WARN_UNUSED_RESULT;
|
|
929
|
-
- (id _Nonnull)getShaderParameter:(uint32_t)shader :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
930
|
-
- (TNSWebGLShaderPrecisionFormat * _Nonnull)getShaderPrecisionFormat:(uint32_t)shaderType :(uint32_t)precisionType SWIFT_WARN_UNUSED_RESULT;
|
|
931
|
-
- (NSString * _Nonnull)getShaderSource:(uint32_t)shader SWIFT_WARN_UNUSED_RESULT;
|
|
932
|
-
- (NSArray<NSString *> * _Nonnull)getSupportedExtensions SWIFT_WARN_UNUSED_RESULT;
|
|
933
|
-
- (int32_t)getTexParameter:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
934
|
-
- (id _Nonnull)getUniform:(uint32_t)program :(int32_t)location SWIFT_WARN_UNUSED_RESULT;
|
|
935
|
-
- (int32_t)getUniformLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
936
|
-
- (id _Nonnull)getVertexAttrib:(uint32_t)index :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
937
|
-
- (NSInteger)getVertexAttribOffset:(uint32_t)index :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
938
|
-
- (void)hint:(uint32_t)target :(uint32_t)mode;
|
|
939
|
-
- (BOOL)isBuffer:(uint32_t)buffer SWIFT_WARN_UNUSED_RESULT;
|
|
940
|
-
- (BOOL)isContextLost SWIFT_WARN_UNUSED_RESULT;
|
|
941
|
-
- (BOOL)isEnabled:(uint32_t)cap SWIFT_WARN_UNUSED_RESULT;
|
|
942
|
-
- (BOOL)isFramebuffer:(uint32_t)framebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
943
|
-
- (BOOL)isProgram:(uint32_t)program SWIFT_WARN_UNUSED_RESULT;
|
|
944
|
-
- (BOOL)isRenderbuffer:(uint32_t)renderbuffer SWIFT_WARN_UNUSED_RESULT;
|
|
945
|
-
- (BOOL)isShader:(uint32_t)shader SWIFT_WARN_UNUSED_RESULT;
|
|
946
|
-
- (BOOL)isTexture:(uint32_t)texture SWIFT_WARN_UNUSED_RESULT;
|
|
947
|
-
- (void)lineWidth:(float)width;
|
|
948
|
-
- (void)linkProgram:(uint32_t)program;
|
|
949
|
-
- (void)pixelStorei:(uint32_t)pname :(uint32_t)param;
|
|
950
|
-
- (void)polygonOffset:(float)factor :(float)units;
|
|
951
|
-
- (void)readPixels:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type :(void * _Nonnull)pixels;
|
|
952
|
-
- (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;
|
|
953
|
-
- (void)renderbufferStorage:(uint32_t)target :(uint32_t)internalFormat :(int32_t)width :(int32_t)height;
|
|
954
|
-
- (void)sampleCoverage:(float)value :(BOOL)invert;
|
|
955
|
-
- (void)scissor:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
956
|
-
- (void)shaderSource:(uint32_t)shader :(NSString * _Nonnull)source;
|
|
957
|
-
- (void)stencilFunc:(uint32_t)fn :(int32_t)ref :(uint32_t)mask;
|
|
958
|
-
- (void)stencilFuncSeparate:(uint32_t)face :(uint32_t)fn :(int32_t)ref :(uint32_t)mask;
|
|
959
|
-
- (void)stencilMask:(uint32_t)mask;
|
|
960
|
-
- (void)stencilMaskSeparate:(uint32_t)face :(uint32_t)mask;
|
|
961
|
-
- (void)stencilOp:(uint32_t)fail :(uint32_t)zfail :(uint32_t)zpass;
|
|
962
|
-
- (void)stencilOpSeparate:(uint32_t)face :(uint32_t)fail :(uint32_t)zfail :(uint32_t)zpass;
|
|
963
|
-
- (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;
|
|
964
|
-
- (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;
|
|
965
|
-
- (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;
|
|
966
|
-
- (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;
|
|
967
|
-
- (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;
|
|
968
|
-
- (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;
|
|
969
|
-
- (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;
|
|
970
|
-
- (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 :(NSNull * _Nonnull)pixels;
|
|
971
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type pixels:(UIImage * _Nonnull)pixels;
|
|
972
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type asset:(TNSImageAsset * _Nonnull)asset;
|
|
973
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
974
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type :(NSNull * _Nonnull)pixels;
|
|
975
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type canvas:(TNSCanvas * _Nonnull)canvas;
|
|
976
|
-
- (void)texParameterf:(uint32_t)target :(uint32_t)pname :(float)param;
|
|
977
|
-
- (void)texParameteri:(uint32_t)target :(uint32_t)pname :(int32_t)param;
|
|
978
|
-
- (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;
|
|
979
|
-
- (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;
|
|
980
|
-
- (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;
|
|
981
|
-
- (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;
|
|
982
|
-
- (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;
|
|
983
|
-
- (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;
|
|
984
|
-
- (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;
|
|
985
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type pixels:(UIImage * _Nonnull)pixels;
|
|
986
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type asset:(TNSImageAsset * _Nonnull)asset;
|
|
987
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
988
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type canvas:(TNSCanvas * _Nonnull)canvas;
|
|
989
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type :(NSNull * _Nonnull)pixels;
|
|
990
|
-
- (void)uniform1f:(int32_t)location :(float)v0;
|
|
991
|
-
- (void)uniform1fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
992
|
-
- (void)uniform1fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
993
|
-
- (void)uniform1i:(int32_t)location :(int32_t)v0;
|
|
994
|
-
- (void)uniform1iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
995
|
-
- (void)uniform1iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
996
|
-
- (void)uniform2f:(int32_t)location :(float)v0 :(float)v1;
|
|
997
|
-
- (void)uniform2fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
998
|
-
- (void)uniform2fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
999
|
-
- (void)uniform2i:(int32_t)location :(int32_t)v0 :(int32_t)v1;
|
|
1000
|
-
- (void)uniform2iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
1001
|
-
- (void)uniform2iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1002
|
-
- (void)uniform3f:(int32_t)location :(float)v0 :(float)v1 :(float)v2;
|
|
1003
|
-
- (void)uniform3fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
1004
|
-
- (void)uniform3fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1005
|
-
- (void)uniform3i:(int32_t)location :(int32_t)v0 :(int32_t)v1 :(int32_t)v2;
|
|
1006
|
-
- (void)uniform3iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
1007
|
-
- (void)uniform3iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1008
|
-
- (void)uniform4f:(int32_t)location :(float)v0 :(float)v1 :(float)v2 :(float)v3;
|
|
1009
|
-
- (void)uniform4fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
1010
|
-
- (void)uniform4fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1011
|
-
- (void)uniform4i:(int32_t)location :(int32_t)v0 :(int32_t)v1 :(int32_t)v2 :(int32_t)v3;
|
|
1012
|
-
- (void)uniform4iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
1013
|
-
- (void)uniform4iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1014
|
-
- (void)uniformMatrix2fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
|
|
1015
|
-
- (void)uniformMatrix2fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1016
|
-
- (void)uniformMatrix3fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
|
|
1017
|
-
- (void)uniformMatrix3fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1018
|
-
- (void)uniformMatrix4fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
|
|
1019
|
-
- (void)uniformMatrix4fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
1020
|
-
- (void)useProgram:(uint32_t)program;
|
|
1021
|
-
- (void)validateProgram:(uint32_t)program;
|
|
1022
|
-
- (void)vertexAttrib1f:(uint32_t)index :(float)v0;
|
|
1023
|
-
- (void)vertexAttrib2f:(uint32_t)index :(float)v0 :(float)v1;
|
|
1024
|
-
- (void)vertexAttrib3f:(uint32_t)index :(float)v0 :(float)v1 :(float)v2;
|
|
1025
|
-
- (void)vertexAttrib4f:(uint32_t)index :(float)v0 :(float)v1 :(float)v2 :(float)v3;
|
|
1026
|
-
- (void)vertexAttrib1fv:(uint32_t)index :(void * _Nonnull)value;
|
|
1027
|
-
- (void)vertexAttrib1fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
1028
|
-
- (void)vertexAttrib2fv:(uint32_t)index :(void * _Nonnull)value;
|
|
1029
|
-
- (void)vertexAttrib2fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
1030
|
-
- (void)vertexAttrib3fv:(uint32_t)index :(void * _Nonnull)value;
|
|
1031
|
-
- (void)vertexAttrib3fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
1032
|
-
- (void)vertexAttrib4fv:(uint32_t)index :(void * _Nonnull)value;
|
|
1033
|
-
- (void)vertexAttrib4fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
1034
|
-
- (void)vertexAttribPointer:(uint32_t)index :(int32_t)size :(uint32_t)type :(BOOL)normalized :(int32_t)stride :(NSInteger)offset;
|
|
1035
|
-
- (void)viewport:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
1036
|
-
@property (nonatomic, readonly) uint32_t DEPTH_BUFFER_BIT;
|
|
1037
|
-
@property (nonatomic, readonly) uint32_t COLOR_BUFFER_BIT;
|
|
1038
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BUFFER_BIT;
|
|
1039
|
-
@property (nonatomic, readonly) uint32_t POINTS;
|
|
1040
|
-
@property (nonatomic, readonly) uint32_t LINES;
|
|
1041
|
-
@property (nonatomic, readonly) uint32_t LINE_LOOP;
|
|
1042
|
-
@property (nonatomic, readonly) uint32_t LINE_STRIP;
|
|
1043
|
-
@property (nonatomic, readonly) uint32_t TRIANGLES;
|
|
1044
|
-
@property (nonatomic, readonly) uint32_t TRIANGLE_STRIP;
|
|
1045
|
-
@property (nonatomic, readonly) uint32_t TRIANGLE_FAN;
|
|
1046
|
-
@property (nonatomic, readonly) uint32_t ONE;
|
|
1047
|
-
@property (nonatomic, readonly) uint32_t ZERO;
|
|
1048
|
-
@property (nonatomic, readonly) uint32_t SRC_COLOR;
|
|
1049
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_SRC_COLOR;
|
|
1050
|
-
@property (nonatomic, readonly) uint32_t SRC_ALPHA;
|
|
1051
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_SRC_ALPHA;
|
|
1052
|
-
@property (nonatomic, readonly) uint32_t DST_ALPHA;
|
|
1053
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_DST_ALPHA;
|
|
1054
|
-
@property (nonatomic, readonly) uint32_t DST_COLOR;
|
|
1055
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_DST_COLOR;
|
|
1056
|
-
@property (nonatomic, readonly) uint32_t SRC_ALPHA_SATURATE;
|
|
1057
|
-
@property (nonatomic, readonly) uint32_t CONSTANT_COLOR;
|
|
1058
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_CONSTANT_COLOR;
|
|
1059
|
-
@property (nonatomic, readonly) uint32_t CONSTANT_ALPHA;
|
|
1060
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_CONSTANT_ALPHA;
|
|
1061
|
-
@property (nonatomic, readonly) uint32_t FUNC_ADD;
|
|
1062
|
-
@property (nonatomic, readonly) uint32_t FUNC_SUBTRACT;
|
|
1063
|
-
@property (nonatomic, readonly) uint32_t FUNC_REVERSE_SUBTRACT;
|
|
1064
|
-
@property (nonatomic, readonly) uint32_t BLEND_EQUATION;
|
|
1065
|
-
@property (nonatomic, readonly) uint32_t BLEND_EQUATION_RGB;
|
|
1066
|
-
@property (nonatomic, readonly) uint32_t BLEND_EQUATION_ALPHA;
|
|
1067
|
-
@property (nonatomic, readonly) uint32_t BLEND_DST_RGB;
|
|
1068
|
-
@property (nonatomic, readonly) uint32_t BLEND_SRC_RGB;
|
|
1069
|
-
@property (nonatomic, readonly) uint32_t BLEND_DST_ALPHA;
|
|
1070
|
-
@property (nonatomic, readonly) uint32_t BLEND_SRC_ALPHA;
|
|
1071
|
-
@property (nonatomic, readonly) uint32_t BLEND_COLOR;
|
|
1072
|
-
@property (nonatomic, readonly) uint32_t ARRAY_BUFFER_BINDING;
|
|
1073
|
-
@property (nonatomic, readonly) uint32_t ELEMENT_ARRAY_BUFFER_BINDING;
|
|
1074
|
-
@property (nonatomic, readonly) uint32_t LINE_WIDTH;
|
|
1075
|
-
@property (nonatomic, readonly) uint32_t ALIASED_POINT_SIZE_RANGE;
|
|
1076
|
-
@property (nonatomic, readonly) uint32_t ALIASED_LINE_WIDTH_RANGE;
|
|
1077
|
-
@property (nonatomic, readonly) uint32_t CULL_FACE_MODE;
|
|
1078
|
-
@property (nonatomic, readonly) uint32_t FRONT_FACE;
|
|
1079
|
-
@property (nonatomic, readonly) uint32_t DEPTH_RANGE;
|
|
1080
|
-
@property (nonatomic, readonly) uint32_t DEPTH_WRITEMASK;
|
|
1081
|
-
@property (nonatomic, readonly) uint32_t DEPTH_CLEAR_VALUE;
|
|
1082
|
-
@property (nonatomic, readonly) uint32_t DEPTH_FUNC;
|
|
1083
|
-
@property (nonatomic, readonly) uint32_t STENCIL_CLEAR_VALUE;
|
|
1084
|
-
@property (nonatomic, readonly) uint32_t STENCIL_FUNC;
|
|
1085
|
-
@property (nonatomic, readonly) uint32_t STENCIL_FAIL;
|
|
1086
|
-
@property (nonatomic, readonly) uint32_t STENCIL_PASS_DEPTH_FAIL;
|
|
1087
|
-
@property (nonatomic, readonly) uint32_t STENCIL_PASS_DEPTH_PASS;
|
|
1088
|
-
@property (nonatomic, readonly) uint32_t STENCIL_REF;
|
|
1089
|
-
@property (nonatomic, readonly) uint32_t STENCIL_VALUE_MASK;
|
|
1090
|
-
@property (nonatomic, readonly) uint32_t STENCIL_WRITEMASK;
|
|
1091
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_FUNC;
|
|
1092
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_FAIL;
|
|
1093
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_PASS_DEPTH_FAIL;
|
|
1094
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_PASS_DEPTH_PASS;
|
|
1095
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_REF;
|
|
1096
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_VALUE_MASK;
|
|
1097
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_WRITEMASK;
|
|
1098
|
-
@property (nonatomic, readonly) uint32_t VIEWPORT;
|
|
1099
|
-
@property (nonatomic, readonly) uint32_t SCISSOR_BOX;
|
|
1100
|
-
@property (nonatomic, readonly) uint32_t COLOR_CLEAR_VALUE;
|
|
1101
|
-
@property (nonatomic, readonly) uint32_t COLOR_WRITEMASK;
|
|
1102
|
-
@property (nonatomic, readonly) uint32_t UNPACK_ALIGNMENT;
|
|
1103
|
-
@property (nonatomic, readonly) uint32_t PACK_ALIGNMENT;
|
|
1104
|
-
@property (nonatomic, readonly) uint32_t MAX_TEXTURE_SIZE;
|
|
1105
|
-
@property (nonatomic, readonly) uint32_t MAX_VIEWPORT_DIMS;
|
|
1106
|
-
@property (nonatomic, readonly) uint32_t SUBPIXEL_BITS;
|
|
1107
|
-
@property (nonatomic, readonly) uint32_t RED_BITS;
|
|
1108
|
-
@property (nonatomic, readonly) uint32_t GREEN_BITS;
|
|
1109
|
-
@property (nonatomic, readonly) uint32_t BLUE_BITS;
|
|
1110
|
-
@property (nonatomic, readonly) uint32_t ALPHA_BITS;
|
|
1111
|
-
@property (nonatomic, readonly) uint32_t DEPTH_BITS;
|
|
1112
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BITS;
|
|
1113
|
-
@property (nonatomic, readonly) uint32_t POLYGON_OFFSET_UNITS;
|
|
1114
|
-
@property (nonatomic, readonly) uint32_t POLYGON_OFFSET_FACTOR;
|
|
1115
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_2D;
|
|
1116
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_BUFFERS;
|
|
1117
|
-
@property (nonatomic, readonly) uint32_t SAMPLES;
|
|
1118
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_COVERAGE_VALUE;
|
|
1119
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_COVERAGE_INVERT;
|
|
1120
|
-
@property (nonatomic, readonly) uint32_t COMPRESSED_TEXTURE_FORMATS;
|
|
1121
|
-
@property (nonatomic, readonly) uint32_t VENDOR;
|
|
1122
|
-
@property (nonatomic, readonly) uint32_t RENDERER;
|
|
1123
|
-
@property (nonatomic, readonly) uint32_t VERSION;
|
|
1124
|
-
@property (nonatomic, readonly) uint32_t IMPLEMENTATION_COLOR_READ_TYPE;
|
|
1125
|
-
@property (nonatomic, readonly) uint32_t IMPLEMENTATION_COLOR_READ_FORMAT;
|
|
1126
|
-
@property (nonatomic, readonly) uint32_t BROWSER_DEFAULT_WEBGL;
|
|
1127
|
-
@property (nonatomic, readonly) uint32_t STATIC_DRAW;
|
|
1128
|
-
@property (nonatomic, readonly) uint32_t STREAM_DRAW;
|
|
1129
|
-
@property (nonatomic, readonly) uint32_t DYNAMIC_DRAW;
|
|
1130
|
-
@property (nonatomic, readonly) uint32_t ARRAY_BUFFER;
|
|
1131
|
-
@property (nonatomic, readonly) uint32_t ELEMENT_ARRAY_BUFFER;
|
|
1132
|
-
@property (nonatomic, readonly) uint32_t BUFFER_SIZE;
|
|
1133
|
-
@property (nonatomic, readonly) uint32_t BUFFER_USAGE;
|
|
1134
|
-
@property (nonatomic, readonly) uint32_t CURRENT_VERTEX_ATTRIB;
|
|
1135
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_ENABLED;
|
|
1136
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_SIZE;
|
|
1137
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_STRIDE;
|
|
1138
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_TYPE;
|
|
1139
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_NORMALIZED;
|
|
1140
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_POINTER;
|
|
1141
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
|
|
1142
|
-
@property (nonatomic, readonly) uint32_t CULL_FACE;
|
|
1143
|
-
@property (nonatomic, readonly) uint32_t FRONT;
|
|
1144
|
-
@property (nonatomic, readonly) uint32_t BACK;
|
|
1145
|
-
@property (nonatomic, readonly) uint32_t FRONT_AND_BACK;
|
|
1146
|
-
@property (nonatomic, readonly) uint32_t BLEND;
|
|
1147
|
-
@property (nonatomic, readonly) uint32_t DEPTH_TEST;
|
|
1148
|
-
@property (nonatomic, readonly) uint32_t DITHER;
|
|
1149
|
-
@property (nonatomic, readonly) uint32_t POLYGON_OFFSET_FILL;
|
|
1150
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_ALPHA_TO_COVERAGE;
|
|
1151
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_COVERAGE;
|
|
1152
|
-
@property (nonatomic, readonly) uint32_t SCISSOR_TEST;
|
|
1153
|
-
@property (nonatomic, readonly) uint32_t STENCIL_TEST;
|
|
1154
|
-
@property (nonatomic, readonly) uint32_t NO_ERROR;
|
|
1155
|
-
@property (nonatomic, readonly) uint32_t INVALID_ENUM;
|
|
1156
|
-
@property (nonatomic, readonly) uint32_t INVALID_VALUE;
|
|
1157
|
-
@property (nonatomic, readonly) uint32_t INVALID_OPERATION;
|
|
1158
|
-
@property (nonatomic, readonly) uint32_t INVALID_FRAMEBUFFER_OPERATION;
|
|
1159
|
-
@property (nonatomic, readonly) uint32_t OUT_OF_MEMORY;
|
|
1160
|
-
@property (nonatomic, readonly) uint32_t CONTEXT_LOST_WEBGL;
|
|
1161
|
-
@property (nonatomic, readonly) uint32_t CW;
|
|
1162
|
-
@property (nonatomic, readonly) uint32_t CCW;
|
|
1163
|
-
@property (nonatomic, readonly) uint32_t DONT_CARE;
|
|
1164
|
-
@property (nonatomic, readonly) uint32_t FASTEST;
|
|
1165
|
-
@property (nonatomic, readonly) uint32_t NICEST;
|
|
1166
|
-
@property (nonatomic, readonly) uint32_t GENERATE_MIPMAP_HINT;
|
|
1167
|
-
@property (nonatomic, readonly) uint32_t BYTE;
|
|
1168
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_BYTE;
|
|
1169
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT;
|
|
1170
|
-
@property (nonatomic, readonly) uint32_t SHORT;
|
|
1171
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT;
|
|
1172
|
-
@property (nonatomic, readonly) uint32_t INT;
|
|
1173
|
-
@property (nonatomic, readonly) uint32_t FLOAT;
|
|
1174
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT;
|
|
1175
|
-
@property (nonatomic, readonly) uint32_t ALPHA;
|
|
1176
|
-
@property (nonatomic, readonly) uint32_t RGB;
|
|
1177
|
-
@property (nonatomic, readonly) uint32_t RGBA;
|
|
1178
|
-
@property (nonatomic, readonly) uint32_t LUMINANCE;
|
|
1179
|
-
@property (nonatomic, readonly) uint32_t LUMINANCE_ALPHA;
|
|
1180
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT_4_4_4_4;
|
|
1181
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT_5_5_5_1;
|
|
1182
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT_5_6_5;
|
|
1183
|
-
@property (nonatomic, readonly) uint32_t FRAGMENT_SHADER;
|
|
1184
|
-
@property (nonatomic, readonly) uint32_t VERTEX_SHADER;
|
|
1185
|
-
@property (nonatomic, readonly) uint32_t COMPILE_STATUS;
|
|
1186
|
-
@property (nonatomic, readonly) uint32_t DELETE_STATUS;
|
|
1187
|
-
@property (nonatomic, readonly) uint32_t LINK_STATUS;
|
|
1188
|
-
@property (nonatomic, readonly) uint32_t VALIDATE_STATUS;
|
|
1189
|
-
@property (nonatomic, readonly) uint32_t ATTACHED_SHADERS;
|
|
1190
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_ATTRIBUTES;
|
|
1191
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_UNIFORMS;
|
|
1192
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_UNIFORM_VECTORS;
|
|
1193
|
-
@property (nonatomic, readonly) uint32_t MAX_VARYING_VECTORS;
|
|
1194
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_TEXTURE_IMAGE_UNITS;
|
|
1195
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_TEXTURE_IMAGE_UNITS;
|
|
1196
|
-
@property (nonatomic, readonly) uint32_t MAX_TEXTURE_IMAGE_UNITS;
|
|
1197
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_ATTRIBS;
|
|
1198
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_UNIFORM_VECTORS;
|
|
1199
|
-
@property (nonatomic, readonly) uint32_t SHADER_TYPE;
|
|
1200
|
-
@property (nonatomic, readonly) uint32_t SHADING_LANGUAGE_VERSION;
|
|
1201
|
-
@property (nonatomic, readonly) uint32_t CURRENT_PROGRAM;
|
|
1202
|
-
@property (nonatomic, readonly) uint32_t NEVER;
|
|
1203
|
-
@property (nonatomic, readonly) uint32_t LESS;
|
|
1204
|
-
@property (nonatomic, readonly) uint32_t EQUAL;
|
|
1205
|
-
@property (nonatomic, readonly) uint32_t LEQUAL;
|
|
1206
|
-
@property (nonatomic, readonly) uint32_t GREATER;
|
|
1207
|
-
@property (nonatomic, readonly) uint32_t NOTEQUAL;
|
|
1208
|
-
@property (nonatomic, readonly) uint32_t GEQUAL;
|
|
1209
|
-
@property (nonatomic, readonly) uint32_t ALWAYS;
|
|
1210
|
-
@property (nonatomic, readonly) uint32_t KEEP;
|
|
1211
|
-
@property (nonatomic, readonly) uint32_t REPLACE;
|
|
1212
|
-
@property (nonatomic, readonly) uint32_t INCR;
|
|
1213
|
-
@property (nonatomic, readonly) uint32_t DECR;
|
|
1214
|
-
@property (nonatomic, readonly) uint32_t INVERT;
|
|
1215
|
-
@property (nonatomic, readonly) uint32_t INCR_WRAP;
|
|
1216
|
-
@property (nonatomic, readonly) uint32_t DECR_WRAP;
|
|
1217
|
-
@property (nonatomic, readonly) uint32_t NEAREST;
|
|
1218
|
-
@property (nonatomic, readonly) uint32_t LINEAR;
|
|
1219
|
-
@property (nonatomic, readonly) uint32_t NEAREST_MIPMAP_NEAREST;
|
|
1220
|
-
@property (nonatomic, readonly) uint32_t LINEAR_MIPMAP_NEAREST;
|
|
1221
|
-
@property (nonatomic, readonly) uint32_t NEAREST_MIPMAP_LINEAR;
|
|
1222
|
-
@property (nonatomic, readonly) uint32_t LINEAR_MIPMAP_LINEAR;
|
|
1223
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MAG_FILTER;
|
|
1224
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MIN_FILTER;
|
|
1225
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_WRAP_S;
|
|
1226
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_WRAP_T;
|
|
1227
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_2D;
|
|
1228
|
-
@property (nonatomic, readonly) uint32_t TEXTURE;
|
|
1229
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP;
|
|
1230
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_CUBE_MAP;
|
|
1231
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_POSITIVE_X;
|
|
1232
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_NEGATIVE_X;
|
|
1233
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_POSITIVE_Y;
|
|
1234
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_NEGATIVE_Y;
|
|
1235
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_POSITIVE_Z;
|
|
1236
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_NEGATIVE_Z;
|
|
1237
|
-
@property (nonatomic, readonly) uint32_t MAX_CUBE_MAP_TEXTURE_SIZE;
|
|
1238
|
-
@property (nonatomic, readonly) uint32_t TEXTURE0;
|
|
1239
|
-
@property (nonatomic, readonly) uint32_t TEXTURE1;
|
|
1240
|
-
@property (nonatomic, readonly) uint32_t TEXTURE2;
|
|
1241
|
-
@property (nonatomic, readonly) uint32_t TEXTURE3;
|
|
1242
|
-
@property (nonatomic, readonly) uint32_t TEXTURE4;
|
|
1243
|
-
@property (nonatomic, readonly) uint32_t TEXTURE5;
|
|
1244
|
-
@property (nonatomic, readonly) uint32_t TEXTURE6;
|
|
1245
|
-
@property (nonatomic, readonly) uint32_t TEXTURE7;
|
|
1246
|
-
@property (nonatomic, readonly) uint32_t TEXTURE8;
|
|
1247
|
-
@property (nonatomic, readonly) uint32_t TEXTURE9;
|
|
1248
|
-
@property (nonatomic, readonly) uint32_t TEXTURE10;
|
|
1249
|
-
@property (nonatomic, readonly) uint32_t TEXTURE11;
|
|
1250
|
-
@property (nonatomic, readonly) uint32_t TEXTURE12;
|
|
1251
|
-
@property (nonatomic, readonly) uint32_t TEXTURE13;
|
|
1252
|
-
@property (nonatomic, readonly) uint32_t TEXTURE14;
|
|
1253
|
-
@property (nonatomic, readonly) uint32_t TEXTURE15;
|
|
1254
|
-
@property (nonatomic, readonly) uint32_t TEXTURE16;
|
|
1255
|
-
@property (nonatomic, readonly) uint32_t TEXTURE17;
|
|
1256
|
-
@property (nonatomic, readonly) uint32_t TEXTURE18;
|
|
1257
|
-
@property (nonatomic, readonly) uint32_t TEXTURE19;
|
|
1258
|
-
@property (nonatomic, readonly) uint32_t TEXTURE20;
|
|
1259
|
-
@property (nonatomic, readonly) uint32_t TEXTURE21;
|
|
1260
|
-
@property (nonatomic, readonly) uint32_t TEXTURE22;
|
|
1261
|
-
@property (nonatomic, readonly) uint32_t TEXTURE23;
|
|
1262
|
-
@property (nonatomic, readonly) uint32_t TEXTURE24;
|
|
1263
|
-
@property (nonatomic, readonly) uint32_t TEXTURE25;
|
|
1264
|
-
@property (nonatomic, readonly) uint32_t TEXTURE26;
|
|
1265
|
-
@property (nonatomic, readonly) uint32_t TEXTURE27;
|
|
1266
|
-
@property (nonatomic, readonly) uint32_t TEXTURE28;
|
|
1267
|
-
@property (nonatomic, readonly) uint32_t TEXTURE29;
|
|
1268
|
-
@property (nonatomic, readonly) uint32_t TEXTURE30;
|
|
1269
|
-
@property (nonatomic, readonly) uint32_t TEXTURE31;
|
|
1270
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_TEXTURE;
|
|
1271
|
-
@property (nonatomic, readonly) uint32_t REPEAT;
|
|
1272
|
-
@property (nonatomic, readonly) uint32_t CLAMP_TO_EDGE;
|
|
1273
|
-
@property (nonatomic, readonly) uint32_t MIRRORED_REPEAT;
|
|
1274
|
-
@property (nonatomic, readonly) uint32_t FLOAT_VEC2;
|
|
1275
|
-
@property (nonatomic, readonly) uint32_t FLOAT_VEC3;
|
|
1276
|
-
@property (nonatomic, readonly) uint32_t FLOAT_VEC4;
|
|
1277
|
-
@property (nonatomic, readonly) uint32_t INT_VEC2;
|
|
1278
|
-
@property (nonatomic, readonly) uint32_t INT_VEC3;
|
|
1279
|
-
@property (nonatomic, readonly) uint32_t INT_VEC4;
|
|
1280
|
-
@property (nonatomic, readonly) uint32_t BOOL;
|
|
1281
|
-
@property (nonatomic, readonly) uint32_t BOOL_VEC2;
|
|
1282
|
-
@property (nonatomic, readonly) uint32_t BOOL_VEC3;
|
|
1283
|
-
@property (nonatomic, readonly) uint32_t BOOL_VEC4;
|
|
1284
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT2;
|
|
1285
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT3;
|
|
1286
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT4;
|
|
1287
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D;
|
|
1288
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_CUBE;
|
|
1289
|
-
@property (nonatomic, readonly) uint32_t LOW_FLOAT;
|
|
1290
|
-
@property (nonatomic, readonly) uint32_t MEDIUM_FLOAT;
|
|
1291
|
-
@property (nonatomic, readonly) uint32_t HIGH_FLOAT;
|
|
1292
|
-
@property (nonatomic, readonly) uint32_t LOW_INT;
|
|
1293
|
-
@property (nonatomic, readonly) uint32_t MEDIUM_INT;
|
|
1294
|
-
@property (nonatomic, readonly) uint32_t HIGH_INT;
|
|
1295
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER;
|
|
1296
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER;
|
|
1297
|
-
@property (nonatomic, readonly) uint32_t RGBA4;
|
|
1298
|
-
@property (nonatomic, readonly) uint32_t RGB565;
|
|
1299
|
-
@property (nonatomic, readonly) uint32_t RGB5_A1;
|
|
1300
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT16;
|
|
1301
|
-
@property (nonatomic, readonly) uint32_t STENCIL_INDEX8;
|
|
1302
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL;
|
|
1303
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_WIDTH;
|
|
1304
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_HEIGHT;
|
|
1305
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_INTERNAL_FORMAT;
|
|
1306
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_RED_SIZE;
|
|
1307
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_GREEN_SIZE;
|
|
1308
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_BLUE_SIZE;
|
|
1309
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_ALPHA_SIZE;
|
|
1310
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_DEPTH_SIZE;
|
|
1311
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_STENCIL_SIZE;
|
|
1312
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
|
|
1313
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
|
|
1314
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
|
|
1315
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
|
|
1316
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT0;
|
|
1317
|
-
@property (nonatomic, readonly) uint32_t DEPTH_ATTACHMENT;
|
|
1318
|
-
@property (nonatomic, readonly) uint32_t STENCIL_ATTACHMENT;
|
|
1319
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL_ATTACHMENT;
|
|
1320
|
-
@property (nonatomic, readonly) uint32_t NONE;
|
|
1321
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_COMPLETE;
|
|
1322
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
|
|
1323
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
|
|
1324
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
|
|
1325
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_UNSUPPORTED;
|
|
1326
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_BINDING;
|
|
1327
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_BINDING;
|
|
1328
|
-
@property (nonatomic, readonly) uint32_t MAX_RENDERBUFFER_SIZE;
|
|
1329
|
-
@property (nonatomic, readonly) uint32_t UNPACK_COLORSPACE_CONVERSION_WEBGL;
|
|
1330
|
-
@property (nonatomic, readonly) uint32_t UNPACK_FLIP_Y_WEBGL;
|
|
1331
|
-
@property (nonatomic, readonly) uint32_t UNPACK_PREMULTIPLY_ALPHA_WEBGL;
|
|
1332
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1333
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1334
|
-
@end
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
SWIFT_CLASS_NAMED("TNSWebGL2RenderingContext")
|
|
1338
|
-
@interface TNSWebGL2RenderingContext : TNSWebGLRenderingContext
|
|
1339
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
1340
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas :(NSDictionary<NSString *, id> * _Nonnull)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
1341
|
-
- (void)beginQuery:(uint32_t)target :(uint32_t)query;
|
|
1342
|
-
- (void)beginTransformFeedback:(uint32_t)primitiveMode;
|
|
1343
|
-
- (void)bindBufferBase:(uint32_t)target :(uint32_t)index :(uint32_t)buffer;
|
|
1344
|
-
- (void)bindBufferRange:(uint32_t)target :(uint32_t)index :(uint32_t)buffer :(NSInteger)offset :(NSInteger)size;
|
|
1345
|
-
- (void)bindSampler:(uint32_t)unit :(uint32_t)sampler;
|
|
1346
|
-
- (void)bindTransformFeedback:(uint32_t)target :(uint32_t)transformFeedback;
|
|
1347
|
-
- (void)bindVertexArray:(uint32_t)vertexArray;
|
|
1348
|
-
- (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;
|
|
1349
|
-
- (void)clearBufferfv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
|
|
1350
|
-
- (void)clearBufferfv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
|
|
1351
|
-
- (void)clearBufferiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
|
|
1352
|
-
- (void)clearBufferiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
|
|
1353
|
-
- (void)clearBufferuiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
|
|
1354
|
-
- (void)clearBufferuiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
|
|
1355
|
-
- (void)clearBufferfi:(uint32_t)buffer :(int32_t)drawbuffer :(float)depth :(int32_t)stencil;
|
|
1356
|
-
- (int32_t)clientWaitSync:(GLsync _Nonnull)sync :(uint32_t)flags :(uint64_t)timeout SWIFT_WARN_UNUSED_RESULT;
|
|
1357
|
-
- (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;
|
|
1358
|
-
- (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 i8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1359
|
-
- (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 u8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1360
|
-
- (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 i16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1361
|
-
- (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 u16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1362
|
-
- (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 i32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1363
|
-
- (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 u32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1364
|
-
- (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 f32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1365
|
-
- (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 f64:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
1366
|
-
- (void)copyBufferSubData:(uint32_t)readTarget :(uint32_t)writeTarget :(NSInteger)readOffset :(NSInteger)writeOffset :(NSInteger)size;
|
|
1367
|
-
- (void)copyTexSubImage3D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)zoffset :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
1368
|
-
- (uint32_t)createQuery SWIFT_WARN_UNUSED_RESULT;
|
|
1369
|
-
- (uint32_t)createSampler SWIFT_WARN_UNUSED_RESULT;
|
|
1370
|
-
- (uint32_t)createVertexArray SWIFT_WARN_UNUSED_RESULT;
|
|
1371
|
-
- (uint32_t)createTransformFeedback SWIFT_WARN_UNUSED_RESULT;
|
|
1372
|
-
- (void)deleteQuery:(uint32_t)query;
|
|
1373
|
-
- (void)deleteSampler:(uint32_t)sampler;
|
|
1374
|
-
- (void)deleteSync:(GLsync _Nonnull)sync;
|
|
1375
|
-
- (void)deleteTransformFeedback:(uint32_t)transformFeedback;
|
|
1376
|
-
- (void)deleteVertexArray:(uint32_t)vertexArray;
|
|
1377
|
-
- (void)drawArraysInstanced:(uint32_t)mode :(int32_t)first :(int32_t)count :(int32_t)instanceCount;
|
|
1378
|
-
- (void)drawElementsInstanced:(uint32_t)mode :(int32_t)count :(uint32_t)type :(NSInteger)offset :(int32_t)instanceCount;
|
|
1379
|
-
- (void)drawRangeElements:(uint32_t)mode :(uint32_t)start :(uint32_t)end :(int32_t)count :(uint32_t)type :(NSInteger)offset;
|
|
1380
|
-
- (void)drawBuffers:(NSArray<NSNumber *> * _Nonnull)buffers;
|
|
1381
|
-
- (void)endQuery:(uint32_t)target;
|
|
1382
|
-
- (void)endTransformFeedback;
|
|
1383
|
-
- (void)fenceSync:(uint32_t)condition :(uint32_t)flags;
|
|
1384
|
-
- (void)framebufferTextureLayer:(uint32_t)target :(uint32_t)attachment :(uint32_t)texture :(int32_t)level :(int32_t)layer;
|
|
1385
|
-
- (NSString * _Nonnull)getActiveUniformBlockName:(uint32_t)program :(uint32_t)uniformBlockIndex SWIFT_WARN_UNUSED_RESULT;
|
|
1386
|
-
- (id _Nonnull)getActiveUniformBlockParameter:(uint32_t)program :(uint32_t)uniformBlockIndex :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1387
|
-
- (id _Nonnull)getActiveUniforms:(uint32_t)program :(NSArray<NSNumber *> * _Nonnull)uniformIndices :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1388
|
-
- (void)getBufferSubData:(uint32_t)target :(NSInteger)srcByteOffset :(void * _Nonnull)dstData size:(NSInteger)size :(int32_t)dstOffset :(int32_t)length;
|
|
1389
|
-
- (void)getBufferSubData:(uint32_t)target :(NSInteger)srcByteOffset :(void * _Nonnull)dstData size:(NSInteger)size :(int32_t)dstOffset :(int32_t)length offset:(NSInteger)offset;
|
|
1390
|
-
- (int32_t)getFragDataLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
1391
|
-
- (id _Nonnull)getIndexedParameter:(uint32_t)target :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
1392
|
-
- (id _Nonnull)getInternalformatParameter:(uint32_t)target :(uint32_t)internalformat :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1393
|
-
- (id _Nullable)getParameter:(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1394
|
-
- (id _Nonnull)getQuery:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1395
|
-
- (id _Nonnull)getQueryParameter:(uint32_t)query :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1396
|
-
- (id _Nonnull)getSamplerParameter:(uint32_t)sampler :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1397
|
-
- (id _Nonnull)getSyncParameter:(GLsync _Nonnull)sync :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
1398
|
-
- (id _Nonnull)getTransformFeedbackVarying:(uint32_t)program :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
1399
|
-
- (uint32_t)getUniformBlockIndex:(uint32_t)program :(NSString * _Nonnull)uniformBlockName SWIFT_WARN_UNUSED_RESULT;
|
|
1400
|
-
- (NSArray<NSNumber *> * _Nonnull)getUniformIndices:(uint32_t)program :(NSArray<NSString *> * _Nonnull)uniformNames SWIFT_WARN_UNUSED_RESULT;
|
|
1401
|
-
- (void)invalidateFramebuffer:(uint32_t)target :(NSArray<NSNumber *> * _Nonnull)attachments;
|
|
1402
|
-
- (void)invalidateSubFramebuffer:(uint32_t)target :(NSArray<NSNumber *> * _Nonnull)attachments :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
1403
|
-
- (BOOL)isQuery:(uint32_t)query SWIFT_WARN_UNUSED_RESULT;
|
|
1404
|
-
- (BOOL)isSampler:(uint32_t)sampler SWIFT_WARN_UNUSED_RESULT;
|
|
1405
|
-
- (BOOL)isSync:(GLsync _Nonnull)sync SWIFT_WARN_UNUSED_RESULT;
|
|
1406
|
-
- (BOOL)isTransformFeedback:(uint32_t)transformFeedback SWIFT_WARN_UNUSED_RESULT;
|
|
1407
|
-
- (BOOL)isVertexArray:(uint32_t)vertexArray SWIFT_WARN_UNUSED_RESULT;
|
|
1408
|
-
- (void)pauseTransformFeedback;
|
|
1409
|
-
- (void)readBuffer:(uint32_t)src;
|
|
1410
|
-
- (void)renderbufferStorageMultisample:(uint32_t)target :(int32_t)samples :(uint32_t)internalFormat :(int32_t)width :(int32_t)height;
|
|
1411
|
-
- (void)resumeTransformFeedback;
|
|
1412
|
-
- (void)samplerParameteri:(uint32_t)sampler :(uint32_t)pname :(int32_t)param;
|
|
1413
|
-
- (void)samplerParameterf:(uint32_t)sampler :(uint32_t)pname :(float)param;
|
|
1414
|
-
- (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;
|
|
1415
|
-
- (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;
|
|
1416
|
-
- (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;
|
|
1417
|
-
- (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;
|
|
1418
|
-
- (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;
|
|
1419
|
-
- (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;
|
|
1420
|
-
- (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;
|
|
1421
|
-
- (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 u16:(NSArray<NSNumber *> * _Nonnull)source;
|
|
1422
|
-
- (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 i32:(NSArray<NSNumber *> * _Nonnull)source;
|
|
1423
|
-
- (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 u32:(NSArray<NSNumber *> * _Nonnull)source;
|
|
1424
|
-
- (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 f32:(NSArray<NSNumber *> * _Nonnull)source;
|
|
1425
|
-
- (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 f64:(NSArray<NSNumber *> * _Nonnull)source;
|
|
1426
|
-
- (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 :(int32_t)srcOffset;
|
|
1427
|
-
- (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 :(int32_t)srcOffset;
|
|
1428
|
-
- (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 :(int32_t)srcOffset;
|
|
1429
|
-
- (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 u16:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
1430
|
-
- (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 i32:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
1431
|
-
- (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 u32:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
1432
|
-
- (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 f32:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
1433
|
-
- (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 f64:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
1434
|
-
- (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 source:(UIImage * _Nonnull)source;
|
|
1435
|
-
- (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 asset:(TNSImageAsset * _Nonnull)asset;
|
|
1436
|
-
- (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 bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
1437
|
-
- (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 canvas:(TNSCanvas * _Nonnull)canvas;
|
|
1438
|
-
- (void)texStorage2D:(uint32_t)target :(int32_t)levels :(uint32_t)internalformat :(int32_t)width :(int32_t)height;
|
|
1439
|
-
- (void)texStorage3D:(uint32_t)target :(int32_t)levels :(uint32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth;
|
|
1440
|
-
- (void)texSubImage3D:(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 :(uint32_t)type data:(NSData * _Nonnull)data;
|
|
1441
|
-
- (void)texSubImage3D:(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 :(uint32_t)type offset:(int32_t)offset;
|
|
1442
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1443
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1444
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1445
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1446
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1447
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1448
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1449
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f64:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
1450
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1451
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1452
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1453
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1454
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1455
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1456
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1457
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f64:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
1458
|
-
- (void)texSubImage3D:(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 :(uint32_t)type srcData:(UIImage * _Nonnull)srcData;
|
|
1459
|
-
- (void)texSubImage3D:(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 :(uint32_t)type canvas:(TNSCanvas * _Nonnull)canvas;
|
|
1460
|
-
- (void)texSubImage3D:(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 :(uint32_t)type asset:(TNSImageAsset * _Nonnull)asset;
|
|
1461
|
-
- (void)texSubImage3D:(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 :(uint32_t)type bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
1462
|
-
- (void)transformFeedbackVaryings:(uint32_t)program :(NSArray<NSString *> * _Nonnull)varyings :(uint32_t)bufferMode;
|
|
1463
|
-
- (void)uniform1ui:(int32_t)location :(uint32_t)v0;
|
|
1464
|
-
- (void)uniform2ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1;
|
|
1465
|
-
- (void)uniform3ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2;
|
|
1466
|
-
- (void)uniform4ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2 :(uint32_t)v3;
|
|
1467
|
-
- (void)uniform1uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
1468
|
-
- (void)uniform1uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1469
|
-
- (void)uniform2uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
1470
|
-
- (void)uniform2uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1471
|
-
- (void)uniform3uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
1472
|
-
- (void)uniform3uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1473
|
-
- (void)uniform4uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
1474
|
-
- (void)uniform4uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1475
|
-
- (void)uniformBlockBinding:(uint32_t)program :(uint32_t)uniformBlockIndex :(uint32_t)uniformBlockBinding;
|
|
1476
|
-
- (void)uniformMatrix3x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
1477
|
-
- (void)uniformMatrix3x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1478
|
-
- (void)uniformMatrix4x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
1479
|
-
- (void)uniformMatrix4x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1480
|
-
- (void)uniformMatrix2x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
1481
|
-
- (void)uniformMatrix2x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1482
|
-
- (void)uniformMatrix4x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
1483
|
-
- (void)uniformMatrix4x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1484
|
-
- (void)uniformMatrix2x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
1485
|
-
- (void)uniformMatrix2x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1486
|
-
- (void)uniformMatrix3x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
1487
|
-
- (void)uniformMatrix3x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
1488
|
-
- (void)vertexAttribDivisor:(uint32_t)index :(uint32_t)divisor;
|
|
1489
|
-
- (void)vertexAttribI4i:(uint32_t)index :(int32_t)v0 :(int32_t)v1 :(int32_t)v2 :(int32_t)v3;
|
|
1490
|
-
- (void)vertexAttribI4ui:(uint32_t)index :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2 :(uint32_t)v3;
|
|
1491
|
-
- (void)vertexAttribI4iv:(uint32_t)index :(void const * _Nonnull)value;
|
|
1492
|
-
- (void)vertexAttribI4iv:(uint32_t)index :(void const * _Nonnull)value offset:(NSInteger)offset;
|
|
1493
|
-
- (void)vertexAttribI4uiv:(uint32_t)index :(void const * _Nonnull)value;
|
|
1494
|
-
- (void)vertexAttribI4uiv:(uint32_t)index :(void const * _Nonnull)value offset:(NSInteger)offset;
|
|
1495
|
-
@property (nonatomic, readonly) uint32_t READ_BUFFER;
|
|
1496
|
-
@property (nonatomic, readonly) uint32_t UNPACK_ROW_LENGTH;
|
|
1497
|
-
@property (nonatomic, readonly) uint32_t UNPACK_SKIP_ROWS;
|
|
1498
|
-
@property (nonatomic, readonly) uint32_t UNPACK_SKIP_PIXELS;
|
|
1499
|
-
@property (nonatomic, readonly) uint32_t PACK_ROW_LENGTH;
|
|
1500
|
-
@property (nonatomic, readonly) uint32_t PACK_SKIP_ROWS;
|
|
1501
|
-
@property (nonatomic, readonly) uint32_t PACK_SKIP_PIXELS;
|
|
1502
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_3D;
|
|
1503
|
-
@property (nonatomic, readonly) uint32_t UNPACK_SKIP_IMAGES;
|
|
1504
|
-
@property (nonatomic, readonly) uint32_t UNPACK_IMAGE_HEIGHT;
|
|
1505
|
-
@property (nonatomic, readonly) uint32_t MAX_3D_TEXTURE_SIZE;
|
|
1506
|
-
@property (nonatomic, readonly) uint32_t MAX_ELEMENTS_VERTICES;
|
|
1507
|
-
@property (nonatomic, readonly) uint32_t MAX_ELEMENTS_INDICES;
|
|
1508
|
-
@property (nonatomic, readonly) uint32_t MAX_TEXTURE_LOD_BIAS;
|
|
1509
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_UNIFORM_COMPONENTS;
|
|
1510
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_UNIFORM_COMPONENTS;
|
|
1511
|
-
@property (nonatomic, readonly) uint32_t MAX_ARRAY_TEXTURE_LAYERS;
|
|
1512
|
-
@property (nonatomic, readonly) uint32_t MIN_PROGRAM_TEXEL_OFFSET;
|
|
1513
|
-
@property (nonatomic, readonly) uint32_t MAX_PROGRAM_TEXEL_OFFSET;
|
|
1514
|
-
@property (nonatomic, readonly) uint32_t MAX_VARYING_COMPONENTS;
|
|
1515
|
-
@property (nonatomic, readonly) uint32_t FRAGMENT_SHADER_DERIVATIVE_HINT;
|
|
1516
|
-
@property (nonatomic, readonly) uint32_t RASTERIZER_DISCARD;
|
|
1517
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ARRAY_BINDING;
|
|
1518
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_OUTPUT_COMPONENTS;
|
|
1519
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_INPUT_COMPONENTS;
|
|
1520
|
-
@property (nonatomic, readonly) uint32_t MAX_SERVER_WAIT_TIMEOUT;
|
|
1521
|
-
@property (nonatomic, readonly) uint32_t MAX_ELEMENT_INDEX;
|
|
1522
|
-
@property (nonatomic, readonly) uint32_t RED;
|
|
1523
|
-
@property (nonatomic, readonly) uint32_t RGB8;
|
|
1524
|
-
@property (nonatomic, readonly) uint32_t RGBA8;
|
|
1525
|
-
@property (nonatomic, readonly) uint32_t RGB10_A2;
|
|
1526
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_3D;
|
|
1527
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_WRAP_R;
|
|
1528
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MIN_LOD;
|
|
1529
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MAX_LOD;
|
|
1530
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BASE_LEVEL;
|
|
1531
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MAX_LEVEL;
|
|
1532
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_COMPARE_MODE;
|
|
1533
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_COMPARE_FUNC;
|
|
1534
|
-
@property (nonatomic, readonly) uint32_t SRGB;
|
|
1535
|
-
@property (nonatomic, readonly) uint32_t SRGB8;
|
|
1536
|
-
@property (nonatomic, readonly) uint32_t SRGB8_ALPHA8;
|
|
1537
|
-
@property (nonatomic, readonly) uint32_t COMPARE_REF_TO_TEXTURE;
|
|
1538
|
-
@property (nonatomic, readonly) uint32_t RGBA32F;
|
|
1539
|
-
@property (nonatomic, readonly) uint32_t RGB32F;
|
|
1540
|
-
@property (nonatomic, readonly) uint32_t RGBA16F;
|
|
1541
|
-
@property (nonatomic, readonly) uint32_t RGB16F;
|
|
1542
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_2D_ARRAY;
|
|
1543
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_2D_ARRAY;
|
|
1544
|
-
@property (nonatomic, readonly) uint32_t R11F_G11F_B10F;
|
|
1545
|
-
@property (nonatomic, readonly) uint32_t RGB9_E5;
|
|
1546
|
-
@property (nonatomic, readonly) uint32_t RGBA32UI;
|
|
1547
|
-
@property (nonatomic, readonly) uint32_t RGB32UI;
|
|
1548
|
-
@property (nonatomic, readonly) uint32_t RGBA16UI;
|
|
1549
|
-
@property (nonatomic, readonly) uint32_t RGB16UI;
|
|
1550
|
-
@property (nonatomic, readonly) uint32_t RGBA8UI;
|
|
1551
|
-
@property (nonatomic, readonly) uint32_t RGB8UI;
|
|
1552
|
-
@property (nonatomic, readonly) uint32_t RGBA32I;
|
|
1553
|
-
@property (nonatomic, readonly) uint32_t RGB32I;
|
|
1554
|
-
@property (nonatomic, readonly) uint32_t RGBA16I;
|
|
1555
|
-
@property (nonatomic, readonly) uint32_t RGB16I;
|
|
1556
|
-
@property (nonatomic, readonly) uint32_t RGBA8I;
|
|
1557
|
-
@property (nonatomic, readonly) uint32_t RGB8I;
|
|
1558
|
-
@property (nonatomic, readonly) uint32_t RED_INTEGER;
|
|
1559
|
-
@property (nonatomic, readonly) uint32_t RGB_INTEGER;
|
|
1560
|
-
@property (nonatomic, readonly) uint32_t RGBA_INTEGER;
|
|
1561
|
-
@property (nonatomic, readonly) uint32_t R8;
|
|
1562
|
-
@property (nonatomic, readonly) uint32_t RG8;
|
|
1563
|
-
@property (nonatomic, readonly) uint32_t R16F;
|
|
1564
|
-
@property (nonatomic, readonly) uint32_t R32F;
|
|
1565
|
-
@property (nonatomic, readonly) uint32_t RG16F;
|
|
1566
|
-
@property (nonatomic, readonly) uint32_t RG32F;
|
|
1567
|
-
@property (nonatomic, readonly) uint32_t R8I;
|
|
1568
|
-
@property (nonatomic, readonly) uint32_t R8UI;
|
|
1569
|
-
@property (nonatomic, readonly) uint32_t R16I;
|
|
1570
|
-
@property (nonatomic, readonly) uint32_t R16UI;
|
|
1571
|
-
@property (nonatomic, readonly) uint32_t R32I;
|
|
1572
|
-
@property (nonatomic, readonly) uint32_t R32UI;
|
|
1573
|
-
@property (nonatomic, readonly) uint32_t RG8I;
|
|
1574
|
-
@property (nonatomic, readonly) uint32_t RG8UI;
|
|
1575
|
-
@property (nonatomic, readonly) uint32_t RG16I;
|
|
1576
|
-
@property (nonatomic, readonly) uint32_t RG16UI;
|
|
1577
|
-
@property (nonatomic, readonly) uint32_t RG32I;
|
|
1578
|
-
@property (nonatomic, readonly) uint32_t RG32UI;
|
|
1579
|
-
@property (nonatomic, readonly) uint32_t R8_SNORM;
|
|
1580
|
-
@property (nonatomic, readonly) uint32_t RG8_SNORM;
|
|
1581
|
-
@property (nonatomic, readonly) uint32_t RGB8_SNORM;
|
|
1582
|
-
@property (nonatomic, readonly) uint32_t RGBA8_SNORM;
|
|
1583
|
-
@property (nonatomic, readonly) uint32_t RGB10_A2UI;
|
|
1584
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_IMMUTABLE_FORMAT;
|
|
1585
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_IMMUTABLE_LEVELS;
|
|
1586
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_2_10_10_10_REV;
|
|
1587
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_10F_11F_11F_REV;
|
|
1588
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_5_9_9_9_REV;
|
|
1589
|
-
@property (nonatomic, readonly) uint32_t FLOAT_32_UNSIGNED_INT_24_8_REV;
|
|
1590
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_24_8;
|
|
1591
|
-
@property (nonatomic, readonly) uint32_t HALF_FLOAT;
|
|
1592
|
-
@property (nonatomic, readonly) uint32_t RG;
|
|
1593
|
-
@property (nonatomic, readonly) uint32_t RG_INTEGER;
|
|
1594
|
-
@property (nonatomic, readonly) uint32_t INT_2_10_10_10_REV;
|
|
1595
|
-
@property (nonatomic, readonly) uint32_t QUERY_RESULT_AVAILABLE;
|
|
1596
|
-
@property (nonatomic, readonly) uint32_t QUERY_RESULT;
|
|
1597
|
-
@property (nonatomic, readonly) uint32_t CURRENT_QUERY;
|
|
1598
|
-
@property (nonatomic, readonly) uint32_t ANY_SAMPLES_PASSED;
|
|
1599
|
-
@property (nonatomic, readonly) uint32_t ANY_SAMPLES_PASSED_CONSERVATIVE;
|
|
1600
|
-
@property (nonatomic, readonly) uint32_t MAX_DRAW_BUFFERS;
|
|
1601
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER0;
|
|
1602
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER1;
|
|
1603
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER2;
|
|
1604
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER3;
|
|
1605
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER4;
|
|
1606
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER5;
|
|
1607
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER6;
|
|
1608
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER7;
|
|
1609
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER8;
|
|
1610
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER9;
|
|
1611
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER10;
|
|
1612
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER11;
|
|
1613
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER12;
|
|
1614
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER13;
|
|
1615
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER14;
|
|
1616
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER15;
|
|
1617
|
-
@property (nonatomic, readonly) uint32_t MAX_COLOR_ATTACHMENTS;
|
|
1618
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT1;
|
|
1619
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT2;
|
|
1620
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT3;
|
|
1621
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT4;
|
|
1622
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT5;
|
|
1623
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT6;
|
|
1624
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT7;
|
|
1625
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT8;
|
|
1626
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT9;
|
|
1627
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT10;
|
|
1628
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT11;
|
|
1629
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT12;
|
|
1630
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT13;
|
|
1631
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT14;
|
|
1632
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT15;
|
|
1633
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_3D;
|
|
1634
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D_SHADOW;
|
|
1635
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D_ARRAY;
|
|
1636
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D_ARRAY_SHADOW;
|
|
1637
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_CUBE_SHADOW;
|
|
1638
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_2D;
|
|
1639
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_3D;
|
|
1640
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_CUBE;
|
|
1641
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_2D_ARRAY;
|
|
1642
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_2D;
|
|
1643
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_3D;
|
|
1644
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_CUBE;
|
|
1645
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_2D_ARRAY;
|
|
1646
|
-
@property (nonatomic, readonly) uint32_t MAX_SAMPLES;
|
|
1647
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_BINDING;
|
|
1648
|
-
@property (nonatomic, readonly) uint32_t PIXEL_PACK_BUFFER;
|
|
1649
|
-
@property (nonatomic, readonly) uint32_t PIXEL_UNPACK_BUFFER;
|
|
1650
|
-
@property (nonatomic, readonly) uint32_t PIXEL_PACK_BUFFER_BINDING;
|
|
1651
|
-
@property (nonatomic, readonly) uint32_t PIXEL_UNPACK_BUFFER_BINDING;
|
|
1652
|
-
@property (nonatomic, readonly) uint32_t COPY_READ_BUFFER;
|
|
1653
|
-
@property (nonatomic, readonly) uint32_t COPY_WRITE_BUFFER;
|
|
1654
|
-
@property (nonatomic, readonly) uint32_t COPY_READ_BUFFER_BINDING;
|
|
1655
|
-
@property (nonatomic, readonly) uint32_t COPY_WRITE_BUFFER_BINDING;
|
|
1656
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT2x3;
|
|
1657
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT2x4;
|
|
1658
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT3x2;
|
|
1659
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT3x4;
|
|
1660
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT4x2;
|
|
1661
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT4x3;
|
|
1662
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_VEC2;
|
|
1663
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_VEC3;
|
|
1664
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_VEC4;
|
|
1665
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_NORMALIZED;
|
|
1666
|
-
@property (nonatomic, readonly) uint32_t SIGNED_NORMALIZED;
|
|
1667
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_INTEGER;
|
|
1668
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_DIVISOR;
|
|
1669
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_MODE;
|
|
1670
|
-
@property (nonatomic, readonly) uint32_t MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS;
|
|
1671
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_VARYINGS;
|
|
1672
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_START;
|
|
1673
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_SIZE;
|
|
1674
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN;
|
|
1675
|
-
@property (nonatomic, readonly) uint32_t MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS;
|
|
1676
|
-
@property (nonatomic, readonly) uint32_t MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS;
|
|
1677
|
-
@property (nonatomic, readonly) uint32_t INTERLEAVED_ATTRIBS;
|
|
1678
|
-
@property (nonatomic, readonly) uint32_t SEPARATE_ATTRIBS;
|
|
1679
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER;
|
|
1680
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_BINDING;
|
|
1681
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK;
|
|
1682
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_PAUSED;
|
|
1683
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_ACTIVE;
|
|
1684
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BINDING;
|
|
1685
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING;
|
|
1686
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE;
|
|
1687
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_RED_SIZE;
|
|
1688
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_GREEN_SIZE;
|
|
1689
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_BLUE_SIZE;
|
|
1690
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE;
|
|
1691
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE;
|
|
1692
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE;
|
|
1693
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_DEFAULT;
|
|
1694
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL_ATTACHMENT;
|
|
1695
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL;
|
|
1696
|
-
@property (nonatomic, readonly) uint32_t DEPTH24_STENCIL8;
|
|
1697
|
-
@property (nonatomic, readonly) uint32_t DRAW_FRAMEBUFFER_BINDING;
|
|
1698
|
-
@property (nonatomic, readonly) uint32_t READ_FRAMEBUFFER;
|
|
1699
|
-
@property (nonatomic, readonly) uint32_t DRAW_FRAMEBUFFER;
|
|
1700
|
-
@property (nonatomic, readonly) uint32_t READ_FRAMEBUFFER_BINDING;
|
|
1701
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_SAMPLES;
|
|
1702
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER;
|
|
1703
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_MULTISAMPLE;
|
|
1704
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER;
|
|
1705
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_BINDING;
|
|
1706
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_START;
|
|
1707
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_SIZE;
|
|
1708
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_UNIFORM_BLOCKS;
|
|
1709
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_UNIFORM_BLOCKS;
|
|
1710
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_UNIFORM_BLOCKS;
|
|
1711
|
-
@property (nonatomic, readonly) uint32_t MAX_UNIFORM_BUFFER_BINDINGS;
|
|
1712
|
-
@property (nonatomic, readonly) uint32_t MAX_UNIFORM_BLOCK_SIZE;
|
|
1713
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS;
|
|
1714
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS;
|
|
1715
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_OFFSET_ALIGNMENT;
|
|
1716
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_UNIFORM_BLOCKS;
|
|
1717
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_TYPE;
|
|
1718
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_SIZE;
|
|
1719
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_INDEX;
|
|
1720
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_OFFSET;
|
|
1721
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_ARRAY_STRIDE;
|
|
1722
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_MATRIX_STRIDE;
|
|
1723
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_IS_ROW_MAJOR;
|
|
1724
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_BINDING;
|
|
1725
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_DATA_SIZE;
|
|
1726
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_ACTIVE_UNIFORMS;
|
|
1727
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES;
|
|
1728
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER;
|
|
1729
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER;
|
|
1730
|
-
@property (nonatomic, readonly) uint32_t OBJECT_TYPE;
|
|
1731
|
-
@property (nonatomic, readonly) uint32_t SYNC_CONDITION;
|
|
1732
|
-
@property (nonatomic, readonly) uint32_t SYNC_STATUS;
|
|
1733
|
-
@property (nonatomic, readonly) uint32_t SYNC_FLAGS;
|
|
1734
|
-
@property (nonatomic, readonly) uint32_t SYNC_FENCE;
|
|
1735
|
-
@property (nonatomic, readonly) uint32_t SYNC_GPU_COMMANDS_COMPLETE;
|
|
1736
|
-
@property (nonatomic, readonly) uint32_t UNSIGNALED;
|
|
1737
|
-
@property (nonatomic, readonly) uint32_t SIGNALED;
|
|
1738
|
-
@property (nonatomic, readonly) uint32_t ALREADY_SIGNALED;
|
|
1739
|
-
@property (nonatomic, readonly) uint32_t TIMEOUT_EXPIRED;
|
|
1740
|
-
@property (nonatomic, readonly) uint32_t CONDITION_SATISFIED;
|
|
1741
|
-
@property (nonatomic, readonly) uint32_t WAIT_FAILED;
|
|
1742
|
-
@property (nonatomic, readonly) uint32_t SYNC_FLUSH_COMMANDS_BIT;
|
|
1743
|
-
@property (nonatomic, readonly) uint32_t COLOR;
|
|
1744
|
-
@property (nonatomic, readonly) uint32_t DEPTH;
|
|
1745
|
-
@property (nonatomic, readonly) uint32_t STENCIL;
|
|
1746
|
-
@property (nonatomic, readonly) uint32_t MIN;
|
|
1747
|
-
@property (nonatomic, readonly) uint32_t MAX;
|
|
1748
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT24;
|
|
1749
|
-
@property (nonatomic, readonly) uint32_t STREAM_READ;
|
|
1750
|
-
@property (nonatomic, readonly) uint32_t STREAM_COPY;
|
|
1751
|
-
@property (nonatomic, readonly) uint32_t STATIC_READ;
|
|
1752
|
-
@property (nonatomic, readonly) uint32_t STATIC_COPY;
|
|
1753
|
-
@property (nonatomic, readonly) uint32_t DYNAMIC_READ;
|
|
1754
|
-
@property (nonatomic, readonly) uint32_t DYNAMIC_COPY;
|
|
1755
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT32F;
|
|
1756
|
-
@property (nonatomic, readonly) uint32_t DEPTH32F_STENCIL8;
|
|
1757
|
-
@property (nonatomic, readonly) NSInteger INVALID_INDEX;
|
|
1758
|
-
@property (nonatomic, readonly) uint64_t TIMEOUT_IGNORED;
|
|
1759
|
-
@property (nonatomic, readonly) uint32_t MAX_CLIENT_WAIT_TIMEOUT_WEBGL;
|
|
1760
|
-
@end
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
SWIFT_CLASS_NAMED("TNSWebGLActiveInfo")
|
|
1764
|
-
@interface TNSWebGLActiveInfo : NSObject
|
|
1765
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull name;
|
|
1766
|
-
@property (nonatomic, readonly) int32_t size;
|
|
1767
|
-
@property (nonatomic, readonly) uint32_t type;
|
|
1768
|
-
- (nonnull instancetype)initWithName:(NSString * _Nonnull)name size:(int32_t)size type:(uint32_t)type OBJC_DESIGNATED_INITIALIZER;
|
|
1769
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1770
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1771
|
-
@end
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
SWIFT_CLASS_NAMED("TNSWebGLShaderPrecisionFormat")
|
|
1776
|
-
@interface TNSWebGLShaderPrecisionFormat : NSObject
|
|
1777
|
-
@property (nonatomic, readonly) int32_t rangeMin;
|
|
1778
|
-
@property (nonatomic, readonly) int32_t rangeMax;
|
|
1779
|
-
@property (nonatomic, readonly) int32_t precision;
|
|
1780
|
-
- (nonnull instancetype)initWithRangeMin:(int32_t)rangeMin rangeMax:(int32_t)rangeMax precision:(int32_t)precision OBJC_DESIGNATED_INITIALIZER;
|
|
1781
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1782
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1783
|
-
@end
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
SWIFT_CLASS_NAMED("TNS_ANGLE_instanced_arrays")
|
|
1787
|
-
@interface TNS_ANGLE_instanced_arrays : NSObject
|
|
1788
|
-
@property (nonatomic, readonly) int32_t VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE;
|
|
1789
|
-
- (nonnull instancetype)initWithContext:(TNSWebGLRenderingContext * _Nonnull)context OBJC_DESIGNATED_INITIALIZER;
|
|
1790
|
-
- (void)drawArraysInstancedANGLEWithMode:(int32_t)mode first:(int32_t)first count:(int32_t)count primcount:(int32_t)primcount;
|
|
1791
|
-
- (void)drawElementsInstancedANGLEWithMode:(int32_t)mode count:(int32_t)count type:(int32_t)type offset:(int32_t)offset primcount:(int32_t)primcount;
|
|
1792
|
-
- (void)vertexAttribDivisorANGLEWithIndex:(int32_t)index divisor:(int32_t)divisor;
|
|
1793
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1794
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1795
|
-
@end
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
SWIFT_CLASS_NAMED("TNS_EXT_blend_minmax")
|
|
1799
|
-
@interface TNS_EXT_blend_minmax : NSObject
|
|
1800
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1801
|
-
@property (nonatomic, readonly) int32_t MIN_EXT;
|
|
1802
|
-
@property (nonatomic, readonly) int32_t MAX_EXT;
|
|
1803
|
-
@end
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
SWIFT_CLASS_NAMED("TNS_EXT_color_buffer_float")
|
|
1807
|
-
@interface TNS_EXT_color_buffer_float : NSObject
|
|
1808
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1809
|
-
@property (nonatomic, readonly) int32_t R16F;
|
|
1810
|
-
@property (nonatomic, readonly) int32_t RG16F;
|
|
1811
|
-
@property (nonatomic, readonly) int32_t RGB16F;
|
|
1812
|
-
@property (nonatomic, readonly) int32_t R32F;
|
|
1813
|
-
@property (nonatomic, readonly) int32_t RG32F;
|
|
1814
|
-
@property (nonatomic, readonly) int32_t RGBA32F;
|
|
1815
|
-
@property (nonatomic, readonly) int32_t R11F_G11F_B10F;
|
|
1816
|
-
@end
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
SWIFT_CLASS_NAMED("TNS_EXT_color_buffer_half_float")
|
|
1820
|
-
@interface TNS_EXT_color_buffer_half_float : NSObject
|
|
1821
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1822
|
-
@property (nonatomic, readonly) int32_t RGBA16F_EXT;
|
|
1823
|
-
@property (nonatomic, readonly) int32_t RGB16F_EXT;
|
|
1824
|
-
@property (nonatomic, readonly) int32_t FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT;
|
|
1825
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_NORMALIZED_EXT;
|
|
1826
|
-
@end
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
SWIFT_CLASS_NAMED("TNS_EXT_sRGB")
|
|
1830
|
-
@interface TNS_EXT_sRGB : NSObject
|
|
1831
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1832
|
-
@property (nonatomic, readonly) int32_t SRGB_EXT;
|
|
1833
|
-
@property (nonatomic, readonly) int32_t SRGB_ALPHA_EXT;
|
|
1834
|
-
@property (nonatomic, readonly) int32_t SRGB8_ALPHA8_EXT;
|
|
1835
|
-
@property (nonatomic, readonly) int32_t FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT;
|
|
1836
|
-
@end
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
SWIFT_CLASS_NAMED("TNS_EXT_shader_texture_lod")
|
|
1840
|
-
@interface TNS_EXT_shader_texture_lod : NSObject
|
|
1841
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1842
|
-
@end
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
SWIFT_CLASS_NAMED("TNS_EXT_texture_filter_anisotropic")
|
|
1846
|
-
@interface TNS_EXT_texture_filter_anisotropic : NSObject
|
|
1847
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1848
|
-
@property (nonatomic, readonly) int32_t MAX_TEXTURE_MAX_ANISOTROPY_EXT;
|
|
1849
|
-
@property (nonatomic, readonly) int32_t TEXTURE_MAX_ANISOTROPY_EXT;
|
|
1850
|
-
@end
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
SWIFT_CLASS_NAMED("TNS_OES_element_index_uint")
|
|
1854
|
-
@interface TNS_OES_element_index_uint : NSObject
|
|
1855
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1856
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_INT;
|
|
1857
|
-
@end
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
SWIFT_CLASS_NAMED("TNS_OES_fbo_render_mipmap")
|
|
1861
|
-
@interface TNS_OES_fbo_render_mipmap : NSObject
|
|
1862
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1863
|
-
@end
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
SWIFT_CLASS_NAMED("TNS_OES_standard_derivatives")
|
|
1867
|
-
@interface TNS_OES_standard_derivatives : NSObject
|
|
1868
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1869
|
-
@end
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_float")
|
|
1873
|
-
@interface TNS_OES_texture_float : NSObject
|
|
1874
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1875
|
-
@end
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_float_linear")
|
|
1879
|
-
@interface TNS_OES_texture_float_linear : NSObject
|
|
1880
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1881
|
-
@end
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_half_float")
|
|
1885
|
-
@interface TNS_OES_texture_half_float : NSObject
|
|
1886
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1887
|
-
@property (nonatomic, readonly) int32_t HALF_FLOAT_OES;
|
|
1888
|
-
@end
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_half_float_linear")
|
|
1892
|
-
@interface TNS_OES_texture_half_float_linear : NSObject
|
|
1893
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1894
|
-
@end
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
SWIFT_CLASS_NAMED("TNS_OES_vertex_array_object")
|
|
1898
|
-
@interface TNS_OES_vertex_array_object : NSObject
|
|
1899
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1900
|
-
@property (nonatomic, readonly) int32_t VERTEX_ARRAY_BINDING_OES;
|
|
1901
|
-
- (uint32_t)createVertexArrayOES SWIFT_WARN_UNUSED_RESULT;
|
|
1902
|
-
- (void)deleteVertexArrayOESWithArrayObject:(uint32_t)arrayObject;
|
|
1903
|
-
- (BOOL)isVertexArrayOESWithArrayObject:(uint32_t)arrayObject SWIFT_WARN_UNUSED_RESULT;
|
|
1904
|
-
- (void)bindVertexArrayOESWithArrayObject:(uint32_t)arrayObject;
|
|
1905
|
-
@end
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_color_buffer_float")
|
|
1909
|
-
@interface TNS_WEBGL_color_buffer_float : NSObject
|
|
1910
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1911
|
-
@property (nonatomic, readonly) int32_t RGBA32F_EXT;
|
|
1912
|
-
@property (nonatomic, readonly) int32_t RGB32F_EXT;
|
|
1913
|
-
@property (nonatomic, readonly) int32_t FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT;
|
|
1914
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_NORMALIZED_EXT;
|
|
1915
|
-
@end
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_compressed_texture_etc")
|
|
1919
|
-
@interface TNS_WEBGL_compressed_texture_etc : NSObject
|
|
1920
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1921
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_R11_EAC;
|
|
1922
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SIGNED_R11_EAC;
|
|
1923
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RG11_EAC;
|
|
1924
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SIGNED_RG11_EAC;
|
|
1925
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB8_ETC2;
|
|
1926
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGBA8_ETC2_EAC;
|
|
1927
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SRGB8_ETC2;
|
|
1928
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SRGB8_ALPHA8_ETC2_EAC;
|
|
1929
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2;
|
|
1930
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2;
|
|
1931
|
-
@end
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_compressed_texture_etc1")
|
|
1935
|
-
@interface TNS_WEBGL_compressed_texture_etc1 : NSObject
|
|
1936
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1937
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB_ETC1_WEBGL;
|
|
1938
|
-
@end
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_compressed_texture_pvrtc")
|
|
1942
|
-
@interface TNS_WEBGL_compressed_texture_pvrtc : NSObject
|
|
1943
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1944
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB_PVRTC_4BPPV1_IMG;
|
|
1945
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;
|
|
1946
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB_PVRTC_2BPPV1_IMG;
|
|
1947
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGBA_PVRTC_2BPPV1_IMG;
|
|
1948
|
-
@end
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_depth_texture")
|
|
1952
|
-
@interface TNS_WEBGL_depth_texture : NSObject
|
|
1953
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1954
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_INT_24_8_WEBGL;
|
|
1955
|
-
@end
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_draw_buffers")
|
|
1959
|
-
@interface TNS_WEBGL_draw_buffers : NSObject
|
|
1960
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT0_WEBGL;
|
|
1961
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT1_WEBGL;
|
|
1962
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT2_WEBGL;
|
|
1963
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT3_WEBGL;
|
|
1964
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT4_WEBGL;
|
|
1965
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT5_WEBGL;
|
|
1966
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT6_WEBGL;
|
|
1967
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT7_WEBGL;
|
|
1968
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT8_WEBGL;
|
|
1969
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT9_WEBGL;
|
|
1970
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT10_WEBGL;
|
|
1971
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT11_WEBGL;
|
|
1972
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT12_WEBGL;
|
|
1973
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT13_WEBGL;
|
|
1974
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT14_WEBGL;
|
|
1975
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT15_WEBGL;
|
|
1976
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER0_WEBGL;
|
|
1977
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER1_WEBGL;
|
|
1978
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER2_WEBGL;
|
|
1979
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER3_WEBGL;
|
|
1980
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER4_WEBGL;
|
|
1981
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER5_WEBGL;
|
|
1982
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER6_WEBGL;
|
|
1983
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER7_WEBGL;
|
|
1984
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER8_WEBGL;
|
|
1985
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER9_WEBGL;
|
|
1986
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER10_WEBGL;
|
|
1987
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER11_WEBGL;
|
|
1988
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER12_WEBGL;
|
|
1989
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER13_WEBGL;
|
|
1990
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER14_WEBGL;
|
|
1991
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER15_WEBGL;
|
|
1992
|
-
@property (nonatomic, readonly) int32_t MAX_COLOR_ATTACHMENTS_WEBGL;
|
|
1993
|
-
@property (nonatomic, readonly) int32_t MAX_DRAW_BUFFERS_WEBGL;
|
|
1994
|
-
- (void)drawBuffersWEBGLWithBuffers:(NSArray<NSNumber *> * _Nonnull)buffers;
|
|
1995
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1996
|
-
@end
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_lose_context")
|
|
2000
|
-
@interface TNS_WEBGL_lose_context : NSObject
|
|
2001
|
-
- (nonnull instancetype)initWithCanvas:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
2002
|
-
- (void)loseContext;
|
|
2003
|
-
- (void)restoreContext;
|
|
2004
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2005
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2006
|
-
@end
|
|
2007
|
-
|
|
2008
441
|
@class AVPlayer;
|
|
2009
442
|
@class AVPlayerItemVideoOutput;
|
|
2010
443
|
|
|
2011
444
|
SWIFT_CLASS_NAMED("Utils")
|
|
2012
445
|
@interface Utils : NSObject
|
|
2013
|
-
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache
|
|
446
|
+
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache SWIFT_WARN_UNUSED_RESULT;
|
|
2014
447
|
+ (CVOpenGLESTextureRef _Nullable)createImage:(CVOpenGLESTextureCacheRef _Nonnull)texturecache :(CVImageBufferRef _Nonnull)buffer :(CFDictionaryRef _Nullable)textureAttributes :(GLenum)target :(GLint)internalFormat :(GLsizei)width :(GLsizei)height :(GLenum)format :(GLenum)type :(NSInteger)planeIndex SWIFT_WARN_UNUSED_RESULT;
|
|
2015
448
|
+ (TNSRender * _Nonnull)setupRender SWIFT_WARN_UNUSED_RESULT;
|
|
2016
449
|
+ (void)drawFrame:(AVPlayer * _Nonnull)player :(AVPlayerItemVideoOutput * _Nonnull)output :(CGSize)videoSize :(TNSRender * _Nonnull)render :(int32_t)internalFormat :(int32_t)format :(BOOL)flipYWebGL;
|
|
2017
450
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2018
451
|
@end
|
|
2019
452
|
|
|
453
|
+
#endif
|
|
454
|
+
#if defined(__cplusplus)
|
|
455
|
+
#endif
|
|
2020
456
|
#if __has_attribute(external_source_symbol)
|
|
2021
457
|
# pragma clang attribute pop
|
|
2022
458
|
#endif
|
|
@@ -2024,7 +460,7 @@ SWIFT_CLASS_NAMED("Utils")
|
|
|
2024
460
|
#endif
|
|
2025
461
|
|
|
2026
462
|
#elif defined(__x86_64__) && __x86_64__
|
|
2027
|
-
// Generated by Apple Swift version 5.
|
|
463
|
+
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
|
|
2028
464
|
#ifndef CANVASNATIVE_SWIFT_H
|
|
2029
465
|
#define CANVASNATIVE_SWIFT_H
|
|
2030
466
|
#pragma clang diagnostic push
|
|
@@ -2048,10 +484,32 @@ SWIFT_CLASS_NAMED("Utils")
|
|
|
2048
484
|
#endif
|
|
2049
485
|
|
|
2050
486
|
#pragma clang diagnostic ignored "-Wauto-import"
|
|
487
|
+
#if defined(__OBJC__)
|
|
2051
488
|
#include <Foundation/Foundation.h>
|
|
489
|
+
#endif
|
|
490
|
+
#if defined(__cplusplus)
|
|
491
|
+
#include <cstdint>
|
|
492
|
+
#include <cstddef>
|
|
493
|
+
#include <cstdbool>
|
|
494
|
+
#include <cstring>
|
|
495
|
+
#include <stdlib.h>
|
|
496
|
+
#include <new>
|
|
497
|
+
#include <type_traits>
|
|
498
|
+
#else
|
|
2052
499
|
#include <stdint.h>
|
|
2053
500
|
#include <stddef.h>
|
|
2054
501
|
#include <stdbool.h>
|
|
502
|
+
#include <string.h>
|
|
503
|
+
#endif
|
|
504
|
+
#if defined(__cplusplus)
|
|
505
|
+
#if __has_include(<ptrauth.h>)
|
|
506
|
+
# include <ptrauth.h>
|
|
507
|
+
#else
|
|
508
|
+
# ifndef __ptrauth_swift_value_witness_function_pointer
|
|
509
|
+
# define __ptrauth_swift_value_witness_function_pointer(x)
|
|
510
|
+
# endif
|
|
511
|
+
#endif
|
|
512
|
+
#endif
|
|
2055
513
|
|
|
2056
514
|
#if !defined(SWIFT_TYPEDEFS)
|
|
2057
515
|
# define SWIFT_TYPEDEFS 1
|
|
@@ -2086,53 +544,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
2086
544
|
# if __has_feature(objc_class_property)
|
|
2087
545
|
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
2088
546
|
# else
|
|
2089
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
547
|
+
# define SWIFT_CLASS_PROPERTY(...)
|
|
2090
548
|
# endif
|
|
2091
549
|
#endif
|
|
2092
|
-
|
|
2093
|
-
#if __has_attribute(objc_runtime_name)
|
|
2094
|
-
#
|
|
2095
|
-
#else
|
|
2096
|
-
#
|
|
550
|
+
#if !defined(SWIFT_RUNTIME_NAME)
|
|
551
|
+
# if __has_attribute(objc_runtime_name)
|
|
552
|
+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
553
|
+
# else
|
|
554
|
+
# define SWIFT_RUNTIME_NAME(X)
|
|
555
|
+
# endif
|
|
2097
556
|
#endif
|
|
2098
|
-
#if
|
|
2099
|
-
#
|
|
2100
|
-
#
|
|
2101
|
-
#
|
|
557
|
+
#if !defined(SWIFT_COMPILE_NAME)
|
|
558
|
+
# if __has_attribute(swift_name)
|
|
559
|
+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
560
|
+
# else
|
|
561
|
+
# define SWIFT_COMPILE_NAME(X)
|
|
562
|
+
# endif
|
|
2102
563
|
#endif
|
|
2103
|
-
#if
|
|
2104
|
-
#
|
|
2105
|
-
#
|
|
2106
|
-
#
|
|
564
|
+
#if !defined(SWIFT_METHOD_FAMILY)
|
|
565
|
+
# if __has_attribute(objc_method_family)
|
|
566
|
+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
567
|
+
# else
|
|
568
|
+
# define SWIFT_METHOD_FAMILY(X)
|
|
569
|
+
# endif
|
|
2107
570
|
#endif
|
|
2108
|
-
#if
|
|
2109
|
-
#
|
|
2110
|
-
#
|
|
2111
|
-
#
|
|
571
|
+
#if !defined(SWIFT_NOESCAPE)
|
|
572
|
+
# if __has_attribute(noescape)
|
|
573
|
+
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
574
|
+
# else
|
|
575
|
+
# define SWIFT_NOESCAPE
|
|
576
|
+
# endif
|
|
2112
577
|
#endif
|
|
2113
|
-
#if
|
|
2114
|
-
#
|
|
2115
|
-
#
|
|
2116
|
-
#
|
|
578
|
+
#if !defined(SWIFT_RELEASES_ARGUMENT)
|
|
579
|
+
# if __has_attribute(ns_consumed)
|
|
580
|
+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
581
|
+
# else
|
|
582
|
+
# define SWIFT_RELEASES_ARGUMENT
|
|
583
|
+
# endif
|
|
2117
584
|
#endif
|
|
2118
|
-
#if
|
|
2119
|
-
#
|
|
2120
|
-
#
|
|
2121
|
-
#
|
|
585
|
+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
|
|
586
|
+
# if __has_attribute(warn_unused_result)
|
|
587
|
+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
588
|
+
# else
|
|
589
|
+
# define SWIFT_WARN_UNUSED_RESULT
|
|
590
|
+
# endif
|
|
2122
591
|
#endif
|
|
2123
|
-
#if
|
|
2124
|
-
#
|
|
2125
|
-
#
|
|
2126
|
-
#
|
|
592
|
+
#if !defined(SWIFT_NORETURN)
|
|
593
|
+
# if __has_attribute(noreturn)
|
|
594
|
+
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
595
|
+
# else
|
|
596
|
+
# define SWIFT_NORETURN
|
|
597
|
+
# endif
|
|
2127
598
|
#endif
|
|
2128
599
|
#if !defined(SWIFT_CLASS_EXTRA)
|
|
2129
|
-
# define SWIFT_CLASS_EXTRA
|
|
600
|
+
# define SWIFT_CLASS_EXTRA
|
|
2130
601
|
#endif
|
|
2131
602
|
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
2132
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
603
|
+
# define SWIFT_PROTOCOL_EXTRA
|
|
2133
604
|
#endif
|
|
2134
605
|
#if !defined(SWIFT_ENUM_EXTRA)
|
|
2135
|
-
# define SWIFT_ENUM_EXTRA
|
|
606
|
+
# define SWIFT_ENUM_EXTRA
|
|
2136
607
|
#endif
|
|
2137
608
|
#if !defined(SWIFT_CLASS)
|
|
2138
609
|
# if __has_attribute(objc_subclassing_restricted)
|
|
@@ -2152,28 +623,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
2152
623
|
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
2153
624
|
# endif
|
|
2154
625
|
#endif
|
|
2155
|
-
|
|
2156
626
|
#if !defined(SWIFT_PROTOCOL)
|
|
2157
627
|
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
2158
628
|
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
2159
629
|
#endif
|
|
2160
|
-
|
|
2161
630
|
#if !defined(SWIFT_EXTENSION)
|
|
2162
631
|
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
2163
632
|
#endif
|
|
2164
|
-
|
|
2165
633
|
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
2166
634
|
# if __has_attribute(objc_designated_initializer)
|
|
2167
635
|
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
2168
636
|
# else
|
|
2169
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
637
|
+
# define OBJC_DESIGNATED_INITIALIZER
|
|
2170
638
|
# endif
|
|
2171
639
|
#endif
|
|
2172
640
|
#if !defined(SWIFT_ENUM_ATTR)
|
|
2173
|
-
# if
|
|
641
|
+
# if __has_attribute(enum_extensibility)
|
|
2174
642
|
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
2175
643
|
# else
|
|
2176
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
644
|
+
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
2177
645
|
# endif
|
|
2178
646
|
#endif
|
|
2179
647
|
#if !defined(SWIFT_ENUM)
|
|
@@ -2202,20 +670,57 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
2202
670
|
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
2203
671
|
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
2204
672
|
#endif
|
|
2205
|
-
#if
|
|
2206
|
-
#
|
|
2207
|
-
#
|
|
2208
|
-
#
|
|
673
|
+
#if !defined(SWIFT_DEPRECATED_OBJC)
|
|
674
|
+
# if __has_feature(attribute_diagnose_if_objc)
|
|
675
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
676
|
+
# else
|
|
677
|
+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
678
|
+
# endif
|
|
2209
679
|
#endif
|
|
680
|
+
#if defined(__OBJC__)
|
|
2210
681
|
#if !defined(IBSegueAction)
|
|
2211
|
-
# define IBSegueAction
|
|
682
|
+
# define IBSegueAction
|
|
683
|
+
#endif
|
|
684
|
+
#endif
|
|
685
|
+
#if !defined(SWIFT_EXTERN)
|
|
686
|
+
# if defined(__cplusplus)
|
|
687
|
+
# define SWIFT_EXTERN extern "C"
|
|
688
|
+
# else
|
|
689
|
+
# define SWIFT_EXTERN extern
|
|
690
|
+
# endif
|
|
691
|
+
#endif
|
|
692
|
+
#if !defined(SWIFT_CALL)
|
|
693
|
+
# define SWIFT_CALL __attribute__((swiftcall))
|
|
694
|
+
#endif
|
|
695
|
+
#if !defined(SWIFT_INDIRECT_RESULT)
|
|
696
|
+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
|
|
697
|
+
#endif
|
|
698
|
+
#if !defined(SWIFT_CONTEXT)
|
|
699
|
+
# define SWIFT_CONTEXT __attribute__((swift_context))
|
|
700
|
+
#endif
|
|
701
|
+
#if !defined(SWIFT_ERROR_RESULT)
|
|
702
|
+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
|
|
703
|
+
#endif
|
|
704
|
+
#if defined(__cplusplus)
|
|
705
|
+
# define SWIFT_NOEXCEPT noexcept
|
|
706
|
+
#else
|
|
707
|
+
# define SWIFT_NOEXCEPT
|
|
708
|
+
#endif
|
|
709
|
+
#if defined(_WIN32)
|
|
710
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
711
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
|
|
712
|
+
#endif
|
|
713
|
+
#else
|
|
714
|
+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
|
|
715
|
+
# define SWIFT_IMPORT_STDLIB_SYMBOL
|
|
2212
716
|
#endif
|
|
2213
|
-
#
|
|
717
|
+
#endif
|
|
718
|
+
#if defined(__OBJC__)
|
|
719
|
+
#if __has_feature(objc_modules)
|
|
2214
720
|
#if __has_warning("-Watimport-in-framework-header")
|
|
2215
721
|
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
2216
722
|
#endif
|
|
2217
723
|
@import CoreFoundation;
|
|
2218
|
-
@import CoreGraphics;
|
|
2219
724
|
@import CoreVideo;
|
|
2220
725
|
@import Dispatch;
|
|
2221
726
|
@import Foundation;
|
|
@@ -2225,6 +730,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
2225
730
|
@import UIKit;
|
|
2226
731
|
#endif
|
|
2227
732
|
|
|
733
|
+
#endif
|
|
2228
734
|
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
2229
735
|
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
2230
736
|
#if __has_warning("-Wpragma-clang-attribute")
|
|
@@ -2232,6 +738,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
2232
738
|
#endif
|
|
2233
739
|
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
2234
740
|
#pragma clang diagnostic ignored "-Wnullability"
|
|
741
|
+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
|
|
2235
742
|
|
|
2236
743
|
#if __has_attribute(external_source_symbol)
|
|
2237
744
|
# pragma push_macro("any")
|
|
@@ -2240,7 +747,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
2240
747
|
# pragma pop_macro("any")
|
|
2241
748
|
#endif
|
|
2242
749
|
|
|
2243
|
-
|
|
750
|
+
#if defined(__OBJC__)
|
|
2244
751
|
@class NSCoder;
|
|
2245
752
|
|
|
2246
753
|
SWIFT_CLASS_NAMED("CanvasCPUView")
|
|
@@ -2252,12 +759,6 @@ SWIFT_CLASS_NAMED("CanvasCPUView")
|
|
|
2252
759
|
- (void)drawRect:(CGRect)rect;
|
|
2253
760
|
@end
|
|
2254
761
|
|
|
2255
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, CanvasColorStyleType, "CanvasColorStyleType", open) {
|
|
2256
|
-
CanvasColorStyleTypeColor = 0,
|
|
2257
|
-
CanvasColorStyleTypeGradient = 1,
|
|
2258
|
-
CanvasColorStyleTypePattern = 2,
|
|
2259
|
-
};
|
|
2260
|
-
|
|
2261
762
|
@class EAGLContext;
|
|
2262
763
|
|
|
2263
764
|
SWIFT_CLASS_NAMED("CanvasGLKView")
|
|
@@ -2270,495 +771,123 @@ SWIFT_CLASS_NAMED("CanvasGLKView")
|
|
|
2270
771
|
- (nonnull instancetype)initWithFrame:(CGRect)frame context:(EAGLContext * _Nonnull)context SWIFT_UNAVAILABLE;
|
|
2271
772
|
@end
|
|
2272
773
|
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
@interface GLRenderer : NSObject <GLKViewDelegate>
|
|
2276
|
-
- (void)glkView:(GLKView * _Nonnull)view drawInRect:(CGRect)rect;
|
|
2277
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2278
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2279
|
-
@end
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
SWIFT_PROTOCOL("_TtP12CanvasNative17ICanvasColorStyle_")
|
|
2283
|
-
@protocol ICanvasColorStyle
|
|
2284
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
2285
|
-
@end
|
|
2286
|
-
|
|
774
|
+
@class UIImage;
|
|
775
|
+
@class NSMutableData;
|
|
2287
776
|
@class NSString;
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
+ (
|
|
2304
|
-
|
|
777
|
+
@class NSData;
|
|
778
|
+
@class NSError;
|
|
779
|
+
|
|
780
|
+
SWIFT_CLASS_NAMED("CanvasHelpers")
|
|
781
|
+
@interface NSSCanvasHelpers : NSObject
|
|
782
|
+
+ (NSMutableData * _Nonnull)getBytesFromUIImage:(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
783
|
+
+ (int64_t)createPattern:(int64_t)context :(UIImage * _Nonnull)image :(NSString * _Nonnull)repetition SWIFT_WARN_UNUSED_RESULT;
|
|
784
|
+
+ (BOOL)loadImageAssetWithContext:(int64_t)asset :(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
785
|
+
+ (void)drawImageWithContext:(int64_t)context image:(UIImage * _Nonnull)image dx:(float)dx dy:(float)dy;
|
|
786
|
+
+ (void)drawImageWithContext:(int64_t)context image:(UIImage * _Nonnull)image dx:(float)dx dy:(float)dy dw:(float)dw dh:(float)dh;
|
|
787
|
+
+ (void)drawImageWithContext:(int64_t)context image:(UIImage * _Nonnull)image sx:(float)sx sy:(float)sy sw:(float)sw sh:(float)sh dx:(float)dx dy:(float)dy dw:(float)dw dh:(float)dh;
|
|
788
|
+
+ (int64_t)initGLWithView:(int64_t)view :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
789
|
+
+ (int64_t)initSharedGLWithView:(int64_t)view :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas :(int64_t)shared_context SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
790
|
+
+ (int64_t)initGLWithWidthAndHeight:(int32_t)width :(int32_t)height :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
791
|
+
+ (int64_t)initSharedGLWidthAndHeight:(int32_t)width :(int32_t)height :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)fail_if_major_performance_caveat :(NSString * _Nonnull)power_preference :(BOOL)premultiplied_alpha :(BOOL)preserve_drawing_buffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xr_compatible :(int32_t)version :(BOOL)is_canvas :(int64_t)shared_context SWIFT_METHOD_FAMILY(none) SWIFT_WARN_UNUSED_RESULT;
|
|
792
|
+
+ (void)resize2DContext:(int64_t)context :(float)width :(float)height;
|
|
793
|
+
+ (void)flush2DContext:(int64_t)context;
|
|
794
|
+
+ (BOOL)flushGL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
795
|
+
+ (void)releaseGL:(int64_t)context;
|
|
796
|
+
+ (int64_t)getGLPointer:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
797
|
+
+ (void)releaseGLPointer:(int64_t)context;
|
|
798
|
+
+ (int64_t)create2DContext:(int64_t)context :(int32_t)width :(int32_t)height :(BOOL)alpha :(float)density :(int32_t)samples :(int32_t)font_color :(float)ppi :(int32_t)direction SWIFT_WARN_UNUSED_RESULT;
|
|
799
|
+
+ (void)updateGLSurfaceWithView:(int64_t)view :(int32_t)width :(int32_t)height :(int64_t)context;
|
|
800
|
+
+ (void)test2D:(int64_t)context;
|
|
801
|
+
+ (NSString * _Nonnull)testToDataURL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
802
|
+
+ (void)writeFile:(NSData * _Nonnull)data :(NSString * _Nonnull)path :(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable))callback;
|
|
803
|
+
+ (void)readFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSString * _Nullable, NSData * _Nullable))callback;
|
|
804
|
+
+ (void)deleteFile:(NSString * _Nonnull)path :(void (^ _Nonnull)(NSError * _Nullable, BOOL))callback;
|
|
805
|
+
+ (void)handleBase64Image:(NSString * _Nonnull)mime :(NSString * _Nonnull)dir :(NSString * _Nonnull)base64 :(void (^ _Nonnull)(NSString * _Nullable, NSString * _Nullable))callback;
|
|
806
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
807
|
+
@end
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
@interface GLKView (SWIFT_EXTENSION(CanvasNative))
|
|
811
|
+
- (void)snapshotWithData:(NSData * _Nonnull)data;
|
|
812
|
+
@end
|
|
813
|
+
|
|
814
|
+
@class NSMutableDictionary;
|
|
815
|
+
@protocol NSCCanvasListener;
|
|
816
|
+
|
|
817
|
+
SWIFT_CLASS_NAMED("NSCCanvas")
|
|
818
|
+
@interface NSCCanvas : UIView <GLKViewDelegate>
|
|
819
|
+
- (void)glkView:(GLKView * _Nonnull)view drawInRect:(CGRect)rect;
|
|
820
|
+
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) NSMutableDictionary * _Nonnull store;)
|
|
821
|
+
+ (NSMutableDictionary * _Nonnull)store SWIFT_WARN_UNUSED_RESULT;
|
|
822
|
+
+ (NSMapTable<NSString *, NSCCanvas *> * _Nonnull)getViews SWIFT_WARN_UNUSED_RESULT;
|
|
823
|
+
- (void * _Nonnull)getViewPtr SWIFT_WARN_UNUSED_RESULT;
|
|
2305
824
|
@property (nonatomic) BOOL ignorePixelScaling;
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
@property (nonatomic)
|
|
2309
|
-
|
|
2310
|
-
- (NSString * _Nonnull)toDataURL SWIFT_WARN_UNUSED_RESULT;
|
|
2311
|
-
- (NSString * _Nonnull)toDataURL:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
2312
|
-
- (NSString * _Nonnull)toDataURL:(NSString * _Nonnull)type :(float)format SWIFT_WARN_UNUSED_RESULT;
|
|
2313
|
-
- (void)toDataURLAsync:(void (^ _Nonnull)(NSString * _Nonnull))callback;
|
|
2314
|
-
- (void)toDataURLAsync:(NSString * _Nonnull)type :(void (^ _Nonnull)(NSString * _Nonnull))callback;
|
|
2315
|
-
- (void)toDataURLAsync:(NSString * _Nonnull)type :(float)format :(void (^ _Nonnull)(NSString * _Nonnull))callback;
|
|
2316
|
-
- (NSArray<NSNumber *> * _Nonnull)snapshot SWIFT_WARN_UNUSED_RESULT;
|
|
2317
|
-
@property (nonatomic, readonly) BOOL isGL;
|
|
2318
|
-
- (GLint)getId SWIFT_WARN_UNUSED_RESULT;
|
|
825
|
+
@property (nonatomic, readonly) int64_t nativeGL;
|
|
826
|
+
@property (nonatomic, readonly) int64_t nativeContext;
|
|
827
|
+
@property (nonatomic, readonly) NSInteger drawingBufferWidth;
|
|
828
|
+
@property (nonatomic, readonly) NSInteger drawingBufferHeight;
|
|
2319
829
|
@property (nonatomic, readonly) float width;
|
|
2320
830
|
@property (nonatomic, readonly) float height;
|
|
2321
|
-
- (void)
|
|
2322
|
-
|
|
2323
|
-
- (void)
|
|
2324
|
-
- (
|
|
831
|
+
- (void)initContext:(NSString * _Nonnull)type :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible SWIFT_METHOD_FAMILY(none);
|
|
832
|
+
- (int64_t)create2DContext:(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible :(int32_t)fontColor SWIFT_WARN_UNUSED_RESULT;
|
|
833
|
+
- (void)forceLayout:(CGFloat)width :(CGFloat)height;
|
|
834
|
+
- (UIImage * _Nullable)snapshot:(BOOL)flip SWIFT_WARN_UNUSED_RESULT;
|
|
835
|
+
- (BOOL)render;
|
|
836
|
+
- (void)context2DTest:(int64_t)context;
|
|
837
|
+
- (NSString * _Nonnull)context2DTestToDataURL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
2325
838
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
2326
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame
|
|
2327
|
-
- (void)setListener:(id <
|
|
2328
|
-
@property (nonatomic, readonly) float fps;
|
|
839
|
+
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
|
|
840
|
+
- (void)setListener:(id <NSCCanvasListener> _Nullable)listener;
|
|
2329
841
|
- (void)layoutSubviews;
|
|
2330
|
-
- (void)resume;
|
|
2331
|
-
- (void)pause;
|
|
2332
|
-
- (void)moveToMain;
|
|
2333
|
-
- (void)moveOffMain;
|
|
2334
|
-
- (void)handleMoveOffMain;
|
|
2335
|
-
- (void)handleMoveToMain;
|
|
2336
|
-
- (TNSCanvasRenderingContext * _Nullable)getContext:(NSString * _Nonnull)type SWIFT_WARN_UNUSED_RESULT;
|
|
2337
|
-
- (TNSCanvasRenderingContext * _Nullable)getContext:(NSString * _Nonnull)type contextAttributes:(NSDictionary * _Nonnull)contextAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
2338
|
-
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
|
|
2339
842
|
@end
|
|
2340
843
|
|
|
2341
|
-
@class NSData;
|
|
2342
|
-
@class NSURL;
|
|
2343
|
-
|
|
2344
|
-
SWIFT_CLASS_NAMED("TNSCanvasData")
|
|
2345
|
-
@interface TNSCanvasData : NSMutableData
|
|
2346
|
-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
2347
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2348
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2349
|
-
- (nullable instancetype)initWithContentsOfMappedFile:(NSString * _Nonnull)path SWIFT_UNAVAILABLE;
|
|
2350
|
-
- (nullable instancetype)initWithBase64EncodedString:(NSString * _Nonnull)base64String options:(NSDataBase64DecodingOptions)options SWIFT_UNAVAILABLE;
|
|
2351
|
-
- (nullable instancetype)initWithBase64EncodedData:(NSData * _Nonnull)base64Data options:(NSDataBase64DecodingOptions)options SWIFT_UNAVAILABLE;
|
|
2352
|
-
- (nonnull instancetype)initWithBytes:(void const * _Nullable)bytes length:(NSUInteger)length SWIFT_UNAVAILABLE;
|
|
2353
|
-
- (nonnull instancetype)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length SWIFT_UNAVAILABLE;
|
|
2354
|
-
- (nonnull instancetype)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b SWIFT_UNAVAILABLE;
|
|
2355
|
-
- (nonnull instancetype)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length deallocator:(void (^ _Nullable)(void * _Nonnull, NSInteger))deallocator SWIFT_UNAVAILABLE;
|
|
2356
|
-
- (nullable instancetype)initWithContentsOfFile:(NSString * _Nonnull)path options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE;
|
|
2357
|
-
- (nullable instancetype)initWithContentsOfURL:(NSURL * _Nonnull)url options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE;
|
|
2358
|
-
- (nullable instancetype)initWithContentsOfFile:(NSString * _Nonnull)path SWIFT_UNAVAILABLE;
|
|
2359
|
-
- (nullable instancetype)initWithContentsOfURL:(NSURL * _Nonnull)url SWIFT_UNAVAILABLE;
|
|
2360
|
-
- (nonnull instancetype)initWithData:(NSData * _Nonnull)data SWIFT_UNAVAILABLE;
|
|
2361
|
-
- (nullable instancetype)initWithCapacity:(NSUInteger)capacity SWIFT_UNAVAILABLE;
|
|
2362
|
-
- (nullable instancetype)initWithLength:(NSUInteger)length SWIFT_UNAVAILABLE;
|
|
2363
|
-
@end
|
|
2364
844
|
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
@protocol TNSCanvasListener
|
|
845
|
+
SWIFT_PROTOCOL_NAMED("NSCCanvasListener")
|
|
846
|
+
@protocol NSCCanvasListener
|
|
2368
847
|
- (void)contextReady;
|
|
2369
848
|
@end
|
|
2370
849
|
|
|
2371
850
|
|
|
2372
|
-
SWIFT_CLASS_NAMED("
|
|
2373
|
-
@interface
|
|
851
|
+
SWIFT_CLASS_NAMED("NSCCanvasRenderingContext")
|
|
852
|
+
@interface NSCCanvasRenderingContext : NSObject
|
|
2374
853
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2375
854
|
@end
|
|
2376
855
|
|
|
2377
|
-
enum TNSCompositeOperationType : NSInteger;
|
|
2378
|
-
enum TNSImageSmoothingQuality : uint32_t;
|
|
2379
|
-
enum TNSLineCap : NSInteger;
|
|
2380
|
-
enum TNSLineJoin : NSInteger;
|
|
2381
|
-
enum TNSTextAlignment : NSInteger;
|
|
2382
|
-
enum TNSTextBaseLine : NSInteger;
|
|
2383
|
-
@class TNSPath2D;
|
|
2384
|
-
enum TNSFillRule : NSInteger;
|
|
2385
|
-
@class TNSLinearGradient;
|
|
2386
|
-
@class TNSRadialGradient;
|
|
2387
|
-
enum TNSPatternRepetition : NSInteger;
|
|
2388
|
-
@class TNSImageData;
|
|
2389
|
-
@class TNSTextMetrics;
|
|
2390
|
-
|
|
2391
|
-
SWIFT_CLASS_NAMED("TNSCanvasRenderingContext2D")
|
|
2392
|
-
@interface TNSCanvasRenderingContext2D : TNSCanvasRenderingContext
|
|
2393
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
2394
|
-
@property (nonatomic, copy) NSString * _Nonnull font;
|
|
2395
|
-
@property (nonatomic, copy) NSString * _Nonnull filter;
|
|
2396
|
-
@property (nonatomic) float globalAlpha;
|
|
2397
|
-
@property (nonatomic) enum TNSCompositeOperationType globalCompositeOperation;
|
|
2398
|
-
@property (nonatomic) BOOL imageSmoothingEnabled;
|
|
2399
|
-
@property (nonatomic) enum TNSImageSmoothingQuality imageSmoothingQuality;
|
|
2400
|
-
@property (nonatomic) enum TNSLineCap lineCap;
|
|
2401
|
-
@property (nonatomic) float lineDashOffset;
|
|
2402
|
-
@property (nonatomic) float lineWidth;
|
|
2403
|
-
@property (nonatomic) enum TNSLineJoin lineJoin;
|
|
2404
|
-
@property (nonatomic) float miterLimit;
|
|
2405
|
-
@property (nonatomic) float shadowBlur;
|
|
2406
|
-
@property (nonatomic, copy) NSString * _Nonnull shadowColor;
|
|
2407
|
-
@property (nonatomic) float shadowOffsetX;
|
|
2408
|
-
@property (nonatomic) float shadowOffsetY;
|
|
2409
|
-
@property (nonatomic) enum TNSTextAlignment textAlign;
|
|
2410
|
-
@property (nonatomic) enum TNSTextBaseLine textBaseline;
|
|
2411
|
-
- (void)setFillStyleWithString:(NSString * _Nonnull)style;
|
|
2412
|
-
@property (nonatomic, strong) id <ICanvasColorStyle> _Nonnull fillStyle;
|
|
2413
|
-
- (void)setStrokeStyleWithString:(NSString * _Nonnull)style;
|
|
2414
|
-
@property (nonatomic, strong) id <ICanvasColorStyle> _Nonnull strokeStyle;
|
|
2415
|
-
- (void)fillRect:(float)x :(float)y :(float)width :(float)height;
|
|
2416
|
-
- (void)strokeRect:(float)x :(float)y :(float)width :(float)height;
|
|
2417
|
-
- (void)fillText:(NSString * _Nonnull)text :(float)x :(float)y;
|
|
2418
|
-
- (void)fillText:(NSString * _Nonnull)text :(float)x :(float)y :(float)width;
|
|
2419
|
-
- (void)strokeText:(NSString * _Nonnull)text :(float)x :(float)y;
|
|
2420
|
-
- (void)strokeText:(NSString * _Nonnull)text :(float)x :(float)y :(float)width;
|
|
2421
|
-
- (void)rect:(float)x :(float)y :(float)width :(float)height;
|
|
2422
|
-
- (void)fill;
|
|
2423
|
-
- (void)fillWithValue:(id _Nonnull)value;
|
|
2424
|
-
- (void)fill:(TNSPath2D * _Nonnull)path :(enum TNSFillRule)rule;
|
|
2425
|
-
- (void)stroke;
|
|
2426
|
-
- (void)stroke:(TNSPath2D * _Nullable)path;
|
|
2427
|
-
- (void)beginPath;
|
|
2428
|
-
- (void)moveTo:(float)x :(float)y;
|
|
2429
|
-
- (void)lineTo:(float)x :(float)y;
|
|
2430
|
-
- (void)closePath;
|
|
2431
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle;
|
|
2432
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
2433
|
-
- (void)arcTo:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)radius;
|
|
2434
|
-
- (void)bezierCurveTo:(float)cp1x :(float)cp1y :(float)cp2x :(float)cp2y :(float)x :(float)y;
|
|
2435
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle;
|
|
2436
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
2437
|
-
- (void)clip;
|
|
2438
|
-
- (void)clip:(id _Nonnull)value;
|
|
2439
|
-
- (void)clip:(TNSPath2D * _Nonnull)path :(enum TNSFillRule)rule;
|
|
2440
|
-
- (void)clearRect:(float)x :(float)y :(float)width :(float)height;
|
|
2441
|
-
- (void)setLineDash:(NSArray<NSNumber *> * _Nonnull)segments;
|
|
2442
|
-
- (TNSCanvas * _Nonnull)getCanvas SWIFT_WARN_UNUSED_RESULT;
|
|
2443
|
-
- (TNSLinearGradient * _Nonnull)createLinearGradient:(float)x0 :(float)y0 :(float)x1 :(float)y1 SWIFT_WARN_UNUSED_RESULT;
|
|
2444
|
-
- (TNSRadialGradient * _Nonnull)createRadialGradient:(float)x0 :(float)y0 :(float)r0 :(float)x1 :(float)y1 :(float)r1 SWIFT_WARN_UNUSED_RESULT;
|
|
2445
|
-
- (id _Nullable)createPattern:(id _Nonnull)value :(enum TNSPatternRepetition)repetition SWIFT_WARN_UNUSED_RESULT;
|
|
2446
|
-
- (void)setTransform:(float)a :(float)b :(float)c :(float)d :(float)e :(float)f;
|
|
2447
|
-
- (void)scale:(float)x :(float)y;
|
|
2448
|
-
- (void)rotate:(float)angle;
|
|
2449
|
-
- (void)translate:(float)x :(float)y;
|
|
2450
|
-
- (void)quadraticCurveTo:(float)cpx :(float)cpy :(float)x :(float)y;
|
|
2451
|
-
- (void)drawImage:(id _Nonnull)image :(float)dx :(float)dy;
|
|
2452
|
-
- (void)drawImage:(id _Nonnull)image :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
2453
|
-
- (void)drawImage:(id _Nonnull)image :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
2454
|
-
- (TNSImageData * _Nonnull)createImageData:(int32_t)width :(int32_t)height SWIFT_WARN_UNUSED_RESULT;
|
|
2455
|
-
- (TNSImageData * _Nonnull)createImageData:(TNSImageData * _Nonnull)imageData SWIFT_WARN_UNUSED_RESULT;
|
|
2456
|
-
- (TNSImageData * _Nonnull)getImageData:(float)sx :(float)sy :(float)sw :(float)sh SWIFT_WARN_UNUSED_RESULT;
|
|
2457
|
-
- (void)putImageData:(TNSImageData * _Nonnull)imageData :(float)dx :(float)dy;
|
|
2458
|
-
- (void)putImageData:(TNSImageData * _Nonnull)imageData :(float)dx :(float)dy :(float)dirtyX :(float)dirtyY :(float)dirtyWidth :(float)dirtyHeight;
|
|
2459
|
-
- (NSArray<NSNumber *> * _Nonnull)getLineDash SWIFT_WARN_UNUSED_RESULT;
|
|
2460
|
-
- (void)save;
|
|
2461
|
-
- (void)restore;
|
|
2462
|
-
- (TNSTextMetrics * _Nonnull)measureText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
|
|
2463
|
-
- (void)resetTransform;
|
|
2464
|
-
- (void)transform:(float)a :(float)b :(float)c :(float)d :(float)e :(float)f;
|
|
2465
|
-
- (BOOL)isPointInPath:(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
|
|
2466
|
-
- (BOOL)isPointInPath:(float)x :(float)y :(enum TNSFillRule)fillRule SWIFT_WARN_UNUSED_RESULT;
|
|
2467
|
-
- (BOOL)isPointInPath:(TNSPath2D * _Nonnull)path :(float)x :(float)y :(enum TNSFillRule)fillRule SWIFT_WARN_UNUSED_RESULT;
|
|
2468
|
-
- (BOOL)isPointInStroke:(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
|
|
2469
|
-
- (BOOL)isPointInStroke:(TNSPath2D * _Nonnull)path :(float)x :(float)y SWIFT_WARN_UNUSED_RESULT;
|
|
2470
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2471
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2472
|
-
@end
|
|
2473
|
-
|
|
2474
856
|
|
|
2475
|
-
SWIFT_CLASS_NAMED("
|
|
2476
|
-
@interface
|
|
857
|
+
SWIFT_CLASS_NAMED("NSCCanvasRenderingContext2D")
|
|
858
|
+
@interface NSCCanvasRenderingContext2D : NSCCanvasRenderingContext
|
|
859
|
+
+ (int64_t)createPattern:(int64_t)context :(UIImage * _Nonnull)src :(NSString * _Nonnull)repetition SWIFT_WARN_UNUSED_RESULT;
|
|
860
|
+
+ (void)drawImage:(int64_t)context :(UIImage * _Nonnull)image :(float)dx :(float)dy;
|
|
861
|
+
+ (void)drawImage:(int64_t)context :(UIImage * _Nonnull)image :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
862
|
+
+ (void)drawImage:(int64_t)context :(UIImage * _Nonnull)image :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(float)dx :(float)dy :(float)dWidth :(float)dHeight;
|
|
2477
863
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2478
864
|
@end
|
|
2479
865
|
|
|
2480
866
|
|
|
2481
|
-
SWIFT_CLASS_NAMED("
|
|
2482
|
-
@interface
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
2486
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2487
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2488
|
-
@end
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
SWIFT_CLASS_NAMED("TNSGradient")
|
|
2492
|
-
@interface TNSGradient : NSObject <ICanvasColorStyle>
|
|
2493
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
2494
|
-
- (void)addColorStop:(float)offset :(NSString * _Nonnull)color;
|
|
2495
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2496
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2497
|
-
@end
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
SWIFT_CLASS_NAMED("TNSLinearGradient")
|
|
2501
|
-
@interface TNSLinearGradient : TNSGradient
|
|
2502
|
-
@end
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
SWIFT_CLASS_NAMED("TNSRadialGradient")
|
|
2506
|
-
@interface TNSRadialGradient : TNSGradient
|
|
2507
|
-
@end
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
SWIFT_CLASS_NAMED("TNSPattern")
|
|
2511
|
-
@interface TNSPattern : NSObject <ICanvasColorStyle>
|
|
2512
|
-
- (void)setTransformWithMatrix:(TNSDOMMatrix * _Nonnull)matrix;
|
|
2513
|
-
- (enum CanvasColorStyleType)getStyleType SWIFT_WARN_UNUSED_RESULT;
|
|
2514
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2515
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2516
|
-
@end
|
|
2517
|
-
|
|
2518
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSCompositeOperationType, "TNSCompositeOperationType", open) {
|
|
2519
|
-
TNSCompositeOperationTypeSourceOver = 0,
|
|
2520
|
-
TNSCompositeOperationTypeSourceIn = 1,
|
|
2521
|
-
TNSCompositeOperationTypeSourceOut = 2,
|
|
2522
|
-
TNSCompositeOperationTypeSourceAtop = 3,
|
|
2523
|
-
TNSCompositeOperationTypeDestinationOver = 4,
|
|
2524
|
-
TNSCompositeOperationTypeDestinationIn = 5,
|
|
2525
|
-
TNSCompositeOperationTypeDestinationOut = 6,
|
|
2526
|
-
TNSCompositeOperationTypeDestinationAtop = 7,
|
|
2527
|
-
TNSCompositeOperationTypeLighter = 8,
|
|
2528
|
-
TNSCompositeOperationTypeCopy = 9,
|
|
2529
|
-
TNSCompositeOperationTypeXor = 10,
|
|
2530
|
-
TNSCompositeOperationTypeMultiply = 11,
|
|
2531
|
-
TNSCompositeOperationTypeScreen = 12,
|
|
2532
|
-
TNSCompositeOperationTypeOverlay = 13,
|
|
2533
|
-
TNSCompositeOperationTypeDarken = 14,
|
|
2534
|
-
TNSCompositeOperationTypeLighten = 15,
|
|
2535
|
-
TNSCompositeOperationTypeColorDodge = 16,
|
|
2536
|
-
TNSCompositeOperationTypeColorBurn = 17,
|
|
2537
|
-
TNSCompositeOperationTypeHardLight = 18,
|
|
2538
|
-
TNSCompositeOperationTypeSoftLight = 19,
|
|
2539
|
-
TNSCompositeOperationTypeDifference = 20,
|
|
2540
|
-
TNSCompositeOperationTypeExclusion = 21,
|
|
2541
|
-
TNSCompositeOperationTypeHue = 22,
|
|
2542
|
-
TNSCompositeOperationTypeSaturation = 23,
|
|
2543
|
-
TNSCompositeOperationTypeColor = 24,
|
|
2544
|
-
TNSCompositeOperationTypeLuminosity = 25,
|
|
2545
|
-
};
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
SWIFT_CLASS_NAMED("TNSDOMMatrix")
|
|
2549
|
-
@interface TNSDOMMatrix : NSObject
|
|
2550
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2551
|
-
@property (nonatomic) float a;
|
|
2552
|
-
@property (nonatomic) float b;
|
|
2553
|
-
@property (nonatomic) float c;
|
|
2554
|
-
@property (nonatomic) float d;
|
|
2555
|
-
@property (nonatomic) float e;
|
|
2556
|
-
@property (nonatomic) float f;
|
|
2557
|
-
@property (nonatomic) float m11;
|
|
2558
|
-
@property (nonatomic) float m12;
|
|
2559
|
-
@property (nonatomic) float m13;
|
|
2560
|
-
@property (nonatomic) float m14;
|
|
2561
|
-
@property (nonatomic) float m21;
|
|
2562
|
-
@property (nonatomic) float m22;
|
|
2563
|
-
@property (nonatomic) float m23;
|
|
2564
|
-
@property (nonatomic) float m24;
|
|
2565
|
-
@property (nonatomic) float m31;
|
|
2566
|
-
@property (nonatomic) float m32;
|
|
2567
|
-
@property (nonatomic) float m33;
|
|
2568
|
-
@property (nonatomic) float m34;
|
|
2569
|
-
@property (nonatomic) float m41;
|
|
2570
|
-
@property (nonatomic) float m42;
|
|
2571
|
-
@property (nonatomic) float m43;
|
|
2572
|
-
@property (nonatomic) float m44;
|
|
2573
|
-
@end
|
|
2574
|
-
|
|
2575
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSFillRule, "TNSFillRule", open) {
|
|
2576
|
-
TNSFillRuleNonZero = 0,
|
|
2577
|
-
TNSFillRuleEvenOdd = 1,
|
|
2578
|
-
};
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
SWIFT_CLASS_NAMED("TNSFramebufferAttachmentParameter")
|
|
2582
|
-
@interface TNSFramebufferAttachmentParameter : NSObject
|
|
2583
|
-
@property (nonatomic, readonly) BOOL isTexture;
|
|
2584
|
-
@property (nonatomic, readonly) BOOL isRenderbuffer;
|
|
2585
|
-
@property (nonatomic, readonly) int32_t value;
|
|
867
|
+
SWIFT_CLASS_NAMED("NSCImageAsset")
|
|
868
|
+
@interface NSCImageAsset : NSObject
|
|
869
|
+
+ (BOOL)loadImageFromImageSync:(int64_t)context :(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
870
|
+
+ (void)loadImageFromImage:(int64_t)context :(UIImage * _Nonnull)image :(void (^ _Nonnull)(BOOL))callback;
|
|
2586
871
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2587
|
-
- (nonnull instancetype)initWithIsTexture:(BOOL)isTexture isRenderbuffer:(BOOL)isRenderbuffer value:(int32_t)value OBJC_DESIGNATED_INITIALIZER;
|
|
2588
872
|
@end
|
|
2589
873
|
|
|
2590
|
-
@class UIImage;
|
|
2591
|
-
enum TNSImageAssetFormat : NSInteger;
|
|
2592
|
-
|
|
2593
|
-
SWIFT_CLASS_NAMED("TNSImageAsset")
|
|
2594
|
-
@interface TNSImageAsset : NSObject
|
|
2595
|
-
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) dispatch_queue_t _Nullable _queue;)
|
|
2596
|
-
+ (dispatch_queue_t _Nullable)_queue SWIFT_WARN_UNUSED_RESULT;
|
|
2597
|
-
+ (void)set_queue:(dispatch_queue_t _Nullable)value;
|
|
2598
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2599
|
-
- (BOOL)loadImageFromPathWithPath:(NSString * _Nonnull)path SWIFT_WARN_UNUSED_RESULT;
|
|
2600
|
-
- (BOOL)loadImageFromUrlWithUrl:(NSString * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
|
|
2601
|
-
- (void)loadImageFromUrlAsyncWithUrl:(NSString * _Nonnull)url callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
2602
|
-
- (void)loadImageFromPathAsyncWithPath:(NSString * _Nonnull)path callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
2603
|
-
- (BOOL)loadImageFromBytesWithArray:(NSArray<NSNumber *> * _Nonnull)array SWIFT_WARN_UNUSED_RESULT;
|
|
2604
|
-
- (void)loadImageFromBytesAsyncWithArray:(NSArray<NSNumber *> * _Nonnull)array callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
2605
|
-
- (BOOL)loadImageFromImageWithImage:(UIImage * _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
|
|
2606
|
-
- (void)loadImageFromImageAsyncWithImage:(UIImage * _Nonnull)image callback:(void (^ _Nonnull)(NSString * _Nullable))callback;
|
|
2607
|
-
- (uint8_t * _Nullable)getRawBytes SWIFT_WARN_UNUSED_RESULT;
|
|
2608
|
-
@property (nonatomic, readonly) int32_t width;
|
|
2609
|
-
@property (nonatomic, readonly) int32_t height;
|
|
2610
|
-
- (void)flipX;
|
|
2611
|
-
- (void)flipY;
|
|
2612
|
-
- (void)scaleWithX:(uint32_t)x y:(uint32_t)y;
|
|
2613
|
-
- (BOOL)saveWithPath:(NSString * _Nonnull)path format:(enum TNSImageAssetFormat)format SWIFT_WARN_UNUSED_RESULT;
|
|
2614
|
-
- (void)saveAsyncWithPath:(NSString * _Nonnull)path format:(enum TNSImageAssetFormat)format callback:(void (^ _Nonnull)(BOOL))callback;
|
|
2615
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable error;
|
|
2616
|
-
@end
|
|
2617
|
-
|
|
2618
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageAssetFormat, "TNSImageAssetFormat", open) {
|
|
2619
|
-
TNSImageAssetFormatJPG = 0,
|
|
2620
|
-
TNSImageAssetFormatPNG = 1,
|
|
2621
|
-
TNSImageAssetFormatICO = 2,
|
|
2622
|
-
TNSImageAssetFormatBMP = 3,
|
|
2623
|
-
TNSImageAssetFormatTIFF = 4,
|
|
2624
|
-
};
|
|
2625
|
-
|
|
2626
|
-
@class TNSImageBitmapOptions;
|
|
2627
874
|
|
|
2628
|
-
SWIFT_CLASS_NAMED("
|
|
2629
|
-
@interface
|
|
875
|
+
SWIFT_CLASS_NAMED("NSCImageBitmap")
|
|
876
|
+
@interface NSCImageBitmap : NSObject
|
|
2630
877
|
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) dispatch_queue_t _Nonnull queue;)
|
|
2631
878
|
+ (dispatch_queue_t _Nonnull)queue SWIFT_WARN_UNUSED_RESULT;
|
|
2632
|
-
+ (void)createFromImageBitmap:(TNSImageBitmap * _Nonnull)imageBitmap :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2633
|
-
+ (void)createFromImageBitmap:(TNSImageBitmap * _Nonnull)imageBitmap :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2634
|
-
+ (void)createFromImageAsset:(TNSImageAsset * _Nonnull)imageAsset :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2635
|
-
+ (void)createFromImageAsset:(TNSImageAsset * _Nonnull)imageAsset :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2636
|
-
+ (void)createFromImageData:(TNSImageData * _Nonnull)imageData :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2637
|
-
+ (void)createFromImageData:(TNSImageData * _Nonnull)imageData :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2638
|
-
+ (void)createFromCanvas:(TNSCanvas * _Nonnull)canvas :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2639
|
-
+ (void)createFromCanvas:(TNSCanvas * _Nonnull)canvas :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2640
|
-
+ (void)createFromData:(NSData * _Nonnull)data :(float)imageWidth :(float)imageHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2641
|
-
+ (void)createFromData:(NSData * _Nonnull)data :(float)imageWidth :(float)imageHeight :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2642
|
-
+ (void)createFromDataEncoded:(NSData * _Nonnull)data :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2643
|
-
+ (void)createFromDataEncoded:(NSData * _Nonnull)data :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2644
|
-
+ (void)createFromBytes:(NSArray<NSNumber *> * _Nonnull)bytes :(float)imageWidth :(float)imageHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2645
|
-
+ (void)createFromBytes:(NSArray<NSNumber *> * _Nonnull)bytes :(float)imageWidth :(float)imageHeight :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2646
|
-
+ (void)createFromBytesEncoded:(NSArray<NSNumber *> * _Nonnull)bytes :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2647
|
-
+ (void)createFromBytesEncoded:(NSArray<NSNumber *> * _Nonnull)bytes :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2648
|
-
+ (void)createFromUIImage:(UIImage * _Nonnull)canvas :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2649
|
-
+ (void)createFromUIImage:(UIImage * _Nonnull)canvas :(float)sx :(float)sy :(float)sWidth :(float)sHeight :(TNSImageBitmapOptions * _Nonnull)options :(void (^ _Nonnull)(TNSImageBitmap * _Nullable, NSString * _Nullable))callback;
|
|
2650
|
-
@property (nonatomic, readonly) int32_t width;
|
|
2651
|
-
@property (nonatomic, readonly) int32_t height;
|
|
2652
|
-
- (void)close;
|
|
2653
|
-
@property (nonatomic, readonly, copy) NSString * _Nullable error;
|
|
2654
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2655
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2656
|
-
@end
|
|
2657
|
-
|
|
2658
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageBitmapColorSpaceConversion, "TNSImageBitmapColorSpaceConversion", open) {
|
|
2659
|
-
TNSImageBitmapColorSpaceConversionDefault = 0,
|
|
2660
|
-
TNSImageBitmapColorSpaceConversionNone = 1,
|
|
2661
|
-
};
|
|
2662
|
-
|
|
2663
|
-
enum TNSImageBitmapPremultiplyAlpha : NSInteger;
|
|
2664
|
-
enum TNSImageBitmapResizeQuality : NSInteger;
|
|
2665
|
-
|
|
2666
|
-
SWIFT_CLASS_NAMED("TNSImageBitmapOptions")
|
|
2667
|
-
@interface TNSImageBitmapOptions : NSObject
|
|
2668
|
-
@property (nonatomic) BOOL flipY;
|
|
2669
|
-
@property (nonatomic) enum TNSImageBitmapPremultiplyAlpha premultiplyAlpha;
|
|
2670
|
-
@property (nonatomic) enum TNSImageBitmapColorSpaceConversion colorSpaceConversion;
|
|
2671
|
-
@property (nonatomic) enum TNSImageBitmapResizeQuality resizeQuality;
|
|
2672
|
-
@property (nonatomic) float resizeWidth;
|
|
2673
|
-
@property (nonatomic) float resizeHeight;
|
|
2674
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2675
|
-
@end
|
|
2676
|
-
|
|
2677
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageBitmapPremultiplyAlpha, "TNSImageBitmapPremultiplyAlpha", open) {
|
|
2678
|
-
TNSImageBitmapPremultiplyAlphaDefault = 0,
|
|
2679
|
-
TNSImageBitmapPremultiplyAlphaPremultiply = 1,
|
|
2680
|
-
TNSImageBitmapPremultiplyAlphaNone = 2,
|
|
2681
|
-
};
|
|
2682
|
-
|
|
2683
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSImageBitmapResizeQuality, "TNSImageBitmapResizeQuality", open) {
|
|
2684
|
-
TNSImageBitmapResizeQualityLow = 0,
|
|
2685
|
-
TNSImageBitmapResizeQualityMedium = 1,
|
|
2686
|
-
TNSImageBitmapResizeQualityHigh = 2,
|
|
2687
|
-
TNSImageBitmapResizeQualityPixelated = 3,
|
|
2688
|
-
};
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
SWIFT_CLASS_NAMED("TNSImageData")
|
|
2692
|
-
@interface TNSImageData : NSObject
|
|
2693
|
-
@property (nonatomic, readonly, strong) NSData * _Nonnull data;
|
|
2694
|
-
@property (nonatomic, readonly) int32_t width;
|
|
2695
|
-
@property (nonatomic, readonly) int32_t height;
|
|
2696
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2697
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2698
|
-
@end
|
|
2699
|
-
|
|
2700
|
-
typedef SWIFT_ENUM_NAMED(uint32_t, TNSImageSmoothingQuality, "TNSImageSmoothingQuality", open) {
|
|
2701
|
-
TNSImageSmoothingQualityLow = 0,
|
|
2702
|
-
TNSImageSmoothingQualityMedium = 1,
|
|
2703
|
-
TNSImageSmoothingQualityHigh = 2,
|
|
2704
|
-
};
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
SWIFT_CLASS_NAMED("TNSIndexedParameter")
|
|
2708
|
-
@interface TNSIndexedParameter : NSObject
|
|
2709
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2710
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2711
|
-
@end
|
|
2712
|
-
|
|
2713
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSLineCap, "TNSLineCap", open) {
|
|
2714
|
-
TNSLineCapButt = 0,
|
|
2715
|
-
TNSLineCapRound = 1,
|
|
2716
|
-
TNSLineCapSquare = 2,
|
|
2717
|
-
};
|
|
2718
|
-
|
|
2719
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSLineJoin, "TNSLineJoin", open) {
|
|
2720
|
-
TNSLineJoinRound = 0,
|
|
2721
|
-
TNSLineJoinBevel = 1,
|
|
2722
|
-
TNSLineJoinMiter = 2,
|
|
2723
|
-
};
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
SWIFT_CLASS_NAMED("TNSPath2D")
|
|
2727
|
-
@interface TNSPath2D : NSObject
|
|
2728
879
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2729
|
-
- (nonnull instancetype)initWithPath:(TNSPath2D * _Nonnull)path OBJC_DESIGNATED_INITIALIZER;
|
|
2730
|
-
- (nonnull instancetype)initWithData:(NSString * _Nonnull)data OBJC_DESIGNATED_INITIALIZER;
|
|
2731
|
-
- (void)addPath:(TNSPath2D * _Nonnull)path;
|
|
2732
|
-
- (void)addPath:(TNSPath2D * _Nonnull)path :(TNSDOMMatrix * _Nullable)transform;
|
|
2733
|
-
- (void)closePath;
|
|
2734
|
-
- (void)moveTo:(float)x :(float)y;
|
|
2735
|
-
- (void)lineTo:(float)x :(float)y;
|
|
2736
|
-
- (void)bezierCurveTo:(float)cp1x :(float)cp1y :(float)cp2x :(float)cp2y :(float)x :(float)y;
|
|
2737
|
-
- (void)quadraticCurveTo:(float)cpx :(float)cpy :(float)x :(float)y;
|
|
2738
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle;
|
|
2739
|
-
- (void)arc:(float)x :(float)y :(float)radius :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
2740
|
-
- (void)arcTo:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float)radius;
|
|
2741
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle;
|
|
2742
|
-
- (void)ellipse:(float)x :(float)y :(float)radiusX :(float)radiusY :(float)rotation :(float)startAngle :(float)endAngle :(BOOL)anticlockwise;
|
|
2743
|
-
- (void)rect:(float)x :(float)y :(float)width :(float)height;
|
|
2744
880
|
@end
|
|
2745
881
|
|
|
2746
|
-
typedef SWIFT_ENUM(NSInteger, TNSPatternRepetition, open) {
|
|
2747
|
-
TNSPatternRepetitionRepeat = 0,
|
|
2748
|
-
TNSPatternRepetitionRepeatX = 1,
|
|
2749
|
-
TNSPatternRepetitionRepeatY = 2,
|
|
2750
|
-
TNSPatternRepetitionNoRepeat = 3,
|
|
2751
|
-
};
|
|
2752
882
|
|
|
2753
|
-
|
|
2754
|
-
SWIFT_CLASS_NAMED("TNSRender")
|
|
883
|
+
SWIFT_CLASS_NAMED("NSCRender")
|
|
2755
884
|
@interface TNSRender : NSObject
|
|
2756
885
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2757
886
|
- (void)createSurface;
|
|
2758
887
|
@end
|
|
2759
888
|
|
|
2760
889
|
|
|
2761
|
-
SWIFT_CLASS_NAMED("
|
|
890
|
+
SWIFT_CLASS_NAMED("NSCSVG")
|
|
2762
891
|
@interface TNSSVG : UIView
|
|
2763
892
|
@property (nonatomic) BOOL ignorePixelScaling;
|
|
2764
893
|
@property (nonatomic, copy) NSString * _Nullable src;
|
|
@@ -2769,1282 +898,27 @@ SWIFT_CLASS_NAMED("TNSSVG")
|
|
|
2769
898
|
- (void)drawRect:(CGRect)rect;
|
|
2770
899
|
@end
|
|
2771
900
|
|
|
2772
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextAlignment, "TNSTextAlignment", open) {
|
|
2773
|
-
TNSTextAlignmentStart = 0,
|
|
2774
|
-
TNSTextAlignmentLeft = 1,
|
|
2775
|
-
TNSTextAlignmentCenter = 2,
|
|
2776
|
-
TNSTextAlignmentRight = 3,
|
|
2777
|
-
TNSTextAlignmentEnd = 4,
|
|
2778
|
-
};
|
|
2779
|
-
|
|
2780
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextBaseLine, "TNSTextBaseLine", open) {
|
|
2781
|
-
TNSTextBaseLineTop = 0,
|
|
2782
|
-
TNSTextBaseLineHanging = 1,
|
|
2783
|
-
TNSTextBaseLineMiddle = 2,
|
|
2784
|
-
TNSTextBaseLineAlphabetic = 3,
|
|
2785
|
-
TNSTextBaseLineIdeographic = 4,
|
|
2786
|
-
TNSTextBaseLineBottom = 5,
|
|
2787
|
-
};
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
SWIFT_CLASS_NAMED("TNSTextDecoder")
|
|
2791
|
-
@interface TNSTextDecoder : NSObject
|
|
2792
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2793
|
-
- (nonnull instancetype)initWithEncoding:(NSString * _Nonnull)encoding OBJC_DESIGNATED_INITIALIZER;
|
|
2794
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull encoding;
|
|
2795
|
-
- (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer SWIFT_WARN_UNUSED_RESULT;
|
|
2796
|
-
- (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2797
|
-
- (NSString * _Nonnull)decodeWithBuffer:(NSData * _Nonnull)buffer offset:(NSInteger)offset length:(NSInteger)length SWIFT_WARN_UNUSED_RESULT;
|
|
2798
|
-
- (NSString * _Nonnull)decodeWithU8:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
2799
|
-
- (NSString * _Nonnull)decodeWithU8:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2800
|
-
- (NSString * _Nonnull)decodeWithI8:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
2801
|
-
- (NSString * _Nonnull)decodeWithI8:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2802
|
-
- (NSString * _Nonnull)decodeWithU16:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
2803
|
-
- (NSString * _Nonnull)decodeWithU16:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2804
|
-
- (NSString * _Nonnull)decodeWithI16:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
2805
|
-
- (NSString * _Nonnull)decodeWithI16:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2806
|
-
- (NSString * _Nonnull)decodeWithI32:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
2807
|
-
- (NSString * _Nonnull)decodeWithI32:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2808
|
-
- (NSString * _Nonnull)decodeWithU32:(void * _Nonnull)buffer :(NSInteger)size SWIFT_WARN_UNUSED_RESULT;
|
|
2809
|
-
- (NSString * _Nonnull)decodeWithU32:(void * _Nonnull)buffer :(NSInteger)size offset:(NSInteger)offset SWIFT_WARN_UNUSED_RESULT;
|
|
2810
|
-
- (NSString * _Nonnull)decodeWithBytes:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
2811
|
-
- (NSString * _Nonnull)decodeWithI8:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
2812
|
-
- (NSString * _Nonnull)decodeWithU16:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
2813
|
-
- (NSString * _Nonnull)decodeWithI16:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
2814
|
-
- (NSString * _Nonnull)decodeWithI32:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
2815
|
-
- (NSString * _Nonnull)decodeWithU32:(NSArray<NSNumber *> * _Nonnull)bytes SWIFT_WARN_UNUSED_RESULT;
|
|
2816
|
-
@end
|
|
2817
|
-
|
|
2818
|
-
typedef SWIFT_ENUM_NAMED(NSInteger, TNSTextDirection, "TNSTextDirection", open) {
|
|
2819
|
-
TNSTextDirectionLtr = 0,
|
|
2820
|
-
TNSTextDirectionRtl = 1,
|
|
2821
|
-
};
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
SWIFT_CLASS_NAMED("TNSTextEncoder")
|
|
2825
|
-
@interface TNSTextEncoder : NSObject
|
|
2826
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
2827
|
-
- (nonnull instancetype)initWithEncoding:(NSString * _Nonnull)encoding OBJC_DESIGNATED_INITIALIZER;
|
|
2828
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull encoding;
|
|
2829
|
-
- (NSData * _Nonnull)encodeWithText:(NSString * _Nonnull)text SWIFT_WARN_UNUSED_RESULT;
|
|
2830
|
-
- (NSData * _Nonnull)encodeWithPointer:(int8_t const * _Nullable)text SWIFT_WARN_UNUSED_RESULT;
|
|
2831
|
-
@end
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
SWIFT_CLASS_NAMED("TNSTextMetrics")
|
|
2835
|
-
@interface TNSTextMetrics : NSObject
|
|
2836
|
-
@property (nonatomic, readonly) float width;
|
|
2837
|
-
@property (nonatomic, readonly) float actualBoundingBoxLeft;
|
|
2838
|
-
@property (nonatomic, readonly) float actualBoundingBoxRight;
|
|
2839
|
-
@property (nonatomic, readonly) float actualBoundingBoxAscent;
|
|
2840
|
-
@property (nonatomic, readonly) float actualBoundingBoxDescent;
|
|
2841
|
-
@property (nonatomic, readonly) float fontBoundingBoxAscent;
|
|
2842
|
-
@property (nonatomic, readonly) float fontBoundingBoxDescent;
|
|
2843
|
-
@property (nonatomic, readonly) float emHeightAscent;
|
|
2844
|
-
@property (nonatomic, readonly) float emHeightDescent;
|
|
2845
|
-
@property (nonatomic, readonly) float hangingBaseline;
|
|
2846
|
-
@property (nonatomic, readonly) float alphabeticBaseline;
|
|
2847
|
-
@property (nonatomic, readonly) float ideographicBaseline;
|
|
2848
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
2849
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
2850
|
-
@end
|
|
2851
|
-
|
|
2852
|
-
@class NSNull;
|
|
2853
|
-
@class TNSWebGLActiveInfo;
|
|
2854
|
-
@class TNSWebGLShaderPrecisionFormat;
|
|
2855
|
-
|
|
2856
|
-
SWIFT_CLASS_NAMED("TNSWebGLRenderingContext")
|
|
2857
|
-
@interface TNSWebGLRenderingContext : TNSCanvasRenderingContext
|
|
2858
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
2859
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas :(NSDictionary<NSString *, id> * _Nonnull)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
2860
|
-
- (TNSCanvas * _Nonnull)getCanvas SWIFT_WARN_UNUSED_RESULT;
|
|
2861
|
-
@property (nonatomic, readonly) int32_t drawingBufferWidth;
|
|
2862
|
-
@property (nonatomic, readonly) int32_t drawingBufferHeight;
|
|
2863
|
-
- (void)activeTexture:(uint32_t)texture;
|
|
2864
|
-
- (void)attachShader:(uint32_t)program :(uint32_t)shader;
|
|
2865
|
-
- (void)bindAttribLocation:(uint32_t)program :(uint32_t)index :(NSString * _Nonnull)name;
|
|
2866
|
-
- (void)bindBuffer:(uint32_t)target :(uint32_t)buffer;
|
|
2867
|
-
- (void)bindFramebuffer:(uint32_t)target :(uint32_t)framebuffer;
|
|
2868
|
-
- (void)bindRenderbuffer:(uint32_t)target :(uint32_t)renderbuffer;
|
|
2869
|
-
- (void)bindTexture:(uint32_t)target :(uint32_t)texture;
|
|
2870
|
-
- (void)blendColor:(float)red :(float)green :(float)blue :(float)alpha;
|
|
2871
|
-
- (void)blendEquation:(uint32_t)mode;
|
|
2872
|
-
- (void)blendEquationSeparate:(uint32_t)modeRGB :(uint32_t)modeAlpha;
|
|
2873
|
-
- (void)blendFunc:(uint32_t)sfactor :(uint32_t)dfactor;
|
|
2874
|
-
- (void)blendFuncSeparate:(uint32_t)srcRGB :(uint32_t)dstRGB :(uint32_t)srcAlpha :(uint32_t)dstAlpha;
|
|
2875
|
-
- (void)bufferData:(uint32_t)target size:(NSInteger)size :(uint32_t)usage;
|
|
2876
|
-
- (void)bufferData:(uint32_t)target srcData:(NSNull * _Nonnull)srcData :(uint32_t)usage;
|
|
2877
|
-
- (void)bufferData:(uint32_t)target i8:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2878
|
-
- (void)bufferData:(uint32_t)target srcData:(void * _Nonnull)srcData size:(NSInteger)size :(uint32_t)usage;
|
|
2879
|
-
- (void)bufferData:(uint32_t)target srcData:(void * _Nonnull)srcData size:(NSInteger)size :(uint32_t)usage offset:(NSInteger)offset;
|
|
2880
|
-
- (void)bufferData:(uint32_t)target u8:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2881
|
-
- (void)bufferData:(uint32_t)target i16:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2882
|
-
- (void)bufferData:(uint32_t)target u16:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2883
|
-
- (void)bufferData:(uint32_t)target i32:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2884
|
-
- (void)bufferData:(uint32_t)target u32:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2885
|
-
- (void)bufferData:(uint32_t)target f32:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2886
|
-
- (void)bufferData:(uint32_t)target f64:(NSArray<NSNumber *> * _Nonnull)srcData :(uint32_t)usage;
|
|
2887
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset :(NSNull * _Nonnull)srcData;
|
|
2888
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset i8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2889
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset srcData:(void * _Nonnull)srcData size:(NSInteger)size;
|
|
2890
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset srcData:(void * _Nonnull)srcData size:(NSInteger)size os:(NSInteger)os;
|
|
2891
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset u8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2892
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset i16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2893
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset u16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2894
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset i32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2895
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset u32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2896
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset f32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2897
|
-
- (void)bufferSubData:(uint32_t)target :(NSInteger)offset f64:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
2898
|
-
- (uint32_t)checkFramebufferStatus:(uint32_t)target SWIFT_WARN_UNUSED_RESULT;
|
|
2899
|
-
- (void)clear:(uint32_t)mask;
|
|
2900
|
-
- (void)clearColor:(float)red :(float)green :(float)blue :(float)alpha;
|
|
2901
|
-
- (void)clearDepth:(float)depth;
|
|
2902
|
-
- (void)clearStencil:(int32_t)stencil;
|
|
2903
|
-
- (void)colorMask:(BOOL)red :(BOOL)green :(BOOL)blue :(BOOL)alpha;
|
|
2904
|
-
- (void)commit;
|
|
2905
|
-
- (void)compileShader:(uint32_t)shader;
|
|
2906
|
-
- (void)compressedTexImage2D:(uint32_t)target :(int32_t)level :(uint32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)border :(NSData * _Nullable)pixels;
|
|
2907
|
-
- (void)compressedTexSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)width :(int32_t)height :(uint32_t)format :(NSData * _Nullable)pixels;
|
|
2908
|
-
- (void)copyTexImage2D:(uint32_t)target :(int32_t)level :(uint32_t)internalformat :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height :(int32_t)border;
|
|
2909
|
-
- (void)copyTexSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
2910
|
-
- (uint32_t)createBuffer SWIFT_WARN_UNUSED_RESULT;
|
|
2911
|
-
- (uint32_t)createFramebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
2912
|
-
- (uint32_t)createProgram SWIFT_WARN_UNUSED_RESULT;
|
|
2913
|
-
- (uint32_t)createRenderbuffer SWIFT_WARN_UNUSED_RESULT;
|
|
2914
|
-
- (uint32_t)createShader:(uint32_t)type SWIFT_WARN_UNUSED_RESULT;
|
|
2915
|
-
- (uint32_t)createTexture SWIFT_WARN_UNUSED_RESULT;
|
|
2916
|
-
- (void)cullFace:(uint32_t)mode;
|
|
2917
|
-
- (void)deleteBuffer:(uint32_t)buffer;
|
|
2918
|
-
- (void)deleteFramebuffer:(uint32_t)frameBuffer;
|
|
2919
|
-
- (void)deleteProgram:(uint32_t)program;
|
|
2920
|
-
- (void)deleteRenderbuffer:(uint32_t)renderbuffer;
|
|
2921
|
-
- (void)deleteShader:(uint32_t)shader;
|
|
2922
|
-
- (void)deleteTexture:(uint32_t)texture;
|
|
2923
|
-
- (void)depthFunc:(uint32_t)fn;
|
|
2924
|
-
- (void)depthMask:(BOOL)flag;
|
|
2925
|
-
- (void)depthRange:(float)zNear :(float)zFar;
|
|
2926
|
-
- (void)detachShader:(uint32_t)program :(uint32_t)shader;
|
|
2927
|
-
- (void)disable:(uint32_t)cap;
|
|
2928
|
-
- (void)disableVertexAttribArray:(uint32_t)index;
|
|
2929
|
-
- (void)drawArrays:(uint32_t)mode :(int32_t)first :(int32_t)count;
|
|
2930
|
-
- (void)drawElements:(uint32_t)mode :(int32_t)count :(uint32_t)type :(NSInteger)offset;
|
|
2931
|
-
- (void)enable:(uint32_t)cap;
|
|
2932
|
-
- (void)enableVertexAttribArray:(uint32_t)index;
|
|
2933
|
-
- (void)finish;
|
|
2934
|
-
- (void)flush;
|
|
2935
|
-
- (void)framebufferRenderbuffer:(uint32_t)target :(uint32_t)attachment :(uint32_t)renderbuffertarget :(uint32_t)renderbuffer;
|
|
2936
|
-
- (void)framebufferTexture2D:(uint32_t)target :(uint32_t)attachment :(uint32_t)textarget :(uint32_t)texture :(int32_t)level;
|
|
2937
|
-
- (void)frontFace:(uint32_t)mode;
|
|
2938
|
-
- (void)generateMipmap:(uint32_t)target;
|
|
2939
|
-
- (TNSWebGLActiveInfo * _Nonnull)getActiveAttrib:(uint32_t)program :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
2940
|
-
- (TNSWebGLActiveInfo * _Nonnull)getActiveUniform:(uint32_t)program :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
2941
|
-
- (NSArray<NSNumber *> * _Nonnull)getAttachedShaders:(uint32_t)program SWIFT_WARN_UNUSED_RESULT;
|
|
2942
|
-
- (int32_t)getAttribLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
2943
|
-
- (int32_t)getBufferParameter:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2944
|
-
- (id _Nonnull)getContextAttributes SWIFT_WARN_UNUSED_RESULT;
|
|
2945
|
-
- (uint32_t)getError SWIFT_WARN_UNUSED_RESULT;
|
|
2946
|
-
- (id _Nullable)getExtension:(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
2947
|
-
- (TNSFramebufferAttachmentParameter * _Nonnull)getFramebufferAttachmentParameter:(uint32_t)target :(uint32_t)attachment :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2948
|
-
- (id _Nullable)getParameter:(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2949
|
-
- (NSString * _Nonnull)getProgramInfoLog:(uint32_t)program SWIFT_WARN_UNUSED_RESULT;
|
|
2950
|
-
- (id _Nonnull)getProgramParameter:(uint32_t)program :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2951
|
-
- (int32_t)getRenderbufferParameter:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2952
|
-
- (NSString * _Nonnull)getShaderInfoLog:(uint32_t)shader SWIFT_WARN_UNUSED_RESULT;
|
|
2953
|
-
- (id _Nonnull)getShaderParameter:(uint32_t)shader :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2954
|
-
- (TNSWebGLShaderPrecisionFormat * _Nonnull)getShaderPrecisionFormat:(uint32_t)shaderType :(uint32_t)precisionType SWIFT_WARN_UNUSED_RESULT;
|
|
2955
|
-
- (NSString * _Nonnull)getShaderSource:(uint32_t)shader SWIFT_WARN_UNUSED_RESULT;
|
|
2956
|
-
- (NSArray<NSString *> * _Nonnull)getSupportedExtensions SWIFT_WARN_UNUSED_RESULT;
|
|
2957
|
-
- (int32_t)getTexParameter:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2958
|
-
- (id _Nonnull)getUniform:(uint32_t)program :(int32_t)location SWIFT_WARN_UNUSED_RESULT;
|
|
2959
|
-
- (int32_t)getUniformLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
2960
|
-
- (id _Nonnull)getVertexAttrib:(uint32_t)index :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2961
|
-
- (NSInteger)getVertexAttribOffset:(uint32_t)index :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
2962
|
-
- (void)hint:(uint32_t)target :(uint32_t)mode;
|
|
2963
|
-
- (BOOL)isBuffer:(uint32_t)buffer SWIFT_WARN_UNUSED_RESULT;
|
|
2964
|
-
- (BOOL)isContextLost SWIFT_WARN_UNUSED_RESULT;
|
|
2965
|
-
- (BOOL)isEnabled:(uint32_t)cap SWIFT_WARN_UNUSED_RESULT;
|
|
2966
|
-
- (BOOL)isFramebuffer:(uint32_t)framebuffer SWIFT_WARN_UNUSED_RESULT;
|
|
2967
|
-
- (BOOL)isProgram:(uint32_t)program SWIFT_WARN_UNUSED_RESULT;
|
|
2968
|
-
- (BOOL)isRenderbuffer:(uint32_t)renderbuffer SWIFT_WARN_UNUSED_RESULT;
|
|
2969
|
-
- (BOOL)isShader:(uint32_t)shader SWIFT_WARN_UNUSED_RESULT;
|
|
2970
|
-
- (BOOL)isTexture:(uint32_t)texture SWIFT_WARN_UNUSED_RESULT;
|
|
2971
|
-
- (void)lineWidth:(float)width;
|
|
2972
|
-
- (void)linkProgram:(uint32_t)program;
|
|
2973
|
-
- (void)pixelStorei:(uint32_t)pname :(uint32_t)param;
|
|
2974
|
-
- (void)polygonOffset:(float)factor :(float)units;
|
|
2975
|
-
- (void)readPixels:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height :(uint32_t)format :(uint32_t)type :(void * _Nonnull)pixels;
|
|
2976
|
-
- (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;
|
|
2977
|
-
- (void)renderbufferStorage:(uint32_t)target :(uint32_t)internalFormat :(int32_t)width :(int32_t)height;
|
|
2978
|
-
- (void)sampleCoverage:(float)value :(BOOL)invert;
|
|
2979
|
-
- (void)scissor:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
2980
|
-
- (void)shaderSource:(uint32_t)shader :(NSString * _Nonnull)source;
|
|
2981
|
-
- (void)stencilFunc:(uint32_t)fn :(int32_t)ref :(uint32_t)mask;
|
|
2982
|
-
- (void)stencilFuncSeparate:(uint32_t)face :(uint32_t)fn :(int32_t)ref :(uint32_t)mask;
|
|
2983
|
-
- (void)stencilMask:(uint32_t)mask;
|
|
2984
|
-
- (void)stencilMaskSeparate:(uint32_t)face :(uint32_t)mask;
|
|
2985
|
-
- (void)stencilOp:(uint32_t)fail :(uint32_t)zfail :(uint32_t)zpass;
|
|
2986
|
-
- (void)stencilOpSeparate:(uint32_t)face :(uint32_t)fail :(uint32_t)zfail :(uint32_t)zpass;
|
|
2987
|
-
- (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;
|
|
2988
|
-
- (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;
|
|
2989
|
-
- (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;
|
|
2990
|
-
- (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;
|
|
2991
|
-
- (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;
|
|
2992
|
-
- (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;
|
|
2993
|
-
- (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;
|
|
2994
|
-
- (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 :(NSNull * _Nonnull)pixels;
|
|
2995
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type pixels:(UIImage * _Nonnull)pixels;
|
|
2996
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type asset:(TNSImageAsset * _Nonnull)asset;
|
|
2997
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
2998
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type :(NSNull * _Nonnull)pixels;
|
|
2999
|
-
- (void)texImage2D:(uint32_t)target :(int32_t)level :(int32_t)internalformat :(uint32_t)format :(uint32_t)type canvas:(TNSCanvas * _Nonnull)canvas;
|
|
3000
|
-
- (void)texParameterf:(uint32_t)target :(uint32_t)pname :(float)param;
|
|
3001
|
-
- (void)texParameteri:(uint32_t)target :(uint32_t)pname :(int32_t)param;
|
|
3002
|
-
- (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;
|
|
3003
|
-
- (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;
|
|
3004
|
-
- (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;
|
|
3005
|
-
- (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;
|
|
3006
|
-
- (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;
|
|
3007
|
-
- (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;
|
|
3008
|
-
- (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;
|
|
3009
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type pixels:(UIImage * _Nonnull)pixels;
|
|
3010
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type asset:(TNSImageAsset * _Nonnull)asset;
|
|
3011
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
3012
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type canvas:(TNSCanvas * _Nonnull)canvas;
|
|
3013
|
-
- (void)texSubImage2D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(uint32_t)format :(uint32_t)type :(NSNull * _Nonnull)pixels;
|
|
3014
|
-
- (void)uniform1f:(int32_t)location :(float)v0;
|
|
3015
|
-
- (void)uniform1fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3016
|
-
- (void)uniform1fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3017
|
-
- (void)uniform1i:(int32_t)location :(int32_t)v0;
|
|
3018
|
-
- (void)uniform1iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3019
|
-
- (void)uniform1iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3020
|
-
- (void)uniform2f:(int32_t)location :(float)v0 :(float)v1;
|
|
3021
|
-
- (void)uniform2fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3022
|
-
- (void)uniform2fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3023
|
-
- (void)uniform2i:(int32_t)location :(int32_t)v0 :(int32_t)v1;
|
|
3024
|
-
- (void)uniform2iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3025
|
-
- (void)uniform2iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3026
|
-
- (void)uniform3f:(int32_t)location :(float)v0 :(float)v1 :(float)v2;
|
|
3027
|
-
- (void)uniform3fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3028
|
-
- (void)uniform3fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3029
|
-
- (void)uniform3i:(int32_t)location :(int32_t)v0 :(int32_t)v1 :(int32_t)v2;
|
|
3030
|
-
- (void)uniform3iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3031
|
-
- (void)uniform3iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3032
|
-
- (void)uniform4f:(int32_t)location :(float)v0 :(float)v1 :(float)v2 :(float)v3;
|
|
3033
|
-
- (void)uniform4fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3034
|
-
- (void)uniform4fv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3035
|
-
- (void)uniform4i:(int32_t)location :(int32_t)v0 :(int32_t)v1 :(int32_t)v2 :(int32_t)v3;
|
|
3036
|
-
- (void)uniform4iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size;
|
|
3037
|
-
- (void)uniform4iv:(int32_t)location :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3038
|
-
- (void)uniformMatrix2fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
|
|
3039
|
-
- (void)uniformMatrix2fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3040
|
-
- (void)uniformMatrix3fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
|
|
3041
|
-
- (void)uniformMatrix3fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3042
|
-
- (void)uniformMatrix4fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size;
|
|
3043
|
-
- (void)uniformMatrix4fv:(int32_t)location :(BOOL)transpose :(void * _Nonnull)value :(NSInteger)size offset:(NSInteger)offset;
|
|
3044
|
-
- (void)useProgram:(uint32_t)program;
|
|
3045
|
-
- (void)validateProgram:(uint32_t)program;
|
|
3046
|
-
- (void)vertexAttrib1f:(uint32_t)index :(float)v0;
|
|
3047
|
-
- (void)vertexAttrib2f:(uint32_t)index :(float)v0 :(float)v1;
|
|
3048
|
-
- (void)vertexAttrib3f:(uint32_t)index :(float)v0 :(float)v1 :(float)v2;
|
|
3049
|
-
- (void)vertexAttrib4f:(uint32_t)index :(float)v0 :(float)v1 :(float)v2 :(float)v3;
|
|
3050
|
-
- (void)vertexAttrib1fv:(uint32_t)index :(void * _Nonnull)value;
|
|
3051
|
-
- (void)vertexAttrib1fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
3052
|
-
- (void)vertexAttrib2fv:(uint32_t)index :(void * _Nonnull)value;
|
|
3053
|
-
- (void)vertexAttrib2fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
3054
|
-
- (void)vertexAttrib3fv:(uint32_t)index :(void * _Nonnull)value;
|
|
3055
|
-
- (void)vertexAttrib3fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
3056
|
-
- (void)vertexAttrib4fv:(uint32_t)index :(void * _Nonnull)value;
|
|
3057
|
-
- (void)vertexAttrib4fv:(uint32_t)index :(void * _Nonnull)value offset:(NSInteger)offset;
|
|
3058
|
-
- (void)vertexAttribPointer:(uint32_t)index :(int32_t)size :(uint32_t)type :(BOOL)normalized :(int32_t)stride :(NSInteger)offset;
|
|
3059
|
-
- (void)viewport:(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
3060
|
-
@property (nonatomic, readonly) uint32_t DEPTH_BUFFER_BIT;
|
|
3061
|
-
@property (nonatomic, readonly) uint32_t COLOR_BUFFER_BIT;
|
|
3062
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BUFFER_BIT;
|
|
3063
|
-
@property (nonatomic, readonly) uint32_t POINTS;
|
|
3064
|
-
@property (nonatomic, readonly) uint32_t LINES;
|
|
3065
|
-
@property (nonatomic, readonly) uint32_t LINE_LOOP;
|
|
3066
|
-
@property (nonatomic, readonly) uint32_t LINE_STRIP;
|
|
3067
|
-
@property (nonatomic, readonly) uint32_t TRIANGLES;
|
|
3068
|
-
@property (nonatomic, readonly) uint32_t TRIANGLE_STRIP;
|
|
3069
|
-
@property (nonatomic, readonly) uint32_t TRIANGLE_FAN;
|
|
3070
|
-
@property (nonatomic, readonly) uint32_t ONE;
|
|
3071
|
-
@property (nonatomic, readonly) uint32_t ZERO;
|
|
3072
|
-
@property (nonatomic, readonly) uint32_t SRC_COLOR;
|
|
3073
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_SRC_COLOR;
|
|
3074
|
-
@property (nonatomic, readonly) uint32_t SRC_ALPHA;
|
|
3075
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_SRC_ALPHA;
|
|
3076
|
-
@property (nonatomic, readonly) uint32_t DST_ALPHA;
|
|
3077
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_DST_ALPHA;
|
|
3078
|
-
@property (nonatomic, readonly) uint32_t DST_COLOR;
|
|
3079
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_DST_COLOR;
|
|
3080
|
-
@property (nonatomic, readonly) uint32_t SRC_ALPHA_SATURATE;
|
|
3081
|
-
@property (nonatomic, readonly) uint32_t CONSTANT_COLOR;
|
|
3082
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_CONSTANT_COLOR;
|
|
3083
|
-
@property (nonatomic, readonly) uint32_t CONSTANT_ALPHA;
|
|
3084
|
-
@property (nonatomic, readonly) uint32_t ONE_MINUS_CONSTANT_ALPHA;
|
|
3085
|
-
@property (nonatomic, readonly) uint32_t FUNC_ADD;
|
|
3086
|
-
@property (nonatomic, readonly) uint32_t FUNC_SUBTRACT;
|
|
3087
|
-
@property (nonatomic, readonly) uint32_t FUNC_REVERSE_SUBTRACT;
|
|
3088
|
-
@property (nonatomic, readonly) uint32_t BLEND_EQUATION;
|
|
3089
|
-
@property (nonatomic, readonly) uint32_t BLEND_EQUATION_RGB;
|
|
3090
|
-
@property (nonatomic, readonly) uint32_t BLEND_EQUATION_ALPHA;
|
|
3091
|
-
@property (nonatomic, readonly) uint32_t BLEND_DST_RGB;
|
|
3092
|
-
@property (nonatomic, readonly) uint32_t BLEND_SRC_RGB;
|
|
3093
|
-
@property (nonatomic, readonly) uint32_t BLEND_DST_ALPHA;
|
|
3094
|
-
@property (nonatomic, readonly) uint32_t BLEND_SRC_ALPHA;
|
|
3095
|
-
@property (nonatomic, readonly) uint32_t BLEND_COLOR;
|
|
3096
|
-
@property (nonatomic, readonly) uint32_t ARRAY_BUFFER_BINDING;
|
|
3097
|
-
@property (nonatomic, readonly) uint32_t ELEMENT_ARRAY_BUFFER_BINDING;
|
|
3098
|
-
@property (nonatomic, readonly) uint32_t LINE_WIDTH;
|
|
3099
|
-
@property (nonatomic, readonly) uint32_t ALIASED_POINT_SIZE_RANGE;
|
|
3100
|
-
@property (nonatomic, readonly) uint32_t ALIASED_LINE_WIDTH_RANGE;
|
|
3101
|
-
@property (nonatomic, readonly) uint32_t CULL_FACE_MODE;
|
|
3102
|
-
@property (nonatomic, readonly) uint32_t FRONT_FACE;
|
|
3103
|
-
@property (nonatomic, readonly) uint32_t DEPTH_RANGE;
|
|
3104
|
-
@property (nonatomic, readonly) uint32_t DEPTH_WRITEMASK;
|
|
3105
|
-
@property (nonatomic, readonly) uint32_t DEPTH_CLEAR_VALUE;
|
|
3106
|
-
@property (nonatomic, readonly) uint32_t DEPTH_FUNC;
|
|
3107
|
-
@property (nonatomic, readonly) uint32_t STENCIL_CLEAR_VALUE;
|
|
3108
|
-
@property (nonatomic, readonly) uint32_t STENCIL_FUNC;
|
|
3109
|
-
@property (nonatomic, readonly) uint32_t STENCIL_FAIL;
|
|
3110
|
-
@property (nonatomic, readonly) uint32_t STENCIL_PASS_DEPTH_FAIL;
|
|
3111
|
-
@property (nonatomic, readonly) uint32_t STENCIL_PASS_DEPTH_PASS;
|
|
3112
|
-
@property (nonatomic, readonly) uint32_t STENCIL_REF;
|
|
3113
|
-
@property (nonatomic, readonly) uint32_t STENCIL_VALUE_MASK;
|
|
3114
|
-
@property (nonatomic, readonly) uint32_t STENCIL_WRITEMASK;
|
|
3115
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_FUNC;
|
|
3116
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_FAIL;
|
|
3117
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_PASS_DEPTH_FAIL;
|
|
3118
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_PASS_DEPTH_PASS;
|
|
3119
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_REF;
|
|
3120
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_VALUE_MASK;
|
|
3121
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BACK_WRITEMASK;
|
|
3122
|
-
@property (nonatomic, readonly) uint32_t VIEWPORT;
|
|
3123
|
-
@property (nonatomic, readonly) uint32_t SCISSOR_BOX;
|
|
3124
|
-
@property (nonatomic, readonly) uint32_t COLOR_CLEAR_VALUE;
|
|
3125
|
-
@property (nonatomic, readonly) uint32_t COLOR_WRITEMASK;
|
|
3126
|
-
@property (nonatomic, readonly) uint32_t UNPACK_ALIGNMENT;
|
|
3127
|
-
@property (nonatomic, readonly) uint32_t PACK_ALIGNMENT;
|
|
3128
|
-
@property (nonatomic, readonly) uint32_t MAX_TEXTURE_SIZE;
|
|
3129
|
-
@property (nonatomic, readonly) uint32_t MAX_VIEWPORT_DIMS;
|
|
3130
|
-
@property (nonatomic, readonly) uint32_t SUBPIXEL_BITS;
|
|
3131
|
-
@property (nonatomic, readonly) uint32_t RED_BITS;
|
|
3132
|
-
@property (nonatomic, readonly) uint32_t GREEN_BITS;
|
|
3133
|
-
@property (nonatomic, readonly) uint32_t BLUE_BITS;
|
|
3134
|
-
@property (nonatomic, readonly) uint32_t ALPHA_BITS;
|
|
3135
|
-
@property (nonatomic, readonly) uint32_t DEPTH_BITS;
|
|
3136
|
-
@property (nonatomic, readonly) uint32_t STENCIL_BITS;
|
|
3137
|
-
@property (nonatomic, readonly) uint32_t POLYGON_OFFSET_UNITS;
|
|
3138
|
-
@property (nonatomic, readonly) uint32_t POLYGON_OFFSET_FACTOR;
|
|
3139
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_2D;
|
|
3140
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_BUFFERS;
|
|
3141
|
-
@property (nonatomic, readonly) uint32_t SAMPLES;
|
|
3142
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_COVERAGE_VALUE;
|
|
3143
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_COVERAGE_INVERT;
|
|
3144
|
-
@property (nonatomic, readonly) uint32_t COMPRESSED_TEXTURE_FORMATS;
|
|
3145
|
-
@property (nonatomic, readonly) uint32_t VENDOR;
|
|
3146
|
-
@property (nonatomic, readonly) uint32_t RENDERER;
|
|
3147
|
-
@property (nonatomic, readonly) uint32_t VERSION;
|
|
3148
|
-
@property (nonatomic, readonly) uint32_t IMPLEMENTATION_COLOR_READ_TYPE;
|
|
3149
|
-
@property (nonatomic, readonly) uint32_t IMPLEMENTATION_COLOR_READ_FORMAT;
|
|
3150
|
-
@property (nonatomic, readonly) uint32_t BROWSER_DEFAULT_WEBGL;
|
|
3151
|
-
@property (nonatomic, readonly) uint32_t STATIC_DRAW;
|
|
3152
|
-
@property (nonatomic, readonly) uint32_t STREAM_DRAW;
|
|
3153
|
-
@property (nonatomic, readonly) uint32_t DYNAMIC_DRAW;
|
|
3154
|
-
@property (nonatomic, readonly) uint32_t ARRAY_BUFFER;
|
|
3155
|
-
@property (nonatomic, readonly) uint32_t ELEMENT_ARRAY_BUFFER;
|
|
3156
|
-
@property (nonatomic, readonly) uint32_t BUFFER_SIZE;
|
|
3157
|
-
@property (nonatomic, readonly) uint32_t BUFFER_USAGE;
|
|
3158
|
-
@property (nonatomic, readonly) uint32_t CURRENT_VERTEX_ATTRIB;
|
|
3159
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_ENABLED;
|
|
3160
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_SIZE;
|
|
3161
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_STRIDE;
|
|
3162
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_TYPE;
|
|
3163
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_NORMALIZED;
|
|
3164
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_POINTER;
|
|
3165
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_BUFFER_BINDING;
|
|
3166
|
-
@property (nonatomic, readonly) uint32_t CULL_FACE;
|
|
3167
|
-
@property (nonatomic, readonly) uint32_t FRONT;
|
|
3168
|
-
@property (nonatomic, readonly) uint32_t BACK;
|
|
3169
|
-
@property (nonatomic, readonly) uint32_t FRONT_AND_BACK;
|
|
3170
|
-
@property (nonatomic, readonly) uint32_t BLEND;
|
|
3171
|
-
@property (nonatomic, readonly) uint32_t DEPTH_TEST;
|
|
3172
|
-
@property (nonatomic, readonly) uint32_t DITHER;
|
|
3173
|
-
@property (nonatomic, readonly) uint32_t POLYGON_OFFSET_FILL;
|
|
3174
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_ALPHA_TO_COVERAGE;
|
|
3175
|
-
@property (nonatomic, readonly) uint32_t SAMPLE_COVERAGE;
|
|
3176
|
-
@property (nonatomic, readonly) uint32_t SCISSOR_TEST;
|
|
3177
|
-
@property (nonatomic, readonly) uint32_t STENCIL_TEST;
|
|
3178
|
-
@property (nonatomic, readonly) uint32_t NO_ERROR;
|
|
3179
|
-
@property (nonatomic, readonly) uint32_t INVALID_ENUM;
|
|
3180
|
-
@property (nonatomic, readonly) uint32_t INVALID_VALUE;
|
|
3181
|
-
@property (nonatomic, readonly) uint32_t INVALID_OPERATION;
|
|
3182
|
-
@property (nonatomic, readonly) uint32_t INVALID_FRAMEBUFFER_OPERATION;
|
|
3183
|
-
@property (nonatomic, readonly) uint32_t OUT_OF_MEMORY;
|
|
3184
|
-
@property (nonatomic, readonly) uint32_t CONTEXT_LOST_WEBGL;
|
|
3185
|
-
@property (nonatomic, readonly) uint32_t CW;
|
|
3186
|
-
@property (nonatomic, readonly) uint32_t CCW;
|
|
3187
|
-
@property (nonatomic, readonly) uint32_t DONT_CARE;
|
|
3188
|
-
@property (nonatomic, readonly) uint32_t FASTEST;
|
|
3189
|
-
@property (nonatomic, readonly) uint32_t NICEST;
|
|
3190
|
-
@property (nonatomic, readonly) uint32_t GENERATE_MIPMAP_HINT;
|
|
3191
|
-
@property (nonatomic, readonly) uint32_t BYTE;
|
|
3192
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_BYTE;
|
|
3193
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT;
|
|
3194
|
-
@property (nonatomic, readonly) uint32_t SHORT;
|
|
3195
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT;
|
|
3196
|
-
@property (nonatomic, readonly) uint32_t INT;
|
|
3197
|
-
@property (nonatomic, readonly) uint32_t FLOAT;
|
|
3198
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT;
|
|
3199
|
-
@property (nonatomic, readonly) uint32_t ALPHA;
|
|
3200
|
-
@property (nonatomic, readonly) uint32_t RGB;
|
|
3201
|
-
@property (nonatomic, readonly) uint32_t RGBA;
|
|
3202
|
-
@property (nonatomic, readonly) uint32_t LUMINANCE;
|
|
3203
|
-
@property (nonatomic, readonly) uint32_t LUMINANCE_ALPHA;
|
|
3204
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT_4_4_4_4;
|
|
3205
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT_5_5_5_1;
|
|
3206
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_SHORT_5_6_5;
|
|
3207
|
-
@property (nonatomic, readonly) uint32_t FRAGMENT_SHADER;
|
|
3208
|
-
@property (nonatomic, readonly) uint32_t VERTEX_SHADER;
|
|
3209
|
-
@property (nonatomic, readonly) uint32_t COMPILE_STATUS;
|
|
3210
|
-
@property (nonatomic, readonly) uint32_t DELETE_STATUS;
|
|
3211
|
-
@property (nonatomic, readonly) uint32_t LINK_STATUS;
|
|
3212
|
-
@property (nonatomic, readonly) uint32_t VALIDATE_STATUS;
|
|
3213
|
-
@property (nonatomic, readonly) uint32_t ATTACHED_SHADERS;
|
|
3214
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_ATTRIBUTES;
|
|
3215
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_UNIFORMS;
|
|
3216
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_UNIFORM_VECTORS;
|
|
3217
|
-
@property (nonatomic, readonly) uint32_t MAX_VARYING_VECTORS;
|
|
3218
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_TEXTURE_IMAGE_UNITS;
|
|
3219
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_TEXTURE_IMAGE_UNITS;
|
|
3220
|
-
@property (nonatomic, readonly) uint32_t MAX_TEXTURE_IMAGE_UNITS;
|
|
3221
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_ATTRIBS;
|
|
3222
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_UNIFORM_VECTORS;
|
|
3223
|
-
@property (nonatomic, readonly) uint32_t SHADER_TYPE;
|
|
3224
|
-
@property (nonatomic, readonly) uint32_t SHADING_LANGUAGE_VERSION;
|
|
3225
|
-
@property (nonatomic, readonly) uint32_t CURRENT_PROGRAM;
|
|
3226
|
-
@property (nonatomic, readonly) uint32_t NEVER;
|
|
3227
|
-
@property (nonatomic, readonly) uint32_t LESS;
|
|
3228
|
-
@property (nonatomic, readonly) uint32_t EQUAL;
|
|
3229
|
-
@property (nonatomic, readonly) uint32_t LEQUAL;
|
|
3230
|
-
@property (nonatomic, readonly) uint32_t GREATER;
|
|
3231
|
-
@property (nonatomic, readonly) uint32_t NOTEQUAL;
|
|
3232
|
-
@property (nonatomic, readonly) uint32_t GEQUAL;
|
|
3233
|
-
@property (nonatomic, readonly) uint32_t ALWAYS;
|
|
3234
|
-
@property (nonatomic, readonly) uint32_t KEEP;
|
|
3235
|
-
@property (nonatomic, readonly) uint32_t REPLACE;
|
|
3236
|
-
@property (nonatomic, readonly) uint32_t INCR;
|
|
3237
|
-
@property (nonatomic, readonly) uint32_t DECR;
|
|
3238
|
-
@property (nonatomic, readonly) uint32_t INVERT;
|
|
3239
|
-
@property (nonatomic, readonly) uint32_t INCR_WRAP;
|
|
3240
|
-
@property (nonatomic, readonly) uint32_t DECR_WRAP;
|
|
3241
|
-
@property (nonatomic, readonly) uint32_t NEAREST;
|
|
3242
|
-
@property (nonatomic, readonly) uint32_t LINEAR;
|
|
3243
|
-
@property (nonatomic, readonly) uint32_t NEAREST_MIPMAP_NEAREST;
|
|
3244
|
-
@property (nonatomic, readonly) uint32_t LINEAR_MIPMAP_NEAREST;
|
|
3245
|
-
@property (nonatomic, readonly) uint32_t NEAREST_MIPMAP_LINEAR;
|
|
3246
|
-
@property (nonatomic, readonly) uint32_t LINEAR_MIPMAP_LINEAR;
|
|
3247
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MAG_FILTER;
|
|
3248
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MIN_FILTER;
|
|
3249
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_WRAP_S;
|
|
3250
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_WRAP_T;
|
|
3251
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_2D;
|
|
3252
|
-
@property (nonatomic, readonly) uint32_t TEXTURE;
|
|
3253
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP;
|
|
3254
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_CUBE_MAP;
|
|
3255
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_POSITIVE_X;
|
|
3256
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_NEGATIVE_X;
|
|
3257
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_POSITIVE_Y;
|
|
3258
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_NEGATIVE_Y;
|
|
3259
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_POSITIVE_Z;
|
|
3260
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_CUBE_MAP_NEGATIVE_Z;
|
|
3261
|
-
@property (nonatomic, readonly) uint32_t MAX_CUBE_MAP_TEXTURE_SIZE;
|
|
3262
|
-
@property (nonatomic, readonly) uint32_t TEXTURE0;
|
|
3263
|
-
@property (nonatomic, readonly) uint32_t TEXTURE1;
|
|
3264
|
-
@property (nonatomic, readonly) uint32_t TEXTURE2;
|
|
3265
|
-
@property (nonatomic, readonly) uint32_t TEXTURE3;
|
|
3266
|
-
@property (nonatomic, readonly) uint32_t TEXTURE4;
|
|
3267
|
-
@property (nonatomic, readonly) uint32_t TEXTURE5;
|
|
3268
|
-
@property (nonatomic, readonly) uint32_t TEXTURE6;
|
|
3269
|
-
@property (nonatomic, readonly) uint32_t TEXTURE7;
|
|
3270
|
-
@property (nonatomic, readonly) uint32_t TEXTURE8;
|
|
3271
|
-
@property (nonatomic, readonly) uint32_t TEXTURE9;
|
|
3272
|
-
@property (nonatomic, readonly) uint32_t TEXTURE10;
|
|
3273
|
-
@property (nonatomic, readonly) uint32_t TEXTURE11;
|
|
3274
|
-
@property (nonatomic, readonly) uint32_t TEXTURE12;
|
|
3275
|
-
@property (nonatomic, readonly) uint32_t TEXTURE13;
|
|
3276
|
-
@property (nonatomic, readonly) uint32_t TEXTURE14;
|
|
3277
|
-
@property (nonatomic, readonly) uint32_t TEXTURE15;
|
|
3278
|
-
@property (nonatomic, readonly) uint32_t TEXTURE16;
|
|
3279
|
-
@property (nonatomic, readonly) uint32_t TEXTURE17;
|
|
3280
|
-
@property (nonatomic, readonly) uint32_t TEXTURE18;
|
|
3281
|
-
@property (nonatomic, readonly) uint32_t TEXTURE19;
|
|
3282
|
-
@property (nonatomic, readonly) uint32_t TEXTURE20;
|
|
3283
|
-
@property (nonatomic, readonly) uint32_t TEXTURE21;
|
|
3284
|
-
@property (nonatomic, readonly) uint32_t TEXTURE22;
|
|
3285
|
-
@property (nonatomic, readonly) uint32_t TEXTURE23;
|
|
3286
|
-
@property (nonatomic, readonly) uint32_t TEXTURE24;
|
|
3287
|
-
@property (nonatomic, readonly) uint32_t TEXTURE25;
|
|
3288
|
-
@property (nonatomic, readonly) uint32_t TEXTURE26;
|
|
3289
|
-
@property (nonatomic, readonly) uint32_t TEXTURE27;
|
|
3290
|
-
@property (nonatomic, readonly) uint32_t TEXTURE28;
|
|
3291
|
-
@property (nonatomic, readonly) uint32_t TEXTURE29;
|
|
3292
|
-
@property (nonatomic, readonly) uint32_t TEXTURE30;
|
|
3293
|
-
@property (nonatomic, readonly) uint32_t TEXTURE31;
|
|
3294
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_TEXTURE;
|
|
3295
|
-
@property (nonatomic, readonly) uint32_t REPEAT;
|
|
3296
|
-
@property (nonatomic, readonly) uint32_t CLAMP_TO_EDGE;
|
|
3297
|
-
@property (nonatomic, readonly) uint32_t MIRRORED_REPEAT;
|
|
3298
|
-
@property (nonatomic, readonly) uint32_t FLOAT_VEC2;
|
|
3299
|
-
@property (nonatomic, readonly) uint32_t FLOAT_VEC3;
|
|
3300
|
-
@property (nonatomic, readonly) uint32_t FLOAT_VEC4;
|
|
3301
|
-
@property (nonatomic, readonly) uint32_t INT_VEC2;
|
|
3302
|
-
@property (nonatomic, readonly) uint32_t INT_VEC3;
|
|
3303
|
-
@property (nonatomic, readonly) uint32_t INT_VEC4;
|
|
3304
|
-
@property (nonatomic, readonly) uint32_t BOOL;
|
|
3305
|
-
@property (nonatomic, readonly) uint32_t BOOL_VEC2;
|
|
3306
|
-
@property (nonatomic, readonly) uint32_t BOOL_VEC3;
|
|
3307
|
-
@property (nonatomic, readonly) uint32_t BOOL_VEC4;
|
|
3308
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT2;
|
|
3309
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT3;
|
|
3310
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT4;
|
|
3311
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D;
|
|
3312
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_CUBE;
|
|
3313
|
-
@property (nonatomic, readonly) uint32_t LOW_FLOAT;
|
|
3314
|
-
@property (nonatomic, readonly) uint32_t MEDIUM_FLOAT;
|
|
3315
|
-
@property (nonatomic, readonly) uint32_t HIGH_FLOAT;
|
|
3316
|
-
@property (nonatomic, readonly) uint32_t LOW_INT;
|
|
3317
|
-
@property (nonatomic, readonly) uint32_t MEDIUM_INT;
|
|
3318
|
-
@property (nonatomic, readonly) uint32_t HIGH_INT;
|
|
3319
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER;
|
|
3320
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER;
|
|
3321
|
-
@property (nonatomic, readonly) uint32_t RGBA4;
|
|
3322
|
-
@property (nonatomic, readonly) uint32_t RGB565;
|
|
3323
|
-
@property (nonatomic, readonly) uint32_t RGB5_A1;
|
|
3324
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT16;
|
|
3325
|
-
@property (nonatomic, readonly) uint32_t STENCIL_INDEX8;
|
|
3326
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL;
|
|
3327
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_WIDTH;
|
|
3328
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_HEIGHT;
|
|
3329
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_INTERNAL_FORMAT;
|
|
3330
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_RED_SIZE;
|
|
3331
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_GREEN_SIZE;
|
|
3332
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_BLUE_SIZE;
|
|
3333
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_ALPHA_SIZE;
|
|
3334
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_DEPTH_SIZE;
|
|
3335
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_STENCIL_SIZE;
|
|
3336
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE;
|
|
3337
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_OBJECT_NAME;
|
|
3338
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL;
|
|
3339
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
|
|
3340
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT0;
|
|
3341
|
-
@property (nonatomic, readonly) uint32_t DEPTH_ATTACHMENT;
|
|
3342
|
-
@property (nonatomic, readonly) uint32_t STENCIL_ATTACHMENT;
|
|
3343
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL_ATTACHMENT;
|
|
3344
|
-
@property (nonatomic, readonly) uint32_t NONE;
|
|
3345
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_COMPLETE;
|
|
3346
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_ATTACHMENT;
|
|
3347
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT;
|
|
3348
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_DIMENSIONS;
|
|
3349
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_UNSUPPORTED;
|
|
3350
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_BINDING;
|
|
3351
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_BINDING;
|
|
3352
|
-
@property (nonatomic, readonly) uint32_t MAX_RENDERBUFFER_SIZE;
|
|
3353
|
-
@property (nonatomic, readonly) uint32_t UNPACK_COLORSPACE_CONVERSION_WEBGL;
|
|
3354
|
-
@property (nonatomic, readonly) uint32_t UNPACK_FLIP_Y_WEBGL;
|
|
3355
|
-
@property (nonatomic, readonly) uint32_t UNPACK_PREMULTIPLY_ALPHA_WEBGL;
|
|
3356
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
3357
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
3358
|
-
@end
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
SWIFT_CLASS_NAMED("TNSWebGL2RenderingContext")
|
|
3362
|
-
@interface TNSWebGL2RenderingContext : TNSWebGLRenderingContext
|
|
3363
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
3364
|
-
- (nonnull instancetype)init:(TNSCanvas * _Nonnull)canvas :(NSDictionary<NSString *, id> * _Nonnull)attrs OBJC_DESIGNATED_INITIALIZER;
|
|
3365
|
-
- (void)beginQuery:(uint32_t)target :(uint32_t)query;
|
|
3366
|
-
- (void)beginTransformFeedback:(uint32_t)primitiveMode;
|
|
3367
|
-
- (void)bindBufferBase:(uint32_t)target :(uint32_t)index :(uint32_t)buffer;
|
|
3368
|
-
- (void)bindBufferRange:(uint32_t)target :(uint32_t)index :(uint32_t)buffer :(NSInteger)offset :(NSInteger)size;
|
|
3369
|
-
- (void)bindSampler:(uint32_t)unit :(uint32_t)sampler;
|
|
3370
|
-
- (void)bindTransformFeedback:(uint32_t)target :(uint32_t)transformFeedback;
|
|
3371
|
-
- (void)bindVertexArray:(uint32_t)vertexArray;
|
|
3372
|
-
- (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;
|
|
3373
|
-
- (void)clearBufferfv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
|
|
3374
|
-
- (void)clearBufferfv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
|
|
3375
|
-
- (void)clearBufferiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
|
|
3376
|
-
- (void)clearBufferiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
|
|
3377
|
-
- (void)clearBufferuiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values;
|
|
3378
|
-
- (void)clearBufferuiv:(uint32_t)buffer :(int32_t)drawbuffer :(void const * _Nonnull)values offset:(NSInteger)offset;
|
|
3379
|
-
- (void)clearBufferfi:(uint32_t)buffer :(int32_t)drawbuffer :(float)depth :(int32_t)stencil;
|
|
3380
|
-
- (int32_t)clientWaitSync:(GLsync _Nonnull)sync :(uint32_t)flags :(uint64_t)timeout SWIFT_WARN_UNUSED_RESULT;
|
|
3381
|
-
- (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;
|
|
3382
|
-
- (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 i8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3383
|
-
- (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 u8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3384
|
-
- (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 i16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3385
|
-
- (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 u16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3386
|
-
- (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 i32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3387
|
-
- (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 u32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3388
|
-
- (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 f32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3389
|
-
- (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 f64:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset :(int32_t)srcLengthOverride;
|
|
3390
|
-
- (void)copyBufferSubData:(uint32_t)readTarget :(uint32_t)writeTarget :(NSInteger)readOffset :(NSInteger)writeOffset :(NSInteger)size;
|
|
3391
|
-
- (void)copyTexSubImage3D:(uint32_t)target :(int32_t)level :(int32_t)xoffset :(int32_t)yoffset :(int32_t)zoffset :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
3392
|
-
- (uint32_t)createQuery SWIFT_WARN_UNUSED_RESULT;
|
|
3393
|
-
- (uint32_t)createSampler SWIFT_WARN_UNUSED_RESULT;
|
|
3394
|
-
- (uint32_t)createVertexArray SWIFT_WARN_UNUSED_RESULT;
|
|
3395
|
-
- (uint32_t)createTransformFeedback SWIFT_WARN_UNUSED_RESULT;
|
|
3396
|
-
- (void)deleteQuery:(uint32_t)query;
|
|
3397
|
-
- (void)deleteSampler:(uint32_t)sampler;
|
|
3398
|
-
- (void)deleteSync:(GLsync _Nonnull)sync;
|
|
3399
|
-
- (void)deleteTransformFeedback:(uint32_t)transformFeedback;
|
|
3400
|
-
- (void)deleteVertexArray:(uint32_t)vertexArray;
|
|
3401
|
-
- (void)drawArraysInstanced:(uint32_t)mode :(int32_t)first :(int32_t)count :(int32_t)instanceCount;
|
|
3402
|
-
- (void)drawElementsInstanced:(uint32_t)mode :(int32_t)count :(uint32_t)type :(NSInteger)offset :(int32_t)instanceCount;
|
|
3403
|
-
- (void)drawRangeElements:(uint32_t)mode :(uint32_t)start :(uint32_t)end :(int32_t)count :(uint32_t)type :(NSInteger)offset;
|
|
3404
|
-
- (void)drawBuffers:(NSArray<NSNumber *> * _Nonnull)buffers;
|
|
3405
|
-
- (void)endQuery:(uint32_t)target;
|
|
3406
|
-
- (void)endTransformFeedback;
|
|
3407
|
-
- (void)fenceSync:(uint32_t)condition :(uint32_t)flags;
|
|
3408
|
-
- (void)framebufferTextureLayer:(uint32_t)target :(uint32_t)attachment :(uint32_t)texture :(int32_t)level :(int32_t)layer;
|
|
3409
|
-
- (NSString * _Nonnull)getActiveUniformBlockName:(uint32_t)program :(uint32_t)uniformBlockIndex SWIFT_WARN_UNUSED_RESULT;
|
|
3410
|
-
- (id _Nonnull)getActiveUniformBlockParameter:(uint32_t)program :(uint32_t)uniformBlockIndex :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3411
|
-
- (id _Nonnull)getActiveUniforms:(uint32_t)program :(NSArray<NSNumber *> * _Nonnull)uniformIndices :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3412
|
-
- (void)getBufferSubData:(uint32_t)target :(NSInteger)srcByteOffset :(void * _Nonnull)dstData size:(NSInteger)size :(int32_t)dstOffset :(int32_t)length;
|
|
3413
|
-
- (void)getBufferSubData:(uint32_t)target :(NSInteger)srcByteOffset :(void * _Nonnull)dstData size:(NSInteger)size :(int32_t)dstOffset :(int32_t)length offset:(NSInteger)offset;
|
|
3414
|
-
- (int32_t)getFragDataLocation:(uint32_t)program :(NSString * _Nonnull)name SWIFT_WARN_UNUSED_RESULT;
|
|
3415
|
-
- (id _Nonnull)getIndexedParameter:(uint32_t)target :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
3416
|
-
- (id _Nonnull)getInternalformatParameter:(uint32_t)target :(uint32_t)internalformat :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3417
|
-
- (id _Nullable)getParameter:(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3418
|
-
- (id _Nonnull)getQuery:(uint32_t)target :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3419
|
-
- (id _Nonnull)getQueryParameter:(uint32_t)query :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3420
|
-
- (id _Nonnull)getSamplerParameter:(uint32_t)sampler :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3421
|
-
- (id _Nonnull)getSyncParameter:(GLsync _Nonnull)sync :(uint32_t)pname SWIFT_WARN_UNUSED_RESULT;
|
|
3422
|
-
- (id _Nonnull)getTransformFeedbackVarying:(uint32_t)program :(uint32_t)index SWIFT_WARN_UNUSED_RESULT;
|
|
3423
|
-
- (uint32_t)getUniformBlockIndex:(uint32_t)program :(NSString * _Nonnull)uniformBlockName SWIFT_WARN_UNUSED_RESULT;
|
|
3424
|
-
- (NSArray<NSNumber *> * _Nonnull)getUniformIndices:(uint32_t)program :(NSArray<NSString *> * _Nonnull)uniformNames SWIFT_WARN_UNUSED_RESULT;
|
|
3425
|
-
- (void)invalidateFramebuffer:(uint32_t)target :(NSArray<NSNumber *> * _Nonnull)attachments;
|
|
3426
|
-
- (void)invalidateSubFramebuffer:(uint32_t)target :(NSArray<NSNumber *> * _Nonnull)attachments :(int32_t)x :(int32_t)y :(int32_t)width :(int32_t)height;
|
|
3427
|
-
- (BOOL)isQuery:(uint32_t)query SWIFT_WARN_UNUSED_RESULT;
|
|
3428
|
-
- (BOOL)isSampler:(uint32_t)sampler SWIFT_WARN_UNUSED_RESULT;
|
|
3429
|
-
- (BOOL)isSync:(GLsync _Nonnull)sync SWIFT_WARN_UNUSED_RESULT;
|
|
3430
|
-
- (BOOL)isTransformFeedback:(uint32_t)transformFeedback SWIFT_WARN_UNUSED_RESULT;
|
|
3431
|
-
- (BOOL)isVertexArray:(uint32_t)vertexArray SWIFT_WARN_UNUSED_RESULT;
|
|
3432
|
-
- (void)pauseTransformFeedback;
|
|
3433
|
-
- (void)readBuffer:(uint32_t)src;
|
|
3434
|
-
- (void)renderbufferStorageMultisample:(uint32_t)target :(int32_t)samples :(uint32_t)internalFormat :(int32_t)width :(int32_t)height;
|
|
3435
|
-
- (void)resumeTransformFeedback;
|
|
3436
|
-
- (void)samplerParameteri:(uint32_t)sampler :(uint32_t)pname :(int32_t)param;
|
|
3437
|
-
- (void)samplerParameterf:(uint32_t)sampler :(uint32_t)pname :(float)param;
|
|
3438
|
-
- (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;
|
|
3439
|
-
- (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;
|
|
3440
|
-
- (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;
|
|
3441
|
-
- (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;
|
|
3442
|
-
- (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;
|
|
3443
|
-
- (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;
|
|
3444
|
-
- (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;
|
|
3445
|
-
- (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 u16:(NSArray<NSNumber *> * _Nonnull)source;
|
|
3446
|
-
- (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 i32:(NSArray<NSNumber *> * _Nonnull)source;
|
|
3447
|
-
- (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 u32:(NSArray<NSNumber *> * _Nonnull)source;
|
|
3448
|
-
- (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 f32:(NSArray<NSNumber *> * _Nonnull)source;
|
|
3449
|
-
- (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 f64:(NSArray<NSNumber *> * _Nonnull)source;
|
|
3450
|
-
- (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 :(int32_t)srcOffset;
|
|
3451
|
-
- (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 :(int32_t)srcOffset;
|
|
3452
|
-
- (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 :(int32_t)srcOffset;
|
|
3453
|
-
- (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 u16:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
3454
|
-
- (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 i32:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
3455
|
-
- (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 u32:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
3456
|
-
- (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 f32:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
3457
|
-
- (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 f64:(NSArray<NSNumber *> * _Nonnull)source :(int32_t)srcOffset;
|
|
3458
|
-
- (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 source:(UIImage * _Nonnull)source;
|
|
3459
|
-
- (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 asset:(TNSImageAsset * _Nonnull)asset;
|
|
3460
|
-
- (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 bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
3461
|
-
- (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 canvas:(TNSCanvas * _Nonnull)canvas;
|
|
3462
|
-
- (void)texStorage2D:(uint32_t)target :(int32_t)levels :(uint32_t)internalformat :(int32_t)width :(int32_t)height;
|
|
3463
|
-
- (void)texStorage3D:(uint32_t)target :(int32_t)levels :(uint32_t)internalformat :(int32_t)width :(int32_t)height :(int32_t)depth;
|
|
3464
|
-
- (void)texSubImage3D:(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 :(uint32_t)type data:(NSData * _Nonnull)data;
|
|
3465
|
-
- (void)texSubImage3D:(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 :(uint32_t)type offset:(int32_t)offset;
|
|
3466
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3467
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3468
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3469
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u16:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3470
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3471
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3472
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f32:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3473
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f64:(NSArray<NSNumber *> * _Nonnull)srcData;
|
|
3474
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3475
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u8:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3476
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3477
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u16:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3478
|
-
- (void)texSubImage3D:(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 :(uint32_t)type i32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3479
|
-
- (void)texSubImage3D:(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 :(uint32_t)type u32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3480
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f32:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3481
|
-
- (void)texSubImage3D:(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 :(uint32_t)type f64:(NSArray<NSNumber *> * _Nonnull)srcData :(int32_t)srcOffset;
|
|
3482
|
-
- (void)texSubImage3D:(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 :(uint32_t)type srcData:(UIImage * _Nonnull)srcData;
|
|
3483
|
-
- (void)texSubImage3D:(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 :(uint32_t)type canvas:(TNSCanvas * _Nonnull)canvas;
|
|
3484
|
-
- (void)texSubImage3D:(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 :(uint32_t)type asset:(TNSImageAsset * _Nonnull)asset;
|
|
3485
|
-
- (void)texSubImage3D:(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 :(uint32_t)type bitmap:(TNSImageBitmap * _Nonnull)bitmap;
|
|
3486
|
-
- (void)transformFeedbackVaryings:(uint32_t)program :(NSArray<NSString *> * _Nonnull)varyings :(uint32_t)bufferMode;
|
|
3487
|
-
- (void)uniform1ui:(int32_t)location :(uint32_t)v0;
|
|
3488
|
-
- (void)uniform2ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1;
|
|
3489
|
-
- (void)uniform3ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2;
|
|
3490
|
-
- (void)uniform4ui:(int32_t)location :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2 :(uint32_t)v3;
|
|
3491
|
-
- (void)uniform1uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
3492
|
-
- (void)uniform1uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3493
|
-
- (void)uniform2uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
3494
|
-
- (void)uniform2uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3495
|
-
- (void)uniform3uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
3496
|
-
- (void)uniform3uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3497
|
-
- (void)uniform4uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size;
|
|
3498
|
-
- (void)uniform4uiv:(int32_t)location :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3499
|
-
- (void)uniformBlockBinding:(uint32_t)program :(uint32_t)uniformBlockIndex :(uint32_t)uniformBlockBinding;
|
|
3500
|
-
- (void)uniformMatrix3x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
3501
|
-
- (void)uniformMatrix3x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3502
|
-
- (void)uniformMatrix4x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
3503
|
-
- (void)uniformMatrix4x2fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3504
|
-
- (void)uniformMatrix2x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
3505
|
-
- (void)uniformMatrix2x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3506
|
-
- (void)uniformMatrix4x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
3507
|
-
- (void)uniformMatrix4x3fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3508
|
-
- (void)uniformMatrix2x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
3509
|
-
- (void)uniformMatrix2x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3510
|
-
- (void)uniformMatrix3x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size;
|
|
3511
|
-
- (void)uniformMatrix3x4fv:(uint32_t)location :(BOOL)transpose :(void const * _Nonnull)data :(NSInteger)size offset:(NSInteger)offset;
|
|
3512
|
-
- (void)vertexAttribDivisor:(uint32_t)index :(uint32_t)divisor;
|
|
3513
|
-
- (void)vertexAttribI4i:(uint32_t)index :(int32_t)v0 :(int32_t)v1 :(int32_t)v2 :(int32_t)v3;
|
|
3514
|
-
- (void)vertexAttribI4ui:(uint32_t)index :(uint32_t)v0 :(uint32_t)v1 :(uint32_t)v2 :(uint32_t)v3;
|
|
3515
|
-
- (void)vertexAttribI4iv:(uint32_t)index :(void const * _Nonnull)value;
|
|
3516
|
-
- (void)vertexAttribI4iv:(uint32_t)index :(void const * _Nonnull)value offset:(NSInteger)offset;
|
|
3517
|
-
- (void)vertexAttribI4uiv:(uint32_t)index :(void const * _Nonnull)value;
|
|
3518
|
-
- (void)vertexAttribI4uiv:(uint32_t)index :(void const * _Nonnull)value offset:(NSInteger)offset;
|
|
3519
|
-
@property (nonatomic, readonly) uint32_t READ_BUFFER;
|
|
3520
|
-
@property (nonatomic, readonly) uint32_t UNPACK_ROW_LENGTH;
|
|
3521
|
-
@property (nonatomic, readonly) uint32_t UNPACK_SKIP_ROWS;
|
|
3522
|
-
@property (nonatomic, readonly) uint32_t UNPACK_SKIP_PIXELS;
|
|
3523
|
-
@property (nonatomic, readonly) uint32_t PACK_ROW_LENGTH;
|
|
3524
|
-
@property (nonatomic, readonly) uint32_t PACK_SKIP_ROWS;
|
|
3525
|
-
@property (nonatomic, readonly) uint32_t PACK_SKIP_PIXELS;
|
|
3526
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_3D;
|
|
3527
|
-
@property (nonatomic, readonly) uint32_t UNPACK_SKIP_IMAGES;
|
|
3528
|
-
@property (nonatomic, readonly) uint32_t UNPACK_IMAGE_HEIGHT;
|
|
3529
|
-
@property (nonatomic, readonly) uint32_t MAX_3D_TEXTURE_SIZE;
|
|
3530
|
-
@property (nonatomic, readonly) uint32_t MAX_ELEMENTS_VERTICES;
|
|
3531
|
-
@property (nonatomic, readonly) uint32_t MAX_ELEMENTS_INDICES;
|
|
3532
|
-
@property (nonatomic, readonly) uint32_t MAX_TEXTURE_LOD_BIAS;
|
|
3533
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_UNIFORM_COMPONENTS;
|
|
3534
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_UNIFORM_COMPONENTS;
|
|
3535
|
-
@property (nonatomic, readonly) uint32_t MAX_ARRAY_TEXTURE_LAYERS;
|
|
3536
|
-
@property (nonatomic, readonly) uint32_t MIN_PROGRAM_TEXEL_OFFSET;
|
|
3537
|
-
@property (nonatomic, readonly) uint32_t MAX_PROGRAM_TEXEL_OFFSET;
|
|
3538
|
-
@property (nonatomic, readonly) uint32_t MAX_VARYING_COMPONENTS;
|
|
3539
|
-
@property (nonatomic, readonly) uint32_t FRAGMENT_SHADER_DERIVATIVE_HINT;
|
|
3540
|
-
@property (nonatomic, readonly) uint32_t RASTERIZER_DISCARD;
|
|
3541
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ARRAY_BINDING;
|
|
3542
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_OUTPUT_COMPONENTS;
|
|
3543
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_INPUT_COMPONENTS;
|
|
3544
|
-
@property (nonatomic, readonly) uint32_t MAX_SERVER_WAIT_TIMEOUT;
|
|
3545
|
-
@property (nonatomic, readonly) uint32_t MAX_ELEMENT_INDEX;
|
|
3546
|
-
@property (nonatomic, readonly) uint32_t RED;
|
|
3547
|
-
@property (nonatomic, readonly) uint32_t RGB8;
|
|
3548
|
-
@property (nonatomic, readonly) uint32_t RGBA8;
|
|
3549
|
-
@property (nonatomic, readonly) uint32_t RGB10_A2;
|
|
3550
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_3D;
|
|
3551
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_WRAP_R;
|
|
3552
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MIN_LOD;
|
|
3553
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MAX_LOD;
|
|
3554
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BASE_LEVEL;
|
|
3555
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_MAX_LEVEL;
|
|
3556
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_COMPARE_MODE;
|
|
3557
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_COMPARE_FUNC;
|
|
3558
|
-
@property (nonatomic, readonly) uint32_t SRGB;
|
|
3559
|
-
@property (nonatomic, readonly) uint32_t SRGB8;
|
|
3560
|
-
@property (nonatomic, readonly) uint32_t SRGB8_ALPHA8;
|
|
3561
|
-
@property (nonatomic, readonly) uint32_t COMPARE_REF_TO_TEXTURE;
|
|
3562
|
-
@property (nonatomic, readonly) uint32_t RGBA32F;
|
|
3563
|
-
@property (nonatomic, readonly) uint32_t RGB32F;
|
|
3564
|
-
@property (nonatomic, readonly) uint32_t RGBA16F;
|
|
3565
|
-
@property (nonatomic, readonly) uint32_t RGB16F;
|
|
3566
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_2D_ARRAY;
|
|
3567
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_BINDING_2D_ARRAY;
|
|
3568
|
-
@property (nonatomic, readonly) uint32_t R11F_G11F_B10F;
|
|
3569
|
-
@property (nonatomic, readonly) uint32_t RGB9_E5;
|
|
3570
|
-
@property (nonatomic, readonly) uint32_t RGBA32UI;
|
|
3571
|
-
@property (nonatomic, readonly) uint32_t RGB32UI;
|
|
3572
|
-
@property (nonatomic, readonly) uint32_t RGBA16UI;
|
|
3573
|
-
@property (nonatomic, readonly) uint32_t RGB16UI;
|
|
3574
|
-
@property (nonatomic, readonly) uint32_t RGBA8UI;
|
|
3575
|
-
@property (nonatomic, readonly) uint32_t RGB8UI;
|
|
3576
|
-
@property (nonatomic, readonly) uint32_t RGBA32I;
|
|
3577
|
-
@property (nonatomic, readonly) uint32_t RGB32I;
|
|
3578
|
-
@property (nonatomic, readonly) uint32_t RGBA16I;
|
|
3579
|
-
@property (nonatomic, readonly) uint32_t RGB16I;
|
|
3580
|
-
@property (nonatomic, readonly) uint32_t RGBA8I;
|
|
3581
|
-
@property (nonatomic, readonly) uint32_t RGB8I;
|
|
3582
|
-
@property (nonatomic, readonly) uint32_t RED_INTEGER;
|
|
3583
|
-
@property (nonatomic, readonly) uint32_t RGB_INTEGER;
|
|
3584
|
-
@property (nonatomic, readonly) uint32_t RGBA_INTEGER;
|
|
3585
|
-
@property (nonatomic, readonly) uint32_t R8;
|
|
3586
|
-
@property (nonatomic, readonly) uint32_t RG8;
|
|
3587
|
-
@property (nonatomic, readonly) uint32_t R16F;
|
|
3588
|
-
@property (nonatomic, readonly) uint32_t R32F;
|
|
3589
|
-
@property (nonatomic, readonly) uint32_t RG16F;
|
|
3590
|
-
@property (nonatomic, readonly) uint32_t RG32F;
|
|
3591
|
-
@property (nonatomic, readonly) uint32_t R8I;
|
|
3592
|
-
@property (nonatomic, readonly) uint32_t R8UI;
|
|
3593
|
-
@property (nonatomic, readonly) uint32_t R16I;
|
|
3594
|
-
@property (nonatomic, readonly) uint32_t R16UI;
|
|
3595
|
-
@property (nonatomic, readonly) uint32_t R32I;
|
|
3596
|
-
@property (nonatomic, readonly) uint32_t R32UI;
|
|
3597
|
-
@property (nonatomic, readonly) uint32_t RG8I;
|
|
3598
|
-
@property (nonatomic, readonly) uint32_t RG8UI;
|
|
3599
|
-
@property (nonatomic, readonly) uint32_t RG16I;
|
|
3600
|
-
@property (nonatomic, readonly) uint32_t RG16UI;
|
|
3601
|
-
@property (nonatomic, readonly) uint32_t RG32I;
|
|
3602
|
-
@property (nonatomic, readonly) uint32_t RG32UI;
|
|
3603
|
-
@property (nonatomic, readonly) uint32_t R8_SNORM;
|
|
3604
|
-
@property (nonatomic, readonly) uint32_t RG8_SNORM;
|
|
3605
|
-
@property (nonatomic, readonly) uint32_t RGB8_SNORM;
|
|
3606
|
-
@property (nonatomic, readonly) uint32_t RGBA8_SNORM;
|
|
3607
|
-
@property (nonatomic, readonly) uint32_t RGB10_A2UI;
|
|
3608
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_IMMUTABLE_FORMAT;
|
|
3609
|
-
@property (nonatomic, readonly) uint32_t TEXTURE_IMMUTABLE_LEVELS;
|
|
3610
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_2_10_10_10_REV;
|
|
3611
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_10F_11F_11F_REV;
|
|
3612
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_5_9_9_9_REV;
|
|
3613
|
-
@property (nonatomic, readonly) uint32_t FLOAT_32_UNSIGNED_INT_24_8_REV;
|
|
3614
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_24_8;
|
|
3615
|
-
@property (nonatomic, readonly) uint32_t HALF_FLOAT;
|
|
3616
|
-
@property (nonatomic, readonly) uint32_t RG;
|
|
3617
|
-
@property (nonatomic, readonly) uint32_t RG_INTEGER;
|
|
3618
|
-
@property (nonatomic, readonly) uint32_t INT_2_10_10_10_REV;
|
|
3619
|
-
@property (nonatomic, readonly) uint32_t QUERY_RESULT_AVAILABLE;
|
|
3620
|
-
@property (nonatomic, readonly) uint32_t QUERY_RESULT;
|
|
3621
|
-
@property (nonatomic, readonly) uint32_t CURRENT_QUERY;
|
|
3622
|
-
@property (nonatomic, readonly) uint32_t ANY_SAMPLES_PASSED;
|
|
3623
|
-
@property (nonatomic, readonly) uint32_t ANY_SAMPLES_PASSED_CONSERVATIVE;
|
|
3624
|
-
@property (nonatomic, readonly) uint32_t MAX_DRAW_BUFFERS;
|
|
3625
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER0;
|
|
3626
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER1;
|
|
3627
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER2;
|
|
3628
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER3;
|
|
3629
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER4;
|
|
3630
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER5;
|
|
3631
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER6;
|
|
3632
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER7;
|
|
3633
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER8;
|
|
3634
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER9;
|
|
3635
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER10;
|
|
3636
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER11;
|
|
3637
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER12;
|
|
3638
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER13;
|
|
3639
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER14;
|
|
3640
|
-
@property (nonatomic, readonly) uint32_t DRAW_BUFFER15;
|
|
3641
|
-
@property (nonatomic, readonly) uint32_t MAX_COLOR_ATTACHMENTS;
|
|
3642
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT1;
|
|
3643
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT2;
|
|
3644
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT3;
|
|
3645
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT4;
|
|
3646
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT5;
|
|
3647
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT6;
|
|
3648
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT7;
|
|
3649
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT8;
|
|
3650
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT9;
|
|
3651
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT10;
|
|
3652
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT11;
|
|
3653
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT12;
|
|
3654
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT13;
|
|
3655
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT14;
|
|
3656
|
-
@property (nonatomic, readonly) uint32_t COLOR_ATTACHMENT15;
|
|
3657
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_3D;
|
|
3658
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D_SHADOW;
|
|
3659
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D_ARRAY;
|
|
3660
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_2D_ARRAY_SHADOW;
|
|
3661
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_CUBE_SHADOW;
|
|
3662
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_2D;
|
|
3663
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_3D;
|
|
3664
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_CUBE;
|
|
3665
|
-
@property (nonatomic, readonly) uint32_t INT_SAMPLER_2D_ARRAY;
|
|
3666
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_2D;
|
|
3667
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_3D;
|
|
3668
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_CUBE;
|
|
3669
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_SAMPLER_2D_ARRAY;
|
|
3670
|
-
@property (nonatomic, readonly) uint32_t MAX_SAMPLES;
|
|
3671
|
-
@property (nonatomic, readonly) uint32_t SAMPLER_BINDING;
|
|
3672
|
-
@property (nonatomic, readonly) uint32_t PIXEL_PACK_BUFFER;
|
|
3673
|
-
@property (nonatomic, readonly) uint32_t PIXEL_UNPACK_BUFFER;
|
|
3674
|
-
@property (nonatomic, readonly) uint32_t PIXEL_PACK_BUFFER_BINDING;
|
|
3675
|
-
@property (nonatomic, readonly) uint32_t PIXEL_UNPACK_BUFFER_BINDING;
|
|
3676
|
-
@property (nonatomic, readonly) uint32_t COPY_READ_BUFFER;
|
|
3677
|
-
@property (nonatomic, readonly) uint32_t COPY_WRITE_BUFFER;
|
|
3678
|
-
@property (nonatomic, readonly) uint32_t COPY_READ_BUFFER_BINDING;
|
|
3679
|
-
@property (nonatomic, readonly) uint32_t COPY_WRITE_BUFFER_BINDING;
|
|
3680
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT2x3;
|
|
3681
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT2x4;
|
|
3682
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT3x2;
|
|
3683
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT3x4;
|
|
3684
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT4x2;
|
|
3685
|
-
@property (nonatomic, readonly) uint32_t FLOAT_MAT4x3;
|
|
3686
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_VEC2;
|
|
3687
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_VEC3;
|
|
3688
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_INT_VEC4;
|
|
3689
|
-
@property (nonatomic, readonly) uint32_t UNSIGNED_NORMALIZED;
|
|
3690
|
-
@property (nonatomic, readonly) uint32_t SIGNED_NORMALIZED;
|
|
3691
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_INTEGER;
|
|
3692
|
-
@property (nonatomic, readonly) uint32_t VERTEX_ATTRIB_ARRAY_DIVISOR;
|
|
3693
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_MODE;
|
|
3694
|
-
@property (nonatomic, readonly) uint32_t MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS;
|
|
3695
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_VARYINGS;
|
|
3696
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_START;
|
|
3697
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_SIZE;
|
|
3698
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN;
|
|
3699
|
-
@property (nonatomic, readonly) uint32_t MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS;
|
|
3700
|
-
@property (nonatomic, readonly) uint32_t MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS;
|
|
3701
|
-
@property (nonatomic, readonly) uint32_t INTERLEAVED_ATTRIBS;
|
|
3702
|
-
@property (nonatomic, readonly) uint32_t SEPARATE_ATTRIBS;
|
|
3703
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER;
|
|
3704
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BUFFER_BINDING;
|
|
3705
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK;
|
|
3706
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_PAUSED;
|
|
3707
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_ACTIVE;
|
|
3708
|
-
@property (nonatomic, readonly) uint32_t TRANSFORM_FEEDBACK_BINDING;
|
|
3709
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING;
|
|
3710
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE;
|
|
3711
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_RED_SIZE;
|
|
3712
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_GREEN_SIZE;
|
|
3713
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_BLUE_SIZE;
|
|
3714
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE;
|
|
3715
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE;
|
|
3716
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE;
|
|
3717
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_DEFAULT;
|
|
3718
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL_ATTACHMENT;
|
|
3719
|
-
@property (nonatomic, readonly) uint32_t DEPTH_STENCIL;
|
|
3720
|
-
@property (nonatomic, readonly) uint32_t DEPTH24_STENCIL8;
|
|
3721
|
-
@property (nonatomic, readonly) uint32_t DRAW_FRAMEBUFFER_BINDING;
|
|
3722
|
-
@property (nonatomic, readonly) uint32_t READ_FRAMEBUFFER;
|
|
3723
|
-
@property (nonatomic, readonly) uint32_t DRAW_FRAMEBUFFER;
|
|
3724
|
-
@property (nonatomic, readonly) uint32_t READ_FRAMEBUFFER_BINDING;
|
|
3725
|
-
@property (nonatomic, readonly) uint32_t RENDERBUFFER_SAMPLES;
|
|
3726
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER;
|
|
3727
|
-
@property (nonatomic, readonly) uint32_t FRAMEBUFFER_INCOMPLETE_MULTISAMPLE;
|
|
3728
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER;
|
|
3729
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_BINDING;
|
|
3730
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_START;
|
|
3731
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_SIZE;
|
|
3732
|
-
@property (nonatomic, readonly) uint32_t MAX_VERTEX_UNIFORM_BLOCKS;
|
|
3733
|
-
@property (nonatomic, readonly) uint32_t MAX_FRAGMENT_UNIFORM_BLOCKS;
|
|
3734
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_UNIFORM_BLOCKS;
|
|
3735
|
-
@property (nonatomic, readonly) uint32_t MAX_UNIFORM_BUFFER_BINDINGS;
|
|
3736
|
-
@property (nonatomic, readonly) uint32_t MAX_UNIFORM_BLOCK_SIZE;
|
|
3737
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS;
|
|
3738
|
-
@property (nonatomic, readonly) uint32_t MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS;
|
|
3739
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BUFFER_OFFSET_ALIGNMENT;
|
|
3740
|
-
@property (nonatomic, readonly) uint32_t ACTIVE_UNIFORM_BLOCKS;
|
|
3741
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_TYPE;
|
|
3742
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_SIZE;
|
|
3743
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_INDEX;
|
|
3744
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_OFFSET;
|
|
3745
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_ARRAY_STRIDE;
|
|
3746
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_MATRIX_STRIDE;
|
|
3747
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_IS_ROW_MAJOR;
|
|
3748
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_BINDING;
|
|
3749
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_DATA_SIZE;
|
|
3750
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_ACTIVE_UNIFORMS;
|
|
3751
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES;
|
|
3752
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER;
|
|
3753
|
-
@property (nonatomic, readonly) uint32_t UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER;
|
|
3754
|
-
@property (nonatomic, readonly) uint32_t OBJECT_TYPE;
|
|
3755
|
-
@property (nonatomic, readonly) uint32_t SYNC_CONDITION;
|
|
3756
|
-
@property (nonatomic, readonly) uint32_t SYNC_STATUS;
|
|
3757
|
-
@property (nonatomic, readonly) uint32_t SYNC_FLAGS;
|
|
3758
|
-
@property (nonatomic, readonly) uint32_t SYNC_FENCE;
|
|
3759
|
-
@property (nonatomic, readonly) uint32_t SYNC_GPU_COMMANDS_COMPLETE;
|
|
3760
|
-
@property (nonatomic, readonly) uint32_t UNSIGNALED;
|
|
3761
|
-
@property (nonatomic, readonly) uint32_t SIGNALED;
|
|
3762
|
-
@property (nonatomic, readonly) uint32_t ALREADY_SIGNALED;
|
|
3763
|
-
@property (nonatomic, readonly) uint32_t TIMEOUT_EXPIRED;
|
|
3764
|
-
@property (nonatomic, readonly) uint32_t CONDITION_SATISFIED;
|
|
3765
|
-
@property (nonatomic, readonly) uint32_t WAIT_FAILED;
|
|
3766
|
-
@property (nonatomic, readonly) uint32_t SYNC_FLUSH_COMMANDS_BIT;
|
|
3767
|
-
@property (nonatomic, readonly) uint32_t COLOR;
|
|
3768
|
-
@property (nonatomic, readonly) uint32_t DEPTH;
|
|
3769
|
-
@property (nonatomic, readonly) uint32_t STENCIL;
|
|
3770
|
-
@property (nonatomic, readonly) uint32_t MIN;
|
|
3771
|
-
@property (nonatomic, readonly) uint32_t MAX;
|
|
3772
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT24;
|
|
3773
|
-
@property (nonatomic, readonly) uint32_t STREAM_READ;
|
|
3774
|
-
@property (nonatomic, readonly) uint32_t STREAM_COPY;
|
|
3775
|
-
@property (nonatomic, readonly) uint32_t STATIC_READ;
|
|
3776
|
-
@property (nonatomic, readonly) uint32_t STATIC_COPY;
|
|
3777
|
-
@property (nonatomic, readonly) uint32_t DYNAMIC_READ;
|
|
3778
|
-
@property (nonatomic, readonly) uint32_t DYNAMIC_COPY;
|
|
3779
|
-
@property (nonatomic, readonly) uint32_t DEPTH_COMPONENT32F;
|
|
3780
|
-
@property (nonatomic, readonly) uint32_t DEPTH32F_STENCIL8;
|
|
3781
|
-
@property (nonatomic, readonly) NSInteger INVALID_INDEX;
|
|
3782
|
-
@property (nonatomic, readonly) uint64_t TIMEOUT_IGNORED;
|
|
3783
|
-
@property (nonatomic, readonly) uint32_t MAX_CLIENT_WAIT_TIMEOUT_WEBGL;
|
|
3784
|
-
@end
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
SWIFT_CLASS_NAMED("TNSWebGLActiveInfo")
|
|
3788
|
-
@interface TNSWebGLActiveInfo : NSObject
|
|
3789
|
-
@property (nonatomic, readonly, copy) NSString * _Nonnull name;
|
|
3790
|
-
@property (nonatomic, readonly) int32_t size;
|
|
3791
|
-
@property (nonatomic, readonly) uint32_t type;
|
|
3792
|
-
- (nonnull instancetype)initWithName:(NSString * _Nonnull)name size:(int32_t)size type:(uint32_t)type OBJC_DESIGNATED_INITIALIZER;
|
|
3793
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
3794
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
3795
|
-
@end
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
SWIFT_CLASS_NAMED("TNSWebGLShaderPrecisionFormat")
|
|
3800
|
-
@interface TNSWebGLShaderPrecisionFormat : NSObject
|
|
3801
|
-
@property (nonatomic, readonly) int32_t rangeMin;
|
|
3802
|
-
@property (nonatomic, readonly) int32_t rangeMax;
|
|
3803
|
-
@property (nonatomic, readonly) int32_t precision;
|
|
3804
|
-
- (nonnull instancetype)initWithRangeMin:(int32_t)rangeMin rangeMax:(int32_t)rangeMax precision:(int32_t)precision OBJC_DESIGNATED_INITIALIZER;
|
|
3805
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
3806
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
3807
|
-
@end
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
SWIFT_CLASS_NAMED("TNS_ANGLE_instanced_arrays")
|
|
3811
|
-
@interface TNS_ANGLE_instanced_arrays : NSObject
|
|
3812
|
-
@property (nonatomic, readonly) int32_t VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE;
|
|
3813
|
-
- (nonnull instancetype)initWithContext:(TNSWebGLRenderingContext * _Nonnull)context OBJC_DESIGNATED_INITIALIZER;
|
|
3814
|
-
- (void)drawArraysInstancedANGLEWithMode:(int32_t)mode first:(int32_t)first count:(int32_t)count primcount:(int32_t)primcount;
|
|
3815
|
-
- (void)drawElementsInstancedANGLEWithMode:(int32_t)mode count:(int32_t)count type:(int32_t)type offset:(int32_t)offset primcount:(int32_t)primcount;
|
|
3816
|
-
- (void)vertexAttribDivisorANGLEWithIndex:(int32_t)index divisor:(int32_t)divisor;
|
|
3817
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
3818
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
3819
|
-
@end
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
SWIFT_CLASS_NAMED("TNS_EXT_blend_minmax")
|
|
3823
|
-
@interface TNS_EXT_blend_minmax : NSObject
|
|
3824
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3825
|
-
@property (nonatomic, readonly) int32_t MIN_EXT;
|
|
3826
|
-
@property (nonatomic, readonly) int32_t MAX_EXT;
|
|
3827
|
-
@end
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
SWIFT_CLASS_NAMED("TNS_EXT_color_buffer_float")
|
|
3831
|
-
@interface TNS_EXT_color_buffer_float : NSObject
|
|
3832
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3833
|
-
@property (nonatomic, readonly) int32_t R16F;
|
|
3834
|
-
@property (nonatomic, readonly) int32_t RG16F;
|
|
3835
|
-
@property (nonatomic, readonly) int32_t RGB16F;
|
|
3836
|
-
@property (nonatomic, readonly) int32_t R32F;
|
|
3837
|
-
@property (nonatomic, readonly) int32_t RG32F;
|
|
3838
|
-
@property (nonatomic, readonly) int32_t RGBA32F;
|
|
3839
|
-
@property (nonatomic, readonly) int32_t R11F_G11F_B10F;
|
|
3840
|
-
@end
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
SWIFT_CLASS_NAMED("TNS_EXT_color_buffer_half_float")
|
|
3844
|
-
@interface TNS_EXT_color_buffer_half_float : NSObject
|
|
3845
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3846
|
-
@property (nonatomic, readonly) int32_t RGBA16F_EXT;
|
|
3847
|
-
@property (nonatomic, readonly) int32_t RGB16F_EXT;
|
|
3848
|
-
@property (nonatomic, readonly) int32_t FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT;
|
|
3849
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_NORMALIZED_EXT;
|
|
3850
|
-
@end
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
SWIFT_CLASS_NAMED("TNS_EXT_sRGB")
|
|
3854
|
-
@interface TNS_EXT_sRGB : NSObject
|
|
3855
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3856
|
-
@property (nonatomic, readonly) int32_t SRGB_EXT;
|
|
3857
|
-
@property (nonatomic, readonly) int32_t SRGB_ALPHA_EXT;
|
|
3858
|
-
@property (nonatomic, readonly) int32_t SRGB8_ALPHA8_EXT;
|
|
3859
|
-
@property (nonatomic, readonly) int32_t FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT;
|
|
3860
|
-
@end
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
SWIFT_CLASS_NAMED("TNS_EXT_shader_texture_lod")
|
|
3864
|
-
@interface TNS_EXT_shader_texture_lod : NSObject
|
|
3865
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3866
|
-
@end
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
SWIFT_CLASS_NAMED("TNS_EXT_texture_filter_anisotropic")
|
|
3870
|
-
@interface TNS_EXT_texture_filter_anisotropic : NSObject
|
|
3871
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3872
|
-
@property (nonatomic, readonly) int32_t MAX_TEXTURE_MAX_ANISOTROPY_EXT;
|
|
3873
|
-
@property (nonatomic, readonly) int32_t TEXTURE_MAX_ANISOTROPY_EXT;
|
|
3874
|
-
@end
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
SWIFT_CLASS_NAMED("TNS_OES_element_index_uint")
|
|
3878
|
-
@interface TNS_OES_element_index_uint : NSObject
|
|
3879
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3880
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_INT;
|
|
3881
|
-
@end
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
SWIFT_CLASS_NAMED("TNS_OES_fbo_render_mipmap")
|
|
3885
|
-
@interface TNS_OES_fbo_render_mipmap : NSObject
|
|
3886
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3887
|
-
@end
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
SWIFT_CLASS_NAMED("TNS_OES_standard_derivatives")
|
|
3891
|
-
@interface TNS_OES_standard_derivatives : NSObject
|
|
3892
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3893
|
-
@end
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_float")
|
|
3897
|
-
@interface TNS_OES_texture_float : NSObject
|
|
3898
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3899
|
-
@end
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_float_linear")
|
|
3903
|
-
@interface TNS_OES_texture_float_linear : NSObject
|
|
3904
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3905
|
-
@end
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_half_float")
|
|
3909
|
-
@interface TNS_OES_texture_half_float : NSObject
|
|
3910
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3911
|
-
@property (nonatomic, readonly) int32_t HALF_FLOAT_OES;
|
|
3912
|
-
@end
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
SWIFT_CLASS_NAMED("TNS_OES_texture_half_float_linear")
|
|
3916
|
-
@interface TNS_OES_texture_half_float_linear : NSObject
|
|
3917
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3918
|
-
@end
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
SWIFT_CLASS_NAMED("TNS_OES_vertex_array_object")
|
|
3922
|
-
@interface TNS_OES_vertex_array_object : NSObject
|
|
3923
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3924
|
-
@property (nonatomic, readonly) int32_t VERTEX_ARRAY_BINDING_OES;
|
|
3925
|
-
- (uint32_t)createVertexArrayOES SWIFT_WARN_UNUSED_RESULT;
|
|
3926
|
-
- (void)deleteVertexArrayOESWithArrayObject:(uint32_t)arrayObject;
|
|
3927
|
-
- (BOOL)isVertexArrayOESWithArrayObject:(uint32_t)arrayObject SWIFT_WARN_UNUSED_RESULT;
|
|
3928
|
-
- (void)bindVertexArrayOESWithArrayObject:(uint32_t)arrayObject;
|
|
3929
|
-
@end
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_color_buffer_float")
|
|
3933
|
-
@interface TNS_WEBGL_color_buffer_float : NSObject
|
|
3934
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3935
|
-
@property (nonatomic, readonly) int32_t RGBA32F_EXT;
|
|
3936
|
-
@property (nonatomic, readonly) int32_t RGB32F_EXT;
|
|
3937
|
-
@property (nonatomic, readonly) int32_t FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT;
|
|
3938
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_NORMALIZED_EXT;
|
|
3939
|
-
@end
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_compressed_texture_etc")
|
|
3943
|
-
@interface TNS_WEBGL_compressed_texture_etc : NSObject
|
|
3944
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3945
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_R11_EAC;
|
|
3946
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SIGNED_R11_EAC;
|
|
3947
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RG11_EAC;
|
|
3948
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SIGNED_RG11_EAC;
|
|
3949
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB8_ETC2;
|
|
3950
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGBA8_ETC2_EAC;
|
|
3951
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SRGB8_ETC2;
|
|
3952
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SRGB8_ALPHA8_ETC2_EAC;
|
|
3953
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2;
|
|
3954
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2;
|
|
3955
|
-
@end
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_compressed_texture_etc1")
|
|
3959
|
-
@interface TNS_WEBGL_compressed_texture_etc1 : NSObject
|
|
3960
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3961
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB_ETC1_WEBGL;
|
|
3962
|
-
@end
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_compressed_texture_pvrtc")
|
|
3966
|
-
@interface TNS_WEBGL_compressed_texture_pvrtc : NSObject
|
|
3967
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3968
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB_PVRTC_4BPPV1_IMG;
|
|
3969
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;
|
|
3970
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGB_PVRTC_2BPPV1_IMG;
|
|
3971
|
-
@property (nonatomic, readonly) int32_t COMPRESSED_RGBA_PVRTC_2BPPV1_IMG;
|
|
3972
|
-
@end
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_depth_texture")
|
|
3976
|
-
@interface TNS_WEBGL_depth_texture : NSObject
|
|
3977
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
3978
|
-
@property (nonatomic, readonly) int32_t UNSIGNED_INT_24_8_WEBGL;
|
|
3979
|
-
@end
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_draw_buffers")
|
|
3983
|
-
@interface TNS_WEBGL_draw_buffers : NSObject
|
|
3984
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT0_WEBGL;
|
|
3985
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT1_WEBGL;
|
|
3986
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT2_WEBGL;
|
|
3987
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT3_WEBGL;
|
|
3988
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT4_WEBGL;
|
|
3989
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT5_WEBGL;
|
|
3990
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT6_WEBGL;
|
|
3991
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT7_WEBGL;
|
|
3992
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT8_WEBGL;
|
|
3993
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT9_WEBGL;
|
|
3994
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT10_WEBGL;
|
|
3995
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT11_WEBGL;
|
|
3996
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT12_WEBGL;
|
|
3997
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT13_WEBGL;
|
|
3998
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT14_WEBGL;
|
|
3999
|
-
@property (nonatomic, readonly) int32_t COLOR_ATTACHMENT15_WEBGL;
|
|
4000
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER0_WEBGL;
|
|
4001
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER1_WEBGL;
|
|
4002
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER2_WEBGL;
|
|
4003
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER3_WEBGL;
|
|
4004
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER4_WEBGL;
|
|
4005
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER5_WEBGL;
|
|
4006
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER6_WEBGL;
|
|
4007
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER7_WEBGL;
|
|
4008
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER8_WEBGL;
|
|
4009
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER9_WEBGL;
|
|
4010
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER10_WEBGL;
|
|
4011
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER11_WEBGL;
|
|
4012
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER12_WEBGL;
|
|
4013
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER13_WEBGL;
|
|
4014
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER14_WEBGL;
|
|
4015
|
-
@property (nonatomic, readonly) int32_t DRAW_BUFFER15_WEBGL;
|
|
4016
|
-
@property (nonatomic, readonly) int32_t MAX_COLOR_ATTACHMENTS_WEBGL;
|
|
4017
|
-
@property (nonatomic, readonly) int32_t MAX_DRAW_BUFFERS_WEBGL;
|
|
4018
|
-
- (void)drawBuffersWEBGLWithBuffers:(NSArray<NSNumber *> * _Nonnull)buffers;
|
|
4019
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
4020
|
-
@end
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
SWIFT_CLASS_NAMED("TNS_WEBGL_lose_context")
|
|
4024
|
-
@interface TNS_WEBGL_lose_context : NSObject
|
|
4025
|
-
- (nonnull instancetype)initWithCanvas:(TNSCanvas * _Nonnull)canvas OBJC_DESIGNATED_INITIALIZER;
|
|
4026
|
-
- (void)loseContext;
|
|
4027
|
-
- (void)restoreContext;
|
|
4028
|
-
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
4029
|
-
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
4030
|
-
@end
|
|
4031
|
-
|
|
4032
901
|
@class AVPlayer;
|
|
4033
902
|
@class AVPlayerItemVideoOutput;
|
|
4034
903
|
|
|
4035
904
|
SWIFT_CLASS_NAMED("Utils")
|
|
4036
905
|
@interface Utils : NSObject
|
|
4037
|
-
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache
|
|
906
|
+
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache SWIFT_WARN_UNUSED_RESULT;
|
|
4038
907
|
+ (CVOpenGLESTextureRef _Nullable)createImage:(CVOpenGLESTextureCacheRef _Nonnull)texturecache :(CVImageBufferRef _Nonnull)buffer :(CFDictionaryRef _Nullable)textureAttributes :(GLenum)target :(GLint)internalFormat :(GLsizei)width :(GLsizei)height :(GLenum)format :(GLenum)type :(NSInteger)planeIndex SWIFT_WARN_UNUSED_RESULT;
|
|
4039
908
|
+ (TNSRender * _Nonnull)setupRender SWIFT_WARN_UNUSED_RESULT;
|
|
4040
909
|
+ (void)drawFrame:(AVPlayer * _Nonnull)player :(AVPlayerItemVideoOutput * _Nonnull)output :(CGSize)videoSize :(TNSRender * _Nonnull)render :(int32_t)internalFormat :(int32_t)format :(BOOL)flipYWebGL;
|
|
4041
910
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
4042
911
|
@end
|
|
4043
912
|
|
|
913
|
+
#endif
|
|
914
|
+
#if defined(__cplusplus)
|
|
915
|
+
#endif
|
|
4044
916
|
#if __has_attribute(external_source_symbol)
|
|
4045
917
|
# pragma clang attribute pop
|
|
4046
918
|
#endif
|
|
4047
919
|
#pragma clang diagnostic pop
|
|
4048
920
|
#endif
|
|
4049
921
|
|
|
922
|
+
#else
|
|
923
|
+
#error unsupported Swift architecture
|
|
4050
924
|
#endif
|