GLVis
v4.2
Accurate and flexible finite element visualization
|
#include <renderer_ff.hpp>
Public Member Functions | |
FFGLDevice () | |
DeviceType | getType () override |
void | init () override |
void | setTransformMatrices (glm::mat4 model_view, glm::mat4 projection) override |
void | setNumLights (int i) override |
void | setMaterial (Material mat) override |
void | setPointLight (int i, Light lt) override |
void | setAmbientLight (const std::array< float, 4 > &amb) override |
void | setClipPlaneUse (bool enable) override |
void | setClipPlaneEqn (const std::array< double, 4 > &eqn) override |
void | bufferToDevice (array_layout layout, IVertexBuffer &buf) override |
void | bufferToDevice (array_layout layout, IIndexedBuffer &buf) override |
void | bufferToDevice (TextBuffer &t_buf) override |
void | drawDeviceBuffer (int hnd) override |
void | drawDeviceBuffer (const TextBuffer &t_buf) override |
void | captureXfbBuffer (PaletteState &pal, CaptureBuffer &cbuf, int hnd) override |
Public Member Functions inherited from gl3::GLDevice | |
virtual | ~GLDevice ()=default |
void | detachTexture (int tex_unit) |
void | attachTexture (int tex_unit, int tex_id) |
void | enableBlend () |
void | disableBlend () |
void | enableDepthWrite () |
void | disableDepthWrite () |
void | setLineWidth (float w) |
void | setViewport (GLsizei w, GLsizei h) |
void | getViewport (GLint(&vp)[4]) |
void | setStaticColor (const std::array< float, 4 > &rgba) |
virtual void | initXfbMode () |
virtual void | exitXfbMode () |
void | captureXfbBuffer (CaptureBuffer &capture, const TextBuffer &t_buf) |
Additional Inherited Members | |
Public Types inherited from gl3::GLDevice | |
enum | DeviceType { NO_DEVICE, FF_DEVICE, CORE_DEVICE } |
Static Public Member Functions inherited from gl3::GLDevice | |
static bool | useLegacyTextureFmts () |
Static Public Attributes inherited from gl3::GLDevice | |
static const int | SAMPLER_COLOR = 0 |
static const int | SAMPLER_ALPHA = 1 |
Protected Attributes inherited from gl3::GLDevice | |
int | vp_width |
int | vp_height |
glm::mat4 | model_view_mtx |
glm::mat4 | proj_mtx |
std::array< float, 4 > | static_color |
TextureHandle | passthrough_texture |
Definition at line 22 of file renderer_ff.hpp.
|
inline |
Definition at line 39 of file renderer_ff.hpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 160 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 199 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 239 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 329 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 244 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 269 of file renderer_ff.cpp.
|
inlineoverridevirtual |
Implements gl3::GLDevice.
Definition at line 44 of file renderer_ff.hpp.
|
overridevirtual |
Reimplemented from gl3::GLDevice.
Definition at line 66 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 144 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 155 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 149 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 118 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 100 of file renderer_ff.cpp.
|
overridevirtual |
Implements gl3::GLDevice.
Definition at line 129 of file renderer_ff.cpp.
|
overridevirtual |
Reimplemented from gl3::GLDevice.
Definition at line 90 of file renderer_ff.cpp.