Outcome of a .skp capture attempt. More...
#include <skp_capture.hpp>
Public Member Functions | |
| operator bool () const | |
Public Attributes | |
| bool | ok = false |
| True when a .skp artifact was produced. | |
| std::string | path |
| Filesystem path of the written .skp, when ok. | |
| std::size_t | bytes_written = 0 |
| Size of the serialized .skp blob. | |
| std::size_t | op_count = 0 |
| Approximate recorded draw-op count. | |
| std::string | reason |
| Failure explanation when !ok. | |
Outcome of a .skp capture attempt.
A capture either produces a valid .skp artifact (ok == true, bytes_written > 0) or fails with a human-readable reason — never a half-written file.
|
inlineexplicit |
| std::size_t pulp::render::SkpCaptureResult::bytes_written = 0 |
Size of the serialized .skp blob.
| bool pulp::render::SkpCaptureResult::ok = false |
True when a .skp artifact was produced.
| std::size_t pulp::render::SkpCaptureResult::op_count = 0 |
Approximate recorded draw-op count.
| std::string pulp::render::SkpCaptureResult::path |
Filesystem path of the written .skp, when ok.
| std::string pulp::render::SkpCaptureResult::reason |
Failure explanation when !ok.