Skip to content

Implements OcclusionQuery for Blazor.GL#2599

Merged
nkast merged 3 commits into
kniEngine:mainfrom
squarebananas:BlazorOcclusionQuery
Jul 17, 2026
Merged

Implements OcclusionQuery for Blazor.GL#2599
nkast merged 3 commits into
kniEngine:mainfrom
squarebananas:BlazorOcclusionQuery

Conversation

@squarebananas

Copy link
Copy Markdown
Contributor

Implements OcclusionQuery for the Blazor.GL platform.

As with GLES, WebGL only returns a result of 0 or 1 (where 1 represents one or more pixels visible) instead of the actual pixel count.

The associated required Wasm changes ("Adds WebGL2 occlusion query support") are located here: nkast/Wasm#20

For testing, the XNA Lens Flare sample with Kni projects added can be found here: kniEngine/XNAGameStudio#1

@nkast
nkast merged commit 565fa71 into kniEngine:main Jul 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants