// *** OpenGTA3 ***
// texture handling

// class CTexture - OO-wrapper around RwTexture
#pragma pack(push, 1)
struct RwTexture;

class CTexture {
public:
	CTexture (); // >> 727230 (7)
	~CTexture (); // >> 7281E0 (16)

	void clean (); // >> 727240 (14);
	RwTexture * reload (char * name); // >> 727270 (3)
	RwTexture * read (char * name, char * maskName);	// >> 7272B0 (3/12)
	RwTexture * setAddressing (BYTE addressing); // >> 727320 (3/5)

	// draw rectangle, using texture as background
	void drawTexturedRect (float * coords, RGBA * color);	// >> 728350 (28)

	RwTexture * texture;
};
#pragma pack(pop)