template<std::size_t vtc_size = 0, std::size_t i_size = 0, typename V = glm::vec3, typename T = glm::vec2, typename C = void>
struct Eng3D::MeshStatic< vtc_size, i_size, V, T, C >
A static mesh with fixed number of elements.
Definition at line 192 of file mesh.hpp.
template<std::size_t vtc_size = 0, std::size_t i_size = 0, typename V = glm::vec3, typename T = glm::vec2, typename C = void>
template<typename I = glm::vec2>
void Eng3D::MeshStatic< vtc_size, i_size, V, T, C >::instancing |
( |
I & |
instances_buffer, |
|
|
int |
instances = 0 |
|
) |
| |
|
inline |
Enables instances on this simple mesh.
- Parameters
-
instances_buffer | Contigous buffer with instances data |
instances | Number of instances to configure for |
Definition at line 219 of file mesh.hpp.