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

Mutable state for the 3D scene: renderer, camera, model tree, and timing. More...

#include <AppState.h>

Collaboration diagram for SceneState:
[legend]

Public Attributes

Renderer renderer
 
OrbitCamera camera
 
std::unique_ptr< Attachmentroot
 
WoWModelselModel = nullptr
 
ViewportFBO fbo
 
float animTime = 0.0f
 
std::chrono::steady_clock::time_point lastTick
 
float fps = 0.0f
 
int fpsFrameCount = 0
 
float fpsAccum = 0.0f
 
bool isModel = false
 
bool isChar = false
 
bool isMounted = false
 

Detailed Description

Mutable state for the 3D scene: renderer, camera, model tree, and timing.

Definition at line 67 of file AppState.h.

Member Data Documentation

◆ animTime

float SceneState::animTime = 0.0f

Definition at line 75 of file AppState.h.

◆ camera

OrbitCamera SceneState::camera

Definition at line 70 of file AppState.h.

◆ fbo

ViewportFBO SceneState::fbo

Definition at line 73 of file AppState.h.

◆ fps

float SceneState::fps = 0.0f

Definition at line 77 of file AppState.h.

◆ fpsAccum

float SceneState::fpsAccum = 0.0f

Definition at line 79 of file AppState.h.

◆ fpsFrameCount

int SceneState::fpsFrameCount = 0

Definition at line 78 of file AppState.h.

◆ isChar

bool SceneState::isChar = false

Definition at line 82 of file AppState.h.

◆ isModel

bool SceneState::isModel = false

Definition at line 81 of file AppState.h.

◆ isMounted

bool SceneState::isMounted = false

Definition at line 83 of file AppState.h.

◆ lastTick

std::chrono::steady_clock::time_point SceneState::lastTick

Definition at line 76 of file AppState.h.

◆ renderer

Renderer SceneState::renderer

Definition at line 69 of file AppState.h.

◆ root

std::unique_ptr<Attachment> SceneState::root

Definition at line 71 of file AppState.h.

◆ selModel

WoWModel* SceneState::selModel = nullptr

Definition at line 72 of file AppState.h.


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