mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 18:15:10 +00:00
Documentation work
[ci skip]
This commit is contained in:
parent
33c68a24a0
commit
bc713dabc4
@ -912,9 +912,9 @@ window's context supports robustness, or `GLFW_NO_ROBUSTNESS` otherwise.
|
|||||||
|
|
||||||
@subsubsection window_attribs_fb Framebuffer related attributes
|
@subsubsection window_attribs_fb Framebuffer related attributes
|
||||||
|
|
||||||
The attributes of the default framebuffer (i.e. the framebuffer attached to the
|
GLFW does not expose attributes of the default framebuffer (i.e. the framebuffer
|
||||||
window) are not provided by this function but can be queried with both OpenGL
|
attached to the window) as these can be queried directly with either OpenGL,
|
||||||
and OpenGL ES.
|
OpenGL ES or Vulkan.
|
||||||
|
|
||||||
If you are using version 3.0 or later of OpenGL or OpenGL ES, the
|
If you are using version 3.0 or later of OpenGL or OpenGL ES, the
|
||||||
`glGetFramebufferAttachmentParameteriv` function can be used to retrieve the
|
`glGetFramebufferAttachmentParameteriv` function can be used to retrieve the
|
||||||
@ -936,8 +936,8 @@ Stencil bits | `GL_STENCIL_BITS` | `GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE`
|
|||||||
MSAA samples | `GL_SAMPLES` | _Not provided by this function_
|
MSAA samples | `GL_SAMPLES` | _Not provided by this function_
|
||||||
|
|
||||||
When calling `glGetFramebufferAttachmentParameteriv`, the red, green, blue and
|
When calling `glGetFramebufferAttachmentParameteriv`, the red, green, blue and
|
||||||
alpha sizes can be queried from the `GL_BACK_LEFT`, while the depth and stencil
|
alpha sizes are queried from the `GL_BACK_LEFT`, while the depth and stencil
|
||||||
sizes can be queried from the `GL_DEPTH` and `GL_STENCIL` attachments,
|
sizes are queried from the `GL_DEPTH` and `GL_STENCIL` attachments,
|
||||||
respectively.
|
respectively.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user