Workspace 6.21.5
Public Member Functions | List of all members
WSGLLoadingScreen Class Reference

Renders a loading screen to the currently bound framebuffer.

#include <Rendering/OpenGL/wsglloadingscreen.h>

Public Member Functions

 WSGLLoadingScreen (WSGLScreenSpaceLayers &layers)
 
virtual ~WSGLLoadingScreen ()
 
bool initialize (WSGLBufferObjectCache &boCache)
 
bool render (const QString &message=QString())
 
bool resize (int width, int height)
 
void setInnerRadius (float fraction)
 
void setMargin (const QPoint &margin)
 
void setNumSections (int numSections)
 
void setRadius (int pixels)
 
void setRenderPlaceholderImage (bool b)
 
void setRotateSpeed (float degreesPerSecond)
 
void setSectionSize (float fraction)
 

Constructor & Destructor Documentation

◆ WSGLLoadingScreen()

◆ ~WSGLLoadingScreen()

~WSGLLoadingScreen ( )
virtual

Member Function Documentation

◆ initialize()

bool initialize ( WSGLBufferObjectCache boCache)

◆ render()

bool render ( const QString &  message = QString())

◆ resize()

bool resize ( int  width,
int  height 
)

◆ setInnerRadius()

void setInnerRadius ( float  fraction)

◆ setMargin()

void setMargin ( const QPoint &  margin)

◆ setNumSections()

void setNumSections ( int  numSections)

◆ setRadius()

void setRadius ( int  pixels)

◆ setRenderPlaceholderImage()

void setRenderPlaceholderImage ( bool  b)

◆ setRotateSpeed()

void setRotateSpeed ( float  degreesPerSecond)

◆ setSectionSize()

void setSectionSize ( float  fraction)

Range 0-1.