|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
One local-space mesh vertex: position, texture coordinate, RGBA8 color. More...
#include <MeshRenderer.hpp>
Public Member Functions | |
| bool | operator== (const MeshVertex2D &) const =default |
Public Attributes | |
| glm::vec2 | position {0.0f, 0.0f} |
| glm::vec2 | uv {0.0f, 0.0f} |
| u32 | color = 0xFFFFFFFFu |
One local-space mesh vertex: position, texture coordinate, RGBA8 color.
Definition at line 35 of file MeshRenderer.hpp.
|
default |
| u32 esengine::ecs::MeshVertex2D::color = 0xFFFFFFFFu |
Definition at line 38 of file MeshRenderer.hpp.
| glm::vec2 esengine::ecs::MeshVertex2D::position {0.0f, 0.0f} |
Definition at line 36 of file MeshRenderer.hpp.
| glm::vec2 esengine::ecs::MeshVertex2D::uv {0.0f, 0.0f} |
Definition at line 37 of file MeshRenderer.hpp.