| 982 | } |
| 983 | |
| 984 | void EveInstancedMeshManager::ReportUsedScreenSizes() const |
| 985 | { |
| 986 | for( auto& [mesh, meshInfo] : m_meshInstances ) |
| 987 | { |
| 988 | if( auto meshData = mesh.geometry->GetMeshLod( mesh.meshIndex, 0 ) ) |
| 989 | { |
| 990 | meshInfo.material->UsedWithScreenSize( meshInfo.maxScreenSize, meshInfo.radius, meshData->m_uvDensities ); |
| 991 | } |
| 992 | } |
| 993 | } |
| 994 | |
| 995 | void EveInstancedMeshManager::InstanceFlags::AddBatchType( TriBatchType type ) |
| 996 | { |
no test coverage detected