memory usage for 16-bit texture

This topic contains 1 reply, has 2 voices, and was last updated by  Xmas 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #30277


    If you create a 16-bit texture using:

            glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, m_texWidth, m_texHeight,

                0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, outPixel16);

    Is the GPU really using 2 bytes per pixel, or does it just convert everything to 32bit internally?



    POWERVR GPUs natively support RGBA4444, so yes, it should be 2 bytes per pixel.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.