Top Description Fields Constructors Methods
org.eclipse.swt.opengl

public Class GLData

extends Object
Class Inheritance

The GLData class is a device-independent description of the pixel format attributes of a GL drawable.
Since
3.2
See Also
GLCanvas, OpenGL snippets, Sample code and further information

Field Summary

Modifier and TypeField and Description
public int
accumAlphaSize

The size in bits of the accumulation buffer's alpha channel.

public int
accumBlueSize

The size in bits of the accumulation buffer's blue channel.

public int
accumGreenSize

The size in bits of the accumulation buffer's green channel.

public int
accumRedSize

The size in bits of the accumulation buffer's red channel.

public int
alphaSize

The size in bits of the color buffer's alpha channel.

public int
blueSize

The size in bits of the color buffer's blue channel.

public int
depthSize

The size in bits of the depth buffer.

public boolean
doubleBuffer

Specifies a double-buffered surface.

public int
greenSize

The size in bits of the color buffer's green channel.

public int
redSize

The size in bits of the color buffer's red channel.

public int
sampleBuffers

The number of multisample buffers used by this context.

public int
samples

The number of samples accepted in the multisample buffer.

public GLCanvas
shareContext

Another GLCanvas whose texture namespace and display lists should be shared.

public int
stencilSize

The desired number of stencil bitplanes.

public boolean
stereo

Specifies a stereo surface.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a string representation of the data
toString
()

Overrides java.lang.Object.toString.

Returns a string containing a concise, human-readable description of the receiver.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

accumAlphaSizeback to summary
public int accumAlphaSize

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

accumBlueSizeback to summary
public int accumBlueSize

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

accumGreenSizeback to summary
public int accumGreenSize

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

accumRedSizeback to summary
public int accumRedSize

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

alphaSizeback to summary
public int alphaSize

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

blueSizeback to summary
public int blueSize

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

depthSizeback to summary
public 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.

doubleBufferback to summary
public boolean doubleBuffer

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

greenSizeback to summary
public int greenSize

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

redSizeback to summary
public int redSize

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

sampleBuffersback to summary
public int sampleBuffers

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

samplesback to summary
public 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.

shareContextback to summary
public GLCanvas shareContext

Another GLCanvas whose texture namespace and display lists should be shared.

Since
3.5
stencilSizeback to summary
public 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.

stereoback to summary
public boolean stereo

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

Constructor Detail

GLDataback to summary
public GLData()

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

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

Returns:String

a string representation of the data

Annotations
@Override