pub struct GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> {Show 20 fields
pub root_signature: Option<RootSignature>,
pub vs: Option<ShaderBytecode<'a>>,
pub ps: Option<ShaderBytecode<'b>>,
pub ds: Option<ShaderBytecode<'c>>,
pub hs: Option<ShaderBytecode<'d>>,
pub gs: Option<ShaderBytecode<'e>>,
pub stream_output: Option<StreamOutputDesc<'f>>,
pub blend_state: BlendDesc,
pub sample_mask: u32,
pub rasterizer_state: RasterizerDesc,
pub depth_stencil_state: DepthStencilDesc,
pub input_layout: Il,
pub ib_strip_cut_value: IndexBufferStripCutValue,
pub primitive_topology_type: PrimitiveTopologyType,
pub rtv_formats: Rf,
pub dsv_format: Df,
pub sample_desc: SampleDesc,
pub node_mask: u32,
pub cached_pso: Option<CachedPipelineState>,
pub flags: Option<PipelineStateFlags>,
}Fields§
§root_signature: Option<RootSignature>§vs: Option<ShaderBytecode<'a>>§ps: Option<ShaderBytecode<'b>>§ds: Option<ShaderBytecode<'c>>§hs: Option<ShaderBytecode<'d>>§gs: Option<ShaderBytecode<'e>>§stream_output: Option<StreamOutputDesc<'f>>§blend_state: BlendDesc§sample_mask: u32§rasterizer_state: RasterizerDesc§depth_stencil_state: DepthStencilDesc§input_layout: Il§ib_strip_cut_value: IndexBufferStripCutValue§primitive_topology_type: PrimitiveTopologyType§rtv_formats: Rf§dsv_format: Df§sample_desc: SampleDesc§node_mask: u32§cached_pso: Option<CachedPipelineState>§flags: Option<PipelineStateFlags>Implementations§
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
pub fn root_signature(self, root_signature: &RootSignature) -> Self
pub fn vs(self, code: ShaderBytecode<'a>) -> Self
pub fn ps(self, code: ShaderBytecode<'b>) -> Self
pub fn ds(self, code: ShaderBytecode<'c>) -> Self
pub fn hs(self, code: ShaderBytecode<'d>) -> Self
pub fn gs(self, code: ShaderBytecode<'e>) -> Self
pub fn stream_output(self, so: StreamOutputDesc<'f>) -> Self
pub fn blend_desc(self, desc: BlendDesc) -> Self
pub fn sample_mask(self, mask: u32) -> Self
pub fn rasterizer_state(self, desc: RasterizerDesc) -> Self
pub fn depth_stencil_state(self, desc: DepthStencilDesc) -> Self
pub fn ib_strip_cut_value(self, value: IndexBufferStripCutValue) -> Self
pub fn primitive_topology_type( self, topology_type: PrimitiveTopologyType, ) -> Self
pub fn sample_desc(self, sample_desc: SampleDesc) -> Self
pub fn node_mask(self, node_mask: u32) -> Self
pub fn cached_pso(self, cached_pso: CachedPipelineState) -> Self
pub fn flags(self, flags: PipelineStateFlags) -> Self
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, Rf, Df> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, (), Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Rf, Df> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, (), Rf, Df>
pub fn input_layout<'g>( self, input_layout: InputLayoutDesc<'g>, ) -> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, InputLayoutDesc<'g>, Rf, Df>
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Df> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, (), Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Df> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, (), Df>
pub fn rtv_formats<'g>( self, rtv_formats: &'g [Format], ) -> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, &'g [Format], Df>
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, ()>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, ()>
pub fn dsv_format( self, dsv_format: Format, ) -> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Format>
Trait Implementations§
Source§impl<'a, 'b, 'c, 'd, 'e, 'f, Il: Clone, Rf: Clone, Df: Clone> Clone for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il: Clone, Rf: Clone, Df: Clone> Clone for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
Source§fn clone(&self) -> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
fn clone(&self) -> GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> Freeze for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> RefUnwindSafe for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> Send for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> Sync for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> Unpin for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> UnsafeUnpin for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
impl<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df> UnwindSafe for GraphicsPipelineStateDesc<'a, 'b, 'c, 'd, 'e, 'f, Il, Rf, Df>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more