@octane-xplat/macos-renderer 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
package/types/GLKit.d.ts
ADDED
|
@@ -0,0 +1,937 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const GLKTextureLoaderGLErrorKey: string
|
|
5
|
+
|
|
6
|
+
declare const GLKTextureLoaderErrorKey: string
|
|
7
|
+
|
|
8
|
+
declare const GLKTextureLoaderSRGB: string
|
|
9
|
+
|
|
10
|
+
declare const kGLKModelErrorDomain: string
|
|
11
|
+
|
|
12
|
+
declare const kGLKModelErrorKey: string
|
|
13
|
+
|
|
14
|
+
declare const GLKTextureLoaderGenerateMipmaps: string
|
|
15
|
+
|
|
16
|
+
declare const GLKMatrix3Identity: _GLKMatrix3
|
|
17
|
+
|
|
18
|
+
declare const GLKQuaternionIdentity: _GLKQuaternion
|
|
19
|
+
|
|
20
|
+
declare const GLKTextureLoaderApplyPremultiplication: string
|
|
21
|
+
|
|
22
|
+
declare const GLKMatrix4Identity: _GLKMatrix4
|
|
23
|
+
|
|
24
|
+
declare const GLKTextureLoaderOriginBottomLeft: string
|
|
25
|
+
|
|
26
|
+
declare const GLKTextureLoaderGrayscaleAsAlpha: string
|
|
27
|
+
|
|
28
|
+
declare const GLKTextureLoaderErrorDomain: string
|
|
29
|
+
|
|
30
|
+
declare const GLKTextureLoaderError: {
|
|
31
|
+
FileOrURLNotFound: 0
|
|
32
|
+
InvalidNSData: 1
|
|
33
|
+
InvalidCGImage: 2
|
|
34
|
+
UnknownPathType: 3
|
|
35
|
+
UnknownFileType: 4
|
|
36
|
+
PVRAtlasUnsupported: 5
|
|
37
|
+
CubeMapInvalidNumFiles: 6
|
|
38
|
+
CompressedTextureUpload: 7
|
|
39
|
+
UncompressedTextureUpload: 8
|
|
40
|
+
UnsupportedCubeMapDimensions: 9
|
|
41
|
+
UnsupportedBitDepth: 10
|
|
42
|
+
UnsupportedPVRFormat: 11
|
|
43
|
+
DataPreprocessingFailure: 12
|
|
44
|
+
MipmapUnsupported: 13
|
|
45
|
+
UnsupportedOrientation: 14
|
|
46
|
+
ReorientationFailure: 15
|
|
47
|
+
AlphaPremultiplicationFailure: 16
|
|
48
|
+
InvalidEAGLContext: 17
|
|
49
|
+
IncompatibleFormatSRGB: 18
|
|
50
|
+
UnsupportedTextureTarget: 19
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare const GLKFogMode: {
|
|
54
|
+
Exp: 0
|
|
55
|
+
Exp2: 1
|
|
56
|
+
Linear: 2
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare const GLKTextureTarget: {
|
|
60
|
+
Target2D: 3553
|
|
61
|
+
TargetCubeMap: 34067
|
|
62
|
+
TargetCt: 2
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare const GLKLightingType: {
|
|
66
|
+
Vertex: 0
|
|
67
|
+
Pixel: 1
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare const GLKTextureEnvMode: {
|
|
71
|
+
Replace: 0
|
|
72
|
+
Modulate: 1
|
|
73
|
+
Decal: 2
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare const GLKTextureInfoOrigin: {
|
|
77
|
+
Unknown: 0
|
|
78
|
+
TopLeft: 1
|
|
79
|
+
BottomLeft: 2
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare const GLKVertexAttrib: {
|
|
83
|
+
Position: 0
|
|
84
|
+
Normal: 1
|
|
85
|
+
Color: 2
|
|
86
|
+
TexCoord0: 3
|
|
87
|
+
TexCoord1: 4
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare const GLKTextureInfoAlphaState: {
|
|
91
|
+
None: 0
|
|
92
|
+
NonPremultiplied: 1
|
|
93
|
+
Premultiplied: 2
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
declare class unnamed_13756198831570181614 {
|
|
97
|
+
constructor(init?: unnamed_13756198831570181614)
|
|
98
|
+
r: number
|
|
99
|
+
g: number
|
|
100
|
+
b: number
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class _GLKMatrixStack {
|
|
104
|
+
constructor(init?: _GLKMatrixStack)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare class unnamed_12075498946785748348 {
|
|
108
|
+
constructor(init?: unnamed_12075498946785748348)
|
|
109
|
+
x: number
|
|
110
|
+
y: number
|
|
111
|
+
z: number
|
|
112
|
+
w: number
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare class unnamed_414461565765460624 {
|
|
116
|
+
constructor(init?: unnamed_414461565765460624)
|
|
117
|
+
s: number
|
|
118
|
+
t: number
|
|
119
|
+
p: number
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare class unnamed_12990542358717777996 {
|
|
123
|
+
constructor(init?: unnamed_12990542358717777996)
|
|
124
|
+
x: number
|
|
125
|
+
y: number
|
|
126
|
+
z: number
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class unnamed_17308238690117157823 {
|
|
130
|
+
constructor(init?: unnamed_17308238690117157823)
|
|
131
|
+
m00: number
|
|
132
|
+
m01: number
|
|
133
|
+
m10: number
|
|
134
|
+
m11: number
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare class unnamed_4456683272268209216 {
|
|
138
|
+
constructor(init?: unnamed_4456683272268209216)
|
|
139
|
+
s: number
|
|
140
|
+
t: number
|
|
141
|
+
p: number
|
|
142
|
+
q: number
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
declare class unnamed_1987043888548983542 {
|
|
146
|
+
constructor(init?: unnamed_1987043888548983542)
|
|
147
|
+
s: number
|
|
148
|
+
t: number
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
declare class unnamed_18333676802552446883 {
|
|
152
|
+
constructor(init?: unnamed_18333676802552446883)
|
|
153
|
+
m00: number
|
|
154
|
+
m01: number
|
|
155
|
+
m02: number
|
|
156
|
+
m10: number
|
|
157
|
+
m11: number
|
|
158
|
+
m12: number
|
|
159
|
+
m20: number
|
|
160
|
+
m21: number
|
|
161
|
+
m22: number
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare class GLKEffectPropertyPrv {
|
|
165
|
+
constructor(init?: GLKEffectPropertyPrv)
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare class unnamed_13099729933246841413 {
|
|
169
|
+
constructor(init?: unnamed_13099729933246841413)
|
|
170
|
+
x: number
|
|
171
|
+
y: number
|
|
172
|
+
z: number
|
|
173
|
+
w: number
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare class unnamed_8245068498102271316 {
|
|
177
|
+
constructor(init?: unnamed_8245068498102271316)
|
|
178
|
+
m00: number
|
|
179
|
+
m01: number
|
|
180
|
+
m02: number
|
|
181
|
+
m03: number
|
|
182
|
+
m10: number
|
|
183
|
+
m11: number
|
|
184
|
+
m12: number
|
|
185
|
+
m13: number
|
|
186
|
+
m20: number
|
|
187
|
+
m21: number
|
|
188
|
+
m22: number
|
|
189
|
+
m23: number
|
|
190
|
+
m30: number
|
|
191
|
+
m31: number
|
|
192
|
+
m32: number
|
|
193
|
+
m33: number
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare class unnamed_8556002418549998439 {
|
|
197
|
+
constructor(init?: unnamed_8556002418549998439)
|
|
198
|
+
r: number
|
|
199
|
+
g: number
|
|
200
|
+
b: number
|
|
201
|
+
a: number
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
declare class _GLKVertexAttributeParameters {
|
|
205
|
+
constructor(init?: _GLKVertexAttributeParameters)
|
|
206
|
+
type: number
|
|
207
|
+
size: number
|
|
208
|
+
normalized: number
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare class unnamed_10920541310666348545 {
|
|
212
|
+
constructor(init?: unnamed_10920541310666348545)
|
|
213
|
+
v: _GLKVector3
|
|
214
|
+
s: number
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare class unnamed_3431967864741148974 {
|
|
218
|
+
constructor(init?: unnamed_3431967864741148974)
|
|
219
|
+
x: number
|
|
220
|
+
y: number
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
type _GLKMatrix2Descriptor = { m2: unknown /* const array */ } | { m: unknown /* const array */ }
|
|
224
|
+
|
|
225
|
+
declare class _GLKMatrix2 {
|
|
226
|
+
constructor(init?: _GLKMatrix2Descriptor)
|
|
227
|
+
m2: unknown /* const array */
|
|
228
|
+
m: unknown /* const array */
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
type _GLKQuaternionDescriptor = { q: unknown /* const array */ }
|
|
232
|
+
|
|
233
|
+
declare class _GLKQuaternion {
|
|
234
|
+
constructor(init?: _GLKQuaternionDescriptor)
|
|
235
|
+
q: unknown /* const array */
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
type _GLKVector3Descriptor = { v: unknown /* const array */ }
|
|
239
|
+
|
|
240
|
+
declare class _GLKVector3 {
|
|
241
|
+
constructor(init?: _GLKVector3Descriptor)
|
|
242
|
+
v: unknown /* const array */
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
type _GLKMatrix3Descriptor = { m: unknown /* const array */ }
|
|
246
|
+
|
|
247
|
+
declare class _GLKMatrix3 {
|
|
248
|
+
constructor(init?: _GLKMatrix3Descriptor)
|
|
249
|
+
m: unknown /* const array */
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
type _GLKVector4Descriptor = { v: unknown /* const array */ }
|
|
253
|
+
|
|
254
|
+
declare class _GLKVector4 {
|
|
255
|
+
constructor(init?: _GLKVector4Descriptor)
|
|
256
|
+
v: unknown /* const array */
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
type _GLKVector2Descriptor = { v: unknown /* const array */ }
|
|
260
|
+
|
|
261
|
+
declare class _GLKVector2 {
|
|
262
|
+
constructor(init?: _GLKVector2Descriptor)
|
|
263
|
+
v: unknown /* const array */
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
type _GLKMatrix4Descriptor = { m: unknown /* const array */ }
|
|
267
|
+
|
|
268
|
+
declare class _GLKMatrix4 {
|
|
269
|
+
constructor(init?: _GLKMatrix4Descriptor)
|
|
270
|
+
m: unknown /* const array */
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
declare function GLKQuaternionMakeWithMatrix3(matrix: _GLKMatrix3): _GLKQuaternion
|
|
274
|
+
|
|
275
|
+
declare function GLKQuaternionMakeWithMatrix4(matrix: _GLKMatrix4): _GLKQuaternion
|
|
276
|
+
|
|
277
|
+
declare function GLKQuaternionAngle(quaternion: _GLKQuaternion): number
|
|
278
|
+
|
|
279
|
+
declare function GLKQuaternionAxis(quaternion: _GLKQuaternion): _GLKVector3
|
|
280
|
+
|
|
281
|
+
declare function GLKQuaternionSlerp(
|
|
282
|
+
quaternionStart: _GLKQuaternion,
|
|
283
|
+
quaternionEnd: _GLKQuaternion,
|
|
284
|
+
t: number,
|
|
285
|
+
): _GLKQuaternion
|
|
286
|
+
|
|
287
|
+
declare function GLKQuaternionRotateVector3Array(
|
|
288
|
+
quaternion: _GLKQuaternion,
|
|
289
|
+
vectors: interop.PointerConvertible,
|
|
290
|
+
vectorCount: number,
|
|
291
|
+
): void
|
|
292
|
+
|
|
293
|
+
declare function GLKQuaternionRotateVector4Array(
|
|
294
|
+
quaternion: _GLKQuaternion,
|
|
295
|
+
vectors: interop.PointerConvertible,
|
|
296
|
+
vectorCount: number,
|
|
297
|
+
): void
|
|
298
|
+
|
|
299
|
+
declare function GLKMatrix3Invert(
|
|
300
|
+
matrix: _GLKMatrix3,
|
|
301
|
+
isInvertible: interop.PointerConvertible,
|
|
302
|
+
): _GLKMatrix3
|
|
303
|
+
|
|
304
|
+
declare function GLKMatrix3InvertAndTranspose(
|
|
305
|
+
matrix: _GLKMatrix3,
|
|
306
|
+
isInvertible: interop.PointerConvertible,
|
|
307
|
+
): _GLKMatrix3
|
|
308
|
+
|
|
309
|
+
declare function GLKMatrix4Invert(
|
|
310
|
+
matrix: _GLKMatrix4,
|
|
311
|
+
isInvertible: interop.PointerConvertible,
|
|
312
|
+
): _GLKMatrix4
|
|
313
|
+
|
|
314
|
+
declare function GLKMatrix4InvertAndTranspose(
|
|
315
|
+
matrix: _GLKMatrix4,
|
|
316
|
+
isInvertible: interop.PointerConvertible,
|
|
317
|
+
): _GLKMatrix4
|
|
318
|
+
|
|
319
|
+
declare function GLKMatrixStackCreate(alloc: interop.Object): interop.Object
|
|
320
|
+
|
|
321
|
+
declare function GLKMatrixStackGetTypeID(): number
|
|
322
|
+
|
|
323
|
+
declare function GLKMatrixStackPush(stack: interop.Object): void
|
|
324
|
+
|
|
325
|
+
declare function GLKMatrixStackPop(stack: interop.Object): void
|
|
326
|
+
|
|
327
|
+
declare function GLKMatrixStackSize(stack: interop.Object): number
|
|
328
|
+
|
|
329
|
+
declare function GLKMatrixStackLoadMatrix4(stack: interop.Object, matrix: _GLKMatrix4): void
|
|
330
|
+
|
|
331
|
+
declare function GLKMatrixStackGetMatrix4(stack: interop.Object): _GLKMatrix4
|
|
332
|
+
|
|
333
|
+
declare function GLKMatrixStackGetMatrix3(stack: interop.Object): _GLKMatrix3
|
|
334
|
+
|
|
335
|
+
declare function GLKMatrixStackGetMatrix2(stack: interop.Object): _GLKMatrix2
|
|
336
|
+
|
|
337
|
+
declare function GLKMatrixStackGetMatrix4Inverse(stack: interop.Object): _GLKMatrix4
|
|
338
|
+
|
|
339
|
+
declare function GLKMatrixStackGetMatrix4InverseTranspose(stack: interop.Object): _GLKMatrix4
|
|
340
|
+
|
|
341
|
+
declare function GLKMatrixStackGetMatrix3Inverse(stack: interop.Object): _GLKMatrix3
|
|
342
|
+
|
|
343
|
+
declare function GLKMatrixStackGetMatrix3InverseTranspose(stack: interop.Object): _GLKMatrix3
|
|
344
|
+
|
|
345
|
+
declare function GLKMatrixStackMultiplyMatrix4(stack: interop.Object, matrix: _GLKMatrix4): void
|
|
346
|
+
|
|
347
|
+
declare function GLKMatrixStackMultiplyMatrixStack(
|
|
348
|
+
stackLeft: interop.Object,
|
|
349
|
+
stackRight: interop.Object,
|
|
350
|
+
): void
|
|
351
|
+
|
|
352
|
+
declare function GLKMatrixStackTranslate(
|
|
353
|
+
stack: interop.Object,
|
|
354
|
+
tx: number,
|
|
355
|
+
ty: number,
|
|
356
|
+
tz: number,
|
|
357
|
+
): void
|
|
358
|
+
|
|
359
|
+
declare function GLKMatrixStackTranslateWithVector3(
|
|
360
|
+
stack: interop.Object,
|
|
361
|
+
translationVector: _GLKVector3,
|
|
362
|
+
): void
|
|
363
|
+
|
|
364
|
+
declare function GLKMatrixStackTranslateWithVector4(
|
|
365
|
+
stack: interop.Object,
|
|
366
|
+
translationVector: _GLKVector4,
|
|
367
|
+
): void
|
|
368
|
+
|
|
369
|
+
declare function GLKMatrixStackScale(
|
|
370
|
+
stack: interop.Object,
|
|
371
|
+
sx: number,
|
|
372
|
+
sy: number,
|
|
373
|
+
sz: number,
|
|
374
|
+
): void
|
|
375
|
+
|
|
376
|
+
declare function GLKMatrixStackScaleWithVector3(
|
|
377
|
+
stack: interop.Object,
|
|
378
|
+
scaleVector: _GLKVector3,
|
|
379
|
+
): void
|
|
380
|
+
|
|
381
|
+
declare function GLKMatrixStackScaleWithVector4(
|
|
382
|
+
stack: interop.Object,
|
|
383
|
+
scaleVector: _GLKVector4,
|
|
384
|
+
): void
|
|
385
|
+
|
|
386
|
+
declare function GLKMatrixStackRotate(
|
|
387
|
+
stack: interop.Object,
|
|
388
|
+
radians: number,
|
|
389
|
+
x: number,
|
|
390
|
+
y: number,
|
|
391
|
+
z: number,
|
|
392
|
+
): void
|
|
393
|
+
|
|
394
|
+
declare function GLKMatrixStackRotateWithVector3(
|
|
395
|
+
stack: interop.Object,
|
|
396
|
+
radians: number,
|
|
397
|
+
axisVector: _GLKVector3,
|
|
398
|
+
): void
|
|
399
|
+
|
|
400
|
+
declare function GLKMatrixStackRotateWithVector4(
|
|
401
|
+
stack: interop.Object,
|
|
402
|
+
radians: number,
|
|
403
|
+
axisVector: _GLKVector4,
|
|
404
|
+
): void
|
|
405
|
+
|
|
406
|
+
declare function GLKMatrixStackRotateX(stack: interop.Object, radians: number): void
|
|
407
|
+
|
|
408
|
+
declare function GLKMatrixStackRotateY(stack: interop.Object, radians: number): void
|
|
409
|
+
|
|
410
|
+
declare function GLKMatrixStackRotateZ(stack: interop.Object, radians: number): void
|
|
411
|
+
|
|
412
|
+
declare function GLKMathProject(
|
|
413
|
+
object: _GLKVector3,
|
|
414
|
+
model: _GLKMatrix4,
|
|
415
|
+
projection: _GLKMatrix4,
|
|
416
|
+
viewport: interop.PointerConvertible,
|
|
417
|
+
): _GLKVector3
|
|
418
|
+
|
|
419
|
+
declare function GLKMathUnproject(
|
|
420
|
+
window: _GLKVector3,
|
|
421
|
+
model: _GLKMatrix4,
|
|
422
|
+
projection: _GLKMatrix4,
|
|
423
|
+
viewport: interop.PointerConvertible,
|
|
424
|
+
success: interop.PointerConvertible,
|
|
425
|
+
): _GLKVector3
|
|
426
|
+
|
|
427
|
+
declare function NSStringFromGLKMatrix2(matrix: _GLKMatrix2): string
|
|
428
|
+
|
|
429
|
+
declare function NSStringFromGLKMatrix3(matrix: _GLKMatrix3): string
|
|
430
|
+
|
|
431
|
+
declare function NSStringFromGLKMatrix4(matrix: _GLKMatrix4): string
|
|
432
|
+
|
|
433
|
+
declare function NSStringFromGLKVector2(vector: _GLKVector2): string
|
|
434
|
+
|
|
435
|
+
declare function NSStringFromGLKVector3(vector: _GLKVector3): string
|
|
436
|
+
|
|
437
|
+
declare function NSStringFromGLKVector4(vector: _GLKVector4): string
|
|
438
|
+
|
|
439
|
+
declare function NSStringFromGLKQuaternion(quaternion: _GLKQuaternion): string
|
|
440
|
+
|
|
441
|
+
declare function GLKVertexAttributeParametersFromModelIO(
|
|
442
|
+
vertexFormat: interop.Enum<typeof MDLVertexFormat>,
|
|
443
|
+
): _GLKVertexAttributeParameters
|
|
444
|
+
|
|
445
|
+
declare interface GLKNamedEffect {
|
|
446
|
+
prepareToDraw(): void
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
declare class GLKNamedEffect extends NativeObject implements GLKNamedEffect {}
|
|
450
|
+
|
|
451
|
+
declare class GLKTextureLoader extends NSObject {
|
|
452
|
+
static textureWithContentsOfFileOptionsError(
|
|
453
|
+
path: string,
|
|
454
|
+
options:
|
|
455
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
456
|
+
| Record<interop.Object, interop.Object>
|
|
457
|
+
| null,
|
|
458
|
+
outError: interop.PointerConvertible,
|
|
459
|
+
): GLKTextureInfo
|
|
460
|
+
|
|
461
|
+
static textureWithContentsOfURLOptionsError(
|
|
462
|
+
url: NSURL,
|
|
463
|
+
options:
|
|
464
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
465
|
+
| Record<interop.Object, interop.Object>
|
|
466
|
+
| null,
|
|
467
|
+
outError: interop.PointerConvertible,
|
|
468
|
+
): GLKTextureInfo
|
|
469
|
+
|
|
470
|
+
static textureWithNameScaleFactorBundleOptionsError(
|
|
471
|
+
name: string,
|
|
472
|
+
scaleFactor: number,
|
|
473
|
+
bundle: NSBundle | null,
|
|
474
|
+
options:
|
|
475
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
476
|
+
| Record<interop.Object, interop.Object>
|
|
477
|
+
| null,
|
|
478
|
+
outError: interop.PointerConvertible,
|
|
479
|
+
): GLKTextureInfo
|
|
480
|
+
|
|
481
|
+
static textureWithContentsOfDataOptionsError(
|
|
482
|
+
data: NSData,
|
|
483
|
+
options:
|
|
484
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
485
|
+
| Record<interop.Object, interop.Object>
|
|
486
|
+
| null,
|
|
487
|
+
outError: interop.PointerConvertible,
|
|
488
|
+
): GLKTextureInfo
|
|
489
|
+
|
|
490
|
+
static textureWithCGImageOptionsError(
|
|
491
|
+
cgImage: interop.Object,
|
|
492
|
+
options:
|
|
493
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
494
|
+
| Record<interop.Object, interop.Object>
|
|
495
|
+
| null,
|
|
496
|
+
outError: interop.PointerConvertible,
|
|
497
|
+
): GLKTextureInfo
|
|
498
|
+
|
|
499
|
+
static cubeMapWithContentsOfFilesOptionsError(
|
|
500
|
+
paths: NSArray<interop.Object> | Array<interop.Object>,
|
|
501
|
+
options:
|
|
502
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
503
|
+
| Record<interop.Object, interop.Object>
|
|
504
|
+
| null,
|
|
505
|
+
outError: interop.PointerConvertible,
|
|
506
|
+
): GLKTextureInfo
|
|
507
|
+
|
|
508
|
+
static cubeMapWithContentsOfFileOptionsError(
|
|
509
|
+
path: string,
|
|
510
|
+
options:
|
|
511
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
512
|
+
| Record<interop.Object, interop.Object>
|
|
513
|
+
| null,
|
|
514
|
+
outError: interop.PointerConvertible,
|
|
515
|
+
): GLKTextureInfo
|
|
516
|
+
|
|
517
|
+
static cubeMapWithContentsOfURLOptionsError(
|
|
518
|
+
url: NSURL,
|
|
519
|
+
options:
|
|
520
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
521
|
+
| Record<interop.Object, interop.Object>
|
|
522
|
+
| null,
|
|
523
|
+
outError: interop.PointerConvertible,
|
|
524
|
+
): GLKTextureInfo
|
|
525
|
+
|
|
526
|
+
initWithShareContext(context: NSOpenGLContext): this
|
|
527
|
+
|
|
528
|
+
textureWithContentsOfFileOptionsQueueCompletionHandler(
|
|
529
|
+
path: string,
|
|
530
|
+
options:
|
|
531
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
532
|
+
| Record<interop.Object, interop.Object>
|
|
533
|
+
| null,
|
|
534
|
+
queue: NSObject | null,
|
|
535
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
536
|
+
): void
|
|
537
|
+
|
|
538
|
+
textureWithContentsOfURLOptionsQueueCompletionHandler(
|
|
539
|
+
url: NSURL,
|
|
540
|
+
options:
|
|
541
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
542
|
+
| Record<interop.Object, interop.Object>
|
|
543
|
+
| null,
|
|
544
|
+
queue: NSObject | null,
|
|
545
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
546
|
+
): void
|
|
547
|
+
|
|
548
|
+
textureWithNameScaleFactorBundleOptionsQueueCompletionHandler(
|
|
549
|
+
name: string,
|
|
550
|
+
scaleFactor: number,
|
|
551
|
+
bundle: NSBundle | null,
|
|
552
|
+
options:
|
|
553
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
554
|
+
| Record<interop.Object, interop.Object>
|
|
555
|
+
| null,
|
|
556
|
+
queue: NSObject | null,
|
|
557
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
558
|
+
): void
|
|
559
|
+
|
|
560
|
+
textureWithContentsOfDataOptionsQueueCompletionHandler(
|
|
561
|
+
data: NSData,
|
|
562
|
+
options:
|
|
563
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
564
|
+
| Record<interop.Object, interop.Object>
|
|
565
|
+
| null,
|
|
566
|
+
queue: NSObject | null,
|
|
567
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
568
|
+
): void
|
|
569
|
+
|
|
570
|
+
textureWithCGImageOptionsQueueCompletionHandler(
|
|
571
|
+
cgImage: interop.Object,
|
|
572
|
+
options:
|
|
573
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
574
|
+
| Record<interop.Object, interop.Object>
|
|
575
|
+
| null,
|
|
576
|
+
queue: NSObject | null,
|
|
577
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
578
|
+
): void
|
|
579
|
+
|
|
580
|
+
cubeMapWithContentsOfFilesOptionsQueueCompletionHandler(
|
|
581
|
+
paths: NSArray<interop.Object> | Array<interop.Object>,
|
|
582
|
+
options:
|
|
583
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
584
|
+
| Record<interop.Object, interop.Object>
|
|
585
|
+
| null,
|
|
586
|
+
queue: NSObject | null,
|
|
587
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
588
|
+
): void
|
|
589
|
+
|
|
590
|
+
cubeMapWithContentsOfFileOptionsQueueCompletionHandler(
|
|
591
|
+
path: string,
|
|
592
|
+
options:
|
|
593
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
594
|
+
| Record<interop.Object, interop.Object>
|
|
595
|
+
| null,
|
|
596
|
+
queue: NSObject | null,
|
|
597
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
598
|
+
): void
|
|
599
|
+
|
|
600
|
+
cubeMapWithContentsOfURLOptionsQueueCompletionHandler(
|
|
601
|
+
url: NSURL,
|
|
602
|
+
options:
|
|
603
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
604
|
+
| Record<interop.Object, interop.Object>
|
|
605
|
+
| null,
|
|
606
|
+
queue: NSObject | null,
|
|
607
|
+
block: (p1: GLKTextureInfo, p2: NSError) => void,
|
|
608
|
+
): void
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
declare class GLKTextureInfo extends NSObject implements NSCopying {
|
|
612
|
+
readonly name: number
|
|
613
|
+
|
|
614
|
+
readonly target: number
|
|
615
|
+
|
|
616
|
+
readonly width: number
|
|
617
|
+
|
|
618
|
+
readonly height: number
|
|
619
|
+
|
|
620
|
+
readonly depth: number
|
|
621
|
+
|
|
622
|
+
readonly alphaState: interop.Enum<typeof GLKTextureInfoAlphaState>
|
|
623
|
+
|
|
624
|
+
readonly textureOrigin: interop.Enum<typeof GLKTextureInfoOrigin>
|
|
625
|
+
|
|
626
|
+
readonly containsMipmaps: boolean
|
|
627
|
+
|
|
628
|
+
readonly mimapLevelCount: number
|
|
629
|
+
|
|
630
|
+
readonly arrayLength: number
|
|
631
|
+
|
|
632
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
declare class GLKEffectPropertyLight extends GLKEffectProperty {
|
|
636
|
+
enabled: number
|
|
637
|
+
|
|
638
|
+
position: _GLKVector4
|
|
639
|
+
|
|
640
|
+
ambientColor: _GLKVector4
|
|
641
|
+
|
|
642
|
+
diffuseColor: _GLKVector4
|
|
643
|
+
|
|
644
|
+
specularColor: _GLKVector4
|
|
645
|
+
|
|
646
|
+
spotDirection: _GLKVector3
|
|
647
|
+
|
|
648
|
+
spotExponent: number
|
|
649
|
+
|
|
650
|
+
spotCutoff: number
|
|
651
|
+
|
|
652
|
+
constantAttenuation: number
|
|
653
|
+
|
|
654
|
+
linearAttenuation: number
|
|
655
|
+
|
|
656
|
+
quadraticAttenuation: number
|
|
657
|
+
|
|
658
|
+
transform: GLKEffectPropertyTransform
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
662
|
+
declare class GLKMeshBuffer extends NSObject implements MDLMeshBuffer {
|
|
663
|
+
readonly length: number
|
|
664
|
+
|
|
665
|
+
readonly allocator: GLKMeshBufferAllocator
|
|
666
|
+
|
|
667
|
+
readonly glBufferName: number
|
|
668
|
+
|
|
669
|
+
readonly offset: number
|
|
670
|
+
|
|
671
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
672
|
+
readonly zone: MDLMeshBufferZone
|
|
673
|
+
|
|
674
|
+
readonly type: interop.Enum<typeof MDLMeshBufferType>
|
|
675
|
+
|
|
676
|
+
fillDataOffset(data: NSData, offset: number): void
|
|
677
|
+
|
|
678
|
+
map(): MDLMeshBufferMap
|
|
679
|
+
|
|
680
|
+
isEqual(object: interop.Object): boolean
|
|
681
|
+
|
|
682
|
+
readonly hash: number
|
|
683
|
+
|
|
684
|
+
readonly superclass: interop.Pointer
|
|
685
|
+
|
|
686
|
+
class(): interop.Pointer
|
|
687
|
+
|
|
688
|
+
self(): this
|
|
689
|
+
|
|
690
|
+
performSelector(aSelector: string): interop.Object
|
|
691
|
+
|
|
692
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
693
|
+
|
|
694
|
+
performSelectorWithObjectWithObject(
|
|
695
|
+
aSelector: string,
|
|
696
|
+
object1: interop.Object,
|
|
697
|
+
object2: interop.Object,
|
|
698
|
+
): interop.Object
|
|
699
|
+
|
|
700
|
+
readonly isProxy: boolean
|
|
701
|
+
|
|
702
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
703
|
+
|
|
704
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
705
|
+
|
|
706
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
707
|
+
|
|
708
|
+
respondsToSelector(aSelector: string): boolean
|
|
709
|
+
|
|
710
|
+
retain(): this
|
|
711
|
+
|
|
712
|
+
release(): void
|
|
713
|
+
|
|
714
|
+
autorelease(): this
|
|
715
|
+
|
|
716
|
+
retainCount(): number
|
|
717
|
+
|
|
718
|
+
readonly description: string
|
|
719
|
+
|
|
720
|
+
readonly debugDescription: string
|
|
721
|
+
|
|
722
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
declare class GLKReflectionMapEffect extends GLKBaseEffect implements GLKNamedEffect {
|
|
726
|
+
prepareToDraw(): void
|
|
727
|
+
|
|
728
|
+
readonly textureCubeMap: GLKEffectPropertyTexture
|
|
729
|
+
|
|
730
|
+
matrix: _GLKMatrix3
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
declare class GLKEffectPropertyTexture extends GLKEffectProperty {
|
|
734
|
+
enabled: number
|
|
735
|
+
|
|
736
|
+
name: number
|
|
737
|
+
|
|
738
|
+
target: interop.Enum<typeof GLKTextureTarget>
|
|
739
|
+
|
|
740
|
+
envMode: interop.Enum<typeof GLKTextureEnvMode>
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare class GLKMeshBufferAllocator extends NSObject implements MDLMeshBufferAllocator {
|
|
744
|
+
newZone(capacity: number): MDLMeshBufferZone
|
|
745
|
+
|
|
746
|
+
newZoneForBuffersWithSizeAndType(
|
|
747
|
+
sizes: NSArray<interop.Object> | Array<interop.Object>,
|
|
748
|
+
types: NSArray<interop.Object> | Array<interop.Object>,
|
|
749
|
+
): MDLMeshBufferZone
|
|
750
|
+
|
|
751
|
+
newBufferType(length: number, type: interop.Enum<typeof MDLMeshBufferType>): MDLMeshBuffer
|
|
752
|
+
|
|
753
|
+
newBufferWithDataType(data: NSData, type: interop.Enum<typeof MDLMeshBufferType>): MDLMeshBuffer
|
|
754
|
+
|
|
755
|
+
newBufferFromZoneLengthType(
|
|
756
|
+
zone: MDLMeshBufferZone | null,
|
|
757
|
+
length: number,
|
|
758
|
+
type: interop.Enum<typeof MDLMeshBufferType>,
|
|
759
|
+
): MDLMeshBuffer
|
|
760
|
+
|
|
761
|
+
newBufferFromZoneDataType(
|
|
762
|
+
zone: MDLMeshBufferZone | null,
|
|
763
|
+
data: NSData,
|
|
764
|
+
type: interop.Enum<typeof MDLMeshBufferType>,
|
|
765
|
+
): MDLMeshBuffer
|
|
766
|
+
|
|
767
|
+
isEqual(object: interop.Object): boolean
|
|
768
|
+
|
|
769
|
+
readonly hash: number
|
|
770
|
+
|
|
771
|
+
readonly superclass: interop.Pointer
|
|
772
|
+
|
|
773
|
+
class(): interop.Pointer
|
|
774
|
+
|
|
775
|
+
self(): this
|
|
776
|
+
|
|
777
|
+
performSelector(aSelector: string): interop.Object
|
|
778
|
+
|
|
779
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
780
|
+
|
|
781
|
+
performSelectorWithObjectWithObject(
|
|
782
|
+
aSelector: string,
|
|
783
|
+
object1: interop.Object,
|
|
784
|
+
object2: interop.Object,
|
|
785
|
+
): interop.Object
|
|
786
|
+
|
|
787
|
+
readonly isProxy: boolean
|
|
788
|
+
|
|
789
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
790
|
+
|
|
791
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
792
|
+
|
|
793
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
794
|
+
|
|
795
|
+
respondsToSelector(aSelector: string): boolean
|
|
796
|
+
|
|
797
|
+
retain(): this
|
|
798
|
+
|
|
799
|
+
release(): void
|
|
800
|
+
|
|
801
|
+
autorelease(): this
|
|
802
|
+
|
|
803
|
+
retainCount(): number
|
|
804
|
+
|
|
805
|
+
readonly zone: interop.Pointer
|
|
806
|
+
|
|
807
|
+
readonly description: string
|
|
808
|
+
|
|
809
|
+
readonly debugDescription: string
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
declare class GLKEffectPropertyMaterial extends GLKEffectProperty {
|
|
813
|
+
ambientColor: _GLKVector4
|
|
814
|
+
|
|
815
|
+
diffuseColor: _GLKVector4
|
|
816
|
+
|
|
817
|
+
specularColor: _GLKVector4
|
|
818
|
+
|
|
819
|
+
emissiveColor: _GLKVector4
|
|
820
|
+
|
|
821
|
+
shininess: number
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
declare class GLKSkyboxEffect extends NSObject implements GLKNamedEffect {
|
|
825
|
+
prepareToDraw(): void
|
|
826
|
+
|
|
827
|
+
draw(): void
|
|
828
|
+
|
|
829
|
+
center: _GLKVector3
|
|
830
|
+
|
|
831
|
+
xSize: number
|
|
832
|
+
|
|
833
|
+
ySize: number
|
|
834
|
+
|
|
835
|
+
zSize: number
|
|
836
|
+
|
|
837
|
+
readonly textureCubeMap: GLKEffectPropertyTexture
|
|
838
|
+
|
|
839
|
+
readonly transform: GLKEffectPropertyTransform
|
|
840
|
+
|
|
841
|
+
label: string
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
declare class GLKMesh extends NSObject {
|
|
845
|
+
initWithMeshError(mesh: MDLMesh, error: interop.PointerConvertible): this
|
|
846
|
+
|
|
847
|
+
static newMeshesFromAssetSourceMeshesError(
|
|
848
|
+
asset: MDLAsset,
|
|
849
|
+
sourceMeshes: interop.PointerConvertible,
|
|
850
|
+
error: interop.PointerConvertible,
|
|
851
|
+
): NSArray
|
|
852
|
+
|
|
853
|
+
readonly vertexCount: number
|
|
854
|
+
|
|
855
|
+
readonly vertexBuffers: NSArray
|
|
856
|
+
|
|
857
|
+
readonly vertexDescriptor: MDLVertexDescriptor
|
|
858
|
+
|
|
859
|
+
readonly submeshes: NSArray
|
|
860
|
+
|
|
861
|
+
readonly name: string
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
declare class GLKEffectPropertyTransform extends GLKEffectProperty {
|
|
865
|
+
modelviewMatrix: _GLKMatrix4
|
|
866
|
+
|
|
867
|
+
projectionMatrix: _GLKMatrix4
|
|
868
|
+
|
|
869
|
+
readonly normalMatrix: _GLKMatrix3
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
declare class GLKSubmesh extends NSObject {
|
|
873
|
+
readonly type: number
|
|
874
|
+
|
|
875
|
+
readonly mode: number
|
|
876
|
+
|
|
877
|
+
readonly elementCount: number
|
|
878
|
+
|
|
879
|
+
readonly elementBuffer: GLKMeshBuffer
|
|
880
|
+
|
|
881
|
+
readonly mesh: GLKMesh
|
|
882
|
+
|
|
883
|
+
readonly name: string
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
declare class GLKEffectPropertyFog extends GLKEffectProperty {
|
|
887
|
+
enabled: number
|
|
888
|
+
|
|
889
|
+
mode: number
|
|
890
|
+
|
|
891
|
+
color: _GLKVector4
|
|
892
|
+
|
|
893
|
+
density: number
|
|
894
|
+
|
|
895
|
+
start: number
|
|
896
|
+
|
|
897
|
+
end: number
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
declare class GLKBaseEffect extends NSObject implements GLKNamedEffect {
|
|
901
|
+
prepareToDraw(): void
|
|
902
|
+
|
|
903
|
+
colorMaterialEnabled: number
|
|
904
|
+
|
|
905
|
+
lightModelTwoSided: number
|
|
906
|
+
|
|
907
|
+
useConstantColor: number
|
|
908
|
+
|
|
909
|
+
readonly transform: GLKEffectPropertyTransform
|
|
910
|
+
|
|
911
|
+
readonly light0: GLKEffectPropertyLight
|
|
912
|
+
|
|
913
|
+
readonly light1: GLKEffectPropertyLight
|
|
914
|
+
|
|
915
|
+
readonly light2: GLKEffectPropertyLight
|
|
916
|
+
|
|
917
|
+
lightingType: interop.Enum<typeof GLKLightingType>
|
|
918
|
+
|
|
919
|
+
lightModelAmbientColor: _GLKVector4
|
|
920
|
+
|
|
921
|
+
readonly material: GLKEffectPropertyMaterial
|
|
922
|
+
|
|
923
|
+
readonly texture2d0: GLKEffectPropertyTexture
|
|
924
|
+
|
|
925
|
+
readonly texture2d1: GLKEffectPropertyTexture
|
|
926
|
+
|
|
927
|
+
get textureOrder(): NSArray
|
|
928
|
+
set textureOrder(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
929
|
+
|
|
930
|
+
constantColor: _GLKVector4
|
|
931
|
+
|
|
932
|
+
readonly fog: GLKEffectPropertyFog
|
|
933
|
+
|
|
934
|
+
label: string
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
declare class GLKEffectProperty extends NSObject {}
|