30 lines
374 B
Markdown
30 lines
374 B
Markdown
|
|
# D3D12RootSignature::GetParameterCount
|
||
|
|
|
||
|
|
## 函数签名
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
uint32_t GetParameterCount() const
|
||
|
|
```
|
||
|
|
|
||
|
|
## 中文描述
|
||
|
|
|
||
|
|
获取根签名中根参数的数量。
|
||
|
|
|
||
|
|
## 返回值
|
||
|
|
|
||
|
|
`uint32_t` - 根参数数量
|
||
|
|
|
||
|
|
## 复杂度
|
||
|
|
|
||
|
|
O(1)
|
||
|
|
|
||
|
|
## 示例
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
uint32_t count = rootSignature->GetParameterCount();
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12RootSignature](root-signature.md) - 类总览
|