CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC结构

一个帮助程序结构,用于将示例说明描述描述为适合流说明的单个对象。

语法

struct CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC {
                                            CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC;
                                            CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC(DXGI_SAMPLE_DESC const &i);
  CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC operator=(DXGI_SAMPLE_DESC const& i);
                                            operator DXGI_SAMPLE_DESC() const;
};

成员

CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC

创建CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC的未初始化的新实例。

CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC (DXGI_SAMPLE_DESC const &i)

创建CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC的新实例,该实例使用子对象类型的 D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC 初始化,以及从 iDXGI_SAMPLE_DESC 结构)复制的子对象数据。

operator= (DXGI_SAMPLE_DESC const& i)

复制赋值运算符。

operator DXGI_SAMPLE_DESC () const

隐式转换为 DXGI_SAMPLE_DESC 结构。

备注

CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC是 CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT 模板的 typedef 专用化,定义如下:

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<DXGI_SAMPLE_DESC, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC>
    CD3DX12_PIPELINE_STATE_STREAM_SAMPLE_DESC;
          

要求

要求
标头
D3dx12.h

另请参阅

D3D12 的帮助程序结构

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE