Forum Discussion
Anonymous
10 years agoNot applicable
How to pass a GL texture pointer to ovrTextureSwapChain?
We are working with our own custom plugin, and are now a bit stuck on how to pass the GL texture handle we have to the ovrLayerEyeFov ld. ( 1.3 SDK ) ld.ColorTexture[0] = ?
- 10 years agothe `ColorTexture` member of `ovrLayerEyeFov` is an `ovrTextureSwapChain`. It should be populated with a swap chain you created with `ovr_CreateTextureSwapChainGL`.
If the GL texture handle you have is one you got from that swap chain (using `ovr_GetTextureSwapChainBufferGL`) then it's already part of the internals. If it's some GL texture handle you created, then you need to copy it into the texture handle fetched from the SDK.
Anonymous
10 years agoNot applicable
Thank you : still struggling a bit but perhaps I will manage to muddle through.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 1 year ago
- 10 months ago
- 1 year ago