Public Types | |
| typedef BufferCache< tU32, BufferCacheIndex > | tBase |
| typedef tU32 | tIndex |
Public Types inherited from BufferCache< tU32, BufferCacheIndex > | |
| typedef astl::vector< tU32 > | tElVec |
Public Types inherited from cIUnknownImpl< iUnknown > | |
| typedef cIUnknownImpl < iUnknown, FLAGS, T1, T2, T3, T4 > | BaseImpl |
| typedef iUnknown | Base0 |
| typedef T1 | Base1 |
| typedef T2 | Base2 |
| typedef T3 | Base3 |
| typedef T4 | Base4 |
Public Member Functions | |
| BufferCacheIndex (iGraphics *apGraphics, tU32 anReserve) | |
| void | _Invalidate () |
| void | _NextFrame () |
| tBool | _HasCapacity (const tU32 anNumEls) |
| tBool | _Init (const tU32 anNumEls) |
| tBool | _Upload (const tU32 *apInds, tU32 aUpBase, tU32 aUpCount) |
Public Member Functions inherited from BufferCache< tU32, BufferCacheIndex > | |
| BufferCache (const tU32 anReserve) | |
| void | Invalidate () |
| tU32 | GetNumPending () const |
| Get the number of pending elements in the cache. More... | |
| tBool | HasPending () const |
| Return eTrue if the cache has any pending element that haven't been updated. More... | |
| void | Reset () |
| Reset the cache. More... | |
| void | NextFrame () |
| Notify that the current frame has been submitted. More... | |
| void | Add (const tU32 &ulV) |
| Add an element in the cache. More... | |
| void | Add (const tU32 *apEls, tU32 anNumEls) |
| Add an array of element in the cache. More... | |
| void | Add (const tElVec &vVertices) |
| Add a vector of element in the cache. More... | |
| const tU32 | GetCacheSize () const |
| Get the size of the cache. More... | |
| const tU32 * | GetEl (tU32 anIndex) const |
| Get an element in the cache. More... | |
| tU32 * | GetEl (tU32 anIndex) |
| Get an element in the cache. More... | |
| tU32 | GetCurrentEl () const |
| Get the current element. More... | |
| tU32 | GetCurrentIndex () const |
| Get the current index. More... | |
| sVec2i | Update () |
| Update the buffer. More... | |
Public Member Functions inherited from cIUnknownImpl< iUnknown > | |
| cIUnknownImpl () | |
| virtual tBool | IsOK () const |
| virtual void | Invalidate () |
| virtual iUnknown * | QueryInterface (const ni::tUUID &aIID) |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32) const |
Public Attributes | |
| Ptr< iGraphics > | mptrGraphics |
| Ptr< iIndexArray > | mptrIA |
| typedef BufferCache<tU32,BufferCacheIndex> tBase |
| BufferCacheIndex | ( | iGraphics * | apGraphics, |
| tU32 | anReserve | ||
| ) |
| void _Invalidate | ( | ) |
| void _NextFrame | ( | ) |
| Ptr<iIndexArray> mptrIA |
1.8.7