|
resonance 1.0.1
|
One entry of mDrawOrder. More...
#include <arena.h>

Public Member Functions | |
| DrawEntry () | |
| Construct an entry with no view. | |
| bool | operator< (const DrawEntry &other) const |
| Order entries by descending sort key. | |
Public Attributes | |
| View * | mView |
| float | mSortKey |
One entry of mDrawOrder.
The image supplies no name for the type or for either member, so both are inferred from their use. The record is 8 bytes, which the element size the list allocation passes to the node tagger establishes. SetFrameSelf() writes each section's view and its sort key into the entry of the same index, sorts the list, and DrawShowing() then draws the views in list order.
|
inline |
Construct an entry with no view.
The temporary the two hit-list helpers resize with has only its first word written, so mSortKey starts indeterminate until SetFrameSelf() fills it.
|
inline |
Order entries by descending sort key.
The list merge at 0x005babe0 splices an entry of the second run ahead of one of the first when the first run's key is the smaller. That is this comparison with the operands the merge passes, so the entry with the largest key is drawn first.
| other | The entry to compare against. |
| View* Rnd::Arena::DrawEntry::mView |
The section view to draw. +0x00
| float Rnd::Arena::DrawEntry::mSortKey |
The frame of the section's current loop. +0x04