Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Key used to group quads into batches for more efficient rendering. More...
Public Member Functions | |
QuadBatchKey (const CTexturePtr &texture, const CTexturePtr &textureMask) | |
bool | operator== (const QuadBatchKey &other) const |
Public Attributes | |
CTexturePtr | m_Texture |
CTexturePtr | m_TextureMask |
Key used to group quads into batches for more efficient rendering.
Currently groups by the combination of the main texture and the texture mask, to minimize texture swapping during rendering.
|
inline |
|
inline |
CTexturePtr anonymous_namespace{OverlayRenderer.cpp}::QuadBatchKey::m_Texture |
CTexturePtr anonymous_namespace{OverlayRenderer.cpp}::QuadBatchKey::m_TextureMask |