|
0.45.0
|
#include <iRenderEngine.h>
Public Member Functions | |
| iRenderEngine ()=default | |
| virtual | ~iRenderEngine ()=default |
| void | addMesh (iEntityPtr mesh) |
| void | render () |
| const iFrustumd & | getFrustum () const |
| void | setFrustum (const iFrustumd &frustum) |
| void | setFrustum (const iaMatrixd &matrix) |
| void | setBoundingBoxVisible (bool boundingBox=true) |
| bool | isBoundingBoxVisible () const |
feeds the renderer with pre filtered data
|
default |
does nothing
|
virtualdefault |
does nothing
| void igor::iRenderEngine::addMesh | ( | iEntityPtr | mesh | ) |
add mesh for render queue
| mesh | entity that contains iTransformComponent and iMeshRenderComponent |
| const iFrustumd & igor::iRenderEngine::getFrustum | ( | ) | const |
| bool igor::iRenderEngine::isBoundingBoxVisible | ( | ) | const |
| void igor::iRenderEngine::render | ( | ) |
renders given data
| viewport | the given viewport to render in |
| void igor::iRenderEngine::setBoundingBoxVisible | ( | bool | boundingBox = true | ) |
defines if bounding boxes are shown or not
| boundingBox | if true bounding boxes are shown |
| void igor::iRenderEngine::setFrustum | ( | const iaMatrixd & | matrix | ) |
set frustum by matrix
| matrix | the matrix for the frustum |
| void igor::iRenderEngine::setFrustum | ( | const iFrustumd & | frustum | ) |
set frustum
| frustum | the frustum to set |