Description
Description
I want to transfer below code (in Swift, Xcode 16.1) to MAUI / .Net for iOS
var oglContext: EAGLContext? = EAGLContext(api: .openGLES3) var texture: CoreVideo.CVOpenGLESTexture? = nil var textureCache: CoreVideo.CVOpenGLESTextureCache? = nil let err = CVOpenGLESTextureCacheCreate(kCFAllocatorDefault, nil, oglContext! as CVEAGLContext, nil, &textureCache)
So I try below code in C#:
EAGLContext context = new EAGLContext(EAGLRenderingAPI.OpenGLES2); CoreVideo.CVOpenGLESTexture texture = null; CoreVideo.CVOpenGLESTextureCache textureCache = null; var err = CoreVideo.CVOpenGLESTextureCacheCreate(...);
And I received error: CVOpenGLESTexture and CVOpenGLESTextureCache does not exist in framework CoreVideo
So where are CVOpenGLESTexture and CVOpenGLESTextureCache now ?
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.60 SR6, all maui 6, 7, 8, 9
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No, I can not find any work around.