Struct wgpu::core::command::RenderPass
source · pub struct RenderPass { /* private fields */ }
Implementations§
source§impl RenderPass
impl RenderPass
pub fn new( parent_id: Id<CommandBuffer<Api>>, desc: &RenderPassDescriptor<'_> ) -> RenderPass
pub fn parent_id(&self) -> Id<CommandBuffer<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 RenderPass
impl Send for RenderPass
impl Sync for RenderPass
impl Unpin for RenderPass
impl !UnwindSafe for RenderPass
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