struct RenderPassInfo<'a, A: HalApi> {
    context: RenderPassContext,
    usage_scope: UsageScope<A>,
    render_attachments: ArrayVec<RenderAttachment<'a>, MAX_TOTAL_ATTACHMENTS>,
    is_depth_read_only: bool,
    is_stencil_read_only: bool,
    extent: Extent3d,
    _phantom: PhantomData<A>,
    pending_discard_init_fixups: Vec<TextureSurfaceDiscard>,
    divergent_discarded_depth_stencil_aspect: Option<(TextureAspect, &'a TextureView<A>)>,
    multiview: Option<NonZeroU32>,
}

Fields§

§context: RenderPassContext§usage_scope: UsageScope<A>§render_attachments: ArrayVec<RenderAttachment<'a>, MAX_TOTAL_ATTACHMENTS>

All render attachments, including depth/stencil

§is_depth_read_only: bool§is_stencil_read_only: bool§extent: Extent3d§_phantom: PhantomData<A>§pending_discard_init_fixups: Vec<TextureSurfaceDiscard>§divergent_discarded_depth_stencil_aspect: Option<(TextureAspect, &'a TextureView<A>)>§multiview: Option<NonZeroU32>

Implementations§

source§

impl<'a, A: HalApi> RenderPassInfo<'a, A>

source

fn add_pass_texture_init_actions<V>( channel: &PassChannel<V>, texture_memory_actions: &mut CommandBufferTextureMemoryActions, view: &TextureView<A>, texture_guard: &Storage<Texture<A>, TextureId>, pending_discard_init_fixups: &mut Vec<TextureSurfaceDiscard> )

source

fn start( device: &Device<A>, label: Option<&str>, color_attachments: &[Option<RenderPassColorAttachment>], depth_stencil_attachment: Option<&RenderPassDepthStencilAttachment>, timestamp_writes: Option<&RenderPassTimestampWrites>, occlusion_query_set: Option<QuerySetId>, cmd_buf: &mut CommandBuffer<A>, view_guard: &'a Storage<TextureView<A>, TextureViewId>, buffer_guard: &'a Storage<Buffer<A>, BufferId>, texture_guard: &'a Storage<Texture<A>, TextureId>, query_set_guard: &'a Storage<QuerySet<A>, QuerySetId> ) -> Result<Self, RenderPassErrorInner>

source

fn finish( self, raw: &mut A::CommandEncoder, texture_guard: &Storage<Texture<A>, TextureId> ) -> Result<(UsageScope<A>, Vec<TextureSurfaceDiscard>), RenderPassErrorInner>

Auto Trait Implementations§

§

impl<'a, A> !RefUnwindSafe for RenderPassInfo<'a, A>

§

impl<'a, A> Send for RenderPassInfo<'a, A>where A: Send,

§

impl<'a, A> Sync for RenderPassInfo<'a, A>where A: Sync,

§

impl<'a, A> Unpin for RenderPassInfo<'a, A>where A: Unpin,

§

impl<'a, A> !UnwindSafe for RenderPassInfo<'a, A>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WasmNotSend for Twhere T: Send,

source§

impl<T> WasmNotSync for Twhere T: Sync,