Known Direct Subclasses
|
Class Overview
[16:32:42] Ricardo Quesada: "quick tip for PVR + NPOT + RGBA4444 textures: Don't forget to pack the bytes: glPixelStorei(GL_UNPACK_ALIGNMENT,1);"
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
See Also
- https://github.com/cocos2d/cocos2d-iphone/blob/develop/cocos2d/CCTexturePVR.m
Summary
Nested Classes |
enum |
PVRTexture.PVRTextureFormat |
|
class |
PVRTexture.PVRTextureHeader |
|
Constants
public
static
final
int
FLAG_ALPHA
Constant Value:
32768
(0x00008000)
public
static
final
int
FLAG_BUMPMAP
Constant Value:
1024
(0x00000400)
public
static
final
int
FLAG_CUBEMAP
Constant Value:
4096
(0x00001000)
public
static
final
int
FLAG_FALSEMIPCOL
Constant Value:
8192
(0x00002000)
public
static
final
int
FLAG_MIPMAP
Constant Value:
256
(0x00000100)
public
static
final
int
FLAG_TILING
Constant Value:
2048
(0x00000800)
public
static
final
int
FLAG_TWIDDLE
Constant Value:
512
(0x00000200)
public
static
final
int
FLAG_VERTICALFLIP
Constant Value:
65536
(0x00010000)
public
static
final
int
FLAG_VOLUME
Constant Value:
16384
(0x00004000)
Public Constructors
Public Methods
Protected Methods
protected
void
generateHardwareTextureID
(GL10 pGL)
protected
void
writeTextureToHardware
(GL10 pGL)