Struct erupt::vk1_2::SubpassDescription2Builder
source · #[repr(transparent)]pub struct SubpassDescription2Builder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of SubpassDescription2
Implementations
sourceimpl<'a> SubpassDescription2Builder<'a>
impl<'a> SubpassDescription2Builder<'a>
pub fn new() -> SubpassDescription2Builder<'a>
pub fn flags(self, flags: SubpassDescriptionFlags) -> Self
pub fn pipeline_bind_point(self, pipeline_bind_point: PipelineBindPoint) -> Self
pub fn view_mask(self, view_mask: u32) -> Self
pub fn input_attachments(
self,
input_attachments: &'a [AttachmentReference2Builder<'_>]
) -> Self
pub fn color_attachments(
self,
color_attachments: &'a [AttachmentReference2Builder<'_>]
) -> Self
pub fn resolve_attachments(
self,
resolve_attachments: &'a [AttachmentReference2Builder<'_>]
) -> Self
pub fn depth_stencil_attachment(
self,
depth_stencil_attachment: &'a AttachmentReference2
) -> Self
pub fn preserve_attachments(self, preserve_attachments: &'a [u32]) -> Self
sourcepub fn build_dangling(self) -> SubpassDescription2
pub fn build_dangling(self) -> SubpassDescription2
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = SubpassDescription2>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::SUBPASS_DESCRIPTION_2
Trait Implementations
sourceimpl<'a> Clone for SubpassDescription2Builder<'a>
impl<'a> Clone for SubpassDescription2Builder<'a>
sourcefn clone(&self) -> SubpassDescription2Builder<'a>
fn clone(&self) -> SubpassDescription2Builder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for SubpassDescription2Builder<'a>
impl<'a> Debug for SubpassDescription2Builder<'a>
sourceimpl<'a> Default for SubpassDescription2Builder<'a>
impl<'a> Default for SubpassDescription2Builder<'a>
sourcefn default() -> SubpassDescription2Builder<'a>
fn default() -> SubpassDescription2Builder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for SubpassDescription2Builder<'a>
impl<'a> Deref for SubpassDescription2Builder<'a>
type Target = SubpassDescription2
type Target = SubpassDescription2
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for SubpassDescription2Builder<'a>
impl<'a> DerefMut for SubpassDescription2Builder<'a>
sourceimpl<'a> ExtendableFrom<'a, FragmentShadingRateAttachmentInfoKHR> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, FragmentShadingRateAttachmentInfoKHR> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, FragmentShadingRateAttachmentInfoKHRBuilder<'_>> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, FragmentShadingRateAttachmentInfoKHRBuilder<'_>> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, RenderPassCreationControlEXT> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, RenderPassCreationControlEXT> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, RenderPassCreationControlEXTBuilder<'_>> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, RenderPassCreationControlEXTBuilder<'_>> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, RenderPassSubpassFeedbackInfoEXT> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, RenderPassSubpassFeedbackInfoEXT> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, RenderPassSubpassFeedbackInfoEXTBuilder<'_>> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, RenderPassSubpassFeedbackInfoEXTBuilder<'_>> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, SubpassDescriptionDepthStencilResolve> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, SubpassDescriptionDepthStencilResolve> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moresourceimpl<'a> ExtendableFrom<'a, SubpassDescriptionDepthStencilResolveBuilder<'_>> for SubpassDescription2Builder<'a>
impl<'a> ExtendableFrom<'a, SubpassDescriptionDepthStencilResolveBuilder<'_>> for SubpassDescription2Builder<'a>
sourcefn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
fn extend_from(self, addition: &'a mut T) -> Selfwhere
Self: Sized,
Inserts
addition
(+ its pointer chain) between the head and tail of
this pointer chain. Read moreimpl<'a> Copy for SubpassDescription2Builder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubpassDescription2Builder<'a>
impl<'a> !Send for SubpassDescription2Builder<'a>
impl<'a> !Sync for SubpassDescription2Builder<'a>
impl<'a> Unpin for SubpassDescription2Builder<'a>
impl<'a> UnwindSafe for SubpassDescription2Builder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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