![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
Metal doesn't "map". More...
#include <OgreMetalDynamicBuffer.h>
Public Member Functions | |
| MetalDynamicBuffer (id< MTLBuffer > vboName, size_t vboSize) | |
| ~MetalDynamicBuffer () | |
| void | flush (size_t ticket, size_t start, size_t count) |
| Flushes the region of the given ticket. start is 0-based. | |
| id< MTLBuffer > | getVboName (void) const |
| void *RESTRICT_ALIAS_RETURN | map (size_t start, size_t count, size_t &outTicket) |
| void | unmap (size_t ticket) |
| Unmaps given ticket (got from. | |
Metal doesn't "map".
You can directly access the unsynchronized contents For performance we keep many buffers as one big buffer, but for compatibility reasons (with GL3/DX10 HW) we treat them as separate buffers.
| Ogre::MetalDynamicBuffer::~MetalDynamicBuffer | ( | ) |
Flushes the region of the given ticket. start is 0-based.
| void *RESTRICT_ALIAS_RETURN Ogre::MetalDynamicBuffer::map | ( | size_t | start, |
| size_t | count, | ||
| size_t & | outTicket ) |
Unmaps given ticket (got from.