[−][src]Struct amethyst_rendy::rendy::hal::pso::GraphicsPipelineDesc
A description of all the settings that can be altered when creating a graphics pipeline.
Fields
shaders: GraphicsShaderSet<'a, B>
A set of graphics shaders to use for the pipeline.
rasterizer: Rasterizer
Rasterizer setup
vertex_buffers: Vec<VertexBufferDesc>
Vertex buffers (IA)
attributes: Vec<AttributeDesc>
Vertex attributes (IA)
input_assembler: InputAssemblerDesc
Input assembler attributes, describes how vertices are assembled into primitives (such as triangles).
blender: BlendDesc
Description of how blend operations should be performed.
depth_stencil: DepthStencilDesc
Depth stencil (DSV)
multisampling: Option<Multisampling>
Multisampling.
baked_states: BakedStates
Static pipeline states.
layout: &'a <B as Backend>::PipelineLayout
Pipeline layout.
subpass: Subpass<'a, B>
Subpass in which the pipeline can be executed.
flags: PipelineCreationFlags
Options that may be set to alter pipeline properties.
parent: BasePipeline<'a, <B as Backend>::GraphicsPipeline>
The parent pipeline, which may be
BasePipeline::None
.
Methods
impl<'a, B> GraphicsPipelineDesc<'a, B> where
B: Backend,
[src]
B: Backend,
pub fn new(
shaders: GraphicsShaderSet<'a, B>,
primitive: Primitive,
rasterizer: Rasterizer,
layout: &'a <B as Backend>::PipelineLayout,
subpass: Subpass<'a, B>
) -> GraphicsPipelineDesc<'a, B>
[src]
shaders: GraphicsShaderSet<'a, B>,
primitive: Primitive,
rasterizer: Rasterizer,
layout: &'a <B as Backend>::PipelineLayout,
subpass: Subpass<'a, B>
) -> GraphicsPipelineDesc<'a, B>
Create a new empty PSO descriptor.
Trait Implementations
impl<'a, B> Debug for GraphicsPipelineDesc<'a, B> where
B: Backend + Debug,
<B as Backend>::PipelineLayout: Debug,
<B as Backend>::GraphicsPipeline: Debug,
[src]
B: Backend + Debug,
<B as Backend>::PipelineLayout: Debug,
<B as Backend>::GraphicsPipeline: Debug,
Auto Trait Implementations
impl<'a, B> Unpin for GraphicsPipelineDesc<'a, B>
impl<'a, B> Sync for GraphicsPipelineDesc<'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 GraphicsPipelineDesc<'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 GraphicsPipelineDesc<'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 GraphicsPipelineDesc<'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> 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> Event for T where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,