Struct wgpu_core::command::RenderBundleEncoder
source · pub struct RenderBundleEncoder { /* private fields */ }
Implementations§
source§impl RenderBundleEncoder
impl RenderBundleEncoder
pub fn new( desc: &RenderBundleEncoderDescriptor<'_>, parent_id: DeviceId, base: Option<BasePass<RenderCommand>> ) -> Result<Self, CreateRenderBundleError>
pub fn dummy(parent_id: DeviceId) -> Self
pub fn parent(&self) -> DeviceId
pub fn set_index_buffer( &mut self, buffer_id: BufferId, index_format: IndexFormat, offset: BufferAddress, size: Option<BufferSize> )
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