pub struct CoreRenderBundleEncoder {
pub(crate) context: ContextWgpuCore,
encoder: RenderBundleEncoder,
id: Identifier,
}
Available on
wgpu_core
only.Fields§
§context: ContextWgpuCore
§encoder: RenderBundleEncoder
§id: Identifier
Trait Implementations§
source§impl Debug for CoreRenderBundleEncoder
impl Debug for CoreRenderBundleEncoder
source§impl Hash for CoreRenderBundleEncoder
impl Hash for CoreRenderBundleEncoder
source§impl Ord for CoreRenderBundleEncoder
impl Ord for CoreRenderBundleEncoder
source§impl PartialEq for CoreRenderBundleEncoder
impl PartialEq for CoreRenderBundleEncoder
source§impl PartialOrd for CoreRenderBundleEncoder
impl PartialOrd for CoreRenderBundleEncoder
source§impl RenderBundleEncoderInterface for CoreRenderBundleEncoder
impl RenderBundleEncoderInterface for CoreRenderBundleEncoder
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 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 finish(self, desc: &RenderBundleDescriptor<'_>) -> DispatchRenderBundlewhere
Self: Sized,
impl Eq for CoreRenderBundleEncoder
Auto Trait Implementations§
impl Freeze for CoreRenderBundleEncoder
impl !RefUnwindSafe for CoreRenderBundleEncoder
impl Send for CoreRenderBundleEncoder
impl Sync for CoreRenderBundleEncoder
impl Unpin for CoreRenderBundleEncoder
impl !UnwindSafe for CoreRenderBundleEncoder
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.