GLData

The GLData class is a device-independent description of the pixel format attributes of a GL drawable.

@see GLCanvas @see <a href="http://www.eclipse.org/swt/snippets/#opengl">OpenGL snippets</a> @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>

@since 3.2

Members

Functions

toString
String toString()

Returns a string containing a concise, human-readable description of the receiver.

Variables

accumAlphaSize
int accumAlphaSize;

The size in bits of the accumulation buffer's alpha channel. During context creation, this specifies the minimum required alpha bits.

accumBlueSize
int accumBlueSize;

The size in bits of the accumulation buffer's blue channel. During context creation, this specifies the minimum required blue bits.

accumGreenSize
int accumGreenSize;

The size in bits of the accumulation buffer's green channel. During context creation, this specifies the minimum required green bits.

accumRedSize
int accumRedSize;

The size in bits of the accumulation buffer's red channel. During context creation, this specifies the minimum required red bits.

alphaSize
int alphaSize;

The size in bits of the color buffer's alpha channel. During context creation, this specifies the minimum required alpha bits.

blueSize
int blueSize;

The size in bits of the color buffer's blue channel. During context creation, this specifies the minimum required blue bits.

depthSize
int depthSize;

The size in bits of the depth buffer. During context creation, the smallest depth buffer of at least the specified value is preferred, or zero for no depth buffer.

doubleBuffer
bool doubleBuffer;

Specifies a double-buffered surface. During context creation, only double-buffered formats are considered when set to true.

greenSize
int greenSize;

The size in bits of the color buffer's green channel. During context creation, this specifies the minimum required green bits.

redSize
int redSize;

The size in bits of the color buffer's red channel. During context creation, this specifies the minimum required red bits.

sampleBuffers
int sampleBuffers;

The number of multisample buffers used by this context. During context creation, this specifies the minimum number of multisample buffers requested.

samples
int samples;

The number of samples accepted in the multisample buffer. During creation, pixel formats with the smallest number of samples that meets or exceeds the specified minimum number are preferred.

stencilSize
int stencilSize;

The desired number of stencil bitplanes. During context creation, the smallest stencil buffer of at least the specified value is preferred, or zero for no stencil buffer.

stereo
bool stereo;

Specifies a stereo surface. During context creation, only stereo formats are considered when set to true.

Meta