nvrhi icon indicating copy to clipboard operation
nvrhi copied to clipboard

Feature: occlusion queries

Open Admer456 opened this issue 3 years ago • 1 comments

NVRHI has timer queries and event queries. However, I think it would be useful to have occlusion queries too, like in NRI.

Without them, I'd have to use a workaround such as rendering into a low-res framebuffer and using a compute shader to count pixels, which I guess would be significantly slower than the real thing, but I've never tried. Directly using the rendering API is not preferable.

What are your thoughts on this?

Admer456 avatar Aug 07 '22 21:08 Admer456

An occlusion example would be cool.

VinnyVicious avatar Jan 14 '25 02:01 VinnyVicious