Urho3D::CompressedLevel Struct Reference

Compressed image mip level. More...

#include <Urho3D/Resource/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_
 Width.
 
int height_
 Height.
 
int depth_
 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:
  • Source/Urho3D/Resource/Image.h
  • Source/Urho3D/Resource/Image.cpp