Pyrogenesis
13997
|
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.
Definition at line 45 of file OverlayRenderer.cpp.
|
inline |
Definition at line 47 of file OverlayRenderer.cpp.
|
inline |
Definition at line 51 of file OverlayRenderer.cpp.
CTexturePtr QuadBatchKey::m_Texture |
Definition at line 56 of file OverlayRenderer.cpp.
CTexturePtr QuadBatchKey::m_TextureMask |
Definition at line 57 of file OverlayRenderer.cpp.