class
#include <esp/gfx/DepthMapDrawableBase.h>
DepthMapDrawableBase
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
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. |