Vertex pool allocation.
More...
#include <VertexPool.h>
◆ GetBuffer()
virtual IBuffer * Diligent::IVertexPoolAllocation::GetBuffer |
( |
Uint32 | Index | ) |
const |
|
pure virtual |
Returns a pointer to the internal buffer at the given index.
◆ GetUserData()
virtual IObject * Diligent::IVertexPoolAllocation::GetUserData |
( |
| ) |
const |
|
pure virtual |
Returns a pointer to the user data object previously set with the SetUserData() method.
- Returns
- A pointer to the user data object.
◆ SetUserData()
virtual void Diligent::IVertexPoolAllocation::SetUserData |
( |
IObject * | pUserData | ) |
|
|
pure virtual |
Stores a pointer to the user-provided data object, which may later be retrieved through GetUserData().
- Parameters
-
[in] | pUserData | - A pointer to the user data object to store. |
- Note
- The method is not thread-safe and the application must externally synchronize the access.
◆ Update()
Updates internal buffer at the given index.