gpu: update RenderBundleEncoder.draw defaults/optionality
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
98d88a8eb0
commit
3a0917b738
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ const IndexFormat = @import("types.zig").IndexFormat;
|
|||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
pub const RenderBundleEncoder = *opaque {
|
||||
/// Default `instance_count`: 1
|
||||
/// Default `first_vertex`: 0
|
||||
/// Default `first_instance`: 0
|
||||
pub inline fn draw(render_bundle_encoder: RenderBundleEncoder, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32) void {
|
||||
Impl.renderBundleEncoderDraw(render_bundle_encoder, vertex_count, instance_count, first_vertex, first_instance);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue