|
| virtual | ~IRenderCapture ()=default |
| |
| virtual RenderStatusInfo | status () const =0 |
| |
| virtual void | setReadbackEnabled (bool enabled)=0 |
| | Enable/disable full-frame readback for subsequent presents.
|
| |
| virtual bool | savePng (const std::string &path, int *outWidth, int *outHeight, std::string *err)=0 |
| | Capture the last presented frame and write a PNG.
|
| |
| virtual std::string | capturePngDataUrl ()=0 |
| | Capture the last presented frame as a base64 PNG data URL.
|
| |
| virtual bool | ensureCamera ()=0 |
| | Find the active Camera3D (create one lazily); true when usable.
|
| |
| virtual bool | setCameraPose (float ex, float ey, float ez, float tx, float ty, float tz, float fovYDeg)=0 |
| | Set camera eye/target/fov (fov <= 0 keeps current).
|
| |
| virtual bool | setCameraPoseYawPitch (float ex, float ey, float ez, float yawDeg, float pitchDeg, float fovYDeg)=0 |
| | Set camera eye + yaw/pitch (degrees) + fov.
|
| |
| virtual std::string | cameraPoseJson ()=0 |
| | Current camera pose as JSON (eye/target/fov/viewport).
|
| |
| virtual std::string | visibleEntitiesJson (float fovYDeg, bool *ok)=0 |
| | Visible-entity 3D snapshot JSON for the current camera.
|
| |
| virtual std::string | visibleEntitiesJsonAt (float ex, float ey, float ez, float tx, float ty, float tz, float fovYDeg, bool *ok)=0 |
| | Visible-entity 3D snapshot JSON at an explicit camera pose.
|
| |
| virtual std::string | entityIdMaskJson (int *outWidth, int *outHeight, bool *ok)=0 |
| | Per-pixel entity-ID mask JSON (id -> node map).
|
| |
| virtual bool | entityIdMaskPng (const std::string &path, std::string *err)=0 |
| | Render the entity-ID mask and write it as a PNG.
|
| |
| virtual bool | gbufferPng (const std::string &name, const std::string &path, std::string *err)=0 |
| | Save a G-buffer attachment ("depth"|"normal") as PNG.
|
| |
Frame capture + camera + visible-entity inspection (graphics).
在文件 RenderCapture.h 第 22 行定义.