- Home /
Using Texture2D.GetNativeTextureID()
Hey all,
Due to a libpng conflict with scaleform An iOS project I'm working on is unable to take screenshots and convert them to pngs. So we're planning to try and handle the conversion ourselves targeting the libpng version that scaleform brings into the project. We can manually create the screenshot as a Texture2D but need to get that to the plugin.
I figure the easiest way to get the texture data over to the native plugin is using the GetNativeTextureID() however I have no idea what to do with that value once it has made it's way into the plugin.
So does anyone know what to do with the native ID's to actualy retrieve that texture from a native code plugin to manipulate it?
Thanks for any advice or suggestions.
it returns a pointer to ID3D10Texture2D interface,but i dont know how to use this int number in plugins