source: GTP/trunk/App/Games/Jungle_Rumble/src/SharedResourceTexture.h @ 1378

Revision 1378, 530 bytes checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#pragma once
2#include "sharedresource.h"
3
4class SharedResourceTexture :
5        public SharedResource
6{
7public:
8        SharedResourceTexture(void);
9        ~SharedResourceTexture(void);
10
11        void createTexture(int _width, int _height, D3DFORMAT _format, DWORD _usage, D3DPOOL _pool);
12        void setTexture(IDirect3DTexture9* _texture);
13        IDirect3DTexture9* getTexture();
14
15        virtual void OnLostDevice();
16
17protected:
18        bool creator;
19        int width;
20        int height;
21        D3DFORMAT format;
22        DWORD usage;
23        D3DPOOL pool;
24        IDirect3DTexture9* texture;
25};
Note: See TracBrowser for help on using the repository browser.