#include <OgreMetalDiscardBufferManager.h>
|
| MetalDiscardBuffer (size_t bufferSize, uint16 alignment, VaoManager *vaoManager, MetalDiscardBufferManager *owner) |
|
uint16 | getAlignment (void) const |
|
size_t | getBlockSize (void) const |
|
size_t | getBlockStart (void) const |
| For internal use by MetalDiscardBufferManager. More...
|
|
id< MTLBuffer > | getBufferName (size_t &outOffset) |
| Returns the actual API buffer, but first sets mLastFrameUsed as we assume you're calling this function to use the buffer in the GPU. More...
|
|
size_t | getOffset (void) const |
|
MetalDiscardBufferManager * | getOwner (void) |
|
size_t | getSizeBytes (void) const |
| Size of the buffer, may be bigger than requested due to 4-byte alignment required by Metal. More...
|
|
void * | map (bool noOverwrite) |
| Returns a pointer that maps to the beginning of this buffer to begin writing. More...
|
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void * | operator new[] (size_t sz) |
|
void | unmap (void) |
|
◆ MetalDiscardBuffer()
◆ getAlignment()
uint16 Ogre::MetalDiscardBuffer::getAlignment |
( |
void |
| ) |
const |
|
inline |
◆ getBlockSize()
size_t Ogre::MetalDiscardBuffer::getBlockSize |
( |
void |
| ) |
const |
|
inline |
◆ getBlockStart()
size_t Ogre::MetalDiscardBuffer::getBlockStart |
( |
void |
| ) |
const |
|
inline |
◆ getBufferName()
id<MTLBuffer> Ogre::MetalDiscardBuffer::getBufferName |
( |
size_t & |
outOffset | ) |
|
Returns the actual API buffer, but first sets mLastFrameUsed as we assume you're calling this function to use the buffer in the GPU.
- Parameters
-
outOffset | Out. Guaranteed to be written. Used to point to the start of our data in the internal ring buffer we've allocated. |
- Returns
- The MTLBuffer in question.
◆ getOffset()
size_t Ogre::MetalDiscardBuffer::getOffset |
( |
void |
| ) |
const |
|
inline |
◆ getOwner()
◆ getSizeBytes()
size_t Ogre::MetalDiscardBuffer::getSizeBytes |
( |
void |
| ) |
const |
|
inline |
Size of the buffer, may be bigger than requested due to 4-byte alignment required by Metal.
◆ map()
void* Ogre::MetalDiscardBuffer::map |
( |
bool |
noOverwrite | ) |
|
Returns a pointer that maps to the beginning of this buffer to begin writing.
- Parameters
-
noOverwrite | When true, noOverwrite is slow |
- Returns
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [2/3]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
◆ operator new[]() [2/2]
◆ unmap()
void Ogre::MetalDiscardBuffer::unmap |
( |
void |
| ) |
|
◆ MetalDiscardBufferManager
The documentation for this class was generated from the following file: