#[repr(transparent)]pub struct ComputePipelineStateDesc<'rs, 'sh>(pub D3D12_COMPUTE_PIPELINE_STATE_DESC, _, _);
Expand description
Wrapper around D3D12_COMPUTE_PIPELINE_STATE_DESC structure
Tuple Fields§
§0: D3D12_COMPUTE_PIPELINE_STATE_DESC
Implementations§
Source§impl<'rs, 'sh> ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> ComputePipelineStateDesc<'rs, 'sh>
pub fn set_root_signature( &mut self, root_signature: &'rs RootSignature, ) -> &mut ComputePipelineStateDesc<'rs, 'sh>
pub fn with_root_signature( self, root_signature: &'rs RootSignature, ) -> ComputePipelineStateDesc<'rs, 'sh>
pub fn root_signature(&self) -> RootSignature
pub fn set_cs_bytecode( &mut self, bytecode: &'sh ShaderBytecode<'_>, ) -> &mut ComputePipelineStateDesc<'rs, 'sh>
pub fn with_cs_bytecode( self, bytecode: &'sh ShaderBytecode<'_>, ) -> ComputePipelineStateDesc<'rs, 'sh>
pub fn cs_bytecode(&self) -> &'sh ShaderBytecode<'_>
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 ComputePipelineStateDesc<'rs, 'sh>
pub fn with_cached_pso( self, cached_pso: &'sh CachedPipelineState<'_>, ) -> ComputePipelineStateDesc<'rs, 'sh>
pub fn cached_pso(&self) -> &'sh CachedPipelineState<'_>
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
Trait Implementations§
Source§impl<'rs, 'sh> Debug for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Debug for ComputePipelineStateDesc<'rs, 'sh>
Source§impl<'rs, 'sh> Default for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Default for ComputePipelineStateDesc<'rs, 'sh>
Source§fn default() -> ComputePipelineStateDesc<'rs, 'sh>
fn default() -> ComputePipelineStateDesc<'rs, 'sh>
Returns the “default value” for a type. Read more
Source§impl<'rs, 'sh> Hash for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Hash for ComputePipelineStateDesc<'rs, 'sh>
Source§impl<'rs, 'sh> Ord for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Ord for ComputePipelineStateDesc<'rs, 'sh>
Source§fn cmp(&self, other: &ComputePipelineStateDesc<'rs, 'sh>) -> Ordering
fn cmp(&self, other: &ComputePipelineStateDesc<'rs, 'sh>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'rs, 'sh> PartialEq for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> PartialEq for ComputePipelineStateDesc<'rs, 'sh>
Source§fn eq(&self, other: &ComputePipelineStateDesc<'rs, 'sh>) -> bool
fn eq(&self, other: &ComputePipelineStateDesc<'rs, 'sh>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<'rs, 'sh> PartialOrd for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> PartialOrd for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Eq for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> StructuralPartialEq for ComputePipelineStateDesc<'rs, 'sh>
Auto Trait Implementations§
impl<'rs, 'sh> Freeze for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> RefUnwindSafe for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> !Send for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> !Sync for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> Unpin for ComputePipelineStateDesc<'rs, 'sh>
impl<'rs, 'sh> UnwindSafe for ComputePipelineStateDesc<'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