Struct pilka_lib::ash::vk::SubpassDescriptionBuilder [−]
#[repr(transparent)]pub struct SubpassDescriptionBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> SubpassDescriptionBuilder<'a>
impl<'a> SubpassDescriptionBuilder<'a>
pub fn flags(
self,
flags: SubpassDescriptionFlags
) -> SubpassDescriptionBuilder<'a>
pub fn pipeline_bind_point(
self,
pipeline_bind_point: PipelineBindPoint
) -> SubpassDescriptionBuilder<'a>
pub fn input_attachments(
self,
input_attachments: &'a [AttachmentReference]
) -> SubpassDescriptionBuilder<'a>
pub fn color_attachments(
self,
color_attachments: &'a [AttachmentReference]
) -> SubpassDescriptionBuilder<'a>
pub fn resolve_attachments(
self,
resolve_attachments: &'a [AttachmentReference]
) -> SubpassDescriptionBuilder<'a>
pub fn depth_stencil_attachment(
self,
depth_stencil_attachment: &'a AttachmentReference
) -> SubpassDescriptionBuilder<'a>
pub fn preserve_attachments(
self,
preserve_attachments: &'a [u32]
) -> SubpassDescriptionBuilder<'a>
pub fn build(self) -> SubpassDescription
pub fn build(self) -> SubpassDescription
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Methods from Deref<Target = SubpassDescription>
Trait Implementations
impl<'a> Deref for SubpassDescriptionBuilder<'a>
impl<'a> Deref for SubpassDescriptionBuilder<'a>
type Target = SubpassDescription
type Target = SubpassDescription
The resulting type after dereferencing.
pub fn deref(&self) -> &<SubpassDescriptionBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<SubpassDescriptionBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for SubpassDescriptionBuilder<'a>
impl<'a> DerefMut for SubpassDescriptionBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <SubpassDescriptionBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <SubpassDescriptionBuilder<'a> as Deref>::Target
Mutably dereferences the value.