#include <MRGLStaticHolder.h>
|
| enum | ShaderType {
Mesh
, Picker
, MeshDesktopPicker
, AlphaSortMesh
,
DepthPeelMesh
, Points
, AlphaSortPoints
, DepthPeelPoints
,
Lines
, LinesJoint
, LinesPicker
, LinesJointPicker
,
AlphaSortLines
, DepthPeelLines
, Labels
, AdditionalLines
,
AdditionalPoints
, AdditionalPointsNoOffset
, AdditionalQuad
, ViewportBorder
,
AlphaSortOverlayQuad
, ShadowOverlayQuad
, SimpleOverlayQuad
, DepthOverlayQuad
,
Volume
, VolumePicker
, Count
} |
| |
| typedef unsigned int | GLuint |
| |
◆ GLuint
◆ ShaderType
| Enumerator |
|---|
| Mesh | |
| Picker | |
| MeshDesktopPicker | |
| AlphaSortMesh | |
| DepthPeelMesh | |
| Points | |
| AlphaSortPoints | |
| DepthPeelPoints | |
| Lines | |
| LinesJoint | |
| LinesPicker | |
| LinesJointPicker | |
| AlphaSortLines | |
| DepthPeelLines | |
| Labels | |
| AdditionalLines | |
| AdditionalPoints | |
| AdditionalPointsNoOffset | |
| AdditionalQuad | |
| ViewportBorder | |
| AlphaSortOverlayQuad | |
| ShadowOverlayQuad | |
| SimpleOverlayQuad | |
| DepthOverlayQuad | |
| Volume | |
| VolumePicker | |
| Count | |
◆ freeAllShaders()
| static MRVIEWER_API void MR::GLStaticHolder::freeAllShaders |
( |
| ) |
|
|
static |
Free all shaders from GL.
◆ freeShader()
| static MRVIEWER_API void MR::GLStaticHolder::freeShader |
( |
ShaderType | type | ) |
|
|
static |
◆ getShaderId()
Creates shader if it is not and return valid id.
◆ getStaticGLBuffer()
Memory buffer for objects that about to be loaded to GPU, shared among different data types.
◆ getTransparentLinesShader()
Returns the shader to render transparent lines in the given mode.
◆ getTransparentMeshShader()
Returns the shader to render transparent mesh in the given mode.
◆ getTransparentPointsShader()
Returns the shader to render transparent points in the given mode.
The documentation for this class was generated from the following file: