[][src]Struct rendy_core::hal::pso::ComputePipelineDesc

pub struct ComputePipelineDesc<'a, B> where
    B: Backend
{ pub shader: EntryPoint<'a, B>, pub layout: &'a <B as Backend>::PipelineLayout, pub flags: PipelineCreationFlags, pub parent: BasePipeline<'a, <B as Backend>::ComputePipeline>, }

A description of the data needed to construct a compute pipeline.

Fields

shader: EntryPoint<'a, B>

The shader entry point that performs the computation.

layout: &'a <B as Backend>::PipelineLayout

Pipeline layout.

flags: PipelineCreationFlags

Any flags necessary for the pipeline creation.

parent: BasePipeline<'a, <B as Backend>::ComputePipeline>

The parent pipeline to this one, if any.

Implementations

impl<'a, B> ComputePipelineDesc<'a, B> where
    B: Backend
[src]

pub fn new(
    shader: EntryPoint<'a, B>,
    layout: &'a <B as Backend>::PipelineLayout
) -> ComputePipelineDesc<'a, B>
[src]

Create a new empty PSO descriptor.

Trait Implementations

impl<'a, B> Debug for ComputePipelineDesc<'a, B> where
    B: Backend + Debug,
    <B as Backend>::PipelineLayout: Debug,
    <B as Backend>::ComputePipeline: Debug
[src]

Auto Trait Implementations

impl<'a, B> RefUnwindSafe for ComputePipelineDesc<'a, B> where
    <B as Backend>::ComputePipeline: RefUnwindSafe,
    <B as Backend>::PipelineLayout: RefUnwindSafe,
    <B as Backend>::ShaderModule: RefUnwindSafe

impl<'a, B> Send for ComputePipelineDesc<'a, B> where
    <B as Backend>::ComputePipeline: Sync,
    <B as Backend>::PipelineLayout: Sync,
    <B as Backend>::ShaderModule: Sync

impl<'a, B> Sync for ComputePipelineDesc<'a, B> where
    <B as Backend>::ComputePipeline: Sync,
    <B as Backend>::PipelineLayout: Sync,
    <B as Backend>::ShaderModule: Sync

impl<'a, B> Unpin for ComputePipelineDesc<'a, B>

impl<'a, B> UnwindSafe for ComputePipelineDesc<'a, B> where
    <B as Backend>::ComputePipeline: RefUnwindSafe,
    <B as Backend>::PipelineLayout: RefUnwindSafe,
    <B as Backend>::ShaderModule: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.