Buffer suballocation.  
 More...
#include <BufferSuballocator.h>
◆ GetBuffer()
  
  | 
        
          | virtual IBuffer * Diligent::IBufferSuballocation::GetBuffer | ( |  | ) | const |  | pure virtual | 
 
Returns a pointer to the internal buffer object. 
 
 
◆ GetUserData()
  
  | 
        
          | virtual IObject * Diligent::IBufferSuballocation::GetUserData | ( |  | ) | const |  | pure virtual | 
 
Returns a pointer to the user data object previously set with SetUserData() method.
- Returns
- Pointer to the user data object 
 
 
◆ SetUserData()
  
  | 
        
          | virtual void Diligent::IBufferSuballocation::SetUserData | ( | IObject * | pUserData | ) |  |  | pure virtual | 
 
Stores a pointer to the user-provided data object. 
The user data 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 an application must externally synchronize the access. 
 
 
◆ Update()
Updates the internal buffer object.