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

Description

template<>
class lumina::HotVertexSeq<>

The type-unsafe variant of HotVertexSeq.

See Also
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
 
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
 

Member Function Documentation

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.

Template Parameters
TsThe same parameter as the parameters for VertexSeq::prime or the type-safe variant of HotVertexSeq.