Symphony Of Empires
|
#include <primitive.hpp>
Public Member Functions | |
Quad2D () | |
~Quad2D ()=default | |
Public Member Functions inherited from Eng3D::MeshStatic< 6, 0, glm::vec2, glm::vec2 > | |
MeshStatic (enum Eng3D::MeshMode _mode) | |
MeshStatic (const MeshStatic &)=delete | |
MeshStatic (MeshStatic &&) noexcept=default | |
virtual | ~MeshStatic ()=default |
MeshStatic & | operator= (const MeshStatic &)=delete |
void | draw (int instances=0) const |
virtual void | upload () const |
void | instancing (I &instances_buffer, int instances=0) |
Enables instances on this simple mesh. More... | |
Additional Inherited Members | |
Public Types inherited from Eng3D::MeshStatic< 6, 0, glm::vec2, glm::vec2 > | |
using | DataType = Eng3D::MeshData< glm::vec2, glm::vec2, void > |
Public Attributes inherited from Eng3D::MeshStatic< 6, 0, glm::vec2, glm::vec2 > | |
std::array< DataType, vtc_size > | buffer |
std::array< unsigned int, i_size > | indices |
enum Eng3D::MeshMode | mode |
Definition at line 45 of file primitive.hpp.
Eng3D::Quad2D::Quad2D | ( | ) |
|
default |