----------------------------------------------------------------------------- Set -----------------------------------------------------------------------------
| 72 | // Set |
| 73 | //----------------------------------------------------------------------------- |
| 74 | void GFXPrimitiveBufferHandle::set(GFXDevice *theDevice, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType, String desc) |
| 75 | { |
| 76 | StrongRefPtr<GFXPrimitiveBuffer>::operator=( theDevice->allocPrimitiveBuffer(indexCount, primitiveCount, bufferType) ); |
| 77 | |
| 78 | #ifdef TORQUE_DEBUG |
| 79 | if( desc.isNotEmpty() ) |
| 80 | getPointer()->mDebugCreationPath = desc; |
| 81 | #endif |
| 82 | } |
| 83 | |
| 84 | //----------------------------------------------------------------------------- |
| 85 | // immutable |
nothing calls this directly
no test coverage detected