Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Internal format base type for GL_RGBA8

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    15

    Question Internal format base type for GL_RGBA8

    Hi All,

    In the documentation for glTexBuffer, the base type of GL_RGBA8 is uint. Is this correct?
    If so, how can a GL_RGBA8 be the same type as GL_RGBA32UI?

    Thanks,

    Carlos.

  2. #2
    Member Regular Contributor Nowhere-01's Avatar
    Join Date
    Feb 2011
    Location
    Novosibirsk
    Posts
    251
    for me it looks like mistype. because GL_RGBA8I is byte. and calling uint format GL_RGBA8 doesn't make much sense. it should be unsigned byte.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    No it doesn't. See? It says right there that it's ubyte, just like the spec. I didn't just change that in the last 5 minutes either; it's always been that way. Totally.

    Anyway, if you want the "official" documentation fixed, you'll have to file a bug on it.

  4. #4
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    15
    Ok, that has sense for me.

    Thanks,
    Carlos.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •