@bloomengine/engine 0.4.0 → 0.4.2
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/native/tvos/metal-patched/Cargo.toml +178 -0
- package/native/tvos/metal-patched/LICENSE-APACHE +201 -0
- package/native/tvos/metal-patched/LICENSE-MIT +25 -0
- package/native/tvos/metal-patched/src/acceleration_structure.rs +667 -0
- package/native/tvos/metal-patched/src/acceleration_structure_pass.rs +108 -0
- package/native/tvos/metal-patched/src/argument.rs +366 -0
- package/native/tvos/metal-patched/src/blitpass.rs +102 -0
- package/native/tvos/metal-patched/src/buffer.rs +71 -0
- package/native/tvos/metal-patched/src/capturedescriptor.rs +76 -0
- package/native/tvos/metal-patched/src/capturemanager.rs +113 -0
- package/native/tvos/metal-patched/src/commandbuffer.rs +192 -0
- package/native/tvos/metal-patched/src/commandqueue.rs +44 -0
- package/native/tvos/metal-patched/src/computepass.rs +107 -0
- package/native/tvos/metal-patched/src/constants.rs +152 -0
- package/native/tvos/metal-patched/src/counters.rs +119 -0
- package/native/tvos/metal-patched/src/depthstencil.rs +190 -0
- package/native/tvos/metal-patched/src/device.rs +2134 -0
- package/native/tvos/metal-patched/src/drawable.rs +39 -0
- package/native/tvos/metal-patched/src/encoder.rs +2041 -0
- package/native/tvos/metal-patched/src/heap.rs +281 -0
- package/native/tvos/metal-patched/src/indirect_encoder.rs +344 -0
- package/native/tvos/metal-patched/src/lib.rs +657 -0
- package/native/tvos/metal-patched/src/library.rs +902 -0
- package/native/tvos/metal-patched/src/mps.rs +575 -0
- package/native/tvos/metal-patched/src/pipeline/compute.rs +475 -0
- package/native/tvos/metal-patched/src/pipeline/mod.rs +71 -0
- package/native/tvos/metal-patched/src/pipeline/render.rs +762 -0
- package/native/tvos/metal-patched/src/renderpass.rs +443 -0
- package/native/tvos/metal-patched/src/resource.rs +182 -0
- package/native/tvos/metal-patched/src/sampler.rs +165 -0
- package/native/tvos/metal-patched/src/sync.rs +178 -0
- package/native/tvos/metal-patched/src/texture.rs +352 -0
- package/native/tvos/metal-patched/src/types.rs +90 -0
- package/native/tvos/metal-patched/src/vertexdescriptor.rs +250 -0
- package/package.json +8 -11
- package/native/third_party/JoltPhysics/Build/Android/PerformanceTest/build.gradle +0 -51
- package/native/third_party/JoltPhysics/Build/Android/PerformanceTest/src/main/AndroidManifest.xml +0 -20
- package/native/third_party/JoltPhysics/Build/Android/PerformanceTest/src/main/cpp/CMakeLists.txt +0 -20
- package/native/third_party/JoltPhysics/Build/Android/UnitTests/build.gradle +0 -51
- package/native/third_party/JoltPhysics/Build/Android/UnitTests/src/main/AndroidManifest.xml +0 -20
- package/native/third_party/JoltPhysics/Build/Android/UnitTests/src/main/cpp/CMakeLists.txt +0 -20
- package/native/third_party/JoltPhysics/Build/Android/build.gradle +0 -17
- package/native/third_party/JoltPhysics/Build/Android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/native/third_party/JoltPhysics/Build/Android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/native/third_party/JoltPhysics/Build/Android/gradle.properties +0 -21
- package/native/third_party/JoltPhysics/Build/Android/gradlew +0 -185
- package/native/third_party/JoltPhysics/Build/Android/gradlew.bat +0 -89
- package/native/third_party/JoltPhysics/Build/Android/settings.gradle +0 -10
- package/native/third_party/JoltPhysics/Build/CMakeLists.txt +0 -449
- package/native/third_party/JoltPhysics/Build/README.md +0 -250
- package/native/third_party/JoltPhysics/Build/cmake_linux_clang_gcc.sh +0 -28
- package/native/third_party/JoltPhysics/Build/cmake_linux_emscripten.sh +0 -19
- package/native/third_party/JoltPhysics/Build/cmake_linux_mingw.sh +0 -19
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_32bit.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_arm.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_arm_32bit.bat +0 -4
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_cross_platform_deterministic.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_double.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_cl_no_object_stream.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_clang.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_clang_cross_platform_deterministic.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_clang_double.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_uwp.bat +0 -5
- package/native/third_party/JoltPhysics/Build/cmake_vs2022_uwp_arm.bat +0 -5
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_cl.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_cl_cross_platform_deterministic.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_cl_double.bat +0 -3
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_clang.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_clang_cross_platform_deterministic.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_vs2026_clang_double.bat +0 -10
- package/native/third_party/JoltPhysics/Build/cmake_windows_mingw.sh +0 -19
- package/native/third_party/JoltPhysics/Build/cmake_xcode_ios.sh +0 -4
- package/native/third_party/JoltPhysics/Build/cmake_xcode_macos.sh +0 -4
- package/native/third_party/JoltPhysics/Build/iOS/JoltViewerInfo.plist +0 -34
- package/native/third_party/JoltPhysics/Build/iOS/SamplesInfo.plist +0 -34
- package/native/third_party/JoltPhysics/Build/iOS/UnitTestsInfo.plist +0 -34
- package/native/third_party/JoltPhysics/Build/macOS/icon.icns +0 -0
- package/native/third_party/JoltPhysics/Build/macos_install_vulkan_sdk.sh +0 -13
- package/native/third_party/JoltPhysics/Build/ubuntu24_install_vulkan_sdk.sh +0 -4
- package/native/third_party/JoltPhysics/Jolt/AABBTree/AABBTreeBuilder.cpp +0 -242
- package/native/third_party/JoltPhysics/Jolt/AABBTree/AABBTreeBuilder.h +0 -121
- package/native/third_party/JoltPhysics/Jolt/AABBTree/AABBTreeToBuffer.h +0 -296
- package/native/third_party/JoltPhysics/Jolt/AABBTree/NodeCodec/NodeCodecQuadTreeHalfFloat.h +0 -323
- package/native/third_party/JoltPhysics/Jolt/AABBTree/TriangleCodec/TriangleCodecIndexed8BitPackSOA4Flags.h +0 -555
- package/native/third_party/JoltPhysics/Jolt/ConfigurationString.h +0 -112
- package/native/third_party/JoltPhysics/Jolt/Core/ARMNeon.h +0 -94
- package/native/third_party/JoltPhysics/Jolt/Core/Array.h +0 -713
- package/native/third_party/JoltPhysics/Jolt/Core/Atomics.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Core/BinaryHeap.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Core/ByteBuffer.h +0 -74
- package/native/third_party/JoltPhysics/Jolt/Core/Color.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/Core/Color.h +0 -98
- package/native/third_party/JoltPhysics/Jolt/Core/Core.h +0 -652
- package/native/third_party/JoltPhysics/Jolt/Core/FPControlWord.h +0 -143
- package/native/third_party/JoltPhysics/Jolt/Core/FPException.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Core/FPFlushDenormals.h +0 -43
- package/native/third_party/JoltPhysics/Jolt/Core/Factory.cpp +0 -92
- package/native/third_party/JoltPhysics/Jolt/Core/Factory.h +0 -54
- package/native/third_party/JoltPhysics/Jolt/Core/FixedSizeFreeList.h +0 -122
- package/native/third_party/JoltPhysics/Jolt/Core/FixedSizeFreeList.inl +0 -215
- package/native/third_party/JoltPhysics/Jolt/Core/HashCombine.h +0 -234
- package/native/third_party/JoltPhysics/Jolt/Core/HashTable.h +0 -876
- package/native/third_party/JoltPhysics/Jolt/Core/InsertionSort.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Core/IssueReporting.cpp +0 -27
- package/native/third_party/JoltPhysics/Jolt/Core/IssueReporting.h +0 -38
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystem.h +0 -311
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystem.inl +0 -56
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemSingleThreaded.cpp +0 -65
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemSingleThreaded.h +0 -62
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemThreadPool.cpp +0 -364
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemThreadPool.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemWithBarrier.cpp +0 -230
- package/native/third_party/JoltPhysics/Jolt/Core/JobSystemWithBarrier.h +0 -85
- package/native/third_party/JoltPhysics/Jolt/Core/LinearCurve.cpp +0 -51
- package/native/third_party/JoltPhysics/Jolt/Core/LinearCurve.h +0 -67
- package/native/third_party/JoltPhysics/Jolt/Core/LockFreeHashMap.h +0 -182
- package/native/third_party/JoltPhysics/Jolt/Core/LockFreeHashMap.inl +0 -351
- package/native/third_party/JoltPhysics/Jolt/Core/Memory.cpp +0 -85
- package/native/third_party/JoltPhysics/Jolt/Core/Memory.h +0 -85
- package/native/third_party/JoltPhysics/Jolt/Core/Mutex.h +0 -223
- package/native/third_party/JoltPhysics/Jolt/Core/MutexArray.h +0 -98
- package/native/third_party/JoltPhysics/Jolt/Core/NonCopyable.h +0 -18
- package/native/third_party/JoltPhysics/Jolt/Core/Profiler.cpp +0 -677
- package/native/third_party/JoltPhysics/Jolt/Core/Profiler.h +0 -301
- package/native/third_party/JoltPhysics/Jolt/Core/Profiler.inl +0 -90
- package/native/third_party/JoltPhysics/Jolt/Core/QuickSort.h +0 -137
- package/native/third_party/JoltPhysics/Jolt/Core/RTTI.cpp +0 -149
- package/native/third_party/JoltPhysics/Jolt/Core/RTTI.h +0 -436
- package/native/third_party/JoltPhysics/Jolt/Core/Reference.h +0 -244
- package/native/third_party/JoltPhysics/Jolt/Core/Result.h +0 -174
- package/native/third_party/JoltPhysics/Jolt/Core/STLAlignedAllocator.h +0 -72
- package/native/third_party/JoltPhysics/Jolt/Core/STLAllocator.h +0 -127
- package/native/third_party/JoltPhysics/Jolt/Core/STLLocalAllocator.h +0 -170
- package/native/third_party/JoltPhysics/Jolt/Core/STLTempAllocator.h +0 -80
- package/native/third_party/JoltPhysics/Jolt/Core/ScopeExit.h +0 -49
- package/native/third_party/JoltPhysics/Jolt/Core/Semaphore.cpp +0 -135
- package/native/third_party/JoltPhysics/Jolt/Core/Semaphore.h +0 -68
- package/native/third_party/JoltPhysics/Jolt/Core/StaticArray.h +0 -329
- package/native/third_party/JoltPhysics/Jolt/Core/StreamIn.h +0 -120
- package/native/third_party/JoltPhysics/Jolt/Core/StreamOut.h +0 -97
- package/native/third_party/JoltPhysics/Jolt/Core/StreamUtils.h +0 -168
- package/native/third_party/JoltPhysics/Jolt/Core/StreamWrapper.h +0 -53
- package/native/third_party/JoltPhysics/Jolt/Core/StridedPtr.h +0 -63
- package/native/third_party/JoltPhysics/Jolt/Core/StringTools.cpp +0 -101
- package/native/third_party/JoltPhysics/Jolt/Core/StringTools.h +0 -38
- package/native/third_party/JoltPhysics/Jolt/Core/TempAllocator.h +0 -209
- package/native/third_party/JoltPhysics/Jolt/Core/TickCounter.cpp +0 -37
- package/native/third_party/JoltPhysics/Jolt/Core/TickCounter.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Core/UnorderedMap.h +0 -80
- package/native/third_party/JoltPhysics/Jolt/Core/UnorderedSet.h +0 -32
- package/native/third_party/JoltPhysics/Jolt/Geometry/AABox.h +0 -313
- package/native/third_party/JoltPhysics/Jolt/Geometry/AABox4.h +0 -224
- package/native/third_party/JoltPhysics/Jolt/Geometry/ClipPoly.h +0 -200
- package/native/third_party/JoltPhysics/Jolt/Geometry/ClosestPoint.h +0 -498
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder.cpp +0 -1467
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder.h +0 -276
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder2D.cpp +0 -335
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexHullBuilder2D.h +0 -105
- package/native/third_party/JoltPhysics/Jolt/Geometry/ConvexSupport.h +0 -188
- package/native/third_party/JoltPhysics/Jolt/Geometry/EPAConvexHullBuilder.h +0 -845
- package/native/third_party/JoltPhysics/Jolt/Geometry/EPAPenetrationDepth.h +0 -557
- package/native/third_party/JoltPhysics/Jolt/Geometry/Ellipse.h +0 -77
- package/native/third_party/JoltPhysics/Jolt/Geometry/GJKClosestPoint.h +0 -945
- package/native/third_party/JoltPhysics/Jolt/Geometry/IndexedTriangle.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Geometry/Indexify.cpp +0 -222
- package/native/third_party/JoltPhysics/Jolt/Geometry/Indexify.h +0 -19
- package/native/third_party/JoltPhysics/Jolt/Geometry/MortonCode.h +0 -40
- package/native/third_party/JoltPhysics/Jolt/Geometry/OrientedBox.cpp +0 -178
- package/native/third_party/JoltPhysics/Jolt/Geometry/OrientedBox.h +0 -39
- package/native/third_party/JoltPhysics/Jolt/Geometry/Plane.h +0 -104
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayAABox.h +0 -241
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayCapsule.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayCylinder.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/Geometry/RaySphere.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Geometry/RayTriangle.h +0 -158
- package/native/third_party/JoltPhysics/Jolt/Geometry/Sphere.h +0 -72
- package/native/third_party/JoltPhysics/Jolt/Geometry/Triangle.h +0 -34
- package/native/third_party/JoltPhysics/Jolt/Jolt.cmake +0 -703
- package/native/third_party/JoltPhysics/Jolt/Jolt.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Jolt.natvis +0 -116
- package/native/third_party/JoltPhysics/Jolt/Math/BVec16.h +0 -99
- package/native/third_party/JoltPhysics/Jolt/Math/BVec16.inl +0 -177
- package/native/third_party/JoltPhysics/Jolt/Math/DMat44.h +0 -158
- package/native/third_party/JoltPhysics/Jolt/Math/DMat44.inl +0 -310
- package/native/third_party/JoltPhysics/Jolt/Math/DVec3.h +0 -291
- package/native/third_party/JoltPhysics/Jolt/Math/DVec3.inl +0 -941
- package/native/third_party/JoltPhysics/Jolt/Math/Double3.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Math/DynMatrix.h +0 -31
- package/native/third_party/JoltPhysics/Jolt/Math/EigenValueSymmetric.h +0 -177
- package/native/third_party/JoltPhysics/Jolt/Math/FindRoot.h +0 -42
- package/native/third_party/JoltPhysics/Jolt/Math/Float2.h +0 -36
- package/native/third_party/JoltPhysics/Jolt/Math/Float3.h +0 -50
- package/native/third_party/JoltPhysics/Jolt/Math/Float4.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Math/GaussianElimination.h +0 -102
- package/native/third_party/JoltPhysics/Jolt/Math/HalfFloat.h +0 -208
- package/native/third_party/JoltPhysics/Jolt/Math/Mat44.h +0 -243
- package/native/third_party/JoltPhysics/Jolt/Math/Mat44.inl +0 -952
- package/native/third_party/JoltPhysics/Jolt/Math/Math.h +0 -208
- package/native/third_party/JoltPhysics/Jolt/Math/MathTypes.h +0 -32
- package/native/third_party/JoltPhysics/Jolt/Math/Matrix.h +0 -259
- package/native/third_party/JoltPhysics/Jolt/Math/Quat.h +0 -268
- package/native/third_party/JoltPhysics/Jolt/Math/Quat.inl +0 -406
- package/native/third_party/JoltPhysics/Jolt/Math/Real.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Math/Swizzle.h +0 -19
- package/native/third_party/JoltPhysics/Jolt/Math/Trigonometry.h +0 -79
- package/native/third_party/JoltPhysics/Jolt/Math/UVec4.h +0 -232
- package/native/third_party/JoltPhysics/Jolt/Math/UVec4.inl +0 -636
- package/native/third_party/JoltPhysics/Jolt/Math/Vec3.cpp +0 -71
- package/native/third_party/JoltPhysics/Jolt/Math/Vec3.h +0 -308
- package/native/third_party/JoltPhysics/Jolt/Math/Vec3.inl +0 -942
- package/native/third_party/JoltPhysics/Jolt/Math/Vec4.h +0 -320
- package/native/third_party/JoltPhysics/Jolt/Math/Vec4.inl +0 -1152
- package/native/third_party/JoltPhysics/Jolt/Math/Vector.h +0 -211
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/GetPrimitiveTypeOfType.h +0 -54
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStream.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStream.h +0 -337
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryIn.cpp +0 -252
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryIn.h +0 -57
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryOut.cpp +0 -165
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamBinaryOut.h +0 -57
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamIn.cpp +0 -635
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamIn.h +0 -148
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamOut.cpp +0 -166
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamOut.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextIn.cpp +0 -418
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextIn.h +0 -55
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextOut.cpp +0 -255
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTextOut.h +0 -62
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/ObjectStreamTypes.h +0 -26
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableAttribute.h +0 -111
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableAttributeEnum.h +0 -67
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableAttributeTyped.h +0 -60
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableObject.cpp +0 -15
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/SerializableObject.h +0 -170
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/TypeDeclarations.cpp +0 -70
- package/native/third_party/JoltPhysics/Jolt/ObjectStream/TypeDeclarations.h +0 -45
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/AllowedDOFs.h +0 -68
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/Body.cpp +0 -426
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/Body.h +0 -452
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/Body.inl +0 -197
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyAccess.h +0 -68
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyActivationListener.h +0 -28
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyCreationSettings.cpp +0 -234
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyCreationSettings.h +0 -124
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyFilter.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyID.h +0 -101
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyInterface.cpp +0 -1099
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyInterface.h +0 -324
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyLock.h +0 -111
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyLockInterface.h +0 -134
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyLockMulti.h +0 -120
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyManager.cpp +0 -1220
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyManager.h +0 -403
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyPair.h +0 -36
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/BodyType.h +0 -19
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MassProperties.cpp +0 -185
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MassProperties.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionProperties.cpp +0 -92
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionProperties.h +0 -308
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionProperties.inl +0 -178
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionQuality.h +0 -31
- package/native/third_party/JoltPhysics/Jolt/Physics/Body/MotionType.h +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/Character.cpp +0 -354
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/Character.h +0 -159
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterBase.cpp +0 -59
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterBase.h +0 -157
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterID.h +0 -98
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterVirtual.cpp +0 -1933
- package/native/third_party/JoltPhysics/Jolt/Physics/Character/CharacterVirtual.h +0 -752
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/AABoxCast.h +0 -20
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ActiveEdgeMode.h +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ActiveEdges.h +0 -114
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BackFaceMode.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhase.cpp +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhase.h +0 -109
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseBruteForce.cpp +0 -313
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseBruteForce.h +0 -38
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayer.h +0 -148
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayerInterfaceMask.h +0 -92
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseLayerInterfaceTable.h +0 -64
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.cpp +0 -629
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuadTree.h +0 -108
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/BroadPhaseQuery.h +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/ObjectVsBroadPhaseLayerFilterMask.h +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/ObjectVsBroadPhaseLayerFilterTable.h +0 -66
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/QuadTree.cpp +0 -1768
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/BroadPhase/QuadTree.h +0 -389
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastConvexVsTriangles.cpp +0 -107
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastConvexVsTriangles.h +0 -46
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastResult.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastSphereVsTriangles.cpp +0 -223
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CastSphereVsTriangles.h +0 -49
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollectFacesMode.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideConvexVsTriangles.cpp +0 -155
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideConvexVsTriangles.h +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollidePointResult.h +0 -25
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideShape.h +0 -106
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideShapeVsShapePerLeaf.h +0 -94
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSoftBodyVertexIterator.h +0 -110
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSoftBodyVerticesVsTriangles.h +0 -102
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSphereVsTriangles.cpp +0 -121
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollideSphereVsTriangles.h +0 -50
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionCollector.h +0 -109
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionCollectorImpl.h +0 -219
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionDispatch.cpp +0 -107
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionDispatch.h +0 -97
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionGroup.cpp +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/CollisionGroup.h +0 -97
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ContactListener.h +0 -143
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/EstimateCollisionResponse.cpp +0 -213
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/EstimateCollisionResponse.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilter.cpp +0 -32
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilter.h +0 -46
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilterTable.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/GroupFilterTable.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/InternalEdgeRemovingCollector.h +0 -279
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ManifoldBetweenTwoFaces.cpp +0 -271
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ManifoldBetweenTwoFaces.h +0 -44
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseQuery.cpp +0 -448
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseQuery.h +0 -77
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseStats.cpp +0 -62
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/NarrowPhaseStats.h +0 -110
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ObjectLayer.h +0 -111
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ObjectLayerPairFilterMask.h +0 -52
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ObjectLayerPairFilterTable.h +0 -78
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterial.cpp +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterial.h +0 -57
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterialSimple.cpp +0 -38
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/PhysicsMaterialSimple.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/RayCast.h +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/BoxShape.cpp +0 -318
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/BoxShape.h +0 -115
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CapsuleShape.cpp +0 -438
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CapsuleShape.h +0 -129
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CompoundShape.cpp +0 -433
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CompoundShape.h +0 -354
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CompoundShapeVisitors.h +0 -461
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexHullShape.cpp +0 -1311
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexHullShape.h +0 -202
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexShape.cpp +0 -566
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ConvexShape.h +0 -150
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CylinderShape.cpp +0 -418
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/CylinderShape.h +0 -126
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/DecoratedShape.cpp +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/DecoratedShape.h +0 -80
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/EmptyShape.cpp +0 -64
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/EmptyShape.h +0 -75
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/GetTrianglesContext.h +0 -248
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/HeightFieldShape.cpp +0 -2754
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/HeightFieldShape.h +0 -380
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MeshShape.cpp +0 -1305
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MeshShape.h +0 -228
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MutableCompoundShape.cpp +0 -596
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/MutableCompoundShape.h +0 -176
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.cpp +0 -217
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/OffsetCenterOfMassShape.h +0 -140
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/PlaneShape.cpp +0 -541
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/PlaneShape.h +0 -147
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/PolyhedronSubmergedVolumeCalculator.h +0 -319
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.cpp +0 -333
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/RotatedTranslatedShape.h +0 -161
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ScaleHelpers.h +0 -83
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ScaledShape.cpp +0 -238
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/ScaledShape.h +0 -145
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/Shape.cpp +0 -325
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/Shape.h +0 -466
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SphereShape.cpp +0 -347
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SphereShape.h +0 -125
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/StaticCompoundShape.cpp +0 -674
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/StaticCompoundShape.h +0 -139
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SubShapeID.h +0 -138
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/SubShapeIDPair.h +0 -65
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.cpp +0 -453
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.gliffy +0 -1
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCapsuleShape.h +0 -135
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCylinderShape.cpp +0 -691
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TaperedCylinderShape.h +0 -132
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TriangleShape.cpp +0 -430
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/Shape/TriangleShape.h +0 -143
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ShapeCast.h +0 -173
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/ShapeFilter.h +0 -73
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/SimShapeFilter.h +0 -40
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/SimShapeFilterWrapper.h +0 -58
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/SortReverseAndStore.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/TransformedShape.cpp +0 -180
- package/native/third_party/JoltPhysics/Jolt/Physics/Collision/TransformedShape.h +0 -194
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/CalculateSolverSteps.h +0 -70
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConeConstraint.cpp +0 -246
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConeConstraint.h +0 -133
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/Constraint.cpp +0 -73
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/Constraint.h +0 -243
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintManager.cpp +0 -289
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintManager.h +0 -100
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/AngleConstraintPart.h +0 -257
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/AxisConstraintPart.h +0 -682
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/DualAxisConstraintPart.h +0 -276
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/GearConstraintPart.h +0 -195
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/HingeRotationConstraintPart.h +0 -222
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/IndependentAxisConstraintPart.h +0 -246
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/PointConstraintPart.h +0 -239
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/RackAndPinionConstraintPart.h +0 -196
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/RotationEulerConstraintPart.h +0 -283
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/RotationQuatConstraintPart.h +0 -246
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/SpringPart.h +0 -169
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ConstraintPart/SwingTwistConstraintPart.h +0 -597
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ContactConstraintManager.cpp +0 -1804
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/ContactConstraintManager.h +0 -524
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/DistanceConstraint.cpp +0 -266
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/DistanceConstraint.h +0 -120
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/FixedConstraint.cpp +0 -215
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/FixedConstraint.h +0 -96
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/GearConstraint.cpp +0 -188
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/GearConstraint.h +0 -116
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/HingeConstraint.cpp +0 -443
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/HingeConstraint.h +0 -205
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/MotorSettings.cpp +0 -43
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/MotorSettings.h +0 -66
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraint.cpp +0 -458
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraint.h +0 -191
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPath.cpp +0 -85
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPath.h +0 -76
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPathHermite.cpp +0 -308
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PathConstraintPathHermite.h +0 -54
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PointConstraint.cpp +0 -157
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PointConstraint.h +0 -94
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PulleyConstraint.cpp +0 -253
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/PulleyConstraint.h +0 -137
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/RackAndPinionConstraint.cpp +0 -189
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/RackAndPinionConstraint.h +0 -118
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SixDOFConstraint.cpp +0 -900
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SixDOFConstraint.h +0 -289
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SliderConstraint.cpp +0 -501
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SliderConstraint.h +0 -198
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SpringSettings.cpp +0 -35
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SpringSettings.h +0 -70
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SwingTwistConstraint.cpp +0 -524
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/SwingTwistConstraint.h +0 -197
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/TwoBodyConstraint.cpp +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Constraints/TwoBodyConstraint.h +0 -65
- package/native/third_party/JoltPhysics/Jolt/Physics/DeterminismLog.cpp +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/DeterminismLog.h +0 -159
- package/native/third_party/JoltPhysics/Jolt/Physics/EActivation.h +0 -16
- package/native/third_party/JoltPhysics/Jolt/Physics/EPhysicsUpdateError.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/IslandBuilder.cpp +0 -492
- package/native/third_party/JoltPhysics/Jolt/Physics/IslandBuilder.h +0 -144
- package/native/third_party/JoltPhysics/Jolt/Physics/LargeIslandSplitter.cpp +0 -582
- package/native/third_party/JoltPhysics/Jolt/Physics/LargeIslandSplitter.h +0 -187
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsLock.h +0 -169
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsScene.cpp +0 -261
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsScene.h +0 -104
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsSettings.h +0 -125
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsStepListener.h +0 -37
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsSystem.cpp +0 -2915
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsSystem.h +0 -391
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsUpdateContext.cpp +0 -25
- package/native/third_party/JoltPhysics/Jolt/Physics/PhysicsUpdateContext.h +0 -176
- package/native/third_party/JoltPhysics/Jolt/Physics/Ragdoll/Ragdoll.cpp +0 -744
- package/native/third_party/JoltPhysics/Jolt/Physics/Ragdoll/Ragdoll.h +0 -245
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyContactListener.h +0 -55
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyCreationSettings.cpp +0 -128
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyCreationSettings.h +0 -75
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyManifold.h +0 -74
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyMotionProperties.cpp +0 -1501
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyMotionProperties.h +0 -333
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyShape.cpp +0 -354
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyShape.h +0 -73
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodySharedSettings.cpp +0 -1487
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodySharedSettings.h +0 -390
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyUpdateContext.h +0 -63
- package/native/third_party/JoltPhysics/Jolt/Physics/SoftBody/SoftBodyVertex.h +0 -36
- package/native/third_party/JoltPhysics/Jolt/Physics/StateRecorder.h +0 -136
- package/native/third_party/JoltPhysics/Jolt/Physics/StateRecorderImpl.cpp +0 -90
- package/native/third_party/JoltPhysics/Jolt/Physics/StateRecorderImpl.h +0 -50
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/MotorcycleController.cpp +0 -306
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/MotorcycleController.h +0 -119
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/TrackedVehicleController.cpp +0 -547
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/TrackedVehicleController.h +0 -169
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleAntiRollBar.cpp +0 -33
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleAntiRollBar.h +0 -33
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleCollisionTester.cpp +0 -376
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleCollisionTester.h +0 -146
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleConstraint.cpp +0 -703
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleConstraint.h +0 -252
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleController.cpp +0 -17
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleController.h +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleDifferential.cpp +0 -81
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleDifferential.h +0 -39
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleEngine.cpp +0 -122
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleEngine.h +0 -93
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTrack.cpp +0 -52
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTrack.h +0 -56
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTransmission.cpp +0 -159
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/VehicleTransmission.h +0 -87
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/Wheel.cpp +0 -93
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/Wheel.h +0 -148
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/WheeledVehicleController.cpp +0 -866
- package/native/third_party/JoltPhysics/Jolt/Physics/Vehicle/WheeledVehicleController.h +0 -205
- package/native/third_party/JoltPhysics/Jolt/RegisterTypes.cpp +0 -204
- package/native/third_party/JoltPhysics/Jolt/RegisterTypes.h +0 -29
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRenderer.cpp +0 -1107
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRenderer.h +0 -383
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererPlayback.cpp +0 -168
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererPlayback.h +0 -48
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererRecorder.cpp +0 -158
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererRecorder.h +0 -130
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererSimple.cpp +0 -80
- package/native/third_party/JoltPhysics/Jolt/Renderer/DebugRendererSimple.h +0 -88
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletalAnimation.cpp +0 -165
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletalAnimation.h +0 -91
- package/native/third_party/JoltPhysics/Jolt/Skeleton/Skeleton.cpp +0 -82
- package/native/third_party/JoltPhysics/Jolt/Skeleton/Skeleton.h +0 -72
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonMapper.cpp +0 -237
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonMapper.h +0 -145
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonPose.cpp +0 -87
- package/native/third_party/JoltPhysics/Jolt/Skeleton/SkeletonPose.h +0 -82
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitter.cpp +0 -73
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitter.h +0 -84
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterBinning.cpp +0 -139
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterBinning.h +0 -52
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterMean.cpp +0 -43
- package/native/third_party/JoltPhysics/Jolt/TriangleSplitter/TriangleSplitterMean.h +0 -28
- package/native/third_party/JoltPhysics/LICENSE +0 -7
- package/native/third_party/JoltPhysics/README.md +0 -173
- package/native/third_party/bloom_jolt/CMakeLists.txt +0 -87
- package/native/third_party/bloom_jolt/include/bloom_jolt.h +0 -519
- package/native/third_party/bloom_jolt/src/bloom_jolt.cpp +0 -1780
|
@@ -0,0 +1,762 @@
|
|
|
1
|
+
// Copyright 2017 GFX developers
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
|
|
4
|
+
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
|
|
5
|
+
// http://opensource.org/licenses/MIT>, at your option. This file may not be
|
|
6
|
+
// copied, modified, or distributed except according to those terms.
|
|
7
|
+
|
|
8
|
+
use super::*;
|
|
9
|
+
|
|
10
|
+
use objc::runtime::{NO, YES};
|
|
11
|
+
|
|
12
|
+
/// See <https://developer.apple.com/documentation/metal/mtlblendfactor>
|
|
13
|
+
#[repr(u64)]
|
|
14
|
+
#[allow(non_camel_case_types)]
|
|
15
|
+
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
|
|
16
|
+
pub enum MTLBlendFactor {
|
|
17
|
+
Zero = 0,
|
|
18
|
+
One = 1,
|
|
19
|
+
SourceColor = 2,
|
|
20
|
+
OneMinusSourceColor = 3,
|
|
21
|
+
SourceAlpha = 4,
|
|
22
|
+
OneMinusSourceAlpha = 5,
|
|
23
|
+
DestinationColor = 6,
|
|
24
|
+
OneMinusDestinationColor = 7,
|
|
25
|
+
DestinationAlpha = 8,
|
|
26
|
+
OneMinusDestinationAlpha = 9,
|
|
27
|
+
SourceAlphaSaturated = 10,
|
|
28
|
+
BlendColor = 11,
|
|
29
|
+
OneMinusBlendColor = 12,
|
|
30
|
+
BlendAlpha = 13,
|
|
31
|
+
OneMinusBlendAlpha = 14,
|
|
32
|
+
Source1Color = 15,
|
|
33
|
+
OneMinusSource1Color = 16,
|
|
34
|
+
Source1Alpha = 17,
|
|
35
|
+
OneMinusSource1Alpha = 18,
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/// See <https://developer.apple.com/documentation/metal/mtlblendoperation>
|
|
39
|
+
#[repr(u64)]
|
|
40
|
+
#[allow(non_camel_case_types)]
|
|
41
|
+
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
|
|
42
|
+
pub enum MTLBlendOperation {
|
|
43
|
+
Add = 0,
|
|
44
|
+
Subtract = 1,
|
|
45
|
+
ReverseSubtract = 2,
|
|
46
|
+
Min = 3,
|
|
47
|
+
Max = 4,
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
bitflags::bitflags! {
|
|
51
|
+
/// See <https://developer.apple.com/documentation/metal/mtlcolorwritemask>
|
|
52
|
+
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)]
|
|
53
|
+
pub struct MTLColorWriteMask: NSUInteger {
|
|
54
|
+
const None = 0;
|
|
55
|
+
const Red = 0x1 << 3;
|
|
56
|
+
const Green = 0x1 << 2;
|
|
57
|
+
const Blue = 0x1 << 1;
|
|
58
|
+
const Alpha = 0x1 << 0;
|
|
59
|
+
const All = 0xf;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/// See <https://developer.apple.com/documentation/metal/mtlprimitivetopologyclass>
|
|
64
|
+
#[repr(u64)]
|
|
65
|
+
#[allow(non_camel_case_types)]
|
|
66
|
+
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
|
|
67
|
+
pub enum MTLPrimitiveTopologyClass {
|
|
68
|
+
Unspecified = 0,
|
|
69
|
+
Point = 1,
|
|
70
|
+
Line = 2,
|
|
71
|
+
Triangle = 3,
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// TODO: MTLTessellationPartitionMode
|
|
75
|
+
// TODO: MTLTessellationFactorStepFunction
|
|
76
|
+
// TODO: MTLTessellationFactorFormat
|
|
77
|
+
// TODO: MTLTessellationControlPointIndexType
|
|
78
|
+
|
|
79
|
+
/// See <https://developer.apple.com/documentation/metal/mtlrenderpipelinecolorattachmentdescriptor>
|
|
80
|
+
pub enum MTLRenderPipelineColorAttachmentDescriptor {}
|
|
81
|
+
|
|
82
|
+
foreign_obj_type! {
|
|
83
|
+
type CType = MTLRenderPipelineColorAttachmentDescriptor;
|
|
84
|
+
pub struct RenderPipelineColorAttachmentDescriptor;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
impl RenderPipelineColorAttachmentDescriptorRef {
|
|
88
|
+
pub fn pixel_format(&self) -> MTLPixelFormat {
|
|
89
|
+
unsafe { msg_send![self, pixelFormat] }
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
pub fn set_pixel_format(&self, pixel_format: MTLPixelFormat) {
|
|
93
|
+
unsafe { msg_send![self, setPixelFormat: pixel_format] }
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
pub fn is_blending_enabled(&self) -> bool {
|
|
97
|
+
unsafe { msg_send_bool![self, isBlendingEnabled] }
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
pub fn set_blending_enabled(&self, enabled: bool) {
|
|
101
|
+
unsafe { msg_send![self, setBlendingEnabled: enabled] }
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
pub fn source_rgb_blend_factor(&self) -> MTLBlendFactor {
|
|
105
|
+
unsafe { msg_send![self, sourceRGBBlendFactor] }
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
pub fn set_source_rgb_blend_factor(&self, blend_factor: MTLBlendFactor) {
|
|
109
|
+
unsafe { msg_send![self, setSourceRGBBlendFactor: blend_factor] }
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
pub fn destination_rgb_blend_factor(&self) -> MTLBlendFactor {
|
|
113
|
+
unsafe { msg_send![self, destinationRGBBlendFactor] }
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
pub fn set_destination_rgb_blend_factor(&self, blend_factor: MTLBlendFactor) {
|
|
117
|
+
unsafe { msg_send![self, setDestinationRGBBlendFactor: blend_factor] }
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
pub fn rgb_blend_operation(&self) -> MTLBlendOperation {
|
|
121
|
+
unsafe { msg_send![self, rgbBlendOperation] }
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
pub fn set_rgb_blend_operation(&self, blend_operation: MTLBlendOperation) {
|
|
125
|
+
unsafe { msg_send![self, setRgbBlendOperation: blend_operation] }
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
pub fn source_alpha_blend_factor(&self) -> MTLBlendFactor {
|
|
129
|
+
unsafe { msg_send![self, sourceAlphaBlendFactor] }
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
pub fn set_source_alpha_blend_factor(&self, blend_factor: MTLBlendFactor) {
|
|
133
|
+
unsafe { msg_send![self, setSourceAlphaBlendFactor: blend_factor] }
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
pub fn destination_alpha_blend_factor(&self) -> MTLBlendFactor {
|
|
137
|
+
unsafe { msg_send![self, destinationAlphaBlendFactor] }
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
pub fn set_destination_alpha_blend_factor(&self, blend_factor: MTLBlendFactor) {
|
|
141
|
+
unsafe { msg_send![self, setDestinationAlphaBlendFactor: blend_factor] }
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
pub fn alpha_blend_operation(&self) -> MTLBlendOperation {
|
|
145
|
+
unsafe { msg_send![self, alphaBlendOperation] }
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
pub fn set_alpha_blend_operation(&self, blend_operation: MTLBlendOperation) {
|
|
149
|
+
unsafe { msg_send![self, setAlphaBlendOperation: blend_operation] }
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
pub fn write_mask(&self) -> MTLColorWriteMask {
|
|
153
|
+
unsafe { msg_send![self, writeMask] }
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
pub fn set_write_mask(&self, mask: MTLColorWriteMask) {
|
|
157
|
+
unsafe { msg_send![self, setWriteMask: mask] }
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/// See <https://developer.apple.com/documentation/metal/mtlrenderpipelinereflection>
|
|
162
|
+
pub enum MTLRenderPipelineReflection {}
|
|
163
|
+
|
|
164
|
+
foreign_obj_type! {
|
|
165
|
+
type CType = MTLRenderPipelineReflection;
|
|
166
|
+
pub struct RenderPipelineReflection;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
impl RenderPipelineReflection {
|
|
170
|
+
#[cfg(feature = "private")]
|
|
171
|
+
pub unsafe fn new(
|
|
172
|
+
vertex_data: *mut std::ffi::c_void,
|
|
173
|
+
fragment_data: *mut std::ffi::c_void,
|
|
174
|
+
vertex_desc: *mut std::ffi::c_void,
|
|
175
|
+
device: &DeviceRef,
|
|
176
|
+
options: u64,
|
|
177
|
+
flags: u64,
|
|
178
|
+
) -> Self {
|
|
179
|
+
let class = class!(MTLRenderPipelineReflection);
|
|
180
|
+
let this: RenderPipelineReflection = msg_send![class, alloc];
|
|
181
|
+
let this_alias: *mut Object = msg_send![this.as_ref(), initWithVertexData:vertex_data
|
|
182
|
+
fragmentData:fragment_data
|
|
183
|
+
serializedVertexDescriptor:vertex_desc
|
|
184
|
+
device:device
|
|
185
|
+
options:options
|
|
186
|
+
flags:flags];
|
|
187
|
+
if this_alias.is_null() {
|
|
188
|
+
panic!("[MTLRenderPipelineReflection init] failed");
|
|
189
|
+
}
|
|
190
|
+
this
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
impl RenderPipelineReflectionRef {
|
|
195
|
+
/// An array of objects that describe the arguments of a fragment function.
|
|
196
|
+
pub fn fragment_arguments(&self) -> &ArgumentArrayRef {
|
|
197
|
+
unsafe { msg_send![self, fragmentArguments] }
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/// An array of objects that describe the arguments of a vertex function.
|
|
201
|
+
pub fn vertex_arguments(&self) -> &ArgumentArrayRef {
|
|
202
|
+
unsafe { msg_send![self, vertexArguments] }
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/// An array of objects that describe the arguments of a tile shading function.
|
|
206
|
+
pub fn tile_arguments(&self) -> &ArgumentArrayRef {
|
|
207
|
+
unsafe { msg_send![self, tileArguments] }
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/// TODO: Find documentation link.
|
|
212
|
+
pub enum MTLArgumentArray {}
|
|
213
|
+
|
|
214
|
+
foreign_obj_type! {
|
|
215
|
+
type CType = MTLArgumentArray;
|
|
216
|
+
pub struct ArgumentArray;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
impl ArgumentArrayRef {
|
|
220
|
+
pub fn object_at(&self, index: NSUInteger) -> Option<&ArgumentRef> {
|
|
221
|
+
unsafe { msg_send![self, objectAtIndexedSubscript: index] }
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
pub fn count(&self) -> NSUInteger {
|
|
225
|
+
unsafe { msg_send![self, count] }
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/// See <https://developer.apple.com/documentation/metal/mtlcomputepipelinereflection>
|
|
230
|
+
pub enum MTLComputePipelineReflection {}
|
|
231
|
+
|
|
232
|
+
foreign_obj_type! {
|
|
233
|
+
type CType = MTLComputePipelineReflection;
|
|
234
|
+
pub struct ComputePipelineReflection;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
impl ComputePipelineReflectionRef {
|
|
238
|
+
/// An array of objects that describe the arguments of a compute function.
|
|
239
|
+
pub fn arguments(&self) -> &ArgumentArrayRef {
|
|
240
|
+
unsafe { msg_send![self, arguments] }
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/// See <https://developer.apple.com/documentation/metal/mtlmeshrenderpipelinedescriptor>
|
|
245
|
+
/// Only available in (macos(13.0), ios(16.0))
|
|
246
|
+
pub enum MTLMeshRenderPipelineDescriptor {}
|
|
247
|
+
|
|
248
|
+
foreign_obj_type! {
|
|
249
|
+
type CType = MTLMeshRenderPipelineDescriptor;
|
|
250
|
+
pub struct MeshRenderPipelineDescriptor;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
impl MeshRenderPipelineDescriptor {
|
|
254
|
+
pub fn new() -> Self {
|
|
255
|
+
unsafe {
|
|
256
|
+
let class = class!(MTLMeshRenderPipelineDescriptor);
|
|
257
|
+
msg_send![class, new]
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
impl MeshRenderPipelineDescriptorRef {
|
|
263
|
+
pub fn color_attachments(&self) -> &RenderPipelineColorAttachmentDescriptorArrayRef {
|
|
264
|
+
unsafe { msg_send![self, colorAttachments] }
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
pub fn depth_attachment_pixel_format(&self) -> MTLPixelFormat {
|
|
268
|
+
unsafe { msg_send![self, depthAttachmentPixelFormat] }
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
pub fn set_depth_attachment_pixel_format(&self, pixel_format: MTLPixelFormat) {
|
|
272
|
+
unsafe { msg_send![self, setDepthAttachmentPixelFormat: pixel_format] }
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
pub fn fragment_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef> {
|
|
276
|
+
unsafe { msg_send![self, fragmentBuffers] }
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
pub fn fragment_function(&self) -> Option<&FunctionRef> {
|
|
280
|
+
unsafe { msg_send![self, fragmentFunction] }
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
pub fn set_fragment_function(&self, function: Option<&FunctionRef>) {
|
|
284
|
+
unsafe { msg_send![self, setFragmentFunction: function] }
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
pub fn is_alpha_to_coverage_enabled(&self) -> bool {
|
|
288
|
+
unsafe { msg_send_bool![self, isAlphaToCoverageEnabled] }
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
pub fn set_alpha_to_coverage_enabled(&self, enabled: bool) {
|
|
292
|
+
unsafe { msg_send![self, setAlphaToCoverageEnabled: enabled] }
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
pub fn is_alpha_to_one_enabled(&self) -> bool {
|
|
296
|
+
unsafe { msg_send_bool![self, isAlphaToOneEnabled] }
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
pub fn set_alpha_to_one_enabled(&self, enabled: bool) {
|
|
300
|
+
unsafe { msg_send![self, setAlphaToOneEnabled: enabled] }
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
pub fn is_rasterization_enabled(&self) -> bool {
|
|
304
|
+
unsafe { msg_send_bool![self, isRasterizationEnabled] }
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
pub fn set_rasterization_enabled(&self, enabled: bool) {
|
|
308
|
+
unsafe { msg_send![self, setRasterizationEnabled: enabled] }
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
pub fn label(&self) -> &str {
|
|
312
|
+
unsafe {
|
|
313
|
+
let label = msg_send![self, label];
|
|
314
|
+
crate::nsstring_as_str(label)
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
pub fn set_label(&self, label: &str) {
|
|
319
|
+
unsafe {
|
|
320
|
+
let nslabel = crate::nsstring_from_str(label);
|
|
321
|
+
let () = msg_send![self, setLabel: nslabel];
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
pub fn max_total_threadgroups_per_mesh_grid(&self) -> NSUInteger {
|
|
326
|
+
unsafe { msg_send![self, maxTotalThreadgroupsPerMeshGrid] }
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
pub fn set_max_total_threadgroups_per_mesh_grid(
|
|
330
|
+
&self,
|
|
331
|
+
max_total_threadgroups_per_mesh_grid: NSUInteger,
|
|
332
|
+
) {
|
|
333
|
+
unsafe {
|
|
334
|
+
msg_send![
|
|
335
|
+
self,
|
|
336
|
+
setMaxTotalThreadgroupsPerMeshGrid: max_total_threadgroups_per_mesh_grid
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
pub fn max_total_threads_per_mesh_threadgroup(&self) -> NSUInteger {
|
|
342
|
+
unsafe { msg_send![self, maxTotalThreadsPerMeshThreadgroup] }
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
pub fn set_max_total_threads_per_mesh_threadgroup(
|
|
346
|
+
&self,
|
|
347
|
+
max_total_threads_per_mesh_threadgroup: NSUInteger,
|
|
348
|
+
) {
|
|
349
|
+
unsafe {
|
|
350
|
+
msg_send![
|
|
351
|
+
self,
|
|
352
|
+
setMaxTotalThreadsPerMeshThreadgroup: max_total_threads_per_mesh_threadgroup
|
|
353
|
+
]
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
pub fn max_total_threads_per_object_threadgroup(&self) -> NSUInteger {
|
|
358
|
+
unsafe { msg_send![self, maxTotalThreadsPerObjectThreadgroup] }
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
pub fn set_max_total_threads_per_object_threadgroup(
|
|
362
|
+
&self,
|
|
363
|
+
max_total_threads_per_object_threadgroup: NSUInteger,
|
|
364
|
+
) {
|
|
365
|
+
unsafe {
|
|
366
|
+
msg_send![
|
|
367
|
+
self,
|
|
368
|
+
setMaxTotalThreadsPerObjectThreadgroup: max_total_threads_per_object_threadgroup
|
|
369
|
+
]
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
pub fn max_vertex_amplification_count(&self) -> NSUInteger {
|
|
374
|
+
unsafe { msg_send![self, maxVertexAmplificationCount] }
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
pub fn set_max_vertex_amplification_count(&self, max_vertex_amplification_count: NSUInteger) {
|
|
378
|
+
unsafe {
|
|
379
|
+
msg_send![
|
|
380
|
+
self,
|
|
381
|
+
setMaxVertexAmplificationCount: max_vertex_amplification_count
|
|
382
|
+
]
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
pub fn mesh_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef> {
|
|
387
|
+
unsafe { msg_send![self, meshBuffers] }
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
pub fn mesh_function(&self) -> Option<&FunctionRef> {
|
|
391
|
+
unsafe { msg_send![self, meshFunction] }
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
pub fn set_mesh_function(&self, function: Option<&FunctionRef>) {
|
|
395
|
+
unsafe { msg_send![self, setMeshFunction: function] }
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
pub fn mesh_threadgroup_size_is_multiple_of_thread_execution_width(&self) -> bool {
|
|
399
|
+
unsafe { msg_send_bool![self, isMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth] }
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
pub fn set_mesh_threadgroup_size_is_multiple_of_thread_execution_width(
|
|
403
|
+
&self,
|
|
404
|
+
mesh_threadgroup_size_is_multiple_of_thread_execution_width: bool,
|
|
405
|
+
) {
|
|
406
|
+
unsafe {
|
|
407
|
+
msg_send![
|
|
408
|
+
self,
|
|
409
|
+
setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth:
|
|
410
|
+
mesh_threadgroup_size_is_multiple_of_thread_execution_width
|
|
411
|
+
]
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
pub fn object_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef> {
|
|
416
|
+
unsafe { msg_send![self, objectBuffers] }
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
pub fn object_function(&self) -> Option<&FunctionRef> {
|
|
420
|
+
unsafe { msg_send![self, objectFunction] }
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
pub fn set_object_function(&self, function: Option<&FunctionRef>) {
|
|
424
|
+
unsafe { msg_send![self, setObjectFunction: function] }
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
pub fn object_threadgroup_size_is_multiple_of_thread_execution_width(&self) -> bool {
|
|
428
|
+
unsafe {
|
|
429
|
+
msg_send_bool![
|
|
430
|
+
self,
|
|
431
|
+
isObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
pub fn set_object_threadgroup_size_is_multiple_of_thread_execution_width(
|
|
437
|
+
&self,
|
|
438
|
+
object_threadgroup_size_is_multiple_of_thread_execution_width: bool,
|
|
439
|
+
) {
|
|
440
|
+
unsafe {
|
|
441
|
+
msg_send![
|
|
442
|
+
self,
|
|
443
|
+
setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth:
|
|
444
|
+
object_threadgroup_size_is_multiple_of_thread_execution_width
|
|
445
|
+
]
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
pub fn payload_memory_length(&self) -> NSUInteger {
|
|
450
|
+
unsafe { msg_send![self, payloadMemoryLength] }
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
pub fn set_payload_memory_length(&self, payload_memory_length: NSUInteger) {
|
|
454
|
+
unsafe { msg_send![self, setPayloadMemoryLength: payload_memory_length] }
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
pub fn raster_sample_count(&self) -> NSUInteger {
|
|
458
|
+
unsafe { msg_send![self, rasterSampleCount] }
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
pub fn set_raster_sample_count(&self, raster_sample_count: NSUInteger) {
|
|
462
|
+
unsafe { msg_send![self, setRasterSampleCount: raster_sample_count] }
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
pub fn stencil_attachment_pixel_format(&self) -> MTLPixelFormat {
|
|
466
|
+
unsafe { msg_send![self, stencilAttachmentPixelFormat] }
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
pub fn set_stencil_attachment_pixel_format(&self, pixel_format: MTLPixelFormat) {
|
|
470
|
+
unsafe { msg_send![self, setStencilAttachmentPixelFormat: pixel_format] }
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
pub fn reset(&self) {
|
|
474
|
+
unsafe { msg_send![self, reset] }
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/// See <https://developer.apple.com/documentation/metal/mtlrenderpipelinedescriptor>
|
|
479
|
+
pub enum MTLRenderPipelineDescriptor {}
|
|
480
|
+
|
|
481
|
+
foreign_obj_type! {
|
|
482
|
+
type CType = MTLRenderPipelineDescriptor;
|
|
483
|
+
pub struct RenderPipelineDescriptor;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
impl RenderPipelineDescriptor {
|
|
487
|
+
pub fn new() -> Self {
|
|
488
|
+
unsafe {
|
|
489
|
+
let class = class!(MTLRenderPipelineDescriptor);
|
|
490
|
+
msg_send![class, new]
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
impl RenderPipelineDescriptorRef {
|
|
496
|
+
pub fn label(&self) -> &str {
|
|
497
|
+
unsafe {
|
|
498
|
+
let label = msg_send![self, label];
|
|
499
|
+
crate::nsstring_as_str(label)
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
pub fn set_label(&self, label: &str) {
|
|
504
|
+
unsafe {
|
|
505
|
+
let nslabel = crate::nsstring_from_str(label);
|
|
506
|
+
let () = msg_send![self, setLabel: nslabel];
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
pub fn vertex_function(&self) -> Option<&FunctionRef> {
|
|
511
|
+
unsafe { msg_send![self, vertexFunction] }
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
pub fn set_vertex_function(&self, function: Option<&FunctionRef>) {
|
|
515
|
+
unsafe { msg_send![self, setVertexFunction: function] }
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
pub fn fragment_function(&self) -> Option<&FunctionRef> {
|
|
519
|
+
unsafe { msg_send![self, fragmentFunction] }
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
pub fn set_fragment_function(&self, function: Option<&FunctionRef>) {
|
|
523
|
+
unsafe { msg_send![self, setFragmentFunction: function] }
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
pub fn vertex_descriptor(&self) -> Option<&VertexDescriptorRef> {
|
|
527
|
+
unsafe { msg_send![self, vertexDescriptor] }
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
pub fn set_vertex_descriptor(&self, descriptor: Option<&VertexDescriptorRef>) {
|
|
531
|
+
unsafe { msg_send![self, setVertexDescriptor: descriptor] }
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/// DEPRECATED - aliases rasterSampleCount property
|
|
535
|
+
pub fn sample_count(&self) -> NSUInteger {
|
|
536
|
+
unsafe { msg_send![self, sampleCount] }
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/// DEPRECATED - aliases rasterSampleCount property
|
|
540
|
+
pub fn set_sample_count(&self, count: NSUInteger) {
|
|
541
|
+
unsafe { msg_send![self, setSampleCount: count] }
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
pub fn raster_sample_count(&self) -> NSUInteger {
|
|
545
|
+
unsafe { msg_send![self, rasterSampleCount] }
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
pub fn set_raster_sample_count(&self, count: NSUInteger) {
|
|
549
|
+
unsafe { msg_send![self, setRasterSampleCount: count] }
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
pub fn max_vertex_amplification_count(&self) -> NSUInteger {
|
|
553
|
+
unsafe { msg_send![self, maxVertexAmplificationCount] }
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
pub fn set_max_vertex_amplification_count(&self, count: NSUInteger) {
|
|
557
|
+
unsafe { msg_send![self, setMaxVertexAmplificationCount: count] }
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
pub fn is_alpha_to_coverage_enabled(&self) -> bool {
|
|
561
|
+
unsafe { msg_send_bool![self, isAlphaToCoverageEnabled] }
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
pub fn set_alpha_to_coverage_enabled(&self, enabled: bool) {
|
|
565
|
+
unsafe { msg_send![self, setAlphaToCoverageEnabled: enabled] }
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
pub fn is_alpha_to_one_enabled(&self) -> bool {
|
|
569
|
+
unsafe { msg_send_bool![self, isAlphaToOneEnabled] }
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
pub fn set_alpha_to_one_enabled(&self, enabled: bool) {
|
|
573
|
+
unsafe { msg_send![self, setAlphaToOneEnabled: enabled] }
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
pub fn is_rasterization_enabled(&self) -> bool {
|
|
577
|
+
unsafe { msg_send_bool![self, isRasterizationEnabled] }
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
pub fn set_rasterization_enabled(&self, enabled: bool) {
|
|
581
|
+
unsafe { msg_send![self, setRasterizationEnabled: enabled] }
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
pub fn color_attachments(&self) -> &RenderPipelineColorAttachmentDescriptorArrayRef {
|
|
585
|
+
unsafe { msg_send![self, colorAttachments] }
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
pub fn depth_attachment_pixel_format(&self) -> MTLPixelFormat {
|
|
589
|
+
unsafe { msg_send![self, depthAttachmentPixelFormat] }
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
pub fn set_depth_attachment_pixel_format(&self, pixel_format: MTLPixelFormat) {
|
|
593
|
+
unsafe { msg_send![self, setDepthAttachmentPixelFormat: pixel_format] }
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
pub fn stencil_attachment_pixel_format(&self) -> MTLPixelFormat {
|
|
597
|
+
unsafe { msg_send![self, stencilAttachmentPixelFormat] }
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
pub fn set_stencil_attachment_pixel_format(&self, pixel_format: MTLPixelFormat) {
|
|
601
|
+
unsafe { msg_send![self, setStencilAttachmentPixelFormat: pixel_format] }
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
pub fn input_primitive_topology(&self) -> MTLPrimitiveTopologyClass {
|
|
605
|
+
unsafe { msg_send![self, inputPrimitiveTopology] }
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
pub fn set_input_primitive_topology(&self, topology: MTLPrimitiveTopologyClass) {
|
|
609
|
+
unsafe { msg_send![self, setInputPrimitiveTopology: topology] }
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
#[cfg(feature = "private")]
|
|
613
|
+
pub unsafe fn serialize_vertex_data(&self) -> *mut std::ffi::c_void {
|
|
614
|
+
use std::ptr;
|
|
615
|
+
let flags = 0;
|
|
616
|
+
let err: *mut Object = ptr::null_mut();
|
|
617
|
+
msg_send![self, newSerializedVertexDataWithFlags:flags
|
|
618
|
+
error:err]
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
#[cfg(feature = "private")]
|
|
622
|
+
pub unsafe fn serialize_fragment_data(&self) -> *mut std::ffi::c_void {
|
|
623
|
+
msg_send![self, serializeFragmentData]
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
pub fn support_indirect_command_buffers(&self) -> bool {
|
|
627
|
+
unsafe { msg_send_bool![self, supportIndirectCommandBuffers] }
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
pub fn set_support_indirect_command_buffers(&self, support: bool) {
|
|
631
|
+
unsafe { msg_send![self, setSupportIndirectCommandBuffers: support] }
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
pub fn vertex_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef> {
|
|
635
|
+
unsafe { msg_send![self, vertexBuffers] }
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
pub fn fragment_buffers(&self) -> Option<&PipelineBufferDescriptorArrayRef> {
|
|
639
|
+
unsafe { msg_send![self, fragmentBuffers] }
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
// TODO: tesselation stuff
|
|
643
|
+
|
|
644
|
+
/// API_AVAILABLE(macos(11.0), ios(14.0));
|
|
645
|
+
/// Marshal to Rust Vec
|
|
646
|
+
pub fn binary_archives(&self) -> Vec<BinaryArchive> {
|
|
647
|
+
unsafe {
|
|
648
|
+
let archives: *mut Object = msg_send![self, binaryArchives];
|
|
649
|
+
let count: NSUInteger = msg_send![archives, count];
|
|
650
|
+
let ret = (0..count)
|
|
651
|
+
.map(|i| {
|
|
652
|
+
let a = msg_send![archives, objectAtIndex: i];
|
|
653
|
+
BinaryArchive::from_ptr(a)
|
|
654
|
+
})
|
|
655
|
+
.collect();
|
|
656
|
+
ret
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/// API_AVAILABLE(macos(11.0), ios(14.0));
|
|
661
|
+
/// Marshal from Rust slice
|
|
662
|
+
pub fn set_binary_archives(&self, archives: &[&BinaryArchiveRef]) {
|
|
663
|
+
let ns_array = Array::<BinaryArchive>::from_slice(archives);
|
|
664
|
+
unsafe { msg_send![self, setBinaryArchives: ns_array] }
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/// API_AVAILABLE(macos(11.0), ios(14.0));
|
|
668
|
+
pub fn fragment_linked_functions(&self) -> &LinkedFunctionsRef {
|
|
669
|
+
unsafe { msg_send![self, fragmentLinkedFunctions] }
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/// API_AVAILABLE(macos(11.0), ios(14.0));
|
|
673
|
+
pub fn set_fragment_linked_functions(&self, functions: &LinkedFunctionsRef) {
|
|
674
|
+
unsafe { msg_send![self, setFragmentLinkedFunctions: functions] }
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
pub fn reset(&self) {
|
|
678
|
+
unsafe { msg_send![self, reset] }
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/// See <https://developer.apple.com/documentation/metal/mtlrenderpipelinestate>
|
|
683
|
+
pub enum MTLRenderPipelineState {}
|
|
684
|
+
|
|
685
|
+
foreign_obj_type! {
|
|
686
|
+
type CType = MTLRenderPipelineState;
|
|
687
|
+
pub struct RenderPipelineState;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
impl RenderPipelineStateRef {
|
|
691
|
+
pub fn device(&self) -> &DeviceRef {
|
|
692
|
+
unsafe { msg_send![self, device] }
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
pub fn label(&self) -> &str {
|
|
696
|
+
unsafe {
|
|
697
|
+
let label = msg_send![self, label];
|
|
698
|
+
crate::nsstring_as_str(label)
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/// Only available on (macos(11.0), ios(14.0))
|
|
703
|
+
pub fn new_intersection_function_table_with_descriptor(
|
|
704
|
+
&self,
|
|
705
|
+
descriptor: &IntersectionFunctionTableDescriptorRef,
|
|
706
|
+
stage: MTLRenderStages,
|
|
707
|
+
) -> IntersectionFunctionTable {
|
|
708
|
+
unsafe {
|
|
709
|
+
msg_send![self, newIntersectionFunctionTableWithDescriptor: descriptor
|
|
710
|
+
stage:stage]
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/// Only available on (macos(11.0), ios(14.0))
|
|
715
|
+
pub fn function_handle_with_function(
|
|
716
|
+
&self,
|
|
717
|
+
function: &FunctionRef,
|
|
718
|
+
stage: MTLRenderStages,
|
|
719
|
+
) -> Option<&FunctionHandleRef> {
|
|
720
|
+
unsafe {
|
|
721
|
+
msg_send![self, functionHandleWithFunction: function
|
|
722
|
+
stage:stage]
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/// Only available on (macos(11.0), ios(14.0))
|
|
727
|
+
pub fn new_visible_function_table_with_descriptor(
|
|
728
|
+
&self,
|
|
729
|
+
descriptor: &VisibleFunctionTableDescriptorRef,
|
|
730
|
+
stage: MTLRenderStages,
|
|
731
|
+
) -> VisibleFunctionTable {
|
|
732
|
+
unsafe { msg_send![self, newVisibleFunctionTableWithDescriptor: descriptor stage:stage] }
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
/// See <https://developer.apple.com/documentation/metal/mtlrenderpipelinecolorattachmentdescriptorarray>
|
|
737
|
+
pub enum MTLRenderPipelineColorAttachmentDescriptorArray {}
|
|
738
|
+
|
|
739
|
+
foreign_obj_type! {
|
|
740
|
+
type CType = MTLRenderPipelineColorAttachmentDescriptorArray;
|
|
741
|
+
pub struct RenderPipelineColorAttachmentDescriptorArray;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
impl RenderPipelineColorAttachmentDescriptorArrayRef {
|
|
745
|
+
pub fn object_at(
|
|
746
|
+
&self,
|
|
747
|
+
index: NSUInteger,
|
|
748
|
+
) -> Option<&RenderPipelineColorAttachmentDescriptorRef> {
|
|
749
|
+
unsafe { msg_send![self, objectAtIndexedSubscript: index] }
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
pub fn set_object_at(
|
|
753
|
+
&self,
|
|
754
|
+
index: NSUInteger,
|
|
755
|
+
attachment: Option<&RenderPipelineColorAttachmentDescriptorRef>,
|
|
756
|
+
) {
|
|
757
|
+
unsafe {
|
|
758
|
+
msg_send![self, setObject:attachment
|
|
759
|
+
atIndexedSubscript:index]
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
}
|