Explicit owner that projects Pcg graphics fields into the live render pipeline. 更多...
#include <PcgGraphicsPhotoMode.h>
Public 成员函数 | |
| ~PcgGraphicsPhotoModeAuthority () override | |
| Pcg graphics photo mode authority. | |
| void | setTargets (Graphics *graphics, RenderControl *control, Camera3D *camera) |
| Bind borrowed owner-thread render targets; none are retained past this authority's lifetime. | |
| void | setAuthority (bool enabled) |
| Register or revoke the unique graphics photo-mode authority. | |
| const PcgGraphicsPhotoModeState & | state () const noexcept |
| Return the current complete graphics quality state. | |
| PhotoModeFieldAcceptance | acceptsPhotoModeField (const PhotoModeAssignment &) const noexcept override |
| Accepts photo mode field. | |
| Result< void > | applyPhotoModeField (const PhotoModeAssignment &) override |
| Applies photo mode field. | |
Public 成员函数 继承自 eve::IPhotoModeFieldSink | |
| virtual | ~IPhotoModeFieldSink ()=default |
| Releases IPhotoModeFieldSink resources. | |
额外继承的成员函数 | |
静态 Public 属性 继承自 eve::IPhotoModeFieldSink | |
| static constexpr const char * | capabilityName ="eve.photo-mode.field" |
详细描述
Explicit owner that projects Pcg graphics fields into the live render pipeline.
在文件 PcgGraphicsPhotoMode.h 第 10 行定义.
构造及析构函数说明
◆ ~PcgGraphicsPhotoModeAuthority()
|
override |
Pcg graphics photo mode authority.
在文件 PcgGraphicsPhotoMode.cpp 第 11 行定义.
成员函数说明
◆ acceptsPhotoModeField()
|
overridevirtualnoexcept |
Accepts photo mode field.
在文件 PcgGraphicsPhotoMode.cpp 第 31 行定义.
引用了 eve::Accepted, eve::Graphics, eve::Lighting , 以及 eve::Rejected.
◆ applyPhotoModeField()
|
overridevirtual |
Applies photo mode field.
在文件 PcgGraphicsPhotoMode.cpp 第 40 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::PhotoModeAssignment::field, eve::InvalidArgument, message, eve::Result< T >::success(), eve::PhotoModeAssignment::value , 以及 value.
◆ setAuthority()
| void eve::graphics::PcgGraphicsPhotoModeAuthority::setAuthority | ( | bool | enabled | ) |
Register or revoke the unique graphics photo-mode authority.
在文件 PcgGraphicsPhotoMode.cpp 第 22 行定义.
引用了 enabled.
◆ setTargets()
| void eve::graphics::PcgGraphicsPhotoModeAuthority::setTargets | ( | Graphics * | graphics, |
| RenderControl * | control, | ||
| Camera3D * | camera | ||
| ) |
Bind borrowed owner-thread render targets; none are retained past this authority's lifetime.
在文件 PcgGraphicsPhotoMode.cpp 第 15 行定义.
引用了 camera.
◆ state()
|
inlinenoexcept |
Return the current complete graphics quality state.
在文件 PcgGraphicsPhotoMode.h 第 17 行定义.
该类的文档由以下文件生成:
- src/modules/graphics/PcgGraphicsPhotoMode.h
- src/modules/graphics/PcgGraphicsPhotoMode.cpp
Public 成员函数 继承自