=pod

=encoding UTF-8

=head1 NAME

WebGPU::Direct::RenderPassEncoder

=head2 Methods

=head3 BeginOcclusionQuery (void)

=over

=item Arguments

=over

=item queryIndex (uint32_t)

=back

=back

=head3 Draw (void)

=over

=item Arguments

=over

=item vertexCount (uint32_t)

=item instanceCount (uint32_t)

=item firstVertex (uint32_t)

=item firstInstance (uint32_t)

=back

=back

=head3 DrawIndexed (void)

=over

=item Arguments

=over

=item indexCount (uint32_t)

=item instanceCount (uint32_t)

=item firstIndex (uint32_t)

=item baseVertex (int32_t)

=item firstInstance (uint32_t)

=back

=back

=head3 DrawIndexedIndirect (void)

=over

=item Arguments

=over

=item indirectBuffer (L<WebGPU::Direct::Buffer>)

=item indirectOffset (uint64_t)

=back

=back

=head3 DrawIndirect (void)

=over

=item Arguments

=over

=item indirectBuffer (L<WebGPU::Direct::Buffer>)

=item indirectOffset (uint64_t)

=back

=back

=head3 End (void)

=head3 EndOcclusionQuery (void)

=head3 ExecuteBundles (void)

=over

=item Arguments

=over

=item bundleCount (size_t)

=item bundles (L<WebGPU::Direct::RenderBundle>)

=back

=back

=head3 InsertDebugMarker (void)

=over

=item Arguments

=over

=item markerLabel (L<WebGPU::Direct::char>)

=back

=back

=head3 PopDebugGroup (void)

=head3 PushDebugGroup (void)

=over

=item Arguments

=over

=item groupLabel (L<WebGPU::Direct::char>)

=back

=back

=head3 SetBindGroup (void)

=over

=item Arguments

=over

=item groupIndex (uint32_t)

=item group (L<WebGPU::Direct::BindGroup>)

=item dynamicOffsetCount (size_t)

=item dynamicOffsets (L<WebGPU::Direct::uint32_t>)

=back

=back

=head3 SetBlendConstant (void)

=over

=item Arguments

=over

=item color (L<WebGPU::Direct::Color|WebGPU::Direct::Types/WebGPU::Direct::Color>)

=back

=back

=head3 SetIndexBuffer (void)

=over

=item Arguments

=over

=item buffer (L<WebGPU::Direct::Buffer>)

=item format (L<WGPUIndexFormat|WebGPU::Direct::Constants/WGPUIndexFormat>)

=item offset (uint64_t)

=item size (uint64_t)

=back

=back

=head3 SetLabel (void)

=over

=item Arguments

=over

=item label (L<WebGPU::Direct::char>)

=back

=back

=head3 SetPipeline (void)

=over

=item Arguments

=over

=item pipeline (L<WebGPU::Direct::RenderPipeline>)

=back

=back

=head3 SetScissorRect (void)

=over

=item Arguments

=over

=item x (uint32_t)

=item y (uint32_t)

=item width (uint32_t)

=item height (uint32_t)

=back

=back

=head3 SetStencilReference (void)

=over

=item Arguments

=over

=item reference (uint32_t)

=back

=back

=head3 SetVertexBuffer (void)

=over

=item Arguments

=over

=item slot (uint32_t)

=item buffer (L<WebGPU::Direct::Buffer>)

=item offset (uint64_t)

=item size (uint64_t)

=back

=back

=head3 SetViewport (void)

=over

=item Arguments

=over

=item x (float)

=item y (float)

=item width (float)

=item height (float)

=item minDepth (float)

=item maxDepth (float)

=back

=back

=head3 Reference (void)

=head3 Release (void)

