共用方式為


CD3DX12_PIPELINE_STATE_STREAM_FLAGS 結構

協助程序結構,用來將管線狀態旗標描述描述為適合數據流描述的單一物件。

語法

struct CD3DX12_PIPELINE_STATE_STREAM_FLAGS {
                                      CD3DX12_PIPELINE_STATE_STREAM_FLAGS;
                                      CD3DX12_PIPELINE_STATE_STREAM_FLAGS(D3D12_PIPELINE_STATE_FLAGS const &i);
  CD3DX12_PIPELINE_STATE_STREAM_FLAGS operator=(D3D12_PIPELINE_STATE_FLAGS const& i);
                                      operator D3D12_PIPELINE_STATE_FLAGS() const;
};

成員

CD3DX12_PIPELINE_STATE_STREAM_FLAGS

建立新的未初始化CD3DX12_PIPELINE_STATE_STREAM_FLAGS實例。

CD3DX12_PIPELINE_STATE_STREAM_FLAGS(D3D12_PIPELINE_STATE_FLAGS const &i)

建立CD3DX12_PIPELINE_STATE_STREAM_FLAGS的新實例,並以從 i 複製 D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_FLAGS D3D12_PIPELINE_STATE_FLAGS 結構的子物件類型,以及從 i 複製的子物件類型和子對象數據初始化。

operator=(D3D12_PIPELINE_STATE_FLAGS const& i)

複製指派運算子。

operator D3D12_PIPELINE_STATE_FLAGS() const

隱含轉換成 D3D12_PIPELINE_STATE_FLAGS 結構。

備註

CD3DX12_PIPELINE_STATE_STREAM_FLAGS是CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT範本的 typedef 特製化,且定義如下:

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<D3D12_PIPELINE_STATE_FLAGS, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_FLAGS>
    CD3DX12_PIPELINE_STATE_STREAM_FLAGS;
          

需求

需求
頁首
D3dx12.h

另請參閱

D3D12 的協助程序結構

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE