| 753 | } |
| 754 | |
| 755 | void Tr2RenderContextBase::RenderBatchesSortedByEffect( ITriRenderBatchAccumulator* batches, const BlueSharedString& techniqueName ) |
| 756 | { |
| 757 | CCP_STATS_ZONE( __FUNCTION__ ); |
| 758 | D3DPERF_EVENT( L"Tr2EffectStateManager::RenderBatchesSortedByEffect" ); |
| 759 | |
| 760 | Tr2RenderContext* primaryContext = reinterpret_cast<Tr2RenderContext*>( this ); |
| 761 | Tr2RingBuffer::GetInstance<Float4x3>().PrepareBuffer( *primaryContext ); |
| 762 | Tr2RingBuffer::GetInstance<Tr2MorphTargetAnimationData>().PrepareBuffer( *primaryContext ); |
| 763 | |
| 764 | UseTextures( batches, techniqueName, *primaryContext ); |
| 765 | |
| 766 | |
| 767 | RenderGdprBatches( batches, techniqueName ); |
| 768 | RenderSortedBatches( batches->GetBatches(), techniqueName, *primaryContext ); |
| 769 | } |
| 770 | |
| 771 | void Tr2RenderContextBase::RenderBatches( ITriRenderBatchAccumulator* batches, const BlueSharedString& techniqueName ) |
| 772 | { |
nothing calls this directly
no test coverage detected