SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
callbackdata.h
Go to the documentation of this file.
1/*****************************************************************************************
2 * SGCT *
3 * Simple Graphics Cluster Toolkit *
4 * *
5 * Copyright (c) 2012-2026 *
6 * For conditions of distribution and use, see copyright notice in LICENSE.md *
7 ****************************************************************************************/
8
9#ifndef __SGCT__CALLBACKDATA__H__
10#define __SGCT__CALLBACKDATA__H__
11
12#include <sgct/sgctexports.h>
13
14#include <sgct/definitions.h>
15#include <sgct/math.h>
16
17namespace sgct {
18
19class BaseViewport;
20class Window;
21
22struct SGCT_EXPORT RenderData {
23 const Window& window;
26
30 // @TODO (abock, 2019-12-03) Performance measurements needed to see whether this
31 // caching is necessary
33
35};
36
37} // namespace sgct
38
39#endif // __SGCT__CALLBACKDATA__H__
This class holds and manages viewportdata and calculates frustums.
Definition baseviewport.h:27
Definition window.h:46
Definition actions.h:16
FrustumMode
Definition definitions.h:23
Definition callbackdata.h:22
const BaseViewport & viewport
Definition callbackdata.h:24
mat4 modelMatrix
Definition callbackdata.h:27
const FrustumMode frustumMode
Definition callbackdata.h:25
mat4 modelViewProjectionMatrix
Definition callbackdata.h:32
mat4 projectionMatrix
Definition callbackdata.h:29
ivec2 bufferSize
Definition callbackdata.h:34
const Window & window
Definition callbackdata.h:23
mat4 viewMatrix
Definition callbackdata.h:28
Definition math.h:17
Definition math.h:89