Back to Bevy

`ViewTarget`'s output accessors now return `Option`

_release-content/migration-guides/view_target_optional_output.md

0.19.0326 B
Original Source

ViewTarget::out_texture, out_texture_color_attachment, and out_texture_view_format now return an Option. They are None when the render target has no output surface this frame, e.g. an occluded swap chain or a camera with CameraOutputMode::Skip. Nodes that blit to the output should short-circuit when given None.