Screenshot and info for push constant example, link to SPIR-V specs
This commit is contained in:
parent
33a7d31782
commit
ab91cfd262
3 changed files with 6 additions and 1 deletions
|
|
@ -79,6 +79,11 @@ Uses [assimp](https://github.com/assimp/assimp) to load and a mesh from a common
|
||||||
|
|
||||||
Renders hundreds of meshes using instances with uniforms for e.g. coloring each mesh separately.
|
Renders hundreds of meshes using instances with uniforms for e.g. coloring each mesh separately.
|
||||||
|
|
||||||
|
### Push constants
|
||||||
|
<img src="./screenshots/push_constants.png" height="128px">
|
||||||
|
|
||||||
|
Demonstrates the use of push constants for updating small blocks of shader data with high speed (and without having to use a uniform buffer). Displays several light sources with position updates through a push constant block in a separate command buffer.
|
||||||
|
|
||||||
### Offscreen rendering
|
### Offscreen rendering
|
||||||
<img src="./screenshots/basic_offscreen.png" height="128px">
|
<img src="./screenshots/basic_offscreen.png" height="128px">
|
||||||
|
|
||||||
|
|
@ -137,5 +142,5 @@ More of a playground than an actual example. Renders multiple meshes with differ
|
||||||
- Vulkan Headers (not yet available)
|
- Vulkan Headers (not yet available)
|
||||||
|
|
||||||
## External resources
|
## External resources
|
||||||
*TODO : In progress*
|
|
||||||
- [Official list of Vulkan resources](https://www.khronos.org/vulkan/resources)
|
- [Official list of Vulkan resources](https://www.khronos.org/vulkan/resources)
|
||||||
|
- [SPIR-V specifications](https://www.khronos.org/registry/spir-v/specs/1.0/SPIRV.html)
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 110 KiB |
BIN
screenshots/push_constants.png
Normal file
BIN
screenshots/push_constants.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 404 KiB |
Loading…
Add table
Add a link
Reference in a new issue