#include <dx9_wrap.h>
Inheritance diagram for D3D9::Texture:


Public Member Functions | |
| Texture (Device &n_device, int width, int height, int mip_levels, D3DFORMAT format) | |
| Create texture resource by allocating memory for it. | |
| Texture (Device &n_device, const char *fname) | |
| Create texture resource by loading it from file. | |
| void | select (int stage_index) |
| Make the texture active. | |
Protected Member Functions | |
| Texture (Device &n_device, int width, int height, int mip_levels, D3DFORMAT format, DWORD usage) | |
| Protected constructor used only in child classes, allows to modify the USAGE flag on texture creation. | |
Texture can be selected to be active in one of available texture stages (see select() method).
|
||||||||||||||||||||||||||||
|
Protected constructor used only in child classes, allows to modify the USAGE flag on texture creation.
|
|
||||||||||||||||||||||||
|
Create texture resource by allocating memory for it.
|
|
||||||||||||
|
Create texture resource by loading it from file.
|
|
|
Make the texture active.
|
1.3.6