Cargo Features
[dependencies]
objc2-metal-fx = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "MTLFXDefines", "MTLFXTemporalScaler"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-metal-fx
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Currently not possible to turn off, put here for forwards compatibility.
Enables std of objc2, objc2-foundation, and objc2-metal
- alloc std
-
Enables alloc of objc2, objc2-foundation, and objc2-metal
- all = MTLFXDefines, MTLFXSpatialScaler, MTLFXTemporalScaler
- MTLFXDefines all?
- MTLFXSpatialScaler MTLFXTemporalScaler all?
-
Enables NSObject of objc2-foundation, MTLCommandBuffer, MTLDevice, MTLFence, MTLPixelFormat, MTLResource and MTLTexture of objc2-metal