#[repr(C)]pub struct MeshShaderPipelineStateDesc<'rs, 'sh> { /* private fields */ }
Expand description
Mesh shader pipeline description struct (a convenience struct that does not have C counterpart)
Implementations§
Source§impl<'rs, 'sh> MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> MeshShaderPipelineStateDesc<'rs, 'sh>
pub fn set_root_signature( &mut self, root_signature: &'rs RootSignature, ) -> &mut Self
pub fn with_root_signature(self, root_signature: &'rs RootSignature) -> Self
pub fn root_signature(&self) -> RootSignature
pub fn set_as_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_as_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn as_bytecode(&self) -> ShaderBytecode<'sh>
pub fn set_ms_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut Self
pub fn with_ms_bytecode(self, bytecode: &'sh ShaderBytecode<'_>) -> Self
pub fn ms_bytecode(&self) -> ShaderBytecode<'sh>
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) -> ShaderBytecode<'sh>
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_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_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 set_dsv_format(&mut self, dsv_format: Format) -> &mut Self
pub fn with_dsv_format(self, dsv_format: Format) -> Self
pub fn set_flags( &mut self, pipeline_state_flags: PipelineStateFlags, ) -> &mut Self
pub fn with_flags(self, pipeline_state_flags: PipelineStateFlags) -> Self
pub fn flags(&self) -> PipelineStateFlags
pub fn as_byte_stream(&self) -> &[u8] ⓘ
Trait Implementations§
Source§impl<'rs, 'sh> Debug for MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Debug for MeshShaderPipelineStateDesc<'rs, 'sh>
Auto Trait Implementations§
impl<'rs, 'sh> Freeze for MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> RefUnwindSafe for MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> !Send for MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> !Sync for MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Unpin for MeshShaderPipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> UnwindSafe for MeshShaderPipelineStateDesc<'rs, 'sh>
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