载入中...
搜索中...
未找到
eve::animation::AnimBatch类 参考
Parallel batch evaluator for independent character clip poses. Script type: AnimBatch.
更多...
#include <AnimBatch.h>
Public 成员函数 | |
| AnimBatch ()=default | |
| Anim batch. | |
| void | add (AnimClip *clip, AnimSkeleton *skeleton, AnimPose *pose, float time, int lodLevel=0) |
| Queue one clip sample. The clip, skeleton and pose must outlive evaluate(). | |
| void | clear () |
| Remove all queued jobs without deleting referenced objects. | |
| int | getCount () const |
| Returns the count. | |
| void | evaluate (int workerCount=0) |
| Evaluate queued poses, using hardware concurrency when workerCount is zero. | |
| int | getLastWorkerCount () const |
| Returns the last worker count. | |
详细描述
Parallel batch evaluator for independent character clip poses. Script type: AnimBatch.
在文件 AnimBatch.h 第 13 行定义.
构造及析构函数说明
◆ AnimBatch()
|
default |
Anim batch.
成员函数说明
◆ add()
| void eve::animation::AnimBatch::add | ( | AnimClip * | clip, |
| AnimSkeleton * | skeleton, | ||
| AnimPose * | pose, | ||
| float | time, | ||
| int | lodLevel = 0 |
||
| ) |
Queue one clip sample. The clip, skeleton and pose must outlive evaluate().
在文件 AnimBatch.cpp 第 14 行定义.
◆ clear()
|
inline |
Remove all queued jobs without deleting referenced objects.
在文件 AnimBatch.h 第 21 行定义.
◆ evaluate()
| void eve::animation::AnimBatch::evaluate | ( | int | workerCount = 0 | ) |
Evaluate queued poses, using hardware concurrency when workerCount is zero.
在文件 AnimBatch.cpp 第 21 行定义.
◆ getCount()
|
inline |
Returns the count.
在文件 AnimBatch.h 第 23 行定义.
◆ getLastWorkerCount()
|
inline |
Returns the last worker count.
在文件 AnimBatch.h 第 27 行定义.
该类的文档由以下文件生成:
- src/modules/animation/AnimBatch.h
- src/modules/animation/AnimBatch.cpp