dxf::TextureInfo Struct Reference

#include <dxf_texture.h>

List of all members.

Public Attributes

IDirect3DTexture9 * pTexture
 the texture
bool multipleLevel
 does it have mutiple resolution levels?
D3DCOLOR transparent
 what's the default transparent color
unsigned count
 number if references
D3DXIMAGE_INFO imageInfo
 information about the texture
std::wstring filename
 the file that this texture points to
bool saved
 true if the texture is saved in its current format


Detailed Description

Much like the font info structure in the font class, this holds information about the textures used in DXFramework.

Definition at line 37 of file dxf_texture.h.


Member Data Documentation

unsigned dxf::TextureInfo::count

number if references

Definition at line 41 of file dxf_texture.h.

Referenced by dxf::Texture::CreateFromFile(), dxf::Texture::CreateNew(), and dxf::Texture::Unload().

std::wstring dxf::TextureInfo::filename

the file that this texture points to

Definition at line 43 of file dxf_texture.h.

Referenced by dxf::Texture::CreateFromFile(), dxf::Texture::CreateNew(), dxf::Texture::GetFilename(), and dxf::Texture::SaveToFile().

D3DXIMAGE_INFO dxf::TextureInfo::imageInfo

information about the texture

Definition at line 42 of file dxf_texture.h.

Referenced by dxf::Texture::Bar(), dxf::Texture::CreateFromFile(), dxf::Texture::CreateNew(), dxf::Texture::GetHeight(), dxf::Texture::GetPixel(), dxf::Texture::GetWidth(), and dxf::Texture::PutPixel().

bool dxf::TextureInfo::multipleLevel

does it have mutiple resolution levels?

Definition at line 39 of file dxf_texture.h.

Referenced by dxf::Texture::BeginDrawing(), dxf::Texture::CreateFromFile(), dxf::Texture::CreateNew(), dxf::Texture::EndDrawing(), and dxf::Texture::SaveToFile().

IDirect3DTexture9* dxf::TextureInfo::pTexture

the texture

Definition at line 38 of file dxf_texture.h.

Referenced by dxf::Texture::BeginDrawing(), dxf::Texture::CreateFromFile(), dxf::Texture::CreateNew(), dxf::Texture::EndDrawing(), dxf::Texture::GetD3DTexture(), dxf::Texture::SaveToFile(), and dxf::Texture::Unload().

bool dxf::TextureInfo::saved

true if the texture is saved in its current format

Definition at line 44 of file dxf_texture.h.

Referenced by dxf::Texture::CreateFromFile(), and dxf::Texture::CreateNew().

D3DCOLOR dxf::TextureInfo::transparent

what's the default transparent color

Definition at line 40 of file dxf_texture.h.

Referenced by dxf::Texture::CreateFromFile(), and dxf::Texture::CreateNew().


The documentation for this struct was generated from the following file:
Generated on Fri Aug 18 12:01:29 2006 for DXFramework by  doxygen 1.4.7