aardvark-platform / aardvark.rendering

Aardvark.Rendering is a high-performance, dependency-aware rendering engine. It is part of the open-source Aardvark Platform for visual computing, real-time graphics, and visualization.
https://aardvarkians.com/
Other
131 stars 13 forks source link

QueryObjects API #61

Closed luithefirst closed 3 years ago

luithefirst commented 4 years ago

We need to abstract this functionally behind our rendering API in order to provide all functionality required for my application: https://www.khronos.org/opengl/wiki/Query_Object

The IRuntime should allow creating Queries:

Using a long as result for all types is possible.

Questions:

A query should allow:

What about advanced features/interoperability with RenderCommands?

Already found in the GL backend:

hyazinthh commented 4 years ago

Implemented queries and an example in https://github.com/aardvark-platform/aardvark.rendering/commit/c87eee3f91b597d2c6e9c16d48c683f360b26959