Author Topic: Some issues about Texture.defaultTo4bpp  (Read 1780 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Some issues about Texture.defaultTo4bpp
« on: January 29, 2013, 06:52:28 am »
What does the 4bpp mean? 4 bits per pixel? If so, what's the pixel format? 1111?

Or it means 4 bits per pixel-component?  i.e 4444.

Texture.defaultTo4bpp defined the pixel format of textures in GPU, right? 

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Some issues about Texture.defaultTo4bpp
« Reply #1 on: January 29, 2013, 07:09:11 am »
Yes, it's the format used by the GPU. I either means 4444 or 5551. The engine decides which one you use based on the texture.