cocos2d-x  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Textures

Classes

class  CCRenderTexture
 CCRenderTexture is a generic rendering target. More...
 
struct  ccTexParams
 Extension to set the Min / Mag filter. More...
 
class  CCTexture2D
 CCTexture2D class. More...
 
class  CCTextureAtlas
 A class that implements a Texture Atlas. More...
 
class  CCTextureCache
 Singleton that handles the loading of textures Once the texture is loaded, the next time it will return a reference of the previously loaded texture reducing GPU & CPU memory. More...
 
struct  CCPVRMipmap
 Structure which can tell where mipmap begins and how long is it. More...
 
struct  ccPVRTexturePixelFormatInfo
 
class  CCTexturePVR
 CCTexturePVR. More...
 

Enumerations

enum  tCCImageFormat { kCCImageFormatJPEG = 0, kCCImageFormatPNG = 1 }
 
enum  CCTexture2DPixelFormat {
  kCCTexture2DPixelFormat_RGBA8888, kCCTexture2DPixelFormat_RGB888, kCCTexture2DPixelFormat_RGB565, kCCTexture2DPixelFormat_A8,
  kCCTexture2DPixelFormat_I8, kCCTexture2DPixelFormat_AI88, kCCTexture2DPixelFormat_RGBA4444, kCCTexture2DPixelFormat_RGB5A1,
  kCCTexture2DPixelFormat_PVRTC4, kCCTexture2DPixelFormat_PVRTC2, kCCTexture2DPixelFormat_Default = kCCTexture2DPixelFormat_RGBA8888, kTexture2DPixelFormat_RGBA8888 = kCCTexture2DPixelFormat_RGBA8888,
  kTexture2DPixelFormat_RGB888 = kCCTexture2DPixelFormat_RGB888, kTexture2DPixelFormat_RGB565 = kCCTexture2DPixelFormat_RGB565, kTexture2DPixelFormat_A8 = kCCTexture2DPixelFormat_A8, kTexture2DPixelFormat_RGBA4444 = kCCTexture2DPixelFormat_RGBA4444,
  kTexture2DPixelFormat_RGB5A1 = kCCTexture2DPixelFormat_RGB5A1, kTexture2DPixelFormat_Default = kCCTexture2DPixelFormat_Default
}
 Possible texture pixel formats. More...
 
enum  { CC_PVRMIPMAP_MAX = 16 }
 Determine how many mipmaps can we have. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum

Determine how many mipmaps can we have.

Its same as define but it respects namespaces

Enumerator
CC_PVRMIPMAP_MAX 
var enum

Determine how many mipmaps can we have.

Its same as define but it respects namespaces

Enumerator
CC_PVRMIPMAP_MAX 
local enum

Determine how many mipmaps can we have.

Its same as define but it respects namespaces

Enumerator
CC_PVRMIPMAP_MAX 
enum CCTexture2DPixelFormat

Possible texture pixel formats.

Enumerator
kCCTexture2DPixelFormat_RGBA8888 

32-bit texture: RGBA8888

kCCTexture2DPixelFormat_RGB888 

24-bit texture: RGBA888

kCCTexture2DPixelFormat_RGB565 

16-bit texture without Alpha channel

kCCTexture2DPixelFormat_A8 

8-bit textures used as masks

kCCTexture2DPixelFormat_I8 

8-bit intensity texture

kCCTexture2DPixelFormat_AI88 

16-bit textures used as masks

kCCTexture2DPixelFormat_RGBA4444 

16-bit textures: RGBA4444

kCCTexture2DPixelFormat_RGB5A1 

16-bit textures: RGB5A1

kCCTexture2DPixelFormat_PVRTC4 

4-bit PVRTC-compressed texture: PVRTC4

kCCTexture2DPixelFormat_PVRTC2 

2-bit PVRTC-compressed texture: PVRTC2

kCCTexture2DPixelFormat_Default 

Default texture format: RGBA8888.

kTexture2DPixelFormat_RGBA8888 
kTexture2DPixelFormat_RGB888 
kTexture2DPixelFormat_RGB565 
kTexture2DPixelFormat_A8 
kTexture2DPixelFormat_RGBA4444 
kTexture2DPixelFormat_RGB5A1 
kTexture2DPixelFormat_Default 
var CCTexture2DPixelFormat

Possible texture pixel formats.

Enumerator
kCCTexture2DPixelFormat_RGBA8888 

32-bit texture: RGBA8888

kCCTexture2DPixelFormat_RGB888 

24-bit texture: RGBA888

kCCTexture2DPixelFormat_RGB565 

16-bit texture without Alpha channel

kCCTexture2DPixelFormat_A8 

8-bit textures used as masks

kCCTexture2DPixelFormat_I8 

8-bit intensity texture

kCCTexture2DPixelFormat_AI88 

16-bit textures used as masks

kCCTexture2DPixelFormat_RGBA4444 

16-bit textures: RGBA4444

kCCTexture2DPixelFormat_RGB5A1 

16-bit textures: RGB5A1

kCCTexture2DPixelFormat_PVRTC4 

4-bit PVRTC-compressed texture: PVRTC4

kCCTexture2DPixelFormat_PVRTC2 

2-bit PVRTC-compressed texture: PVRTC2

kCCTexture2DPixelFormat_Default 

Default texture format: RGBA8888.

kTexture2DPixelFormat_RGBA8888 
kTexture2DPixelFormat_RGB888 
kTexture2DPixelFormat_RGB565 
kTexture2DPixelFormat_A8 
kTexture2DPixelFormat_RGBA4444 
kTexture2DPixelFormat_RGB5A1 
kTexture2DPixelFormat_Default 
local CCTexture2DPixelFormat

Possible texture pixel formats.

Enumerator
kCCTexture2DPixelFormat_RGBA8888 

32-bit texture: RGBA8888

kCCTexture2DPixelFormat_RGB888 

24-bit texture: RGBA888

kCCTexture2DPixelFormat_RGB565 

16-bit texture without Alpha channel

kCCTexture2DPixelFormat_A8 

8-bit textures used as masks

kCCTexture2DPixelFormat_I8 

8-bit intensity texture

kCCTexture2DPixelFormat_AI88 

16-bit textures used as masks

kCCTexture2DPixelFormat_RGBA4444 

16-bit textures: RGBA4444

kCCTexture2DPixelFormat_RGB5A1 

16-bit textures: RGB5A1

kCCTexture2DPixelFormat_PVRTC4 

4-bit PVRTC-compressed texture: PVRTC4

kCCTexture2DPixelFormat_PVRTC2 

2-bit PVRTC-compressed texture: PVRTC2

kCCTexture2DPixelFormat_Default 

Default texture format: RGBA8888.

kTexture2DPixelFormat_RGBA8888 
kTexture2DPixelFormat_RGB888 
kTexture2DPixelFormat_RGB565 
kTexture2DPixelFormat_A8 
kTexture2DPixelFormat_RGBA4444 
kTexture2DPixelFormat_RGB5A1 
kTexture2DPixelFormat_Default 
enum tCCImageFormat
Enumerator
kCCImageFormatJPEG 
kCCImageFormatPNG 
var tCCImageFormat
Enumerator
kCCImageFormatJPEG 
kCCImageFormatPNG 
local tCCImageFormat
Enumerator
kCCImageFormatJPEG 
kCCImageFormatPNG