#[repr(C)]
pub struct D3D12_GRAPHICS_PIPELINE_STATE_DESC {
Show 21 fields pub pRootSignature: ID3D12RootSignature, pub VS: D3D12_SHADER_BYTECODE, pub PS: D3D12_SHADER_BYTECODE, pub DS: D3D12_SHADER_BYTECODE, pub HS: D3D12_SHADER_BYTECODE, pub GS: D3D12_SHADER_BYTECODE, pub StreamOutput: D3D12_STREAM_OUTPUT_DESC, pub BlendState: D3D12_BLEND_DESC, pub SampleMask: u32, pub RasterizerState: D3D12_RASTERIZER_DESC, pub DepthStencilState: D3D12_DEPTH_STENCIL_DESC, pub InputLayout: D3D12_INPUT_LAYOUT_DESC, pub IBStripCutValue: D3D12_INDEX_BUFFER_STRIP_CUT_VALUE, pub PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE, pub NumRenderTargets: u32, pub RTVFormats: [DXGI_FORMAT; 8], pub DSVFormat: DXGI_FORMAT, pub SampleDesc: DXGI_SAMPLE_DESC, pub NodeMask: u32, pub CachedPSO: D3D12_CACHED_PIPELINE_STATE, pub Flags: D3D12_PIPELINE_STATE_FLAGS,
}
Expand description

Required features: "Win32_Graphics_Direct3D12", "Win32_Foundation", "Win32_Graphics_Dxgi_Common"

Fields

pRootSignature: ID3D12RootSignatureVS: D3D12_SHADER_BYTECODEPS: D3D12_SHADER_BYTECODEDS: D3D12_SHADER_BYTECODEHS: D3D12_SHADER_BYTECODEGS: D3D12_SHADER_BYTECODEStreamOutput: D3D12_STREAM_OUTPUT_DESCBlendState: D3D12_BLEND_DESCSampleMask: u32RasterizerState: D3D12_RASTERIZER_DESCDepthStencilState: D3D12_DEPTH_STENCIL_DESCInputLayout: D3D12_INPUT_LAYOUT_DESCIBStripCutValue: D3D12_INDEX_BUFFER_STRIP_CUT_VALUEPrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPENumRenderTargets: u32RTVFormats: [DXGI_FORMAT; 8]DSVFormat: DXGI_FORMATSampleDesc: DXGI_SAMPLE_DESCNodeMask: u32CachedPSO: D3D12_CACHED_PIPELINE_STATEFlags: D3D12_PIPELINE_STATE_FLAGS

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.