Wednesday, 15 February 2012

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


I want to know that "the GLFW3 function Frembfr related signal" what glfwWindowHint:

  • GLFW_GREEN_BITS
  • GLFW_BLUE_BITS
  • GLFW_ALPHA_BITS
  • GLFW_DEPTH_BITS
  • GLFW_STENCIL_BITS

    what is the purpose? Usually their default values ​​are enough?

    You can request that the OS give you the GL reference at least With that r / g / b / alpha / depth / many pieces of stencil it can give you more.

    If you do not set a clear value for each signal GLFW.

    Some (most? All)? GL implementations give you no alpha / depth / stencil bits unless you specifically ask for them.

    You will almost certainly get some color bits.

No comments:

Post a Comment