#import <CC3PVRTexture.h>
A helper class used by the CC3PVRTexture class cluster during the loading of a texture from a PVR file using the PowerVR library.
- (id) initFromFile: |
|
(NSString *) |
filePath |
|
Initializes this instance by loaded content from the specified PVR file.
The specified file path may be either an absolute path, or a path relative to the application resource directory. If the file is located directly in the application resources directory, the specified file path can simply be the name of the file.
Returns nil if the file could not be loaded.
Returns whether this texture contains a mipmap.
- (BOOL) hasPremultipliedAlpha |
|
readnonatomicassign |
Returns whether the alpha channel of this texture has already been multiplied into each of the RGB color channels.
Returns whether this texture is a standard two-dimentional texture.
Returns whether this texture is a six-sided cube-map texture.
Returns the pixel format of the texture.
See the pixelFormat property of CC3Texture for the range of possible values.
Returns the pixel data type.
Possible values depend on the value of the pixelFormat property. See the pixelType property of CC3Texture for the range of possible values.
The size of this texture in pixels.
The texture ID used to identify this texture to the GL engine.
The documentation for this class was generated from the following file: