Owning resource pin for an admitted immutable prefab version; does not allocate scene materials. @ownership Retains the prefab and blocks its explicit GPU release until this pin is destroyed. @lifetime Resource factories must outlive this pin and the retained prefab. @thread Graphics-owner affine, synchronous, no scripts or locks. 更多...
#include <EvpackStaticPrefab.h>
Public 成员函数 | |
| ~StaticPrefabResourcePin () | |
| Drop the pin; the final prefab owner may release GPU resources. @cost Fixed counter work; final-owner backend cleanup is amortized per loaded prefab version. | |
| StaticPrefabResourcePin (const StaticPrefabResourcePin &)=delete | |
| StaticPrefabResourcePin & | operator= (const StaticPrefabResourcePin &)=delete |
| StaticPrefabResourcePin (StaticPrefabResourcePin &&)=delete | |
| StaticPrefabResourcePin & | operator= (StaticPrefabResourcePin &&)=delete |
友元 | |
| class | EvpackStaticPrefab |
详细描述
Owning resource pin for an admitted immutable prefab version; does not allocate scene materials. @ownership Retains the prefab and blocks its explicit GPU release until this pin is destroyed. @lifetime Resource factories must outlive this pin and the retained prefab. @thread Graphics-owner affine, synchronous, no scripts or locks.
在文件 EvpackStaticPrefab.h 第 31 行定义.
构造及析构函数说明
◆ ~StaticPrefabResourcePin()
| eve::asset_graphics::StaticPrefabResourcePin::~StaticPrefabResourcePin | ( | ) |
Drop the pin; the final prefab owner may release GPU resources. @cost Fixed counter work; final-owner backend cleanup is amortized per loaded prefab version.
在文件 EvpackStaticPrefab.cpp 第 129 行定义.
引用了 EV_ASSERT.
◆ StaticPrefabResourcePin() [1/2]
|
delete |
◆ StaticPrefabResourcePin() [2/2]
|
delete |
成员函数说明
◆ operator=() [1/2]
|
delete |
◆ operator=() [2/2]
|
delete |
友元及相关函数文档
◆ EvpackStaticPrefab
|
friend |
在文件 EvpackStaticPrefab.h 第 43 行定义.
该类的文档由以下文件生成:
- src/modules/asset/graphics/EvpackStaticPrefab.h
- src/modules/asset/graphics/EvpackStaticPrefab.cpp