Coding

 Reply to this postStart new topic

Dynamic RwTexture*

DK22
post Jun 12 2011, 09:40 AM
Post #1


Member

Posts: 197
From: Liberty City, Shoreside
Joined: 15-July 10



Is there a way to get adress of loaded texture? (from models/txd folder)?
I need it for some procedures.
Go to the top of the page
 
+Quote Post
Deji
post Jun 12 2011, 08:53 PM
Post #2


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



Not quite sure there. For HUD textures and such, it's quite easy. But textures loaded via SCM aren't stored in the same way and have a logic to their functions that I have never understood.

0xA94B68 - contains a pool of 128 RwTexture pointers which seem directly related to the ones used in SCM texture drawing. Perhaps you'll find what yeh need there.


--------------------
Go to the top of the page
 
+Quote Post
DK22
post Jun 12 2011, 09:40 PM
Post #3


Member

Posts: 197
From: Liberty City, Shoreside
Joined: 15-July 10



laugh.gif It works
Big thanx, Deji!
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: