[−][src]Struct amethyst_rendy::pipeline::PipelineDescBuilder  
Builder abstraction for constructing a backend-agnostic rendy GraphicsPipeline
Methods
impl<'a, B: Backend> PipelineDescBuilder<'a, B>[src]
pub fn new() -> Self[src]
Create a new builder instance.
pub fn with_shaders(self, shaders: GraphicsShaderSet<'a, B>) -> Self[src]
Build with the provided GraphicsShadersSet
pub fn set_shaders(&mut self, shaders: GraphicsShaderSet<'a, B>)[src]
Set to use the provided GraphicsShaderSet
pub fn with_rasterizer(self, rasterizer: Rasterizer) -> Self[src]
Build with the provided Rasterizer
pub fn set_rasterizer(&mut self, rasterizer: Rasterizer)[src]
Set to use the provided Rasterizer
pub fn with_vertex_buffers(self, vertex_buffers: Vec<VertexBufferDesc>) -> Self[src]
Build with the provided VertexBufferDesc collection
pub fn set_vertex_buffers(&mut self, vertex_buffers: Vec<VertexBufferDesc>)[src]
Set to use the provided VertexBufferDesc collection.
pub fn with_attributes(self, attributes: Vec<AttributeDesc>) -> Self[src]
Build with the provided AttributeDesc collection
pub fn set_attributes(&mut self, attributes: Vec<AttributeDesc>)[src]
Set to use the provided AttributeDesc collection.
pub fn with_input_assembler(self, input_assembler: InputAssemblerDesc) -> Self[src]
Build with the provided InputAssemblerDesc
pub fn set_input_assembler(&mut self, input_assembler: InputAssemblerDesc)[src]
Set to use the provided InputAssemblerDesc
pub fn with_blender(self, blender: BlendDesc) -> Self[src]
Build with the provided BlendDesc
pub fn set_blender(&mut self, blender: BlendDesc)[src]
Set to use the provided BlendDesc
pub fn with_depth_stencil(self, depth_stencil: DepthStencilDesc) -> Self[src]
Build with the provided DepthStencilDesc
pub fn set_depth_stencil(&mut self, depth_stencil: DepthStencilDesc)[src]
Set to use the provided DepthStencilDesc
pub fn with_multisampling(self, multisampling: Option<Multisampling>) -> Self[src]
Build with the provided Multisampling
pub fn set_multisampling(&mut self, multisampling: Option<Multisampling>)[src]
Set to use the provided Multisampling
pub fn with_baked_states(self, baked_states: BakedStates) -> Self[src]
Build with the provided BakedStates
pub fn set_baked_states(&mut self, baked_states: BakedStates)[src]
Set to use the provided BakedStates
pub fn with_layout(self, layout: &'a B::PipelineLayout) -> Self[src]
Build with the provided PipelineLayout
pub fn set_layout(&mut self, layout: &'a B::PipelineLayout)[src]
Set to use the provided PipelineLayout
pub fn with_subpass(self, subpass: Subpass<'a, B>) -> Self[src]
Build with the provided Subpass
pub fn set_subpass(&mut self, subpass: Subpass<'a, B>)[src]
Set to use the provided Subpass
pub fn with_flags(self, flags: PipelineCreationFlags) -> Self[src]
Build with the provided PipelineCreationFlags
pub fn set_flags(&mut self, flags: PipelineCreationFlags)[src]
Set to use the provided PipelineCreationFlags
pub fn with_parent(self, parent: BasePipeline<'a, B::GraphicsPipeline>) -> Self[src]
Build with the provided BasePipeline
pub fn set_parent(&mut self, parent: BasePipeline<'a, B::GraphicsPipeline>)[src]
Set to use the provided BasePipeline
pub fn with_framebuffer_size(self, fb_w: u32, fb_h: u32) -> Self[src]
Build with the provided framebuffer size.
pub fn set_framebuffer_size(&mut self, fb_w: u32, fb_h: u32)[src]
Set to use the provided framebuffer size.
pub fn with_depth_test(self, depth_test: DepthTest) -> Self[src]
Build with the provided DepthTest
pub fn set_depth_test(&mut self, depth_test: DepthTest)[src]
Set to use the provided DepthTest
pub fn with_face_culling(self, cull_face: Face) -> Self[src]
Build with the provided Face culling.
pub fn set_face_culling(&mut self, cull_face: Face)[src]
Set to use the provided Face culling.
pub fn with_vertex_desc(self, desc: &[(VertexFormat, VertexInputRate)]) -> Self[src]
Build with the provided vertex description.
pub fn set_vertex_desc(&mut self, desc: &[(VertexFormat, VertexInputRate)])[src]
Set to use the provided vertex description.
pub fn with_blend_targets(self, targets: Vec<ColorBlendDesc>) -> Self[src]
Build with the provided ColorBlendDesc collection.
pub fn set_blend_targets(&mut self, targets: Vec<ColorBlendDesc>)[src]
Set to use the provided ColorBlendDesc collection
pub fn build(self) -> GraphicsPipelineDesc<'a, B>[src]
Finalize and construct the GraphicsPipelineDesc
Trait Implementations
impl<'a, B: Backend> Default for PipelineDescBuilder<'a, B>[src]
impl<'a, B: Backend> Clone for PipelineDescBuilder<'a, B>[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a, B: Debug + Backend> Debug for PipelineDescBuilder<'a, B> where
    B::PipelineLayout: Debug,
    B::GraphicsPipeline: Debug, [src]
B::PipelineLayout: Debug,
B::GraphicsPipeline: Debug,
Auto Trait Implementations
impl<'a, B> Unpin for PipelineDescBuilder<'a, B>
impl<'a, B> Sync for PipelineDescBuilder<'a, B> where
    <B as Backend>::GraphicsPipeline: Sync,
    <B as Backend>::PipelineLayout: Sync,
    <B as Backend>::RenderPass: Sync,
    <B as Backend>::ShaderModule: Sync, 
<B as Backend>::GraphicsPipeline: Sync,
<B as Backend>::PipelineLayout: Sync,
<B as Backend>::RenderPass: Sync,
<B as Backend>::ShaderModule: Sync,
impl<'a, B> Send for PipelineDescBuilder<'a, B> where
    <B as Backend>::GraphicsPipeline: Sync,
    <B as Backend>::PipelineLayout: Sync,
    <B as Backend>::RenderPass: Sync,
    <B as Backend>::ShaderModule: Sync, 
<B as Backend>::GraphicsPipeline: Sync,
<B as Backend>::PipelineLayout: Sync,
<B as Backend>::RenderPass: Sync,
<B as Backend>::ShaderModule: Sync,
impl<'a, B> UnwindSafe for PipelineDescBuilder<'a, B> where
    <B as Backend>::GraphicsPipeline: RefUnwindSafe,
    <B as Backend>::PipelineLayout: RefUnwindSafe,
    <B as Backend>::RenderPass: RefUnwindSafe,
    <B as Backend>::ShaderModule: RefUnwindSafe, 
<B as Backend>::GraphicsPipeline: RefUnwindSafe,
<B as Backend>::PipelineLayout: RefUnwindSafe,
<B as Backend>::RenderPass: RefUnwindSafe,
<B as Backend>::ShaderModule: RefUnwindSafe,
impl<'a, B> RefUnwindSafe for PipelineDescBuilder<'a, B> where
    <B as Backend>::GraphicsPipeline: RefUnwindSafe,
    <B as Backend>::PipelineLayout: RefUnwindSafe,
    <B as Backend>::RenderPass: RefUnwindSafe,
    <B as Backend>::ShaderModule: RefUnwindSafe, 
<B as Backend>::GraphicsPipeline: RefUnwindSafe,
<B as Backend>::PipelineLayout: RefUnwindSafe,
<B as Backend>::RenderPass: RefUnwindSafe,
<B as Backend>::ShaderModule: RefUnwindSafe,
Blanket Implementations
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> 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<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
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> Supports<T> for T[src]
impl<T> Erased for T[src]
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, [src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>[src]
fn is_in_subset(&self) -> bool[src]
unsafe fn to_subset_unchecked(&self) -> SS[src]
fn from_subset(element: &SS) -> SP[src]
impl<T> Resource for T where
    T: Any + Send + Sync, [src]
T: Any + Send + Sync,
impl<T> Any for T where
    T: Any, [src]
T: Any,
fn get_type_id(&self) -> TypeId[src]
impl<T> TryDefault for T where
    T: Default, [src]
T: Default,
fn try_default() -> Result<T, String>[src]
fn unwrap_default() -> Self[src]
Calls try_default and panics on an error case.
impl<T> Event for T where
    T: Send + Sync + 'static, [src]
T: Send + Sync + 'static,
impl<T> Clone for T where
    T: Clone, [src]
T: Clone,