Vertex pool allocation. More...
#include <VertexPool.h>
Public Member Functions | |
| virtual Uint32 | GetStartVertex () const =0 |
| Returns the start vertex of the allocation. | |
| virtual Uint32 | GetVertexCount () const =0 |
| Returns the number of vertices in the allocation. | |
| virtual IVertexPool * | GetPool ()=0 |
| Returns a pointer to the parent vertex pool. | |
| virtual IBuffer * | Update (Uint32 Index, IRenderDevice *pDevice, IDeviceContext *pContext)=0 |
| Updates internal buffer at the given index. | |
| virtual IBuffer * | GetBuffer (Uint32 Index) const =0 |
| Returns a pointer to the internal buffer at the given index. | |
| virtual void | SetUserData (IObject *pUserData)=0 |
| virtual IObject * | GetUserData () const =0 |
Public Member Functions inherited from Diligent.IObject | |
| virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. | |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> | |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
| Increments the number of strong references by 1. | |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
| virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
Vertex pool allocation.
Returns a pointer to the internal buffer at the given index.
|
pure virtual |
Returns a pointer to the user data object previously set with the SetUserData() method.
|
pure virtual |
Stores a pointer to the user-provided data object, which may later be retrieved through GetUserData().
| [in] | pUserData | - A pointer to the user data object to store. |
|
pure virtual |
Updates internal buffer at the given index.