v0.6.0
0.6.0 - 2024-08-09
This release supports Bevy version 0.14 and has an MSRV of 1.80.
Added
- There is now a
default_font
feature that uses the sameFiraMono-subset.ttf
font used in the bevy/default_font feature. - There is now a
render_layers
example. - There is now a
cube_3d
example. - You may now choose the render layers for the Vello canvas. This can be configured through the
VelloPlugin
. - You may now choose to use CPU rendering with Vello and configure anti-aliasing. This can be configured through the
VelloPlugin
. - Added the
SkipEncoding
component, which allows you to skip encoding any renderable asset without removing the asset.
Changed
VelloPlugin
now has configuration. To retain previous behavior, useVelloPlugin::default()
.VelloRenderer
is now a resource.- The
VelloRenderer
will attempt CPU fallback if it cannot obtain a GPU. - The font API has changed significantly. Please visit
examples/text
for further usage. This is to prepare for additional text features such as linebreak behavior, bounded text, and text justification.VelloText
has been renamed toVelloTextSection
.VelloText.content
has been renamed toVelloText.value
.- There is now a
VelloTextStyle
struct and it is a required field ofVelloText
. VelloFont
has been removed fromVelloTextBundle
and moved intoVelloTextStyle
.
- The field
VelloAssetBundle.vector
was renamed toVelloAssetBundle.asset
. - Renamed
VelloAssetAlignment
toVelloAssetAnchor
. Fields were renamedalignment
were renamed toasset_anchor
. - Renamed
VelloTextAlignment
toVelloTextAnchor
. Fields were renamedalignment
were renamed totext_anchor
. - The
SSRenderTarget
(fullscreen quad that renders your frame) no longer renders at a zepth of-0.001
. This was a legacy hack used to ensure Gizmos rendered on-top.RenderLayers
should be used now (there's an example).
Removed
- Removed
ZFunction
s from the render pipeline. Now ordering is based solely on theTransform
's z component. If you dependeded on this behavior, you'll need to adjust the transform Z in a system prior to render. VelloRenderPlugin
is now private, as it is not helpful for downstream developers to add manually.- Removed
VelloCanvasMaterial
from prelude, as it is not typical to use.
Fixed
- Text, assets, and scenes rendered will now correctly respect camera
RenderLayers
.