Line Struct
Declaration
Base struct
| struct | Shape |
|
Struct representing geometric primitives and indices for various shapes. provides immutable, shared access to vertices and indices of the represented geometric shape. More... | |
Public Constructors Index
| Line () | |
Public Member Functions Index
| helios::rendering::mesh::PrimitiveType | primitiveType () const noexcept override |
Description
Creates vertex and index data for a single diagonal line segment. By default, this shape defines a line spanning from (0, 0, 0) to the point (1, 1, 0).
Definition at line 26 of file Line.ixx.
Public Constructors
Line()
| inline |
Public Member Functions
primitiveType()
| inline nodiscard noexcept virtual |
Returns the intended PrimitiveType for this Shape.
This method returns the intended PrimitiveType for the Shape represented by this instance. This information can be used to properly set up the MeshConfig wrapping this Shape.
- Returns
The intended PrimitiveType of this Shape.
Definition at line 39 of file Line.ixx.
Reference helios::rendering::mesh::Lines.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.