This component is used to query the ECS for all primitives that are rendered using instanced rendering.
More...
#include <Component.hpp>
|
ogl::RenderPrimitiveType | type |
| primitive type of the mesh
|
This component is used to query the ECS for all primitives that are rendered using instanced rendering.
◆ InstancedComponent()
InstancedComponent::InstancedComponent |
( |
const ogl::RenderPrimitiveType & | type | ) |
|
|
inline |
Instance a Component that will render the given primitive type.
- Parameters
-
type | primitive type to render |
- See also
- ogl::RenderPrimitiveType
The documentation for this class was generated from the following file: