30 lines
385 B
Markdown
30 lines
385 B
Markdown
|
|
# D3D12Shader::GetInputLayout
|
||
|
|
|
||
|
|
## 函数签名
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
const InputLayoutDesc& GetInputLayout() const
|
||
|
|
```
|
||
|
|
|
||
|
|
## 中文描述
|
||
|
|
|
||
|
|
获取着色器输入布局描述。
|
||
|
|
|
||
|
|
## 返回值
|
||
|
|
|
||
|
|
`const InputLayoutDesc&` - 输入布局描述引用
|
||
|
|
|
||
|
|
## 复杂度
|
||
|
|
|
||
|
|
O(1)
|
||
|
|
|
||
|
|
## 示例
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
const InputLayoutDesc& layout = shader->GetInputLayout();
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [D3D12Shader](shader.md) - 类总览
|