Struct vulkanalia::vk::RenderingInfoBuilder
source · #[repr(transparent)]pub struct RenderingInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a RenderingInfo
.
Implementations§
source§impl<'b> RenderingInfoBuilder<'b>
impl<'b> RenderingInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsRenderingInfo,
pub fn flags(self, flags: RenderingFlags) -> Self
pub fn render_area(self, render_area: impl Cast<Target = Rect2D>) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
pub fn view_mask(self, view_mask: u32) -> Self
pub fn color_attachments( self, color_attachments: &'b [impl Cast<Target = RenderingAttachmentInfo>] ) -> Self
pub fn depth_attachment( self, depth_attachment: &'b impl Cast<Target = RenderingAttachmentInfo> ) -> Self
pub fn stencil_attachment( self, stencil_attachment: &'b impl Cast<Target = RenderingAttachmentInfo> ) -> Self
pub fn build(self) -> RenderingInfo
Trait Implementations§
source§impl<'b> Cast for RenderingInfoBuilder<'b>
impl<'b> Cast for RenderingInfoBuilder<'b>
§type Target = RenderingInfo
type Target = RenderingInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for RenderingInfoBuilder<'b>
impl<'b> Clone for RenderingInfoBuilder<'b>
source§fn clone(&self) -> RenderingInfoBuilder<'b>
fn clone(&self) -> RenderingInfoBuilder<'b>
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<'b> Debug for RenderingInfoBuilder<'b>
impl<'b> Debug for RenderingInfoBuilder<'b>
source§impl<'b> Default for RenderingInfoBuilder<'b>
impl<'b> Default for RenderingInfoBuilder<'b>
source§fn default() -> RenderingInfoBuilder<'b>
fn default() -> RenderingInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for RenderingInfoBuilder<'b>
impl<'b> Deref for RenderingInfoBuilder<'b>
source§impl<'b> DerefMut for RenderingInfoBuilder<'b>
impl<'b> DerefMut for RenderingInfoBuilder<'b>
impl<'b> Copy for RenderingInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for RenderingInfoBuilder<'b>
impl<'b> !Send for RenderingInfoBuilder<'b>
impl<'b> !Sync for RenderingInfoBuilder<'b>
impl<'b> Unpin for RenderingInfoBuilder<'b>
impl<'b> UnwindSafe for RenderingInfoBuilder<'b>
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