Sunshine master
Self-hosted game stream host for Moonlight.
platf::dxgi::img_t Struct Reference

Captured frame buffer shared between capture and encode stages. More...

Inheritance diagram for platf::dxgi::img_t:
[legend]
Collaboration diagram for platf::dxgi::img_t:
[legend]

Public Member Functions

 ~img_t () override
 Destroy the RAM-backed DXGI image.
 
- Public Member Functions inherited from platf::img_t
 img_t (const img_t &)=delete
 
 img_t (img_t &&)=delete
 
img_toperator= (const img_t &)=delete
 
img_toperator= (img_t &&)=delete
 

Additional Inherited Members

- Public Attributes inherited from platf::img_t
std::uint8_t * data {}
 Pointer to the captured image buffer.
 
std::optional< std::chrono::steady_clock::time_point > frame_timestamp
 Capture timestamp associated with the frame.
 
std::int32_t height {}
 Image height in pixels.
 
std::int32_t pixel_pitch {}
 Bytes per pixel in the image buffer.
 
std::int32_t row_pitch {}
 Bytes between consecutive image rows.
 
std::int32_t width {}
 Image width in pixels.
 

Detailed Description

Captured frame buffer shared between capture and encode stages.

Constructor & Destructor Documentation

◆ ~img_t()

platf::dxgi::img_t::~img_t ( )
inlineoverridevirtual

Destroy the RAM-backed DXGI image.

Reimplemented from platf::img_t.


The documentation for this struct was generated from the following file: