wavelength 1.0.0
Loading...
Searching...
No Matches
RndArena::Sort Class Reference

One entry of the drawing order. More...

#include <rndarena.h>

Public Member Functions

 Sort ()
 Construct an entry without a view.
bool operator< (const Sort &other) const
 Order the entries farthest along first.
float GetSortKey () const
void SetSortKey (float fSortKey)
RndView * GetView () const
void SetView (RndView *pView)

Detailed Description

One entry of the drawing order.

The RTTI includes the nested class name.

Constructor & Destructor Documentation

◆ Sort()

RndArena::Sort::Sort ( )
inline

Construct an entry without a view.

Member Function Documentation

◆ operator<()

bool RndArena::Sort::operator< ( const Sort & other) const
inline

Order the entries farthest along first.

Parameters
otherThe entry to compare with.
Returns
Whether this entry has the greater sort key.

◆ GetSortKey()

float RndArena::Sort::GetSortKey ( ) const
inline
Returns
The frame of the view's window in its current loop.

◆ SetSortKey()

void RndArena::Sort::SetSortKey ( float fSortKey)
inline
Parameters
fSortKeyThe frame of the view's window in its current loop.

◆ GetView()

RndView * RndArena::Sort::GetView ( ) const
inline
Returns
The view to draw, or null.

◆ SetView()

void RndArena::Sort::SetView ( RndView * pView)
inline
Parameters
pViewThe view to draw, or null.

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