Cargo Features

[dependencies]
objc2-scene-kit = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2-app-kit", "objc2-avf-audio", "objc2-core-foundation", "objc2-core-graphics", "objc2-core-image", "objc2-metal", "objc2-model-io", "objc2-quartz-core", "ModelIO", "SCNAction", "SCNAnimation", "SCNAudioSource", "SCNBoundingVolume", "SCNCAAnimationExtensions", "SCNCamera", "SCNCameraController", "SCNConstraint", "SCNGeometry", "SCNHitTest", "SCNJavascript", "SCNLevelOfDetail", "SCNLight", "SCNMaterial", "SCNMaterialProperty", "SCNMorpher", "SCNNode", "SCNParametricGeometry", "SCNParticleSystem", "SCNPhysicsBehavior", "SCNPhysicsBody", "SCNPhysicsContact", "SCNPhysicsField", "SCNPhysicsShape", "SCNPhysicsWorld", "SCNReferenceNode", "SCNRenderer", "SCNScene", "SCNSceneRenderer", "SCNSceneSource", "SCNShadable", "SCNSkinner", "SCNTechnique", "SCNTransaction", "SCNView", "SceneKitAvailability", "SceneKitDeprecated", "SceneKitTypes"] }
default = ModelIO, SCNAction, SCNAnimation, SCNAudioSource, SCNBoundingVolume, SCNCAAnimationExtensions, SCNCamera, SCNCameraController, SCNConstraint, SCNGeometry, SCNHitTest, SCNJavascript, SCNLayer, SCNLevelOfDetail, SCNLight, SCNMaterial, SCNMaterialProperty, SCNMorpher, SCNNode, SCNParametricGeometry, SCNParticleSystem, SCNPhysicsBehavior, SCNPhysicsBody, SCNPhysicsContact, SCNPhysicsField, SCNPhysicsShape, SCNPhysicsWorld, SCNReferenceNode, SCNRenderer, SCNScene, SCNSceneRenderer, SCNSceneSource, SCNShadable, SCNSkinner, SCNTechnique, SCNTransaction, SCNView, SceneKitAvailability, SceneKitDeprecated, SceneKitTypes, bitflags, block2, objc2-app-kit, objc2-avf-audio, objc2-core-foundation, objc2-core-graphics, objc2-core-image, objc2-metal, objc2-model-io, objc2-quartz-core, std

These default features are set whenever objc2-scene-kit is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
bitflags default SCNConstraint SCNPhysicsBody SCNSceneRenderer SceneKitTypes

Enables bitflags

block2 default

Enables block2

Affects SCNAction::SCNActionTimingFunction, SCNAnimation::SCNAnimationDidStartBlock, SCNAnimation::SCNAnimationDidStopBlock, SCNAnimation::SCNAnimationEventBlock, SCNParticleSystem::SCNParticleEventBlock, SCNParticleSystem::SCNParticleModifierBlock, SCNScene::SCNSceneExportProgressHandler, SCNSceneSource::SCNSceneSourceStatusHandler, SCNPhysicsField::SCNFieldForceEvaluator, SCNShadable::SCNBufferBindingBlock, SCNShadable::SCNBindingBlock

objc2-app-kit default

Enables objc2-app-kit

objc2-avf-audio default

Enables objc2-avf-audio

objc2-core-foundation default

Enables objc2-core-foundation

Affects SceneKitTypes::SCNVector3, SceneKitTypes::SCNVector4, SceneKitTypes::SCNVector3Zero, SceneKitTypes::SCNVector4Zero, SceneKitTypes::SCNVector3EqualToVector3, SceneKitTypes::SCNVector4EqualToVector4, SceneKitTypes::SCNQuaternion, SceneKitTypes::SCNMatrix4MakeRotation, SceneKitTypes::SCNMatrix4Scale, SceneKitTypes::SCNMatrix4Rotate, SCNPhysicsField::SCNFieldForceEvaluator

objc2-core-graphics default

Enables objc2-core-graphics

objc2-core-image default

Enables objc2-core-image

objc2-metal default

Enables objc2-metal

objc2-model-io default

Enables objc2-model-io

objc2-quartz-core default

Enables objc2-quartz-core

Affects SceneKitTypes::SCNMatrix4, SceneKitTypes::SCNMatrix4Identity, SceneKitTypes::SCNMatrix4IsIdentity, SceneKitTypes::SCNMatrix4EqualToMatrix4, SceneKitTypes::SCNMatrix4Invert, SceneKitTypes::SCNMatrix4Mult, SceneKitTypes::SCNMatrix4MakeRotation, SceneKitTypes::SCNMatrix4Scale, SceneKitTypes::SCNMatrix4Rotate

ModelIO default
SCNAction default

Enables NSArray, NSDate, NSObject and NSString of objc2-foundation

SCNAnimation default

Enables NSArray, NSDate, NSObject, NSString and NSURL of objc2-foundation

SCNAudioSource default

Enables NSArray, NSObject, NSString and NSURL of objc2-foundation

SCNBoundingVolume default
SCNCAAnimationExtensions default

Enables NSArray of objc2-foundation

SCNCamera default

Enables NSObject and NSString of objc2-foundation

SCNCameraController default

Enables NSArray of objc2-foundation

SCNConstraint default = bitflags

Enables NSObject of objc2-foundation

SCNGeometry default

Enables NSArray, NSData, NSObject, NSRange, NSString and NSValue of objc2-foundation

SCNHitTest default

Enables NSString of objc2-foundation

SCNJavascript default
SCNLayer SCNLevelOfDetail default

Enables NSObject of objc2-foundation

SCNLight default

Enables NSArray, NSData, NSObject, NSString, NSURL and NSValue of objc2-foundation

SCNMaterial default

Enables NSObject and NSString of objc2-foundation

SCNMaterialProperty default

Enables NSData, NSError, NSObject and NSURL of objc2-foundation

SCNMorpher default

Enables NSArray, NSObject, NSString and NSValue of objc2-foundation

SCNNode default

Enables NSArray, NSDictionary, NSObject and NSString of objc2-foundation

Affects SCNShadable::SCNBufferBindingBlock, SCNShadable::SCNBindingBlock

SCNParametricGeometry default

Enables NSArray, NSObject, NSString and NSValue of objc2-foundation

SCNParticleSystem default

Enables NSArray, NSDictionary, NSObject and NSString of objc2-foundation

SCNPhysicsBehavior default

Enables NSArray and NSObject of objc2-foundation

SCNPhysicsBody default = bitflags

Enables NSObject of objc2-foundation

SCNPhysicsContact default
SCNPhysicsField default

Enables NSDate and NSObject of objc2-foundation

SCNPhysicsShape default

Enables NSArray, NSDictionary, NSObject, NSString and NSValue of objc2-foundation

SCNPhysicsWorld default

Enables NSArray, NSDate, NSDictionary, NSObject and NSString of objc2-foundation

SCNReferenceNode default

Enables NSCoder, NSObject and NSURL of objc2-foundation

SCNRenderer default

Enables NSArray and NSDictionary of objc2-foundation

Affects SCNShadable::SCNBufferBindingBlock, SCNShadable::SCNBindingBlock

SCNScene default

Enables NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation

SCNSceneRenderer default = bitflags

Enables NSArray, NSDate, NSDictionary and NSString of objc2-foundation

SCNSceneSource default

Enables NSArray, NSData, NSDictionary, NSError, NSString and NSURL of objc2-foundation

SCNShadable default

Enables NSDictionary, NSError, NSObject, NSString and NSValue of objc2-foundation

SCNSkinner default

Enables NSArray, NSObject and NSValue of objc2-foundation

SCNTechnique default

Enables NSArray, NSDictionary, NSObject and NSString of objc2-foundation

SCNTransaction default

Enables NSString of objc2-foundation

SCNView default

Enables NSCoder, NSDictionary, NSGeometry, NSObject, NSString and objc2-core-foundation of objc2-foundation

SceneKitAvailability default
SceneKitDeprecated default

Enables NSString of objc2-foundation

SceneKitTypes default = bitflags

Enables NSString and NSValue of objc2-foundation

Affects SCNPhysicsField::SCNFieldForceEvaluator