CCTexturePixelFormat Constants Reference

Declared in CCTexture.h

CCTexturePixelFormat

Possible texture pixel formats. Used by various rendering components, including CCTexture, CCRenderTexture, CCEffectNode.

Constants

CCTexturePixelFormat_RGBA8888

! 32-bit texture: RGBA8888

Declared In CCTexture.h.

CCTexturePixelFormat_RGB888

! 32-bit texture without Alpha channel. Don’t use it.

Declared In CCTexture.h.

CCTexturePixelFormat_RGB565

! 16-bit texture without Alpha channel

Declared In CCTexture.h.

CCTexturePixelFormat_A8

! 8-bit textures used as masks

Declared In CCTexture.h.

CCTexturePixelFormat_I8

! 8-bit intensity texture

Declared In CCTexture.h.

CCTexturePixelFormat_AI88

! 16-bit textures used as masks

Declared In CCTexture.h.

CCTexturePixelFormat_RGBA4444

! 16-bit textures: RGBA4444

Declared In CCTexture.h.

CCTexturePixelFormat_RGB5A1

! 16-bit textures: RGB5A1

Declared In CCTexture.h.

CCTexturePixelFormat_PVRTC4

! 4-bit PVRTC-compressed texture: PVRTC4

Declared In CCTexture.h.

CCTexturePixelFormat_PVRTC2

! 2-bit PVRTC-compressed texture: PVRTC2

Declared In CCTexture.h.

CCTexturePixelFormat_BGRA8888

! 32-bit texture: BGRA8888

Declared In CCTexture.h.

CCTexturePixelFormat_Default

! Default texture format: RGBA8888

Declared In CCTexture.h.

Declared In

CCTexture.h