Skip to content

Commit d675c14

Browse files
committed
add docstring
1 parent 9568b6d commit d675c14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wgpu/utils/imgui/imgui_backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ def render(
391391
The draw data to render, this is usually obtained by calling ``imgui.get_draw_data()``
392392
render_pass : wgpu.GPURenderPassEncoder
393393
The render pass to render the imgui draw data with
394+
psize : tuple(int, int)
395+
The physical size of the canvas, get from calling ``canvas.get_physical_size()``
394396
"""
395397
if draw_data is None:
396398
return

0 commit comments

Comments
 (0)