From b6565e77b1043482cb915e153bf5ec9222b3594f Mon Sep 17 00:00:00 2001 From: Frank Yellin Date: Tue, 24 Sep 2024 10:33:40 -0700 Subject: [PATCH] Add blank line where needed. --- docs/backends.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/backends.rst b/docs/backends.rst index dbee99f0..4d45eac5 100644 --- a/docs/backends.rst +++ b/docs/backends.rst @@ -183,6 +183,7 @@ The first two require that you enable the feature ``"multi-draw-indirect"``. .. py:function:: wgpu.backends.wgpu_native.multi_draw_indexed_indirect(render_pass_encoder, buffer, *, offset=0, count): Equivalent to:: + for i in range(count): render_pass_encoder.draw_indexed_indirect(buffer, offset + i * 2-) @@ -202,6 +203,7 @@ an unsigned 32-bit integer. The ``count`` is the minimum of this value and ``max .. py:function:: wgpu.backends.wgpu_native.multi_draw_indirect_count(render_pass_encoder, buffer, *, offset=0, count_buffer, count_offset=0, max_count): Equivalent to:: + count = min(, max_count) for i in range(count): render_pass_encoder.draw_indirect(buffer, offset + i * 16)