docs: update resources API docs
This commit is contained in:
24
docs/api/resources/material/remove-property.md
Normal file
24
docs/api/resources/material/remove-property.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Material::RemoveProperty
|
||||
|
||||
```cpp
|
||||
void RemoveProperty(const Containers::String& name);
|
||||
```
|
||||
|
||||
移除指定属性。
|
||||
|
||||
**参数:**
|
||||
- `name` - 属性名称
|
||||
|
||||
**线程安全:** ❌
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
mat->RemoveProperty("roughness");
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [Material](material.md) - 返回类总览
|
||||
Reference in New Issue
Block a user