thatcosmonaut / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
4 stars 2 forks source link

Implement Queries #28

Closed ryegleason closed 4 years ago

ryegleason commented 4 years ago

This implementation makes the assumption that the user will being and end the query in the same render pass. It was kinda unclear if that was a requirement of the previous API, but since Vulkan queries are CommandBuffer-local the only way to allow longer-term queries would be to start and end a query every pass, which seems really bad.