-------------------------------------------------------------------------------- Description: Provide perobject data. Is very simple just a world transform Arguments: accumulator - used to allocate new perobject data Return value: Returns the populated perobject data --------------------------------------------------------------------------------
| 603 | // Returns the populated perobject data |
| 604 | // -------------------------------------------------------------------------------- |
| 605 | Tr2PerObjectData* EveMissileWarhead::GetPerObjectData( ITriRenderBatchAccumulator* accumulator ) |
| 606 | { |
| 607 | EveMissileWarheadPerObjectData* data = accumulator->Allocate<EveMissileWarheadPerObjectData>(); |
| 608 | if( !data ) |
| 609 | { |
| 610 | return NULL; |
| 611 | } |
| 612 | data->Initialize( this, &m_perObjectDataVs, &m_perObjectDataPs ); |
| 613 | |
| 614 | return data; |
| 615 | } |
| 616 | |
| 617 | uint32_t EveMissileWarhead::GetPerObjectDataSize( Tr2RenderContextEnum::ShaderType shaderType ) const |
| 618 | { |
nothing calls this directly
no test coverage detected