Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

SDL.glAttr

OpenGL attributes.

Enum

SYNOPSIS

SDL.glAttr = {
    RedSize,
    GreenSize,
    BlueSize,
    AlphaSize,
    BufferSize,
    DoubleBuffer,
    DepthSize,
    StencilSize,
    AccumRedSize,
    AccumGreenSize,
    AccumBlueSize,
    AccumAlphaSize,
    Stereo,
    MultiSampleBuffers,
    MultiSampleSamples,
    AcceleratedVisual,
    RetainedBacking,
    ContextMajorVersion,
    ContextMinorVersion,
    ContextEGL,
    ContextFlags,
    ContextProfileMask,
    ShareWithCurrentContext,
    FramebufferSRGBCapable
}

VALUES

  • RedSize, SDL_GL_RED_SIZE
  • GreenSize, SDL_GL_GREEN_SIZE
  • BlueSize, SDL_GL_BLUE_SIZE
  • AlphaSize, SDL_GL_ALPHA_SIZE
  • BufferSize, SDL_GL_BUFFER_SIZE
  • DoubleBuffer, SDL_GL_DOUBLEBUFFER
  • DepthSize, SDL_GL_DEPTH_SIZE
  • StencilSize, SDL_GL_STENCIL_SIZE
  • AccumRedSize, SDL_GL_ACCUM_RED_SIZE
  • AccumGreenSize, SDL_GL_ACCUM_GREEN_SIZE
  • AccumBlueSize, SDL_GL_ACCUM_BLUE_SIZE
  • AccumAlphaSize, SDL_GL_ACCUM_ALPHA_SIZE
  • Stereo, SDL_GL_STEREO
  • MultiSampleBuffers, SDL_GL_MULTISAMPLEBUFFERS
  • MultiSampleSamples, SDL_GL_MULTISAMPLESAMPLES
  • AcceleratedVisual, SDL_GL_ACCELERATED_VISUAL
  • RetainedBacking, SDL_GL_RETAINED_BACKING
  • ContextMajorVersion, SDL_GL_CONTEXT_MAJOR_VERSION
  • ContextMinorVersion, SDL_GL_CONTEXT_MINOR_VERSION
  • ContextEGL, SDL_GL_CONTEXT_EGL
  • ContextFlags, SDL_GL_CONTEXT_FLAGS
  • ContextProfileMask, SDL_GL_CONTEXT_PROFILE_MASK
  • ShareWithCurrentContext, SDL_GL_SHARE_WITH_CURRENT_CONTEXT
  • FramebufferSRGBCapable, SDL_GL_FRAMEBUFFER_SRGB_CAPABLE
Clone this wiki locally