|
|
void | EncodeSync (RGLDevicePtr device, RGLBufferPtr hostBuffer, RGLCommandBufferPtr commandBuffer, uint32_t elemSize, const Function< void(RGLBufferPtr)> &gcBuffersFn, bool &previousCommandResetCB) |
| |
|
void | InitializePrivateBuffer (RGLDevicePtr device, uint32_t size) |
| |
|
RGLBufferPtr | privateBuffer |
| |
|
std::string | debugName |
| |
|
std::vector< unsigned char > | syncTrackingBuffer |
| |
◆ _setElementCount()
Set the internal "size" of the container. Does not initialize or destroy elements. Use with care.
◆ EncodeSync()
| void RavEngine::BufferedVRAMVector< T >::EncodeSync |
( |
RGLDevicePtr |
device, |
|
|
RGLCommandBufferPtr |
commandBuffer, |
|
|
const Function< void(RGLBufferPtr)> & |
gcBuffersFn, |
|
|
bool & |
previousCommandResetCB |
|
) |
| |
|
inline |
Encodes commands to sync the host buffer with the private buffer.
- Note
- This function may change the value returned by GetPrivateBuffer(). Do not call GetPrivateBuffer() until after calling EncodeSync.
- Returns
- true if commands were encoded
The documentation for this class was generated from the following file: