pub struct CoreRenderPass {
pub(crate) context: ContextWgpuCore,
pass: RenderPass,
error_sink: Arc<Mutex<ErrorSinkRaw>>,
id: Identifier,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§pass: RenderPass
§error_sink: Arc<Mutex<ErrorSinkRaw>>
§id: Identifier
Trait Implementations§
source§impl Debug for CoreRenderPass
impl Debug for CoreRenderPass
source§impl Drop for CoreRenderPass
impl Drop for CoreRenderPass
source§impl Hash for CoreRenderPass
impl Hash for CoreRenderPass
source§impl Ord for CoreRenderPass
impl Ord for CoreRenderPass
source§impl PartialEq for CoreRenderPass
impl PartialEq for CoreRenderPass
source§impl PartialOrd for CoreRenderPass
impl PartialOrd for CoreRenderPass
source§impl RenderPassInterface for CoreRenderPass
impl RenderPassInterface for CoreRenderPass
fn set_pipeline(&mut self, pipeline: &DispatchRenderPipeline)
fn set_bind_group( &mut self, index: u32, bind_group: Option<&DispatchBindGroup>, offsets: &[DynamicOffset], )
fn set_index_buffer( &mut self, buffer: &DispatchBuffer, index_format: IndexFormat, offset: BufferAddress, size: Option<BufferSize>, )
fn set_vertex_buffer( &mut self, slot: u32, buffer: &DispatchBuffer, offset: BufferAddress, size: Option<BufferSize>, )
fn set_push_constants(&mut self, stages: ShaderStages, offset: u32, data: &[u8])
fn set_blend_constant(&mut self, color: Color)
fn set_scissor_rect(&mut self, x: u32, y: u32, width: u32, height: u32)
fn set_viewport( &mut self, x: f32, y: f32, width: f32, height: f32, min_depth: f32, max_depth: f32, )
fn set_stencil_reference(&mut self, reference: u32)
fn draw(&mut self, vertices: Range<u32>, instances: Range<u32>)
fn draw_indexed( &mut self, indices: Range<u32>, base_vertex: i32, instances: Range<u32>, )
fn draw_indirect( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, )
fn draw_indexed_indirect( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, )
fn multi_draw_indirect( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, count: u32, )
fn multi_draw_indexed_indirect( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, count: u32, )
fn multi_draw_indirect_count( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, count_buffer: &DispatchBuffer, count_buffer_offset: BufferAddress, max_count: u32, )
fn multi_draw_indexed_indirect_count( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, count_buffer: &DispatchBuffer, count_buffer_offset: BufferAddress, max_count: u32, )
fn insert_debug_marker(&mut self, label: &str)
fn push_debug_group(&mut self, group_label: &str)
fn pop_debug_group(&mut self)
fn write_timestamp(&mut self, query_set: &DispatchQuerySet, query_index: u32)
fn begin_occlusion_query(&mut self, query_index: u32)
fn end_occlusion_query(&mut self)
fn begin_pipeline_statistics_query( &mut self, query_set: &DispatchQuerySet, query_index: u32, )
fn end_pipeline_statistics_query(&mut self)
fn execute_bundles( &mut self, render_bundles: &mut dyn Iterator<Item = &DispatchRenderBundle>, )
fn end(&mut self)
impl Eq for CoreRenderPass
Auto Trait Implementations§
impl Freeze for CoreRenderPass
impl !RefUnwindSafe for CoreRenderPass
impl Send for CoreRenderPass
impl Sync for CoreRenderPass
impl Unpin for CoreRenderPass
impl !UnwindSafe for CoreRenderPass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.