le2d v0.4.6
2D game engine framework
 
Loading...
Searching...
No Matches
le::IGeometry Class Referenceabstract

Interface for drawable geometry. More...

#include <le2d/geometry.hpp>

Inheritance diagram for le::IGeometry:
le::TextGeometry le::shape::Circle le::shape::IQuad le::shape::SuperEllipse le::shape::Triangle le::shape::LineRect le::shape::Quad

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
 

Detailed Description

Interface for drawable geometry.

Member Function Documentation

◆ get_indices()

virtual auto le::IGeometry::get_indices ( ) const -> std::span< std::uint32_t const >
pure virtual

◆ get_topology()

virtual auto le::IGeometry::get_topology ( ) const -> vk::PrimitiveTopology
pure virtual

◆ get_vertices()

virtual auto le::IGeometry::get_vertices ( ) const -> std::span< Vertex const >
pure virtual

The documentation for this class was generated from the following file: