@namkazt wrote:
Hello,
As title, i want to ask how to create a Sprite or Texture2D from a texture name already with OpenGL.
More details is : I have capture image from Java code then pull it to a SurfaceTexture with input Texture ID so how can i get that texture out with cocos2d-x. ( v3.8.1 )
For now i'm using JNI to transfer image data to cocos2d-x but i think it is not so performance.
thank you.
Posts: 3
Participants: 2