载入中...
搜索中...
未找到
FrameCapture.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include <array>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::FrameCaptureRequest
 Owning request; timeout uses monotonic wall time, never gameplay time. 更多...
 
struct  eve::FrameCaptureBuffer
 Immutable CPU attachment with producer-provided decoding metadata. 更多...
 
struct  eve::FrameCaptureSnapshot
 Owning snapshot metadata; byte storage is immutable and lease-owned. 更多...
 
struct  eve::FrameCaptureCapabilities
 Backend support is explicit; candidates need not be produced in every frame. 更多...
 
class  eve::IRenderFrameCapture
 Single-provider frame observation boundary, independent of graphics headers. @thread Engine main thread only; no callbacks or scripts are invoked by operations. @lifetime Query the provider for each tool call; snapshots retain owning CPU leases. 更多...
 
class  eve::FrameCaptureStore
 Graphics-owned state machine and immutable CPU snapshot authority. @thread Main-thread only; supplied clock must not reenter the store. @lifetime Backend owns GPU staging independently until its completion signal. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

枚举

enum class  eve::FrameAttachment : uint8_t {
  eve::Final , eve::Depth , eve::HwDepth , eve::Normal ,
  eve::Albedo , eve::PbrParams , eve::Emissive , eve::Velocity ,
  eve::Shadow0 , eve::Shadow1 , eve::Shadow2
}
 Stable logical render attachments; Depth and Velocity share storage. 更多...
 
enum class  eve::FrameCapturePhase : uint8_t {
  eve::Queued , eve::Recording , eve::ReadbackPending , eve::Ready ,
  eve::Failed , eve::Cancelled , eve::Expired , eve::Released
}
 Capture progress; Ready is published only after all selected copies complete. 更多...
 
enum class  eve::FramePixelFormat : uint8_t { eve::Rgba8 , eve::Bgra8 , eve::Depth32Float , eve::Rgba16Float }
 CPU storage encoding; no GPU object escapes the provider. 更多...
 

函数

constexpr size_t eve::framePixelBytes (FramePixelFormat format)
 Packed CPU bytes per pixel; pure value query, callable on any thread.
 
std::string_view eve::frameAttachmentName (FrameAttachment attachment)
 Stable protocol spelling of an attachment.
 
Result< FrameAttachment > eve::parseFrameAttachment (std::string_view name)
 Validate a protocol attachment name without inventing a resource.
 
std::string_view eve::frameCapturePhaseName (FrameCapturePhase phase)
 Stable protocol spelling of a progress state.