I need to write a plugin where it will do screen capture and I will end up with a BYTE* of RGB bits, and I need to stuff them into a hardware texture buffer on the local PC. I need the ability to lock that texture buffer while writing the bits, and to unlock it when I'm done. it would be ideal if I could do a GPU-memory copy from an existing hardware texture to Godot's hardware texture.
any examples of this already around?
impossible?