mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-27 14:23:40 +00:00
Fix documentation comments for multi_draw_*_indirect_count
(#3694)
This commit is contained in:
parent
bf8e6fe371
commit
562ad0d7c2
@ -3293,7 +3293,7 @@ impl<'a> RenderPass<'a> {
|
||||
/// Dispatches multiple draw calls from the active vertex buffer(s) based on the contents of the `indirect_buffer`.
|
||||
/// The count buffer is read to determine how many draws to issue.
|
||||
///
|
||||
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count` will
|
||||
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count`
|
||||
/// draws will be read. If `count` is greater than `max_count`, `max_count` will be used.
|
||||
///
|
||||
/// The active vertex buffers can be set with [`RenderPass::set_vertex_buffer`].
|
||||
@ -3335,7 +3335,7 @@ impl<'a> RenderPass<'a> {
|
||||
/// Dispatches multiple draw calls from the active index buffer and the active vertex buffers,
|
||||
/// based on the contents of the `indirect_buffer`. The count buffer is read to determine how many draws to issue.
|
||||
///
|
||||
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count` will
|
||||
/// The indirect buffer must be long enough to account for `max_count` draws, however only `count`
|
||||
/// draws will be read. If `count` is greater than `max_count`, `max_count` will be used.
|
||||
///
|
||||
/// The active index buffer can be set with [`RenderPass::set_index_buffer`], while the active
|
||||
|
Loading…
Reference in New Issue
Block a user