Struct macroquad::texture::RenderPass
source · pub struct RenderPass {
pub color_texture: Texture2D,
pub depth_texture: Option<Texture2D>,
/* private fields */
}
Fields§
§color_texture: Texture2D
§depth_texture: Option<Texture2D>
Implementations§
source§impl RenderPass
impl RenderPass
sourcepub fn raw_miniquad_id(&self) -> RenderPass
pub fn raw_miniquad_id(&self) -> RenderPass
Returns the miniquad handle for this render pass.
Trait Implementations§
source§impl Clone for RenderPass
impl Clone for RenderPass
source§fn clone(&self) -> RenderPass
fn clone(&self) -> RenderPass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderPass
impl Debug for RenderPass
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)