Struct wgpu_core::command::RenderPass
source · pub struct RenderPass { /* private fields */ }
Implementations§
source§impl RenderPass
impl RenderPass
pub fn new(parent_id: CommandEncoderId, desc: &RenderPassDescriptor<'_>) -> Self
pub fn parent_id(&self) -> CommandEncoderId
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 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