Optional graphics satellite for realtime fog (MAC + raymarch + froxel + analytic lights). 更多...
#include <RealtimeFog.h>
Public 成员函数 | |
| Module_REG (RealtimeFog) | |
| Result< std::unique_ptr< FogSystem > > | newSystem () |
| Create an empty FogSystem with Enhanced quality defaults. @ownership Caller owns the returned system. @lifetime Until the caller deletes it (or the script VM releases it). | |
| FogSystem * | newSystemScript () |
| Script facade: create system or throw; VM owns the pointer. | |
Public 成员函数 继承自 eve::Module | |
| virtual | ~Module () |
| Module. | |
| virtual std::string | getName () const =0 |
| Returns the name. | |
静态 Public 成员函数 | |
| static std::string | qualityName (FogQuality quality) |
| Parse quality spelling used by scripts ("fast"|"enhanced"|"physical_reference"). | |
详细描述
Optional graphics satellite for realtime fog (MAC + raymarch + froxel + analytic lights).
Script: eve.RealtimeFog(). Factories transfer FogSystem ownership to the caller.
@ownership Module owns no live systems; newSystem transfers unique ownership. @thread Main / simulation thread; not synchronized for concurrent writers.
在文件 RealtimeFog.h 第 21 行定义.
成员函数说明
◆ Module_REG()
| eve::graphics::fog::RealtimeFog::Module_REG | ( | RealtimeFog | ) |
◆ newSystem()
Create an empty FogSystem with Enhanced quality defaults. @ownership Caller owns the returned system. @lifetime Until the caller deletes it (or the script VM releases it).
在文件 RealtimeFog.cpp 第 36 行定义.
引用了 eve::graphics::fog::Enhanced.
被这些函数引用 newSystemScript().
◆ newSystemScript()
| FogSystem * eve::graphics::fog::RealtimeFog::newSystemScript | ( | ) |
Script facade: create system or throw; VM owns the pointer.
在文件 RealtimeFog.cpp 第 43 行定义.
引用了 created , 以及 newSystem().
◆ qualityName()
|
static |
Parse quality spelling used by scripts ("fast"|"enhanced"|"physical_reference").
在文件 RealtimeFog.cpp 第 53 行定义.
该类的文档由以下文件生成:
- src/modules/graphics/fog/RealtimeFog.h
- src/modules/graphics/fog/RealtimeFog.cpp
Public 成员函数 继承自