Fixed-capacity list of upload regions. More...
#include <phosphor-shaders/include/PhosphorShaders/IUboProfile.h>
Public Member Functions | |
| void | push (const UboUploadRegion ®ion) |
| int | size () const |
| bool | empty () const |
| const UboUploadRegion & | operator[] (int i) const |
| const UboUploadRegion * | begin () const |
| const UboUploadRegion * | end () const |
Static Public Attributes | |
| static constexpr int | kCapacity = 4 |
Fixed-capacity list of upload regions.
dirtyRegions() runs on the render hot path every dirty (animating) frame, so the dispatch must stay allocation-free — a profile never emits more than a few disjoint regions, and kCapacity bounds that by contract.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |