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 into_command(self) -> Command
Available on crate feature
trace
only.pub fn set_index_buffer( &mut self, buffer_id: BufferId, index_format: IndexFormat, offset: BufferAddress, size: Option<BufferSize> )
Trait Implementations§
source§impl Debug for RenderPass
impl Debug for RenderPass
source§impl<'de> Deserialize<'de> for RenderPass
impl<'de> Deserialize<'de> for RenderPass
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 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