#[repr(transparent)]pub struct GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>(pub D3D12_GRAPHICS_PIPELINE_STATE_DESC, _, _, _, _);
Expand description
Wrapper around D3D12_GRAPHICS_PIPELINE_STATE_DESC structure
Tuple Fields§
§0: D3D12_GRAPHICS_PIPELINE_STATE_DESC
Implementations§
Source§impl<'rs, 'sh, 'so, 'il> GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
pub fn set_root_signature( &mut self, root_signature: &'rs RootSignature, ) -> &mut Self
pub fn with_root_signature( self, root_signature: &'rs RootSignature, ) -> GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
pub fn root_signature(&self) -> RootSignature
pub fn set_vs_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_vs_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn vs_bytecode(&self) -> &'sh ShaderBytecode<'_>
pub fn set_ps_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_ps_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn ps_bytecode(&self) -> &'sh ShaderBytecode<'_>
pub fn set_ds_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_ds_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn ds_bytecode(&self) -> &'sh ShaderBytecode<'_>
pub fn set_hs_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_hs_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn hs_bytecode(&self) -> &'sh ShaderBytecode<'_>
pub fn set_gs_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_gs_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn gs_bytecode(&self) -> &'sh ShaderBytecode<'_>
pub fn set_stream_output( &mut self, stream_output: StreamOutputDesc<'_>, ) -> &mut Self
pub fn with_stream_output(self, stream_output: StreamOutputDesc<'_>) -> Self
pub fn stream_output(&self) -> &'so StreamOutputDesc<'_>
pub fn set_blend_state(&mut self, blend_state: BlendDesc) -> &mut Self
pub fn with_blend_state(self, blend_state: BlendDesc) -> Self
pub fn blend_state(&self) -> BlendDesc
pub fn set_sample_mask(&mut self, sample_mask: u32) -> &mut Self
pub fn with_sample_mask(self, sample_mask: u32) -> Self
pub fn sample_mask(&self) -> u32
pub fn set_rasterizer_state( &mut self, rasterizer_state: RasterizerDesc, ) -> &mut Self
pub fn with_rasterizer_state(self, rasterizer_state: RasterizerDesc) -> Self
pub fn rasterizer_state(&self) -> RasterizerDesc
pub fn set_depth_stencil_state( &mut self, depth_stencil_state: DepthStencilDesc, ) -> &mut Self
pub fn with_depth_stencil_state( self, depth_stencil_state: DepthStencilDesc, ) -> Self
pub fn depth_stencil_state(&self) -> DepthStencilDesc
pub fn set_input_layout( &mut self, input_layout: &'il InputLayoutDesc<'_>, ) -> &mut Self
pub fn with_input_layout(self, input_layout: &'il InputLayoutDesc<'_>) -> Self
pub fn input_layout(&self) -> &'il InputLayoutDesc<'_>
pub fn set_ib_strip_cut_value( &mut self, ib_strip_cut_value: IndexBufferStripCutValue, ) -> &mut Self
pub fn with_ib_strip_cut_value( self, ib_strip_cut_value: IndexBufferStripCutValue, ) -> Self
pub fn ib_strip_cut_value(&self) -> IndexBufferStripCutValue
pub fn set_primitive_topology_type( &mut self, primitive_topology_type: PrimitiveTopologyType, ) -> &mut Self
pub fn with_primitive_topology_type( self, primitive_topology_type: PrimitiveTopologyType, ) -> Self
pub fn primitive_topology_type(&self) -> PrimitiveTopologyType
pub fn set_rtv_formats(&mut self, rtv_formats: &[Format]) -> &mut Self
pub fn with_rtv_formats(self, rtv_formats: &[Format]) -> Self
pub fn rtv_formats(&self) -> &[Format]
pub fn num_render_targets(&self) -> u32
pub fn set_dsv_format(&mut self, dsv_format: Format) -> &mut Self
pub fn with_dsv_format(self, dsv_format: Format) -> Self
pub fn dsv_format(&self) -> Format
pub fn set_sample_desc(&mut self, sample_desc: SampleDesc) -> &mut Self
pub fn with_sample_desc(self, sample_desc: SampleDesc) -> Self
pub fn sample_desc(&self) -> SampleDesc
pub fn set_node_mask(&mut self, node_mask: u32) -> &mut Self
pub fn with_node_mask(self, node_mask: u32) -> Self
pub fn node_mask(&self) -> u32
pub fn set_cached_pso( &mut self, cached_pso: &'sh CachedPipelineState<'_>, ) -> &mut Self
pub fn with_cached_pso(self, cached_pso: &'sh CachedPipelineState<'_>) -> Self
pub fn cached_pso(&self) -> &'sh CachedPipelineState<'_>
pub fn set_flags(&mut self, flags: PipelineStateFlags) -> &mut Self
pub fn with_flags(self, flags: PipelineStateFlags) -> Self
pub fn flags(&self) -> PipelineStateFlags
Trait Implementations§
Source§impl<'rs, 'sh, 'so, 'il> Debug for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> Debug for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
Auto Trait Implementations§
impl<'rs, 'sh, 'so, 'il> Freeze for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> RefUnwindSafe for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> !Send for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> !Sync for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> Unpin for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
impl<'rs, 'sh, 'so, 'il> UnwindSafe for GraphicsPipelineStateDesc<'rs, 'sh, 'so, 'il>
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