CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE结构

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

语法

struct CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE {
                                               CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE;
                                               CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE(ID3D12RootSignature* const &i);
  CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE operator=(ID3D12RootSignature* const& i);
                                               operator ID3D12RootSignature*() const;
};

成员

CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE

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

CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE (ID3D12RootSignature* const &i)

创建CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE的新实例,该实例使用从 iID3D12RootSignature 结构)复制的子对象类型D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE和子对象数据进行初始化。

operator= (ID3D12RootSignature* const& i)

复制赋值运算符。

operator ID3D12RootSignature* () const

隐式转换为 ID3D12RootSignature 结构指针。

备注

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

typedef CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT<ID3D12RootSignature*, D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE>
    CD3DX12_PIPELINE_STATE_STREAM_ROOT_SIGNATURE;
          

要求

要求
标头
D3dx12.h

另请参阅

D3D12 的帮助程序结构

CD3DX12_PIPELINE_STATE_STREAM_SUBOBJECT

D3D12_PIPELINE_STATE_SUBOBJECT_TYPE