The type-unsafe variant of HotVertexSeq.
Inherits HotVertexSeqBase.
Public Member Functions | |
| template<typename... Ts> | |
| void | applyVertexLayout () |
| Applies the vertex layout. More... | |
Public Member Functions inherited from HotVertexSeqBase | |
| HotVertexSeqBase (VertexSeq &ref) | |
Public Member Functions inherited from SingleBase | |
| void | setServiceContext (config::ServiceContext cnt) |
| template<typename Ex , LogLevel LL, typename... Ts> | |
| Error Notice Debug void | logAndThrow (Ts...args) |
Public Attributes | |
| internal::VertexSet | vertex |
| The vertex buffer. | |
Public Attributes inherited from HotVertexSeqBase | |
| internal::IndexSet | index |
| The index buffer. | |
Additional Inherited Members | |
Protected Member Functions inherited from GLContextFreeObject | |
| template<typename... Ts> | |
| void | checkGLError (Ts...) |
| template<typename... Ts> | |
| void | checkGLWarning (Ts...) |
| template<typename... Ts> | |
| void | logThrowGL (Ts...) |
Protected Member Functions inherited from SingleBase | |
| template<typename... Ts> | |
| void | logCritical (Ts...args) |
| template<typename... Ts> | |
| void | logError (Ts...args) |
| template<typename... Ts> | |
| void | logWarning (Ts...args) |
| template<typename... Ts> | |
| void | logNotice (Ts...args) |
| template<typename... Ts> | |
| void | log (Ts...args) |
| template<typename... Ts> | |
| void | logDebug (Ts...args) |
| template<typename Ex , LogLevel LL = LogLevel::Error, typename... Ts> | |
| void | logAndThrow (Ts...args) |
Protected Member Functions inherited from NotCopyable | |
| NotCopyable (const NotCopyable &)=delete | |
| NotCopyable & | operator= (const NotCopyable &)=delete |
Protected Member Functions inherited from NotMoveable | |
| NotMoveable (NotMoveable &&)=delete | |
| NotMoveable & | operator== (NotMoveable &&)=delete |
Protected Attributes inherited from HotVertexSeqBase | |
| VertexSeq & | m_cold |
Static Protected Attributes inherited from GLContextFreeObject | |
| static constexpr PrintGL | GLERR = PrintGL::Error |
| void applyVertexLayout | ( | ) |
Applies the vertex layout.
This method needs to be called to tell OpenGL how a vertex looks like. When this method isn't called an attempt to draw this VertexSeq will fail.
| Ts | The same parameter as the parameters for VertexSeq::prime or the type-safe variant of HotVertexSeq. |