Cargo Features

rendy-graph has no features set by default.

[dependencies]
rendy-graph = { version = "0.5.1", features = ["empty", "dx12", "gl", "metal", "vulkan", "no-slow-safety-checks", "profiler", "serde"] }
empty

Enables empty of rendy-core

rendy-core:

This list of features is common for many of rendy's crates All other crates should transitively enable feature for rendy-core crate and not rely on the feature being enabled for that crate directly. To conditionally enable token trees rendy-core::with_* macro should be used instead of cfg attributes.

dx12

Enables dx12 of rendy-core

gl

Enables gl of rendy-core

metal

Enables metal of rendy-core

vulkan

Enables vulkan of rendy-core

no-slow-safety-checks

Enables no-slow-safety-checks of rendy-core

profiler

Enables thread_profiler of thread_profiler

thread_profiler:

Required for testing using the profile_scope!() macro

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework