Skip to content

Commit

Permalink
Various feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
guusw committed Dec 6, 2022
1 parent 5ebcbf3 commit b02f9ce
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/details/shards/GFX/Render.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This function should be used only once per rendered frame.
It takes a [View](../View) or sequence of [Views](../View) that represent the main camera as a parameter.

??? info Default view
If neither `:View` nor `:Views` is specified the renderer will use a default view with both identity view and projection matrices.
If neither `:View` nor `:Views` is specified, the renderer will use a default view with both identity view and projection matrices.

The `:Steps` parameter contains the list of rendering operations to perform, this can be sequence objects created by one of the following:

Expand All @@ -13,4 +13,4 @@ The `:Steps` parameter contains the list of rendering operations to perform, thi

## Default queue

If no render queue is specified, this command reads from a global default queue
If no render queue is specified, this command reads from a global default queue.
2 changes: 1 addition & 1 deletion docs/details/shards/GFX/UIPass.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This defines a render step for rendering [UI](../../General/UI)
Defines a render step for rendering [UI](../../General/UI).

Check the examples on some of the UI shards for how to use this step, for example [UI.Label](../../UI/Label)
8 changes: 4 additions & 4 deletions docs/details/shards/GFX/glTF.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Loads a glTF model from a file. Outputs a `GFX.DrawableHierarchy` that can be passed to [Draw](../Draw)
Loads a glTF model from a file. Outputs a `GFX.DrawableHierarchy` that can be passed to [Draw](../Draw).

--8<-- "includes/drawable_refactor.md"

## Static file

Loaded when the wire containing it is warmed up
Loaded when the Wire containing it is warmed up.

```clojure
{:Transform ...} (GFX.glTF :Path "pathToModel.glb") >= .drawable
Expand All @@ -13,7 +13,7 @@ Loaded when the wire containing it is warmed up
## Dynamic file

Loaded when activated.
You should cache results inside `(Setup ...)` shard
You should cache the result inside a [Setup](../../General/Once) shard.

```clojure
{:Transform ... :Path .path} (GFX.glTF) >= .drawable
Expand All @@ -22,7 +22,7 @@ You should cache results inside `(Setup ...)` shard
## Raw bytes

Loaded when activated.
You should cache results inside `(Setup ...)` shard
You should cache the result inside a [Setup](../../General/Once) shard.

```clojure
{:Transform ... :Bytes .gltf-data} (GFX.glTF) >= .drawable
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/reference/shards/GFX/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Here you'll find all the shards related to graphics and rendering.

For a basic example, check the [GFX.Render](./Render) shard documentation
For a basic example, check out the [GFX.Render](./Render) shard documentation.

0 comments on commit b02f9ce

Please sign in to comment.