Transfer Buffer.  
 More...
#include <transfer_buffer.h>
◆ TransferBuffer() [1/3]
      
        
          | clan::TransferBuffer::TransferBuffer | ( |  | ) |  | 
      
 
Constructs a null instance. 
 
 
◆ TransferBuffer() [2/3]
Constructs a transfer buffer. 
- Parameters
- 
  
    | gc | = Graphic Context |  | size | = value |  | usage | = Buffer Usage |  
 
 
 
◆ TransferBuffer() [3/3]
Constructs a transfer buffer. 
- Parameters
- 
  
    | gc | = Graphic Context |  | data | = void |  | size | = value |  | usage | = Buffer Usage |  
 
 
 
◆ ~TransferBuffer()
  
  | 
        
          | virtual clan::TransferBuffer::~TransferBuffer | ( |  | ) |  |  | virtual | 
 
 
◆ get_data()
      
        
          | void * clan::TransferBuffer::get_data | ( |  | ) |  | 
      
 
 
◆ get_provider()
Get Provider. 
- Returns
- provider 
 
 
◆ is_null()
  
  | 
        
          | bool clan::TransferBuffer::is_null | ( |  | ) | const |  | inline | 
 
Returns true if this object is invalid. 
 
 
◆ lock()
Maps buffer into system memory. 
 
 
◆ operator bool()
  
  | 
        
          | clan::TransferBuffer::operator bool | ( |  | ) | const |  | inlineexplicit | 
 
 
◆ operator==()
      
        
          | bool clan::TransferBuffer::operator== | ( | const TransferBuffer & | other | ) | const | 
      
 
Handle comparison operator. 
 
 
◆ throw_if_null()
      
        
          | void clan::TransferBuffer::throw_if_null | ( |  | ) | const | 
      
 
Throw an exception if this object is invalid. 
 
 
◆ unlock()
      
        
          | void clan::TransferBuffer::unlock | ( |  | ) |  | 
      
 
 
◆ upload_data()
      
        
          | void clan::TransferBuffer::upload_data | ( | GraphicContext & | gc, | 
        
          |  |  | int | offset, | 
        
          |  |  | const void * | data, | 
        
          |  |  | int | size ) | 
      
 
 
The documentation for this class was generated from the following file: