U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::CompressedLevel Struct Reference

Compressed image mip level. More...

#include </var/dev/u3d/stable/Source/Urho3D/Resource/Image.h>

Public Member Functions

bool Decompress (unsigned char *dest) const
 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_ {CF_NONE}
 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: