SetBufferData options #4

Closed
opened 2022-01-13 01:29:10 +00:00 by cosmonaut · 0 comments

SetBufferData should be per command buffer like uploading textures to keep the API consistent.

We probably want to support different options for uploading buffer data. One nice and efficient way to upload buffers is to use vkCmdCopyBuffer, but it doesn't work during a render pass. Is it too onerous of a requirement to forbid buffer uploads during a render pass? Also, allowing an unsafe overwrite like XNA does is probably a nice thing to support.

SetBufferData should be per command buffer like uploading textures to keep the API consistent. We probably want to support different options for uploading buffer data. One nice and efficient way to upload buffers is to use vkCmdCopyBuffer, but it doesn't work during a render pass. Is it too onerous of a requirement to forbid buffer uploads during a render pass? Also, allowing an unsafe overwrite like XNA does is probably a nice thing to support.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/Refresh#4
There is no content yet.