|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
An ordering table whose bucket count is chosen at runtime. More...
#include <psyqo/ordering-table.hh>


Public Member Functions | |
| DynamicOrderingTable (psyqo::Fragments::ChainEntry *storage, size_t buckets) | |
| void | clear () |
| template<Fragment Frag> | |
| void | insert (Frag &frag, int32_t z) |
Inserts a fragment into the ordering table, as OrderingTable::insert. | |
| size_t | size () const |
Public Attributes | |
| psyqo::Fragments::ChainEntry * | m_table |
Friends | |
| class | GPU |
Additional Inherited Members | |
Static Public Member Functions inherited from psyqo::OrderingTableBase | |
| static void | clear (psyqo::Fragments::ChainEntry *table, size_t size) |
An ordering table whose bucket count is chosen at runtime.
Behaves like OrderingTable, for when the number of buckets is only known at runtime, for example when it comes from loaded data. It does not own its storage: the caller provides buckets + 1 entries, which must outlive the table and every frame the GPU reads it in. Schedule it with GPU::chain.
|
inline |
|
inline |
|
inline |
Inserts a fragment into the ordering table, as OrderingTable::insert.
|
inline |
| psyqo::Fragments::ChainEntry* psyqo::DynamicOrderingTable< safety >::m_table |