반응형

TEXTURE FORMATS SUPPORTED BY COCOS2D-X

FormatAlphaPixel FormatHardware DecodedMipMapAlpha PremultipliedPlatform
PNGARGB888/RGBA8888/I8/IA88N/AN/AYesAll
JPGN/ARGB888/I8N/AN/AN/AAll
WebPARGBA8888N/AN/ANoAll
TIFFARGBA8888N/AN/AYesAll
TGAARGB5A1/RGB888/RGBA8888/I8N/AN/ANoAll
PVRv2APVRTC2/PVRTC2A/PVRTC4/PVRTC4APowerVR GPUANoiOS
PVRv3APVRTC2/PVRTC2A/PVRTC4/PVRTC4APowerVR GPUAFlag DependentiOS
ETC1N/ARGB888GLES 2.0 GPUN/AN/AAll(SD)
ATITCAATC_RGB/ATC_EXPLICIT_ALPHA/ATC_INTERPOLATED_ALPHAAdreno GPUANoAll(SD)
S3TCAS3TC_DXT1/S3TC_DXT3/S3TC_DXT5YANoAll(SD)

Note:
A: Available
N/A: Not Available
Yes: Available and Enabled
No: Available and Disabled
SD: Soft Decoder on unsupported platforms

  • The hardware decoded devices may supported more than what listed in the table. Please refer to Configure::support* to check if it is available on the running device.
  • PVR supports more pixel formats in practice, but we are just listing the most common types.
  • For software decoder, the files are always loaded into Texture2D with RGBA8888 decoded.


왠만한 이미지들은 cocos2d-x에서 모두 지원합니다.

저거 이외에 이미지를 로드해야할 이유는 크게 없다고 보는데

가끔 유니티 사용하는 디자이너들이 PSD파일이 바로 로드 되니깐 

즉시 사용하는 경우가 종종 있는데 좋은 방법은 아닌것 같습니다.


반응형

+ Recent posts