Crate offscreen_gl_context
source ·Structs
This structure represents an offscreen context
draw buffer. It has a framebuffer, with at least
color renderbuffer (alpha or not). It may also have
packed or independent depth or stencil buffers,
depending on context requirements.
This is a wrapper over a native headless GL context
This structure represents the attributes the context must support
It’s almost (if not) identical to WebGLGLContextAttributes
This is a cross-platform struct, that every GLContext implementation
should have under the field
capabilities
, as a public field
This should allow us to know the capabilities of a given
GLContext without repeating the same code over and overThis structure is here to allow
cross-platform formatting
Enums
Describes the OpenGL version that is requested when a context is created.