| 25 | }; |
| 26 | |
| 27 | Tr2PrimitiveScene::Tr2PrimitiveScene( IRoot* lockobj ) : |
| 28 | PARENTLOCK( m_primitives ), |
| 29 | PARENTLOCK( m_textLabels ), |
| 30 | m_pickBuffer( NULL, Tr2RenderContextEnum::PIXEL_FORMAT_R32G32B32A32_FLOAT, 1 ) |
| 31 | { |
| 32 | m_pickBuffer.PrepareResources(); |
| 33 | m_allocator = CCP_NEW( "Tr2PrimitiveScene/m_allocator" ) TriPoolAllocator(); |
| 34 | m_opaqueBatches = CCP_NEW( "Tr2PrimitiveScene/m_opaqueBatches" ) TriRenderBatchAccumulator<>( m_allocator ); |
| 35 | m_pickingBatches = CCP_NEW( "Tr2PrimitiveScene/m_pickingBatches" ) TriRenderBatchAccumulator<>( m_allocator ); |
| 36 | } |
| 37 | |
| 38 | Tr2PrimitiveScene::~Tr2PrimitiveScene() |
| 39 | { |
nothing calls this directly
no test coverage detected