diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2023-02-03 00:15:19 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2023-02-03 00:15:19 +0100 |
| commit | 75acd0104448d7c5f43f99700decff39b8a034b2 (patch) | |
| tree | 1b22b1ce10f24c8ef41b3ab1110a30c545e3cc66 /include/api-test/command-buffer.hpp | |
| parent | ddff2fa5d0cbae17cb819c91bad0a79105ba0ea7 (diff) | |
Graphics pipeline and rendering implementation
Diffstat (limited to 'include/api-test/command-buffer.hpp')
| -rw-r--r-- | include/api-test/command-buffer.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/api-test/command-buffer.hpp b/include/api-test/command-buffer.hpp index 2cd1d75..31b1254 100644 --- a/include/api-test/command-buffer.hpp +++ b/include/api-test/command-buffer.hpp @@ -40,13 +40,17 @@ private: public: rect render_area; std::span<handle<device_texture>> color_attachments; - // optional viewport - // optional scissor + // rect viewport; + // rect scissor; }; struct draw_params { handle<device_pipeline> pipeline; + handle<device_buffer> index_buffer; uint32_t vertex_count; + uint32_t vertex_offset; + uint32_t index_offset; uint32_t instance_count; + uint32_t uniforms_offset; }; struct command_buffer { |
