Menu

#48 GX_GetTexObj*-functions

open
nobody
None
5
2012-10-09
2011-09-19
Anonymous
No

Hi,
the additional GX_GetTexObj*-functions like

  • GX_GetTexObjAll(GXTexObj obj, void image_ptr, u16 width, u16 height, GXTexFmt format, GXTexWrapMode wrap_s, GXTexWrapMode wrap_t, GXBool* mipmap )
  • GX_GetTexObjData( GXTexObj* obj )
  • GX_GetTexObjHeight( GXTexObj* obj )
  • GX_GetTexObjMipMap( GXTexObj* obj )
  • GX_GetTexObjWidth( GXTexObj* obj )
  • GX_GetTexObjWrapS( GXTexObj* obj )
  • GX_GetTexObjWrapT( GXTexObj* obj )

would be nice to have. It is definitely possible to generate some of this data from elsewhere, but once a texture is TPL_OpenedFromMemory it s kinda hard to retrieve data like height, width, the pointer to the image data, etc.

Thanks a lot.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB