fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
This commit is contained in:
41
docs/api/rhi/sampler/methods.md
Normal file
41
docs/api/rhi/sampler/methods.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# RHISampler 方法
|
||||
|
||||
## Shutdown
|
||||
|
||||
```cpp
|
||||
virtual void Shutdown() = 0;
|
||||
```
|
||||
|
||||
释放采样器资源。
|
||||
|
||||
## Bind
|
||||
|
||||
```cpp
|
||||
virtual void Bind(unsigned int unit) = 0;
|
||||
```
|
||||
|
||||
绑定采样器到纹理单元。
|
||||
|
||||
## Unbind
|
||||
|
||||
```cpp
|
||||
virtual void Unbind(unsigned int unit) = 0;
|
||||
```
|
||||
|
||||
解绑采样器。
|
||||
|
||||
## GetNativeHandle
|
||||
|
||||
```cpp
|
||||
virtual void* GetNativeHandle() = 0;
|
||||
```
|
||||
|
||||
获取原生 API 句柄。
|
||||
|
||||
## GetID
|
||||
|
||||
```cpp
|
||||
virtual unsigned int GetID() = 0;
|
||||
```
|
||||
|
||||
获取采样器 ID。
|
||||
Reference in New Issue
Block a user