Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Context Settings General Questions  (Read 1063 times)

0 Members and 1 Guest are viewing this topic.

dtmittal

  • Newbie
  • *
  • Posts: 1
    • View Profile
Context Settings General Questions
« on: December 26, 2018, 04:34:14 am »
Hi, I'm new to SFML and I am just trying to understand what all of the initialization variables mean. What exactly are depth and stencil buffers?

Also, what exactly does 'major version of context to create' (for majorVersion) as well as 'minor version of context to create' (for minorVersion)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Context Settings General Questions
« Reply #1 on: December 26, 2018, 09:05:35 am »
There's nothing specific to SFML here, everything in ContextSettings directly refers to OpenGL stuff. So you can just search "OpenGL depth buffer", or "OpenGL context version", for example, to get detailed explanations.
Laurent Gomila - SFML developer

 

anything