Cargo Features
[dependencies]
rootvg = { version = "0.1.0", default-features = false, features = ["mesh", "msaa", "quad", "tessellation", "text", "image", "gradient", "custom-primitive", "default-surface"] }
- default = default-surface, gradient, image, mesh, msaa, quad, tessellation, text
-
These default features are set whenever
rootvg
is added without
somewhere in the dependency tree.default-features = false - mesh default
-
Enables drawing meshes of triangles
Enables rootvg-mesh ^0.1
- msaa default
-
Enables anti-aliasing using MSAA. This only effects mesh primitives, so consider disabling this if the
mesh
andtessellation
features are disabled.Enables rootvg-msaa ^0.1
Affects
surface::DefaultSurfaceConfig.antialiasing
… - quad default
-
Enables drawing of quads
Enables rootvg-quad ^0.1
- tessellation default
-
Enables using lyon to tessellate vector shapes into a mesh for rendering
Enables rootvg-mesh ^0.1 and rootvg-tessellation ^0.1
- text default
-
Enables drawing of text
Enables rootvg-text
- image default
-
Enables drawing of images
Enables rootvg-image ^0.1
- gradient default
-
Enables filling quads and meshes with gradients
Enables gradient of rootvg-core ^0.1, optional rootvg-mesh ^0.1, optional rootvg-quad ^0.1, and optional rootvg-tessellation ^0.1
- custom-primitive
-
Enables support for custom primitives
Affects
canvas::CanvasConfig.num_custom_pipelines
… - default-surface default
-
Enables a default wgpu surface configuration
Enables pollster ^0.3.0
Affects
rootvg::surface
,surface::NewSurfaceError
…