Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
cuda::img_t Class Reference

CUDA image wrapper that owns mapped graphics resources for one frame. More...

Inheritance diagram for cuda::img_t:
Collaboration diagram for cuda::img_t:

Public Attributes

tex_t tex
 CUDA texture object used as the conversion source.
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.

Additional Inherited Members

Public Member Functions inherited from platf::img_t
 img_t (const img_t &)=delete
 img_t (img_t &&)=delete
img_t & operator= (const img_t &)=delete
img_t & operator= (img_t &&)=delete
virtual ~img_t ()=default
 Destroy the image.

Detailed Description

CUDA image wrapper that owns mapped graphics resources for one frame.


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