SPPVRData Class Reference
| Inherits from | NSObject |
| Declared in | SPPVRData.h |
Tasks
Initialization
-
– initWithData:Initializes the object with uncompressed PVR data.
-
– initWithData:compressed:Initialzes the object with PVR data that’s optional GZIP compressed.
Properties
-
widthThe width of the PVR texture in pixels.
property -
heightThe height of the PVR texture in pixels.
property -
numMipmapsThe number of mipmaps that’s included in the PVR texture.
property -
formatThe texture format of the PVR texture.
property -
imageDataA pointer to the raw image data of the PVR data.
property
Properties
format
The texture format of the PVR texture.
@property (nonatomic, readonly) SPTextureFormat formatDiscussion
The texture format of the PVR texture.
Declared In
SPPVRData.hheight
The height of the PVR texture in pixels.
@property (nonatomic, readonly) int heightDiscussion
The height of the PVR texture in pixels.
Declared In
SPPVRData.himageData
A pointer to the raw image data of the PVR data.
@property (nonatomic, readonly) void *imageDataDiscussion
A pointer to the raw image data of the PVR data.
Declared In
SPPVRData.h