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§
source§impl Debug for RenderBundleEncoder
impl Debug for RenderBundleEncoder
source§impl<'de> Deserialize<'de> for RenderBundleEncoder
impl<'de> Deserialize<'de> for RenderBundleEncoder
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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