WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ScreenshotPanel::DrawContext Struct Reference

Per-frame context for the screenshot panel. More...

#include <ScreenshotPanel.h>

Collaboration diagram for ScreenshotPanel::DrawContext:
[legend]

Public Attributes

Rendererrenderer = nullptr
 
std::string * screenshotPath = nullptr
 
std::string * screenshotStatus = nullptr
 
bool * useCanvasOverride = nullptr
 
int * canvasWidth = nullptr
 
int * canvasHeight = nullptr
 
ViewportFBOfbo = nullptr
 
OrbitCameracamera = nullptr
 
Attachmentroot = nullptr
 
float fov = 0.0f
 
glm::vec3 bgColor {0.0f}
 
bool drawGrid = false
 

Detailed Description

Per-frame context for the screenshot panel.

Definition at line 16 of file ScreenshotPanel.h.

Member Data Documentation

◆ bgColor

glm::vec3 ScreenshotPanel::DrawContext::bgColor {0.0f}

Definition at line 30 of file ScreenshotPanel.h.

◆ camera

OrbitCamera* ScreenshotPanel::DrawContext::camera = nullptr

Definition at line 27 of file ScreenshotPanel.h.

◆ canvasHeight

int* ScreenshotPanel::DrawContext::canvasHeight = nullptr

Definition at line 23 of file ScreenshotPanel.h.

◆ canvasWidth

int* ScreenshotPanel::DrawContext::canvasWidth = nullptr

Definition at line 22 of file ScreenshotPanel.h.

◆ drawGrid

bool ScreenshotPanel::DrawContext::drawGrid = false

Definition at line 31 of file ScreenshotPanel.h.

◆ fbo

ViewportFBO* ScreenshotPanel::DrawContext::fbo = nullptr

Definition at line 26 of file ScreenshotPanel.h.

◆ fov

float ScreenshotPanel::DrawContext::fov = 0.0f

Definition at line 29 of file ScreenshotPanel.h.

◆ renderer

Renderer* ScreenshotPanel::DrawContext::renderer = nullptr

Definition at line 18 of file ScreenshotPanel.h.

◆ root

Attachment* ScreenshotPanel::DrawContext::root = nullptr

Definition at line 28 of file ScreenshotPanel.h.

◆ screenshotPath

std::string* ScreenshotPanel::DrawContext::screenshotPath = nullptr

Definition at line 19 of file ScreenshotPanel.h.

◆ screenshotStatus

std::string* ScreenshotPanel::DrawContext::screenshotStatus = nullptr

Definition at line 20 of file ScreenshotPanel.h.

◆ useCanvasOverride

bool* ScreenshotPanel::DrawContext::useCanvasOverride = nullptr

Definition at line 21 of file ScreenshotPanel.h.


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