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 Freeze for RenderPass
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