MeshLib Documentation
Loading...
Searching...
No Matches
MR::GLStaticHolder Class Reference

#include <MRGLStaticHolder.h>

Public Types

enum  ShaderType {
  Mesh , Picker , MeshDesktopPicker , TransparentMesh ,
  Points , TransparentPoints , Lines , LinesJoint ,
  LinesPicker , LinesJointPicker , TransparentLines , Labels ,
  AdditionalLines , AdditionalPoints , AdditionalPointsNoOffset , AdditionalQuad ,
  ViewportBorder , TransparencyOverlayQuad , ShadowOverlayQuad , SimpleOverlayQuad ,
  Volume , VolumePicker , Count
}
 
typedef unsigned int GLuint
 

Static Public Member Functions

static MRVIEWER_API GLuint getShaderId (ShaderType type)
 
static MRVIEWER_API void freeShader (ShaderType type)
 
static MRVIEWER_API void freeAllShaders ()
 
static MRVIEWER_API RenderObjectBuffergetStaticGLBuffer ()
 

Member Typedef Documentation

◆ GLuint

typedef unsigned int MR::GLStaticHolder::GLuint

Member Enumeration Documentation

◆ ShaderType

Enumerator
Mesh 
Picker 
MeshDesktopPicker 
TransparentMesh 
Points 
TransparentPoints 
Lines 
LinesJoint 
LinesPicker 
LinesJointPicker 
TransparentLines 
Labels 
AdditionalLines 
AdditionalPoints 
AdditionalPointsNoOffset 
AdditionalQuad 
ViewportBorder 
TransparencyOverlayQuad 
ShadowOverlayQuad 
SimpleOverlayQuad 
Volume 
VolumePicker 
Count 

Member Function Documentation

◆ freeAllShaders()

static MRVIEWER_API void MR::GLStaticHolder::freeAllShaders ( )
static

◆ freeShader()

static MRVIEWER_API void MR::GLStaticHolder::freeShader ( ShaderType type)
static

◆ getShaderId()

static MRVIEWER_API GLuint MR::GLStaticHolder::getShaderId ( ShaderType type)
static

◆ getStaticGLBuffer()

static MRVIEWER_API RenderObjectBuffer & MR::GLStaticHolder::getStaticGLBuffer ( )
static

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