opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
osc::Screenshot Class Referencefinal

#include <screenshot.h>

Public Member Functions

 Screenshot (Texture2D texture, std::vector< ScreenshotAnnotation > annotations)
 
const Texture2Dtexture () const
 
Vector2i pixel_dimensions () const
 
Vector2 dimensions () const
 
std::span< const ScreenshotAnnotationannotations () const
 

Constructor & Destructor Documentation

◆ Screenshot()

osc::Screenshot::Screenshot ( Texture2D  texture,
std::vector< ScreenshotAnnotation annotations 
)
inlineexplicit

Member Function Documentation

◆ annotations()

std::span< const ScreenshotAnnotation > osc::Screenshot::annotations ( ) const
inline

◆ dimensions()

Vector2 osc::Screenshot::dimensions ( ) const
inline

◆ pixel_dimensions()

Vector2i osc::Screenshot::pixel_dimensions ( ) const
inline

◆ texture()

const Texture2D & osc::Screenshot::texture ( ) const
inline

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