[−][src]Struct nannou::vk::framebuffer::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 RenderPassDesc for EmptySinglePassRenderPassDesc
[src]
fn num_attachments(&self) -> usize
[src]
fn attachment_desc(&self, usize) -> Option<AttachmentDescription>
[src]
fn num_subpasses(&self) -> usize
[src]
fn subpass_desc(&self, num: usize) -> Option<PassDescription>
[src]
fn num_dependencies(&self) -> usize
[src]
fn dependency_desc(&self, usize) -> Option<PassDependencyDescription>
[src]
fn num_color_attachments(&self, subpass: u32) -> Option<u32>
[src]
fn num_samples(&self, u32) -> Option<u32>
[src]
fn has_depth_stencil_attachment(&self, subpass: u32) -> Option<(bool, bool)>
[src]
fn has_depth(&self, subpass: u32) -> Option<bool>
[src]
fn has_writable_depth(&self, subpass: u32) -> Option<bool>
[src]
fn has_stencil(&self, subpass: u32) -> Option<bool>
[src]
fn has_writable_stencil(&self, subpass: u32) -> Option<bool>
[src]
ⓘImportant traits for RenderPassDescAttachments<'a, R>fn attachment_descs(&self) -> RenderPassDescAttachments<Self>
[src]
Returns an iterator to the list of attachments.
ⓘImportant traits for RenderPassDescSubpasses<'a, R>fn subpass_descs(&self) -> RenderPassDescSubpasses<Self>
[src]
Returns an iterator to the list of subpasses.
ⓘImportant traits for RenderPassDescDependencies<'a, R>fn dependency_descs(&self) -> RenderPassDescDependencies<Self>
[src]
Returns an iterator to the list of dependencies.
fn is_compatible_with<T>(&self, other: &T) -> bool where
T: RenderPassDesc + ?Sized,
[src]
T: RenderPassDesc + ?Sized,
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>
[src]
self,
device: Arc<Device>
) -> Result<RenderPass<Self>, RenderPassCreationError>
Builds a render pass from this description. Read more
impl RenderPassDescClearValues<()> for EmptySinglePassRenderPassDesc
[src]
fn convert_clear_values(
&self,
()
) -> Box<dyn Iterator<Item = ClearValue> + 'static>
[src]
&self,
()
) -> Box<dyn Iterator<Item = ClearValue> + 'static>
impl RenderPassDescClearValues<Vec<ClearValue>> for EmptySinglePassRenderPassDesc
[src]
fn convert_clear_values(
&self,
values: Vec<ClearValue>
) -> Box<dyn Iterator<Item = ClearValue> + 'static>
[src]
&self,
values: Vec<ClearValue>
) -> Box<dyn Iterator<Item = ClearValue> + 'static>
impl Copy for EmptySinglePassRenderPassDesc
[src]
impl Debug for EmptySinglePassRenderPassDesc
[src]
impl Clone for EmptySinglePassRenderPassDesc
[src]
fn clone(&self) -> EmptySinglePassRenderPassDesc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for EmptySinglePassRenderPassDesc
impl Sync for EmptySinglePassRenderPassDesc
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<A, B> RenderPassCompatible<B> for A where
A: RenderPassDesc + ?Sized,
B: RenderPassDesc + ?Sized,
[src]
A: RenderPassDesc + ?Sized,
B: RenderPassDesc + ?Sized,
fn is_compatible_with(&self, other: &B) -> bool
[src]
impl<T, C> RenderPassDescClearValues<C> for T where
T: SafeDeref,
<T as Deref>::Target: RenderPassDescClearValues<C>,
[src]
T: SafeDeref,
<T as Deref>::Target: RenderPassDescClearValues<C>,
fn convert_clear_values(
&self,
vals: C
) -> Box<dyn Iterator<Item = ClearValue> + 'static>
[src]
&self,
vals: C
) -> Box<dyn Iterator<Item = ClearValue> + 'static>
impl<T> RenderPassDesc for T where
T: SafeDeref,
<T as Deref>::Target: RenderPassDesc,
[src]
T: SafeDeref,
<T as Deref>::Target: RenderPassDesc,
fn num_attachments(&self) -> usize
[src]
fn attachment_desc(&self, num: usize) -> Option<AttachmentDescription>
[src]
fn num_subpasses(&self) -> usize
[src]
fn subpass_desc(&self, num: usize) -> Option<PassDescription>
[src]
fn num_dependencies(&self) -> usize
[src]
fn dependency_desc(&self, num: usize) -> Option<PassDependencyDescription>
[src]
ⓘImportant traits for RenderPassDescAttachments<'a, R>fn attachment_descs(&self) -> RenderPassDescAttachments<Self>
[src]
Returns an iterator to the list of attachments.
ⓘImportant traits for RenderPassDescSubpasses<'a, R>fn subpass_descs(&self) -> RenderPassDescSubpasses<Self>
[src]
Returns an iterator to the list of subpasses.
ⓘImportant traits for RenderPassDescDependencies<'a, R>fn dependency_descs(&self) -> RenderPassDescDependencies<Self>
[src]
Returns an iterator to the list of dependencies.
fn is_compatible_with<T>(&self, other: &T) -> bool where
T: RenderPassDesc + ?Sized,
[src]
T: RenderPassDesc + ?Sized,
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>
[src]
self,
device: Arc<Device>
) -> Result<RenderPass<Self>, RenderPassCreationError>
Builds a render pass from this description. Read more
fn num_color_attachments(&self, subpass: u32) -> Option<u32>
[src]
Returns the number of color attachments of a subpass. Returns None
if out of range.
fn num_samples(&self, subpass: u32) -> Option<u32>
[src]
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]
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]
Returns true if a subpass has a depth attachment or a depth-stencil attachment.
fn has_writable_depth(&self, subpass: u32) -> Option<bool>
[src]
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]
Returns true if a subpass has a stencil attachment or a depth-stencil attachment.
fn has_writable_stencil(&self, subpass: u32) -> Option<bool>
[src]
Returns true if a subpass has a stencil attachment or a depth-stencil attachment whose layout is not DepthStencilReadOnlyOptimal
. Read more
impl<A, B> RenderPassSubpassInterface<B> for A where
A: RenderPassDesc,
B: ShaderInterfaceDef + ?Sized,
[src]
A: RenderPassDesc,
B: ShaderInterfaceDef + ?Sized,
fn is_compatible_with(&self, subpass: u32, other: &B) -> bool
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<T> Erased for T
impl<S> FromSample<S> for S
[src]
fn from_sample_(s: S) -> S
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
[src]
U: FromSample<T>,
fn to_sample_(self) -> U
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
[src]
T: FromSample<S> + ToSample<S>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of self
.