Struct wgpu_core::command::RenderPass
source · [−]pub struct RenderPass { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more