GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
gl3::MeshRenderer Class Reference

#include <renderer.hpp>

Public Member Functions

 MeshRenderer ()
 
template<typename TDevice >
void setDevice ()
 
template<typename TDevice >
void setDevice (TDevice &&dev)
 
void setPalette (PaletteState *pal)
 
void setColorTexture (GLuint tex_h)
 
void setAlphaTexture (GLuint tex_h)
 
void setFontTexture (GLuint tex_h)
 
void setAntialiasing (bool aa_status)
 
bool getAntialiasing ()
 
void setSamplesMSAA (int samples)
 
int getSamplesMSAA ()
 
void setLineWidth (float w)
 
float getLineWidth ()
 
void setLineWidthMS (float w)
 
float getLineWidthMS ()
 
void setClearColor (float r, float g, float b, float a)
 
void setViewport (GLsizei w, GLsizei h)
 
void render (const RenderQueue &queued)
 
CaptureBuffer capture (const RenderQueue &queued)
 
void buffer (GlDrawable *buf)
 

Detailed Description

Definition at line 196 of file renderer.hpp.

Constructor & Destructor Documentation

gl3::MeshRenderer::MeshRenderer ( )
inline

Definition at line 208 of file renderer.hpp.

Member Function Documentation

void gl3::MeshRenderer::buffer ( GlDrawable buf)

Definition at line 378 of file renderer.cpp.

CaptureBuffer gl3::MeshRenderer::capture ( const RenderQueue queued)

Definition at line 297 of file renderer.cpp.

bool gl3::MeshRenderer::getAntialiasing ( )
inline

Definition at line 238 of file renderer.hpp.

float gl3::MeshRenderer::getLineWidth ( )
inline

Definition at line 256 of file renderer.hpp.

float gl3::MeshRenderer::getLineWidthMS ( )
inline

Definition at line 258 of file renderer.hpp.

int gl3::MeshRenderer::getSamplesMSAA ( )
inline

Definition at line 253 of file renderer.hpp.

void gl3::MeshRenderer::render ( const RenderQueue queued)

Definition at line 109 of file renderer.cpp.

void gl3::MeshRenderer::setAlphaTexture ( GLuint  tex_h)
inline

Definition at line 233 of file renderer.hpp.

void gl3::MeshRenderer::setAntialiasing ( bool  aa_status)

Definition at line 45 of file renderer.cpp.

void gl3::MeshRenderer::setClearColor ( float  r,
float  g,
float  b,
float  a 
)
inline

Definition at line 260 of file renderer.hpp.

void gl3::MeshRenderer::setColorTexture ( GLuint  tex_h)
inline

Definition at line 231 of file renderer.hpp.

template<typename TDevice >
void gl3::MeshRenderer::setDevice ( )
inline

Definition at line 215 of file renderer.hpp.

template<typename TDevice >
void gl3::MeshRenderer::setDevice ( TDevice &&  dev)
inline

Definition at line 224 of file renderer.hpp.

void gl3::MeshRenderer::setFontTexture ( GLuint  tex_h)
inline

Definition at line 235 of file renderer.hpp.

void gl3::MeshRenderer::setLineWidth ( float  w)

Definition at line 73 of file renderer.cpp.

void gl3::MeshRenderer::setLineWidthMS ( float  w)

Definition at line 82 of file renderer.cpp.

void gl3::MeshRenderer::setPalette ( PaletteState pal)
inline

Definition at line 228 of file renderer.hpp.

void gl3::MeshRenderer::setSamplesMSAA ( int  samples)
inline

Definition at line 239 of file renderer.hpp.

void gl3::MeshRenderer::setViewport ( GLsizei  w,
GLsizei  h 
)
inline

Definition at line 261 of file renderer.hpp.


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