20vector<ByteBuffer*> ObjectBuffer::byteBuffers;
22void ObjectBuffer::initialize() {
41 byteBuffers[contextIdx] = ByteBuffer::allocate(bytes);
static STATIC_DLL_IMPEXT Renderer * renderer
static int getThreadCount()
Buffers used to transfer data between main memory to graphics board memory.
static ByteBuffer * getByteBuffer(int contextIdx, int32_t bytes)
Get byte buffer for given context.
static void dispose()
Disposes object buffer per thread.
static STATIC_DLL_IMPEXT vector< ByteBuffer * > byteBuffers