#include <ddsfile.h>
Public Member Functions | |
| DDSFileClass (const char *name, unsigned reduction_factor) | |
| ~DDSFileClass () | |
| unsigned | Get_Width (unsigned level) const |
| unsigned | Get_Height (unsigned level) const |
| unsigned | Get_Depth (unsigned level) const |
| unsigned | Get_Full_Width () const |
| unsigned | Get_Full_Height () const |
| unsigned | Get_Full_Depth () const |
| unsigned long | Get_Date_Time () const |
| unsigned | Get_Mip_Level_Count () const |
| const unsigned char * | Get_Memory_Pointer (unsigned level) const |
| unsigned | Get_Level_Size (unsigned level) const |
| WW3DFormat | Get_Format () const |
| DDSType | Get_Type () const |
| void | Copy_Level_To_Surface (unsigned level, IDirect3DSurface8 *d3d_surface, const Vector3 &hsv_shift=Vector3(0.0f, 0.0f, 0.0f)) |
| void | Copy_Level_To_Surface (unsigned level, WW3DFormat dest_format, unsigned dest_width, unsigned dest_height, unsigned char *dest_surface, unsigned dest_pitch, const Vector3 &hsv_shift=Vector3(0.0f, 0.0f, 0.0f)) |
| const unsigned char * | Get_CubeMap_Memory_Pointer (unsigned face, unsigned level) const |
| void | Copy_CubeMap_Level_To_Surface (unsigned face, unsigned level, WW3DFormat dest_format, unsigned width, unsigned height, unsigned char *surf, unsigned pitch, const Vector3 &hsv_shift=Vector3(0.0f, 0.0f, 0.0f)) |
| const unsigned char * | Get_Volume_Memory_Pointer (unsigned level) const |
| void | Copy_Volume_Level_To_Surface (unsigned level, unsigned depth, WW3DFormat dest_format, unsigned width, unsigned height, unsigned char *vol, unsigned row_pitch, unsigned slice_pitch, const Vector3 &hsv_shift=Vector3(0.0f, 0.0f, 0.0f)) |
| unsigned | Get_Pixel (unsigned level, unsigned x, unsigned y) const |
| bool | Get_4x4_Block (unsigned char *dest_ptr, unsigned dest_pitch, WW3DFormat dest_format, unsigned level, unsigned source_x, unsigned source_y, const Vector3 &hsv_shift=Vector3(0.0f, 0.0f, 0.0f)) const |
| bool | Load () |
| bool | Is_Available () const |
| DDSFileClass::DDSFileClass | ( | const char * | name, |
| unsigned | reduction_factor ) |
Definition at line 39 of file ddsfile.cpp.
| DDSFileClass::~DDSFileClass | ( | ) |
Definition at line 188 of file ddsfile.cpp.
| void DDSFileClass::Copy_CubeMap_Level_To_Surface | ( | unsigned | face, |
| unsigned | level, | ||
| WW3DFormat | dest_format, | ||
| unsigned | width, | ||
| unsigned | height, | ||
| unsigned char * | surf, | ||
| unsigned | pitch, | ||
| const Vector3 & | hsv_shift = Vector3(0.0f,0.0f,0.0f) ) |
Definition at line 527 of file ddsfile.cpp.
| void DDSFileClass::Copy_Level_To_Surface | ( | unsigned | level, |
| IDirect3DSurface8 * | d3d_surface, | ||
| const Vector3 & | hsv_shift = Vector3(0.0f,0.0f,0.0f) ) |
Definition at line 343 of file ddsfile.cpp.
| void DDSFileClass::Copy_Level_To_Surface | ( | unsigned | level, |
| WW3DFormat | dest_format, | ||
| unsigned | dest_width, | ||
| unsigned | dest_height, | ||
| unsigned char * | dest_surface, | ||
| unsigned | dest_pitch, | ||
| const Vector3 & | hsv_shift = Vector3(0.0f,0.0f,0.0f) ) |
Definition at line 377 of file ddsfile.cpp.
| void DDSFileClass::Copy_Volume_Level_To_Surface | ( | unsigned | level, |
| unsigned | depth, | ||
| WW3DFormat | dest_format, | ||
| unsigned | width, | ||
| unsigned | height, | ||
| unsigned char * | vol, | ||
| unsigned | row_pitch, | ||
| unsigned | slice_pitch, | ||
| const Vector3 & | hsv_shift = Vector3(0.0f,0.0f,0.0f) ) |
Definition at line 696 of file ddsfile.cpp.
| bool DDSFileClass::Get_4x4_Block | ( | unsigned char * | dest_ptr, |
| unsigned | dest_pitch, | ||
| WW3DFormat | dest_format, | ||
| unsigned | level, | ||
| unsigned | source_x, | ||
| unsigned | source_y, | ||
| const Vector3 & | hsv_shift = Vector3(0.0f,0.0f,0.0f) ) const |
Definition at line 1043 of file ddsfile.cpp.
| const unsigned char * DDSFileClass::Get_CubeMap_Memory_Pointer | ( | unsigned | face, |
| unsigned | level ) const |
Definition at line 517 of file ddsfile.cpp.
|
inline |
| unsigned DDSFileClass::Get_Depth | ( | unsigned | level | ) | const |
Definition at line 211 of file ddsfile.cpp.
|
inline |
| unsigned DDSFileClass::Get_Height | ( | unsigned | level | ) | const |
Definition at line 203 of file ddsfile.cpp.
| unsigned DDSFileClass::Get_Level_Size | ( | unsigned | level | ) | const |
Definition at line 225 of file ddsfile.cpp.
| const unsigned char * DDSFileClass::Get_Memory_Pointer | ( | unsigned | level | ) | const |
Definition at line 219 of file ddsfile.cpp.
|
inline |
| unsigned DDSFileClass::Get_Pixel | ( | unsigned | level, |
| unsigned | x, | ||
| unsigned | y ) const |
Definition at line 913 of file ddsfile.cpp.
| const unsigned char * DDSFileClass::Get_Volume_Memory_Pointer | ( | unsigned | level | ) | const |
Definition at line 691 of file ddsfile.cpp.
| unsigned DDSFileClass::Get_Width | ( | unsigned | level | ) | const |
Definition at line 195 of file ddsfile.cpp.
| bool DDSFileClass::Load | ( | ) |
Definition at line 258 of file ddsfile.cpp.