A class representing the shader responsible for the rasterization of the internal structure of the molecule.
More...
#include <ChemStructureShader.h>
|
| ChemStructureShader () |
| Loads the shader files from disk, then compiles and links them.
|
|
void | setModelMatrix (const Matrix4 &matrix) |
| Update the model matrix uniform of this shader.
|
|
void | setModelViewMatrix (const Matrix4 &matrix) |
| Update the model view matrix uniform of this shader.
|
|
void | setProjectionMatrix (const Matrix4 &matrix) |
| Update the projection matrix uniform of this shader.
|
|
void | setViewMatrix (const Matrix4 &matrix) |
| Update the view matrix uniform of this shader.
|
|
A class representing the shader responsible for the rasterization of the internal structure of the molecule.
◆ anonymous enum
anonymous enum : UnsignedInt |
Enumerator |
---|
ColorOutput | |
PosOutput | |
MaskOutput | |
◆ anonymous enum
Update the camera position uniform of this shader.
- Parameters
-
matrix | the new vcamera position |
◆ ChemStructureShader()
ChemStructureShader::ChemStructureShader |
( |
| ) |
|
|
inline |
Loads the shader files from disk, then compiles and links them.
◆ setModelMatrix()
void ChemStructureShader::setModelMatrix |
( |
const Matrix4 & |
matrix | ) |
|
|
inline |
Update the model matrix uniform of this shader.
- Parameters
-
matrix | the new model matrix |
◆ setModelViewMatrix()
void ChemStructureShader::setModelViewMatrix |
( |
const Matrix4 & |
matrix | ) |
|
|
inline |
Update the model view matrix uniform of this shader.
- Parameters
-
matrix | the new model view matrix |
◆ setProjectionMatrix()
void ChemStructureShader::setProjectionMatrix |
( |
const Matrix4 & |
matrix | ) |
|
|
inline |
Update the projection matrix uniform of this shader.
- Parameters
-
matrix | the new projection matrix |
◆ setViewMatrix()
void ChemStructureShader::setViewMatrix |
( |
const Matrix4 & |
matrix | ) |
|
|
inline |
Update the view matrix uniform of this shader.
- Parameters
-
matrix | the new view matrix |
◆ modelMatrixUniform
Int ChemStructureShader::modelMatrixUniform |
|
private |
◆ modelViewMatrixUniform
Int ChemStructureShader::modelViewMatrixUniform |
|
private |
◆ projectionMatrixUniform
Int ChemStructureShader::projectionMatrixUniform |
|
private |
◆ viewMatrixUniform
Int ChemStructureShader::viewMatrixUniform |
|
private |
The documentation for this class was generated from the following file: