Interface for drawable geometry. More...
#include <le2d/geometry.hpp>
Public Member Functions | |
| virtual auto | get_vertices () const -> std::span< Vertex const >=0 |
| virtual auto | get_indices () const -> std::span< std::uint32_t const >=0 |
| virtual auto | get_topology () const -> vk::PrimitiveTopology=0 |
Static Public Attributes | |
| static constexpr auto | default_length_v {200.0f} |
Interface for drawable geometry.
|
pure virtual |
Implemented in le::shape::Quad, le::shape::LineRect, le::shape::SuperEllipse, and le::TextGeometry.
|
pure virtual |
Implemented in le::shape::Quad, le::shape::LineRect, le::shape::SuperEllipse, and le::TextGeometry.
|
pure virtual |
Implemented in le::shape::IQuad, le::shape::SuperEllipse, and le::TextGeometry.
|
staticconstexpr |