Skip to content

Commit

Permalink
Headless renderer example has been added (#13006)
Browse files Browse the repository at this point in the history
# Objective

Fixes #11457.
Fixes #22.

## Solution

Based on [another headless
application](https://github.com/richardanaya/headless/)

---

## Changelog

- Adopted to bevy 0.14

---------

Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
Co-authored-by: François Mockers <francois.mockers@vleue.com>
  • Loading branch information
3 people committed May 8, 2024
1 parent 9c4ac7c commit d9d305d
Show file tree
Hide file tree
Showing 3 changed files with 541 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cargo.toml
Expand Up @@ -1274,6 +1274,17 @@ description = "An application that runs with default plugins and displays an emp
category = "Application"
wasm = false

[[example]]
name = "headless_renderer"
path = "examples/app/headless_renderer.rs"
doc-scrape-examples = true

[package.metadata.example.headless_renderer]
name = "Headless Renderer"
description = "An application that runs with no window, but renders into image file"
category = "Application"
wasm = false

[[example]]
name = "without_winit"
path = "examples/app/without_winit.rs"
Expand Down
1 change: 1 addition & 0 deletions examples/README.md
Expand Up @@ -188,6 +188,7 @@ Example | Description
[Empty](../examples/app/empty.rs) | An empty application (does nothing)
[Empty with Defaults](../examples/app/empty_defaults.rs) | An empty application with default plugins
[Headless](../examples/app/headless.rs) | An application that runs without default plugins
[Headless Renderer](../examples/app/headless_renderer.rs) | An application that runs with no window, but renders into image file
[Log layers](../examples/app/log_layers.rs) | Illustrate how to add custom log layers
[Logs](../examples/app/logs.rs) | Illustrate how to use generate log output
[No Renderer](../examples/app/no_renderer.rs) | An application that runs with default plugins and displays an empty window, but without an actual renderer
Expand Down

0 comments on commit d9d305d

Please sign in to comment.