esp::gfx::MeshVisualizerDrawable class

Base classes

class Drawable
Drawable for use with DrawableGroup.

Constructors, destructors, conversion operators

MeshVisualizerDrawable(scene::SceneNode& node, Magnum::Shaders::MeshVisualizerGL3D& shader, Magnum::GL::Mesh& mesh, DrawableConfiguration& cfg) explicit
Constructor.

Protected functions

void draw(const Magnum::Matrix4& transformationMatrix, Magnum::SceneGraph::Camera3D& camera) override
Draw the object using given camera.

Protected variables

Magnum::Shaders::MeshVisualizerGL3D& shader_

Function documentation

esp::gfx::MeshVisualizerDrawable::MeshVisualizerDrawable(scene::SceneNode& node, Magnum::Shaders::MeshVisualizerGL3D& shader, Magnum::GL::Mesh& mesh, DrawableConfiguration& cfg) explicit

Constructor.

Parameters
node Node, to which the drawable is attached
shader Shader for the mesh visualizer
mesh Mesh to draw when on render.
cfg

void esp::gfx::MeshVisualizerDrawable::draw(const Magnum::Matrix4& transformationMatrix, Magnum::SceneGraph::Camera3D& camera) override protected

Draw the object using given camera.

Parameters
transformationMatrix Transformation relative to camera.
camera Camera to draw from.