|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
#include <scene/layer.h>
Public Member Functions | |
| void | addMeshInstances (const std::vector< MeshInstance * > &meshInstances) |
| bool | clearColorBuffer () const |
| bool | clearDepthBuffer () const |
| bool | clearStencilBuffer () const |
| bool | dirtyComposition () const |
| bool | enabled () const |
| int | id () const |
| Layer (const std::string &name, int id) | |
| const std::vector< MeshInstance * > & | meshInstances () const |
| const std::string & | name () const |
| void | removeMeshInstances (const std::vector< MeshInstance * > &meshInstances) |
| void | setClearColorBuffer (const bool value) |
| void | setClearDepthBuffer (const bool value) |
| void | setClearStencilBuffer (const bool value) |
| void | setDirtyComposition (const bool value) |
| void | setEnabled (const bool value) |
A Layer represents a renderable subset of the scene. It can contain a list of mesh instances, lights and cameras, their render settings and also defines custom callbacks before, after or during rendering. Layers are organized inside LayerComposition in a desired order.
|
inline |
|
inline |
Definition at line 30 of file layer.h.
References meshInstances().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 54 of file layer.h.
Referenced by visutwin::canvas::LayerComposition::isEnabled().
|
inline |
Definition at line 26 of file layer.h.
Referenced by visutwin::canvas::LayerComposition::isEnabled(), Layer(), and visutwin::canvas::Renderer::renderForwardLayer().
|
inline |
Definition at line 52 of file layer.h.
Referenced by addMeshInstances(), removeMeshInstances(), and visutwin::canvas::Renderer::renderForwardLayer().
|
inline |
|
inline |
Definition at line 42 of file layer.h.
References meshInstances().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |