class

WGPU::RenderPass

Inherits WGPU::WgpuId / Reference / Object

Constructors

new(encoder : LibWGPU::RenderPassEncoder)
Source

Instance methods

begin_occlusion_query(index : UInt32)
Source
begin_pipeline_statistics_query(set : LibWGPU::QuerySet, index : UInt32)
Source
bind_group
Source
blend_color=(color : LibWGPU::Color)
Source
draw(vertex_count : UInt32, instance_count : UInt32, first_vertex : UInt32, first_instance : UInt32)
Source
draw_indexed(index_count : UInt32, instance_count : UInt32, first_index : UInt32, base_vertex : Int32, first_instance : UInt32)
Source
draw_indexed_indirect(buf : Buffer, offset : UInt64)
Source
draw_indirect(buf : Buffer, offset : UInt64)
Source
end_occlusion_query
Source
end_pass
Source
end_pipeline_statistics_query
Source
execute_bundles(bundles : Array(RenderBundle))
Source
insert_debug_marker(label : String)
Source
pipeline=(pipeline : RenderPipeline)
Source
pop_debug_group
Source
push_debug_group(label : String)
Source
scissor_rect=(rect : Rectangle)

Sets the scissor region. Subsequent draw calls will discard any fragments that fall outside this region.

Source
set_index_buffer(buf : Buffer, format : LibWGPU::IndexFormat, offset : UInt64, size : UInt64)
Source
set_vertex_buffer(slot : UInt32, buf : Buffer, offset : UInt64, size : UInt64)
Source
stencil_reference=(ref : UInt32)

Subsequent stencil tests will test against this value.

Source
viewport=(view : Viewport)

Sets the viewport region. Subsequent draw calls will draw any fragments in this region.

Source