[][src]Struct filum::PipelineBuilder

pub struct PipelineBuilder<'a, ShaderType, SpecializationType> { /* fields omitted */ }

Methods

impl<'a> PipelineBuilder<'a, (), ()>[src]

pub fn new(buffer: &'a Arc<Buffer>) -> Self[src]

impl<'a, SpecializationType> PipelineBuilder<'a, (), SpecializationType>[src]

pub fn shader(
    self,
    filename: impl Into<String>
) -> PipelineBuilder<'a, ShaderModuleSource, SpecializationType>
[src]

pub fn shader_bytes(
    self,
    bytes: Vec<u8>
) -> PipelineBuilder<'a, ShaderModuleSource, SpecializationType>
[src]

impl<'a, ShaderType> PipelineBuilder<'a, ShaderType, ()>[src]

pub fn specialization(
    self,
    constants: Vec<ConstantEntry>
) -> PipelineBuilder<'a, ShaderType, Vec<ConstantEntry>>
[src]

impl<'a> PipelineBuilder<'a, ShaderModuleSource, ()>[src]

pub fn build(self) -> Result<Arc<Pipeline>>[src]

impl<'a> PipelineBuilder<'a, ShaderModuleSource, Vec<ConstantEntry>>[src]

pub fn build(self) -> Result<Arc<Pipeline>>[src]

Auto Trait Implementations

impl<'a, ShaderType, SpecializationType> RefUnwindSafe for PipelineBuilder<'a, ShaderType, SpecializationType> where
    ShaderType: RefUnwindSafe,
    SpecializationType: RefUnwindSafe

impl<'a, ShaderType, SpecializationType> !Send for PipelineBuilder<'a, ShaderType, SpecializationType>

impl<'a, ShaderType, SpecializationType> !Sync for PipelineBuilder<'a, ShaderType, SpecializationType>

impl<'a, ShaderType, SpecializationType> Unpin for PipelineBuilder<'a, ShaderType, SpecializationType> where
    ShaderType: Unpin,
    SpecializationType: Unpin

impl<'a, ShaderType, SpecializationType> UnwindSafe for PipelineBuilder<'a, ShaderType, SpecializationType> where
    ShaderType: UnwindSafe,
    SpecializationType: UnwindSafe

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.