bool __stdcall gettextureprops(int texture,int surface,texturepropertystruct* txprop)

 


Get texture parametesr by his ID.
    texture: Id of texture.
    Surface: Mipphase of texture
    Txprop[out]: texture properties:
  Path               - texture path
  Name             - texture name by loadtexture property (it can include path)
  txtype             - texture format
  txsizer            - texture size in byte
  width,height   - dimensions in byte
  mipphases      - number of mipmap surfaces of texture. When it was automatically, so it will be the current value.