Urho3D::CompressedLevel Struct Reference

Compressed image mip level. More...

#include <Image.h>

Public Member Functions

 CompressedLevel ()
 Construct empty.
bool Decompress (unsigned char *dest)
 Decompress to RGBA. The destination buffer required is width * height * 4 bytes. Return true if successful.

Public Attributes

unsigned char * data_
 Compressed image data.
CompressedFormat format_
 Compression format.
int width_
int height_
int depth_
unsigned blockSize_
 Block size in bytes.
unsigned dataSize_
 Total data size in bytes.
unsigned rowSize_
 Row size in bytes.
unsigned rows_
 Number of rows.

Detailed Description

Compressed image mip level.

The documentation for this struct was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Resource/Image.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Resource/Image.cpp