Hi all,
I am trying to build a plugin for a proprietary software which can provide texture ID in OpenGL format (namely provides int value ID) associated with a particular object. That being said, it does support both D3D and OpenGL within the aforesaid plugin. The problem is I am not sure how I can pass texture ID/instance into the plugin as I am unaware of a way of exposing software to D3D API's classes and structures used for instantiating of textures, and at the same time am unsure if there is a call within D3D that would reference a particular texture via its ID which is expressed as an int value.
So, I was wondering if anyone had any ideas as to how one could approach this predicament. Namely, is there a D3D call equivalent to OpenGL's referencing of a texture ID (int) that is compatible with OpenGL's format?