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的新实例,该实例使用从 iDXGI_SAMPLE_DESC 结构)复制的D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_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;
          

要求

要求 Value
标头
D3dx12.h

另请参阅

D3D12 的帮助程序结构

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE