Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
QuadBatchKey Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

QuadBatchKey::QuadBatchKey ( const CTexturePtr texture,
const CTexturePtr textureMask 
)
inline

Definition at line 47 of file OverlayRenderer.cpp.

Member Function Documentation

bool QuadBatchKey::operator== ( const QuadBatchKey other) const
inline

Definition at line 51 of file OverlayRenderer.cpp.

Member Data Documentation

CTexturePtr QuadBatchKey::m_Texture

Definition at line 56 of file OverlayRenderer.cpp.

CTexturePtr QuadBatchKey::m_TextureMask

Definition at line 57 of file OverlayRenderer.cpp.


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