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
-
width
The width of the PVR texture in pixels.
property -
height
The height of the PVR texture in pixels.
property -
numMipmaps
The number of mipmaps that’s included in the PVR texture.
property -
format
The texture format of the PVR texture.
property -
imageData
A pointer to the raw image data of the PVR data.
property
Properties
format
The texture format of the PVR texture.
@property (nonatomic, readonly) SPTextureFormat format
Discussion
The texture format of the PVR texture.
Declared In
SPPVRData.h
height
The height of the PVR texture in pixels.
@property (nonatomic, readonly) int height
Discussion
The height of the PVR texture in pixels.
Declared In
SPPVRData.h
imageData
A pointer to the raw image data of the PVR data.
@property (nonatomic, readonly) void *imageData
Discussion
A pointer to the raw image data of the PVR data.
Declared In
SPPVRData.h