[−][src]Struct bedrock::RenderPassBuilder
Builder structure to construct the RenderPass
Methods
impl RenderPassBuilder
[src]
pub fn new() -> Self
[src]
pub fn add_attachment(&mut self, desc: AttachmentDescription) -> &mut Self
[src]
pub fn add_subpass(&mut self, desc: SubpassDescription) -> &mut Self
[src]
pub fn add_dependency(&mut self, desc: VkSubpassDependency) -> &mut Self
[src]
pub fn add_attachments<Collection: IntoIterator<Item = AttachmentDescription>>(
&mut self,
collection: Collection
) -> &mut Self
[src]
&mut self,
collection: Collection
) -> &mut Self
pub fn add_subpasses<Collection: IntoIterator<Item = SubpassDescription>>(
&mut self,
collection: Collection
) -> &mut Self
[src]
&mut self,
collection: Collection
) -> &mut Self
pub fn add_dependencies<Collection: IntoIterator<Item = VkSubpassDependency>>(
&mut self,
collection: Collection
) -> &mut Self
[src]
&mut self,
collection: Collection
) -> &mut Self
pub fn mod_attachment(&mut self, index: usize) -> &mut AttachmentDescription
[src]
pub fn mod_subpass(&mut self, index: usize) -> &mut SubpassDescription
[src]
pub fn mod_dependency(&mut self, index: usize) -> &mut VkSubpassDependency
[src]
impl RenderPassBuilder
[src]
pub fn create(&self, device: &Device) -> Result<RenderPass>
[src]
Create a new render pass object
Failures
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
Auto Trait Implementations
impl RefUnwindSafe for RenderPassBuilder
impl Send for RenderPassBuilder
impl Sync for RenderPassBuilder
impl Unpin for RenderPassBuilder
impl UnwindSafe for RenderPassBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,