[−][src]Struct dxplr::d3d12::GraphicsPipelineStateDesc
Fields
root_signature: Option<RootSignature>
vs: Option<ShaderBytecode>
ps: Option<ShaderBytecode>
ds: Option<ShaderBytecode>
hs: Option<ShaderBytecode>
gs: Option<ShaderBytecode>
stream_output: Option<StreamOutputDesc<'a>>
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>
Methods
impl<'a> GraphicsPipelineStateDesc<'a, (), (), ()>
[src]
impl<'a, Il, Rf, Df> GraphicsPipelineStateDesc<'a, Il, Rf, Df>
[src]
pub fn root_signature(self, root_signature: &RootSignature) -> Self
[src]
pub fn vs(self, code: ShaderBytecode) -> Self
[src]
pub fn ps(self, code: ShaderBytecode) -> Self
[src]
pub fn ds(self, code: ShaderBytecode) -> Self
[src]
pub fn hs(self, code: ShaderBytecode) -> Self
[src]
pub fn gs(self, code: ShaderBytecode) -> Self
[src]
pub fn stream_output(self, so: StreamOutputDesc<'a>) -> Self
[src]
pub fn blend_desc(self, desc: BlendDesc) -> Self
[src]
pub fn sample_mask(self, mask: u32) -> Self
[src]
pub fn rasterizer_state(self, desc: RasterizerDesc) -> Self
[src]
pub fn depth_stencil_state(self, desc: DepthStencilDesc) -> Self
[src]
pub fn ib_strip_cut_value(self, value: IndexBufferStripCutValue) -> Self
[src]
pub fn primitive_topology_type(
self,
topology_type: PrimitiveTopologyType
) -> Self
[src]
self,
topology_type: PrimitiveTopologyType
) -> Self
pub fn sample_desc(self, sample_desc: SampleDesc) -> Self
[src]
pub fn node_mask(self, node_mask: u32) -> Self
[src]
pub fn cached_pso(self, cached_pso: CachedPipelineState) -> Self
[src]
pub fn flags(self, flags: PipelineStateFlags) -> Self
[src]
impl<'a, Rf, Df> GraphicsPipelineStateDesc<'a, (), Rf, Df>
[src]
pub fn input_layout<'b>(
self,
input_layout: InputLayoutDesc<'b>
) -> GraphicsPipelineStateDesc<'a, InputLayoutDesc<'b>, Rf, Df>
[src]
self,
input_layout: InputLayoutDesc<'b>
) -> GraphicsPipelineStateDesc<'a, InputLayoutDesc<'b>, Rf, Df>
impl<'a, Il, Df> GraphicsPipelineStateDesc<'a, Il, (), Df>
[src]
pub fn rtv_formats<'b>(
self,
rtv_formats: &'b [Format]
) -> GraphicsPipelineStateDesc<'a, Il, &'b [Format], Df>
[src]
self,
rtv_formats: &'b [Format]
) -> GraphicsPipelineStateDesc<'a, Il, &'b [Format], Df>
impl<'a, Il, Rf> GraphicsPipelineStateDesc<'a, Il, Rf, ()>
[src]
pub fn dsv_format(
self,
dsv_format: Format
) -> GraphicsPipelineStateDesc<'a, Il, Rf, Format>
[src]
self,
dsv_format: Format
) -> GraphicsPipelineStateDesc<'a, Il, Rf, Format>
Trait Implementations
impl<'a, Il: Clone, Rf: Clone, Df: Clone> Clone for GraphicsPipelineStateDesc<'a, Il, Rf, Df>
[src]
fn clone(&self) -> GraphicsPipelineStateDesc<'a, Il, Rf, Df>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, Il: Debug, Rf: Debug, Df: Debug> Debug for GraphicsPipelineStateDesc<'a, Il, Rf, Df>
[src]
Auto Trait Implementations
impl<'a, Il, Rf, Df> Sync for GraphicsPipelineStateDesc<'a, Il, Rf, Df> where
Df: Sync,
Il: Sync,
Rf: Sync,
Df: Sync,
Il: Sync,
Rf: Sync,
impl<'a, Il, Rf, Df> Send for GraphicsPipelineStateDesc<'a, Il, Rf, Df> where
Df: Send,
Il: Send,
Rf: Send,
Df: Send,
Il: Send,
Rf: Send,
impl<'a, Il, Rf, Df> Unpin for GraphicsPipelineStateDesc<'a, Il, Rf, Df> where
Df: Unpin,
Il: Unpin,
Rf: Unpin,
Df: Unpin,
Il: Unpin,
Rf: Unpin,
impl<'a, Il, Rf, Df> UnwindSafe for GraphicsPipelineStateDesc<'a, Il, Rf, Df> where
Df: UnwindSafe,
Il: UnwindSafe,
Rf: UnwindSafe,
Df: UnwindSafe,
Il: UnwindSafe,
Rf: UnwindSafe,
impl<'a, Il, Rf, Df> RefUnwindSafe for GraphicsPipelineStateDesc<'a, Il, Rf, Df> where
Df: RefUnwindSafe,
Il: RefUnwindSafe,
Rf: RefUnwindSafe,
Df: RefUnwindSafe,
Il: RefUnwindSafe,
Rf: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,