Texture2D.PixelFormat 枚举

模块: cc

The texture pixel format, default value is RGBA8888, you should note that textures loaded by normal image files (png, jpg) can only support RGBA8888 format, other formats are supported by compressed file types or raw data.

索引

  • RGB565
  • RGB5A1
  • RGBA4444
  • RGB888
  • RGBA8888
  • A8
  • I8
  • AI88

Details

RGB565

16-bit texture without Alpha channel

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:67
RGB5A1

16-bit textures: RGB5A1

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:74
RGBA4444

16-bit textures: RGBA4444

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:81
RGB888

24-bit texture: RGB888

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:88
RGBA8888

32-bit texture: RGBA8888

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:95
A8

8-bit textures used as masks

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:102
I8

8-bit intensity texture

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:109
AI88

16-bit textures used as masks

meta description
类型 Number
定义于 cocos2d/core/assets/CCTexture2D.js:116

results matching ""

    No results matching ""