Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CTextRenderer::SBatch Struct Reference

A list of SBatchRuns, with a single font/color/transform, to be rendered in a single GL call. More...

Collaboration diagram for CTextRenderer::SBatch:

Public Types

using SBatchRunList = std::list< SBatchRun, PS::Memory::AllocatorAdapter< SBatchRun, PS::Memory::ScopedLinearAllocator > >
 

Public Member Functions

 SBatch (PS::Memory::ScopedLinearAllocator &allocator)
 

Public Attributes

size_t chars
 
CVector2D translate
 
CColor color
 
CFont * font
 
SBatchRunList runs
 

Detailed Description

A list of SBatchRuns, with a single font/color/transform, to be rendered in a single GL call.

Member Typedef Documentation

◆ SBatchRunList

Constructor & Destructor Documentation

◆ SBatch()

CTextRenderer::SBatch::SBatch ( PS::Memory::ScopedLinearAllocator &  allocator)
inline

Member Data Documentation

◆ chars

size_t CTextRenderer::SBatch::chars

◆ color

CColor CTextRenderer::SBatch::color

◆ font

CFont* CTextRenderer::SBatch::font

◆ runs

SBatchRunList CTextRenderer::SBatch::runs

◆ translate

CVector2D CTextRenderer::SBatch::translate

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