QVISH 0.1
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Wizt::Glew Struct Reference

Classes

struct  RenderResult
 

Public Member Functions

RenderResult PerformRender (Viewer &V, const RefPtr< VRenderPrecision > &Hints, const RefPtr< qVInterruptor > &ExplicitInterruptor, std::atomic< int > &theNumberOfPendingRenderSignals, const PixelZoom &myPixelZoom, bool AsynchMode, double &LastCompleteRenderingTime, double &LastGPURenderTime, MemCore::Timer &TimeSinceLastCompleteRender, VRenderContext::LayeredViews_t &LayeredMatrixStates, unsigned NumberOfEyes, double TimeSinceLastInteraction)
 

Static Public Member Functions

static void handleComputeQueue (Viewer &V, const VRenderContext::ComputationInterruptor &Interrupt)
 
static std::string init ()
 
static glew::Info init (DebugMessages &theDebugMessages)
 
static bool PerformRender (Viewer &V, const RefPtr< VRenderPrecision > &Hints, volatile int &interrupt, const PixelZoom &myPixelZoom)
 

Public Attributes

RefPtr< NamedRenderExceptions > myRenderExceptions
 
RefPtr< BoundingBall > myVisibleBoundingVolume
 
double OverallRenderingSeconds = 0
 

Member Function Documentation

◆ PerformRender()

Glew::RenderResult Wizt::Glew::PerformRender ( Viewer &  V,
const RefPtr< VRenderPrecision > &  Hints,
const RefPtr< qVInterruptor > &  ExplicitInterruptor,
std::atomic< int > &  theNumberOfPendingRenderSignals,
const PixelZoom &  myPixelZoom,
bool  AsynchMode,
double &  LastCompleteRenderingTime,
double &  LastGPURenderTime,
MemCore::Timer &  TimeSinceLastCompleteRender,
VRenderContext::LayeredViews_t &  LayeredMatrixStates,
unsigned  NumberOfEyes,
double  TimeSinceLastInteraction 
)

If we cancelled rendering previously, but so many cancelled renderings have happened as if it would have been a complete one (none of the cancelled renderings are displayed!), then perform a complete rendering without option to cancel it.

Here we use the Interruptor that has been set during construction of the QViewer, which will be triggered by QT events on the containing Widget / Window.


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