21 lines
360 B
Markdown
21 lines
360 B
Markdown
# RenderSurface::SetDepthAttachment
|
|
|
|
设置深度附件。
|
|
|
|
```cpp
|
|
void SetDepthAttachment(RHI::RHIResourceView* depthAttachment);
|
|
```
|
|
|
|
## 参数
|
|
|
|
- `depthAttachment` - 深度模板附件视图。
|
|
|
|
## 行为说明
|
|
|
|
当前实现只会记录这个指针。
|
|
|
|
## 相关文档
|
|
|
|
- [返回类型总览](RenderSurface.md)
|
|
- [GetDepthAttachment](GetDepthAttachment.md)
|