Struct wgpu::core::command::RenderBundleEncoder
source · pub struct RenderBundleEncoder { /* private fields */ }
Implementations§
source§impl RenderBundleEncoder
impl RenderBundleEncoder
pub fn new( desc: &RenderBundleEncoderDescriptor<'_>, parent_id: Id<Device<Api>>, base: Option<BasePass<RenderCommand>> ) -> Result<RenderBundleEncoder, CreateRenderBundleError>
pub fn dummy(parent_id: Id<Device<Api>>) -> RenderBundleEncoder
pub fn parent(&self) -> Id<Device<Api>>
pub fn set_index_buffer( &mut self, buffer_id: Id<Buffer<Api>>, index_format: IndexFormat, offset: u64, size: Option<NonZeroU64> )
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RenderBundleEncoder
impl Send for RenderBundleEncoder
impl Sync for RenderBundleEncoder
impl Unpin for RenderBundleEncoder
impl !UnwindSafe for RenderBundleEncoder
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