Skip to content

Commit

Permalink
add examples to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Oct 28, 2021
1 parent 2d1efc3 commit ed9978d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ Example | File | Description
`animate_shader` | [`shader/animate_shader.rs`](./shader/animate_shader.rs) | Shows how to animate a shader by accessing a time uniform variable
`array_texture` | [`shader/array_texture.rs`](./shader/array_texture.rs) | Illustrates how to create a texture for use with a texture2DArray shader uniform variable
`custom_shader_pipelined` | [`shader/custom_shader_pipelined.rs`](./shader/custom_shader_pipelined.rs) | Illustrates how to create custom shaders
`custom_shader_minimal_pipelined` | [`shader/custom_shader_minimal_pipelined.rs`](./shader/custom_shader_minimal_pipelined.rs) | Minimal example of custom shaders which doesn't upload data to the GPU
`custom_shader_pipelined_glsl` | [`shader/custom_shader_pipelined_glsl.rs`](./shader/custom_shader_pipelined_glsl.rs) | A custom shader using the GLSL shading language.
`custom_shader_instancing_pipelined` | [`shader/custom_shader_instancing_pipelined.rs`](./shader/custom_shader_instancing_pipelined.rs) | A custom shader showing off rendering a mesh multiple times in one draw call.
`animate_shader_pipelined` | [`shader/animate_shader_pipelined.rs`](./shader/animate_shader_pipelined.rs) | Shows how to pass changing data like the time since startup into a shader.
`hot_shader_reloading` | [`shader/hot_shader_reloading.rs`](./shader/hot_shader_reloading.rs) | Illustrates how to load shaders such that they can be edited while the example is still running
`mesh_custom_attribute` | [`shader/mesh_custom_attribute.rs`](./shader/mesh_custom_attribute.rs) | Illustrates how to add a custom attribute to a mesh and use it in a custom shader
`shader_custom_material` | [`shader/shader_custom_material.rs`](./shader/shader_custom_material.rs) | Illustrates creating a custom material and a shader that uses it
Expand Down

0 comments on commit ed9978d

Please sign in to comment.