Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Overlay #6

Open
seb-kun opened this issue Feb 4, 2024 · 0 comments
Open

Multiple Overlay #6

seb-kun opened this issue Feb 4, 2024 · 0 comments

Comments

@seb-kun
Copy link

seb-kun commented Feb 4, 2024

Hello Matthieu,

First of all thanks for the Overlay template, manage to integrate it in my Layer.
And modified it to be local, works nicely on top of the rest of my layer.
Before I start coding more things I want to be sure I understand properly.

1-The composition data is unique and "linked" with our layer.
2-The swap chain is a new DX image we can draw into.
3- the overlay is how I draw the new swap chain
If this correct?

So if I want to have multiple overlay.
I have to modify CompositionData to support multiple overlaySwapChain.
And create as much XrCompositionLayerQuad than swap chain? with each one their own position/rotation.etc.

Is this correct?

Thank you a lot again Matthieu

Cheers,
Seb

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

No branches or pull requests

1 participant