Struct vulkano::framebuffer::EmptySinglePassRenderPassDesc [−][src]
pub struct EmptySinglePassRenderPassDesc;
Description of an empty render pass.
Can be used to create a render pass with one subpass and no attachment.
Example
use vulkano::framebuffer::EmptySinglePassRenderPassDesc; use vulkano::framebuffer::RenderPassDesc; let rp = EmptySinglePassRenderPassDesc.build_render_pass(device.clone());
Trait Implementations
impl Debug for EmptySinglePassRenderPassDesc
[src]
impl Debug for EmptySinglePassRenderPassDesc
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for EmptySinglePassRenderPassDesc
[src]
impl Copy for EmptySinglePassRenderPassDesc
impl Clone for EmptySinglePassRenderPassDesc
[src]
impl Clone for EmptySinglePassRenderPassDesc
fn clone(&self) -> EmptySinglePassRenderPassDesc
[src]
fn clone(&self) -> EmptySinglePassRenderPassDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl RenderPassDesc for EmptySinglePassRenderPassDesc
[src]
impl RenderPassDesc for EmptySinglePassRenderPassDesc
fn num_attachments(&self) -> usize
[src]
fn num_attachments(&self) -> usize
Returns the number of attachments of the render pass.
fn attachment_desc(&self, _: usize) -> Option<LayoutAttachmentDescription>
[src]
fn attachment_desc(&self, _: usize) -> Option<LayoutAttachmentDescription>
Returns the description of an attachment. Read more
fn num_subpasses(&self) -> usize
[src]
fn num_subpasses(&self) -> usize
Returns the number of subpasses of the render pass.
fn subpass_desc(&self, num: usize) -> Option<LayoutPassDescription>
[src]
fn subpass_desc(&self, num: usize) -> Option<LayoutPassDescription>
Returns the description of a subpass. Read more
fn num_dependencies(&self) -> usize
[src]
fn num_dependencies(&self) -> usize
Returns the number of dependencies of the render pass.
fn dependency_desc(&self, _: usize) -> Option<LayoutPassDependencyDescription>
[src]
fn dependency_desc(&self, _: usize) -> Option<LayoutPassDependencyDescription>
Returns the description of a dependency. Read more
fn num_color_attachments(&self, subpass: u32) -> Option<u32>
[src]
fn num_color_attachments(&self, subpass: u32) -> Option<u32>
Returns the number of color attachments of a subpass. Returns None
if out of range.
fn num_samples(&self, _: u32) -> Option<u32>
[src]
fn num_samples(&self, _: u32) -> Option<u32>
Returns the number of samples of the attachments of a subpass. Returns None
if out of range or if the subpass has no attachment. TODO: return an enum instead? Read more
fn has_depth_stencil_attachment(&self, subpass: u32) -> Option<(bool, bool)>
[src]
fn has_depth_stencil_attachment(&self, subpass: u32) -> Option<(bool, bool)>
Returns a tuple whose first element is true
if there's a depth attachment, and whose second element is true
if there's a stencil attachment. Returns None
if out of range. Read more
fn has_depth(&self, subpass: u32) -> Option<bool>
[src]
fn has_depth(&self, subpass: u32) -> Option<bool>
Returns true if a subpass has a depth attachment or a depth-stencil attachment.
fn has_writable_depth(&self, subpass: u32) -> Option<bool>
[src]
fn has_writable_depth(&self, subpass: u32) -> Option<bool>
Returns true if a subpass has a depth attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal
. Read more
fn has_stencil(&self, subpass: u32) -> Option<bool>
[src]
fn has_stencil(&self, subpass: u32) -> Option<bool>
Returns true if a subpass has a stencil attachment or a depth-stencil attachment.
fn has_writable_stencil(&self, subpass: u32) -> Option<bool>
[src]
fn has_writable_stencil(&self, subpass: u32) -> Option<bool>
Returns true if a subpass has a stencil attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal
. Read more
ⓘImportant traits for RenderPassDescAttachments<'a, R>fn attachment_descs(&self) -> RenderPassDescAttachments<Self> where
Self: Sized,
[src]
fn attachment_descs(&self) -> RenderPassDescAttachments<Self> where
Self: Sized,
Returns an iterator to the list of attachments.
ⓘImportant traits for RenderPassDescSubpasses<'a, R>fn subpass_descs(&self) -> RenderPassDescSubpasses<Self> where
Self: Sized,
[src]
fn subpass_descs(&self) -> RenderPassDescSubpasses<Self> where
Self: Sized,
Returns an iterator to the list of subpasses.
ⓘImportant traits for RenderPassDescDependencies<'a, R>fn dependency_descs(&self) -> RenderPassDescDependencies<Self> where
Self: Sized,
[src]
fn dependency_descs(&self) -> RenderPassDescDependencies<Self> where
Self: Sized,
Returns an iterator to the list of dependencies.
fn is_compatible_with<T: ?Sized>(&self, other: &T) -> bool where
Self: Sized,
T: RenderPassDesc,
[src]
fn is_compatible_with<T: ?Sized>(&self, other: &T) -> bool where
Self: Sized,
T: RenderPassDesc,
Returns true if this render pass is compatible with another render pass. Read more
fn build_render_pass(
self,
device: Arc<Device>
) -> Result<RenderPass<Self>, RenderPassCreationError> where
Self: Sized,
[src]
fn build_render_pass(
self,
device: Arc<Device>
) -> Result<RenderPass<Self>, RenderPassCreationError> where
Self: Sized,
Builds a render pass from this description. Read more
impl RenderPassDescClearValues<Vec<ClearValue>> for EmptySinglePassRenderPassDesc
[src]
impl RenderPassDescClearValues<Vec<ClearValue>> for EmptySinglePassRenderPassDesc
fn convert_clear_values(
&self,
values: Vec<ClearValue>
) -> Box<Iterator<Item = ClearValue>>
[src]
fn convert_clear_values(
&self,
values: Vec<ClearValue>
) -> Box<Iterator<Item = ClearValue>>
Decodes a C
into a list of clear values where each element corresponds to an attachment. The size of the returned iterator must be the same as the number of attachments. Read more
impl RenderPassDescClearValues<()> for EmptySinglePassRenderPassDesc
[src]
impl RenderPassDescClearValues<()> for EmptySinglePassRenderPassDesc
fn convert_clear_values(&self, _: ()) -> Box<Iterator<Item = ClearValue>>
[src]
fn convert_clear_values(&self, _: ()) -> Box<Iterator<Item = ClearValue>>
Decodes a C
into a list of clear values where each element corresponds to an attachment. The size of the returned iterator must be the same as the number of attachments. Read more
Auto Trait Implementations
impl Send for EmptySinglePassRenderPassDesc
impl Send for EmptySinglePassRenderPassDesc
impl Sync for EmptySinglePassRenderPassDesc
impl Sync for EmptySinglePassRenderPassDesc