public class GLData extends Object
GLData class.| Modifier and Type | Class and Description |
|---|---|
static class |
GLData.API |
static class |
GLData.Profile |
static class |
GLData.ReleaseBehavior |
| Modifier and Type | Field and Description |
|---|---|
int |
accumAlphaSize
The number of bits for the alpha accumulator color channel.
|
int |
accumBlueSize
The number of bits for the blue accumulator color channel.
|
int |
accumGreenSize
The number of bits for the green accumulator color channel.
|
int |
accumRedSize
The number of bits for the red accumulator color channel.
|
int |
alphaSize
The number of bits for the alpha color channel.
|
GLData.API |
api
The client API to use.
|
int |
blueSize
The number of bits for the blue color channel.
|
int |
colorSamplesNV
The number of color samples per pixel.
|
GLData.ReleaseBehavior |
contextReleaseBehavior
Specify the behavior on context switch.
|
boolean |
contextResetIsolation
When
robustness is true and loseContextOnReset is true then this specifies whether a graphics reset only affects
the current application and no other application in the system. |
boolean |
debug
Whether a debug context should be requested.
|
int |
depthSize
The number of bits for the depth channel.
|
boolean |
doubleBuffer
Whether to use double-buffering.
|
boolean |
forwardCompatible
Whether a forward-compatible context should be created.
|
int |
greenSize
The number of bits for the green color channel.
|
boolean |
loseContextOnReset
When
robustness is true then this specifies whether a GL_LOSE_CONTEXT_ON_RESET_ARB reset notification is sent, as described by GL_ARB_robustness. |
int |
majorVersion
The major GL context version to use.
|
int |
minorVersion
The minor GL context version to use.
|
boolean |
noErrorContext
Whether to use a "no error" context, as described in
ARB_create_context_no_error
and KHR_no_error.
|
boolean |
pixelFormatFloat
Whether to use a floating point pixel format.
|
GLData.Profile |
profile
The profile to use.
|
int |
redSize
The number of bits for the red color channel.
|
boolean |
robustness
Whether robust buffer access should be used.
|
int |
sampleBuffers
This is ignored.
|
int |
samples
The number of (coverage) samples for multisampling.
|
GLCanvas |
shareContext
The
GLCanvas whose context objects should be shared with the context created using this GLData. |
boolean |
sRGB
Whether to use sRGB color space.
|
int |
stencilSize
The number of bits for the stencil channel.
|
boolean |
stereo
Whether to use different LEFT and RIGHT backbuffers for stereo rendering.
|
int |
swapBarrierNV
The swap barrier index.
|
int |
swapGroupNV
The swap group index.
|
Integer |
swapInterval
Set the swap interval.
|
| Constructor and Description |
|---|
GLData() |
public boolean doubleBuffer
true.public boolean stereo
false.public int redSize
public int greenSize
public int blueSize
public int alphaSize
public int depthSize
public int stencilSize
public int accumRedSize
public int accumGreenSize
public int accumBlueSize
public int accumAlphaSize
public int sampleBuffers
samples is set to a value greater than or equal to 1.public int samples
public GLCanvas shareContext
GLCanvas whose context objects should be shared with the context created using this GLData.public int majorVersion
public int minorVersion
majorVersion is 0 this field is unused.public boolean forwardCompatible
majorVersion.minorVersion) is at least 3.2.public GLData.Profile profile
majorVersion.minorVersion) is at least 3.0.public GLData.API api
OpenGL for Desktop.public boolean debug
public Integer swapInterval
null for "not specified".public boolean sRGB
public boolean pixelFormatFloat
public GLData.ReleaseBehavior contextReleaseBehavior
null for "not specified".public int colorSamplesNV
samples is at least 1.public int swapGroupNV
public int swapBarrierNV
public boolean robustness
public boolean loseContextOnReset
robustness is true then this specifies whether a GL_LOSE_CONTEXT_ON_RESET_ARB reset notification is sent, as described by GL_ARB_robustness.public boolean contextResetIsolation
robustness is true and loseContextOnReset is true then this specifies whether a graphics reset only affects
the current application and no other application in the system.public boolean noErrorContext
false.Copyright © 2016–2021 LWJGLX. All rights reserved.