Rectangle.ixx File
Basic rectangle shape for rendering. More...
Included Headers
#include <vector>
#include <helios.rendering.mesh.PrimitiveType>
#include <helios.rendering.Vertex>
#include <helios.rendering.asset.shape.Shape>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
| namespace | asset |
|
Rendering asset management. More... | |
| namespace | shape |
|
Geometric shape definitions. More... | |
| namespace | basic |
|
Basic primitive shapes. More... | |
Classes Index
| struct | Rectangle |
Description
Basic rectangle shape for rendering.
File Listing
The file content with the documentation metadata removed is:
16using namespace helios::rendering;
18export namespace helios::rendering::asset::shape::basic {
25 * @note Uses indices {0, 1, 2, 3, 0} with PrimitiveType::LineStrip to render the rectangle outline.
30 std::vector<Vertex>{
41 [[nodiscard]] helios::rendering::mesh::PrimitiveType primitiveType() const noexcept override {
42 return mesh::PrimitiveType::LineStrip;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.