20 lines
262 B
Markdown
20 lines
262 B
Markdown
|
|
# RHISampler::GetID
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
virtual unsigned int GetID() = 0;
|
||
|
|
```
|
||
|
|
|
||
|
|
获取采样器 ID。
|
||
|
|
|
||
|
|
**返回:** 采样器唯一标识符
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
unsigned int id = sampler->GetID();
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [RHISampler 总览](sampler.md) - 返回类总览
|