esp::gfx::DepthMapDrawableBase class

Base classes

class Drawable
Drawable for use with DrawableGroup.

Constructors, destructors, conversion operators

DepthMapDrawableBase(scene::SceneNode& node, Magnum::GL::Mesh* mesh, ShaderManager& shaderManager, DrawableType type, DrawableGroup* group) explicit
Constructor, to create a DepthMapDrawableBase for the given object using shader and mesh. Adds drawable to given group.

Protected functions

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

Protected variables

ShaderManager& shaderManager_

Function documentation

void esp::gfx::DepthMapDrawableBase::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.