All Classes Files Functions Variables Typedefs Pages
Public Attributes | List of all members
HotVertexSeq<> Class Template Reference

Description

template<typename...>
class lumina::HotVertexSeq<>

Hot version of VertexSeq.

A VertexSeq that is currently bound. This enables you to change the data of the buffers and apply a vertex layout. There is a type-safe and a type-unsafe variant of HotVertexSeq. You should use the type-safe one whenever you can. When the type-safe variant is used, additional compile-time checks will be performed to reduces bugs.

Template Parameters
CsThe list of types that was given to VertexSeq::prime. It represents the vertex attributes.
See Also
VertexSeq
HotVertexSeq<>

Inherits HotVertexSeqBase.

Public Attributes

internal::VertexSet< Cs...> vertex
 The vertex buffer.
 
- Public Attributes inherited from HotVertexSeqBase
internal::IndexSet index
 The index buffer.
 

Additional Inherited Members

- 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)
 
- 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
 
NotCopyableoperator= (const NotCopyable &)=delete
 
- Protected Member Functions inherited from NotMoveable
 NotMoveable (NotMoveable &&)=delete
 
NotMoveableoperator== (NotMoveable &&)=delete
 
- Protected Attributes inherited from HotVertexSeqBase
VertexSeqm_cold
 
- Static Protected Attributes inherited from GLContextFreeObject
static constexpr PrintGL GLERR = PrintGL::Error