WGPU::RenderPass
Inherits WGPU::WgpuId / Reference / Object
Constructors
new(encoder : LibWGPU::RenderPassEncoder)
SourceInstance methods
bind_group
Sourceblend_color=(color : LibWGPU::Color)
Sourcedraw(vertex_count : UInt32, instance_count : UInt32, first_vertex : UInt32, first_instance : UInt32)
Sourcedraw_indexed(index_count : UInt32, instance_count : UInt32, first_index : UInt32, base_vertex : Int32, first_instance : UInt32)
Sourceend_occlusion_query
Sourceend_pass
Sourceend_pipeline_statistics_query
Sourcepipeline=(pipeline : RenderPipeline)
Sourcepop_debug_group
Sourcescissor_rect=(rect : Rectangle)
Sets the scissor region. Subsequent draw calls will discard any fragments that fall outside this region.
viewport=(view : Viewport)
Sets the viewport region. Subsequent draw calls will draw any fragments in this region.