Added frame buffer information display in session preview

This commit is contained in:
brunoherbelin
2020-10-31 19:21:05 +01:00
parent 940dd0f2a5
commit 8ef79a6dbd
5 changed files with 40 additions and 13 deletions

View File

@@ -40,6 +40,7 @@ public:
inline uint height() const { return attrib_.viewport.y; }
glm::vec3 resolution() const;
float aspectRatio() const;
std::string info() const;
// internal pixel format
inline bool use_alpha() const { return use_alpha_; }