docs: update RHI API docs
This commit is contained in:
23
docs/api/rhi/opengl/sampler/constructor.md
Normal file
23
docs/api/rhi/opengl/sampler/constructor.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# OpenGLSampler::OpenGLSampler
|
||||
|
||||
```cpp
|
||||
OpenGLSampler();
|
||||
```
|
||||
|
||||
构造一个空的 OpenGLSampler 对象。实际采样器 ID 在调用 `Initialize` 之前无效(为 0)。
|
||||
|
||||
**参数:** 无
|
||||
|
||||
**返回:** 无
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
OpenGLSampler sampler;
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLSampler 总览](sampler.md) - 返回类总览
|
||||
Reference in New Issue
Block a user