MethanePowered / MethaneAsteroids

:ringed_planet: Asteroids sample demonstrating multi-threaded rendering of large number random-generated asteroids with Methane Kit framework using DirectX 12, Vulkan and Metal
https://github.com/MethanePowered/MethaneKit
Apache License 2.0
15 stars 0 forks source link

Methane Asteroids v0.7.1 implemented with new RHI PIMPL classes #6

Closed egorodet closed 1 year ago

egorodet commented 1 year ago

This is a refactoring release which updates Asteroids implementation from previously used Methane Graphics Core virtual interfaces to the new Methane Graphics RHI (Rendering Hardware Interface) PIMPL classes from Methane Kit v0.7.1 release. RHI PIMPL classes provide new convenient way to use RHI with an extra performance boost from inlining API calls directly to final implementation, instead of virtual calls made through abstract interfaces. See FPS performance comparison of Asteroids with 3 implementations: v0.7.0 RHI virtual interfaces, v0.7.1 RHI PIMPL classes without inlining and with inline calls to final implementation.

MethaneKit-RHI-Interfaces-Performance

Asteroids

External libraries

Builds