#include <Texture.h>
Classes | |
| struct | BitInfo |
Public Member Functions | |
| IDirect3DTexture9 * | GetInterface () |
| const IDirect3DTexture9 * | GetInterface () const |
| bool | Fill (const images::Image &image) |
| bool | Dump (images::Image &image) |
| bool | FillRegion (const images::Image &image, unsigned x, unsigned y, unsigned width=0, unsigned height=0) |
| bool | DumpRegion (images::Image &image, unsigned x, unsigned y, unsigned width, unsigned height) |
| bool xl7::direct3d::textures::Texture::Dump | ( | images::Image & | image | ) |
Dumps the texture by filling an image with the color data.
| bool xl7::direct3d::textures::Texture::DumpRegion | ( | images::Image & | image, | |
| unsigned | x, | |||
| unsigned | y, | |||
| unsigned | width, | |||
| unsigned | height | |||
| ) |
Dumps a region of the texture by filling an image with the color data. Therefore, the region is specified by the horizontal and vertical texel offsets (x and y) as well as the width and height (also in texels).
| bool xl7::direct3d::textures::Texture::Fill | ( | const images::Image & | image | ) |
Fills the texture with the color data of the given image.
| bool xl7::direct3d::textures::Texture::FillRegion | ( | const images::Image & | image, | |
| unsigned | x, | |||
| unsigned | y, | |||
| unsigned | width = 0, |
|||
| unsigned | height = 0 | |||
| ) |
Fills a region of the texture with the color data of the given image. Therefore, the region is specified by the horizontal and vertical texel offsets (x and y) as well as the width and height (also in texels). If width and/or height are not specified, they are taken from the image.
| IDirect3DTexture9* xl7::direct3d::textures::Texture::GetInterface | ( | ) | [inline] |
Returns the Direct3D texture interface.
Reimplemented from xl7::direct3d::textures::BaseTexture.
| const IDirect3DTexture9* xl7::direct3d::textures::Texture::GetInterface | ( | ) | const [inline] |
Returns the Direct3D texture interface.
Reimplemented from xl7::direct3d::textures::BaseTexture.
1.7.1