- 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
42 lines
461 B
Markdown
42 lines
461 B
Markdown
# 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。
|