What is the purpose of bitdepth for the several components of the framebuffer in glfwWindowHint function of GLFW3?

Posted by Rui d'Orey on Game Development See other posts from Game Development or by Rui d'Orey
Published on 2013-06-24T02:46:38Z Indexed on 2013/06/24 16:39 UTC
Read the original article Hit count: 276

Filed under:
|
|
|

I would like to know what are the following "framebuffer related hints" of GLFW3 function glfwWindowHint :

GLFW_RED_BITS GLFW_GREEN_BITS GLFW_BLUE_BITS GLFW_ALPHA_BITS GLFW_DEPTH_BITS GLFW_STENCIL_BITS

  • What is the purpose of this?
  • Usually their default values are enough?
  • Where are those bits stored? In a buffer in the GPU?
  • What do they affect? And by that I mean in what way

Thank you in advance!

© Game Development or respective owner

Related posts about c++

Related posts about opengl