Interface for Quad Geometry.
More...
#include <le2d/shape/quad.hpp>
Interface for Quad Geometry.
◆ create() [1/2]
◆ create() [2/2]
| void le::shape::IQuad::create |
( |
kvf::Rect<> const & |
rect, |
|
|
kvf::UvRect const & |
uv = kvf::uv_rect_v, |
|
|
kvf::Color |
color = kvf::white_v |
|
) |
| |
◆ explicit()
| le::shape::IQuad::explicit |
( |
false |
| ) |
|
|
inline |
◆ get_origin()
| auto le::shape::IQuad::get_origin |
( |
| ) |
const -> glm::vec2 |
|
inline |
◆ get_rect()
| auto le::shape::IQuad::get_rect |
( |
| ) |
const -> kvf::Rect<> |
◆ get_size()
| auto le::shape::IQuad::get_size |
( |
| ) |
const -> glm::vec2 |
|
inline |
◆ get_uv()
| auto le::shape::IQuad::get_uv |
( |
| ) |
const -> kvf::UvRect |
◆ get_vertices()
| auto le::shape::IQuad::get_vertices |
( |
| ) |
const -> std::span<Vertex const> |
|
inlinefinalvirtual |
◆ default_size_v
◆ vertex_count_v
| constexpr std::size_t le::shape::IQuad::vertex_count_v {4} |
|
staticconstexpr |
The documentation for this class was generated from the following file: