[−][src]Struct rendy::graph::DescBuilder
Builder for the node.
Methods
impl<B, T, N> DescBuilder<B, T, N> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
pub fn add_buffer(&mut self, buffer: BufferId) -> &mut DescBuilder<B, T, N>
[src]
Add buffer to the node. This method must be called for each buffer node uses.
pub fn with_buffer(self, buffer: BufferId) -> DescBuilder<B, T, N>
[src]
Add buffer to the node. This method must be called for each buffer node uses.
pub fn add_image(&mut self, image: ImageId) -> &mut DescBuilder<B, T, N>
[src]
Add image to the node. This method must be called for each image node uses.
pub fn with_image(self, image: ImageId) -> DescBuilder<B, T, N>
[src]
Add image to the node. This method must be called for each image node uses.
pub fn add_dependency(
&mut self,
dependency: NodeId
) -> &mut DescBuilder<B, T, N>
[src]
&mut self,
dependency: NodeId
) -> &mut DescBuilder<B, T, N>
Add dependency. Node will be placed after its dependencies.
pub fn with_dependency(self, dependency: NodeId) -> DescBuilder<B, T, N>
[src]
Add dependency. Node will be placed after its dependencies.
Trait Implementations
impl<B, T, N> NodeBuilder<B, T> for DescBuilder<B, T, N> where
B: Backend,
N: NodeDesc<B, T>,
T: ?Sized,
[src]
B: Backend,
N: NodeDesc<B, T>,
T: ?Sized,
fn family(
&self,
_factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
[src]
&self,
_factory: &mut Factory<B>,
families: &[Family<B, QueueType>]
) -> Option<FamilyId>
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build(
self: Box<DescBuilder<B, T, N>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
[src]
self: Box<DescBuilder<B, T, N>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
family: &mut Family<B, QueueType>,
queue: usize,
aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn DynNode<B, T> + 'static>, Error>
impl<B, T, D> RenderGroupBuilder<B, T> for DescBuilder<B, T, D> where
B: Backend,
D: RenderGroupDesc<B, T>,
T: ?Sized,
[src]
B: Backend,
D: RenderGroupDesc<B, T>,
T: ?Sized,
fn colors(&self) -> usize
[src]
fn depth(&self) -> bool
[src]
fn buffers(&self) -> Vec<(BufferId, BufferAccess)>
[src]
fn images(&self) -> Vec<(ImageId, ImageAccess)>
[src]
fn dependencies(&self) -> Vec<NodeId>
[src]
fn build(
self: Box<DescBuilder<B, T, D>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
queue: QueueId,
aux: &T,
framebuffer_width: u32,
framebuffer_height: u32,
subpass: Subpass<B>,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn RenderGroup<B, T> + 'static>, Error>
[src]
self: Box<DescBuilder<B, T, D>>,
ctx: &GraphContext<B>,
factory: &mut Factory<B>,
queue: QueueId,
aux: &T,
framebuffer_width: u32,
framebuffer_height: u32,
subpass: Subpass<B>,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>
) -> Result<Box<dyn RenderGroup<B, T> + 'static>, Error>
fn into_subpass(self) -> SubpassBuilder<B, T> where
Self: 'static,
[src]
Self: 'static,
Make subpass from render group.
impl<B, T, N> Debug for DescBuilder<B, T, N> where
B: Backend,
N: Debug,
T: ?Sized,
[src]
B: Backend,
N: Debug,
T: ?Sized,
Auto Trait Implementations
impl<B, T: ?Sized, N> Unpin for DescBuilder<B, T, N> where
N: Unpin,
N: Unpin,
impl<B, T: ?Sized, N> Sync for DescBuilder<B, T, N> where
N: Sync,
N: Sync,
impl<B, T: ?Sized, N> Send for DescBuilder<B, T, N> where
N: Send,
N: Send,
impl<B, T: ?Sized, N> UnwindSafe for DescBuilder<B, T, N> where
N: UnwindSafe,
N: UnwindSafe,
impl<B, T: ?Sized, N> RefUnwindSafe for DescBuilder<B, T, N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
Blanket Implementations
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>,
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> Supports<T> for T
[src]
impl<T> SetParameter for T
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
Convert the source color to the destination color using the bradford method by default Read more