Cargo Features

megafb has no features set by default.

[dependencies]
megafb = { version = "0.0.1", features = ["metal", "dx12", "vulkan"] }

TODO: remove all of this feature crap and just automatically select the correct backend when possible (eg: macos will always pick metal)

TODO: android config

TODO: ios config

TODO: wasm config

metal = gfx-backend-metal
dx12 = gfx-backend-dx12
vulkan = gfx-backend-vulkan

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

gfx-backend-dx12 win dx12?

Enables gfx-backend-dx12 ^0.2

gfx-backend-metal mac metal?

Enables gfx-backend-metal ^0.2

gfx-backend-vulkan vulkan?

Enables gfx-backend-vulkan ^0.2