|  | OGRE-Next 3.0.0
    Object-Oriented Graphics Rendering Engine | 
Vulkan maps per pool, thus mapping the same pool twice is a common occurrence. More...
#include <OgreVulkanDynamicBuffer.h>
| Public Member Functions | |
| VulkanDynamicBuffer (VkDeviceMemory deviceMemory, size_t vboSize, const bool isCoherent, const bool hasReadAccess, VulkanDevice *device) | |
| ~VulkanDynamicBuffer () | |
| void | flush (size_t ticket, size_t start, size_t count) | 
| Flushes the region of the given ticket. start is 0-based. | |
| VkDeviceMemory | getDeviceMemory () | 
| bool | isCoherentMemory () const | 
| void *RESTRICT_ALIAS_RETURN | map (size_t start, size_t count, size_t &outTicket) | 
| Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!! | |
| void | unmap (size_t ticket) | 
| Unmaps given ticket (got from. | |
Vulkan maps per pool, thus mapping the same pool twice is a common occurrence.
| Ogre::VulkanDynamicBuffer::VulkanDynamicBuffer | ( | VkDeviceMemory | deviceMemory, | 
| size_t | vboSize, | ||
| const bool | isCoherent, | ||
| const bool | hasReadAccess, | ||
| VulkanDevice * | device | ||
| ) | 
| Ogre::VulkanDynamicBuffer::~VulkanDynamicBuffer | ( | ) | 
Flushes the region of the given ticket. start is 0-based.
| 
 | inline | 
| 
 | inline | 
| void *RESTRICT_ALIAS_RETURN Ogre::VulkanDynamicBuffer::map | ( | size_t | start, | 
| size_t | count, | ||
| size_t & | outTicket | ||
| ) | 
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!