template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
struct Eng3D::Mesh< V, T, C >
Packed model - packs both vertices and texcoords into the same buffer.
Definition at line 144 of file mesh.hpp.
template<typename V = glm::vec3, typename T = glm::vec2, typename C = void>
template<typename I = glm::vec2>
void Eng3D::Mesh< 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 171 of file mesh.hpp.