U3: Updating texture from plugin.

I noticed in the Unity3 beta notes it says:
“Texture instanceIDs are not OpenGL texture names anymore. Might affect C++ Plugins that were relying on that.”

So how can plugins now update textures? Is there going to be a routine where you can pass a block of memory to upload into a texture? It’s not realistic to call SetPixel 64k times for a 256x256 :slight_smile: Or is there some additional functionality through which I can get the handle to the texture to pass to a plugin?

Thanks, Chris.

(doh, answering my own question… )

Texture2D.GetNativeTextureID now returns the handle, and there is a Texture2D.LoadImage( bytes ) function… great! :smile: