Hi,
I have been working on getting occlusion query working on iOS Metal. My question is what's the data type of visibility result?
The documentation says In MTLVisibilityResultModeBoolean mode when a sample passes, the device writes a nonzero value to the buffer. If no samples pass, the device writes zero.
However, it doesn't say what's the exact data type of the result, I googled and found a StackOverflow question about this: https://stackoverflow.com/questions/40980889/metal-on-macos-visibility-testing-behaving-incorrectly but they could only guess the data type by the offset parameter.
So, what's the correct data type of the result? Where can I find documentation about this?
Thanks.