Package org.eclipse.swt.opengl
Class GLData
java.lang.Object
org.eclipse.swt.opengl.GLData
The GLData class is a device-independent description
of the pixel format attributes of a GL drawable.
- Since:
- 3.2
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
The size in bits of the accumulation buffer's alpha channel.int
The size in bits of the accumulation buffer's blue channel.int
The size in bits of the accumulation buffer's green channel.int
The size in bits of the accumulation buffer's red channel.int
The size in bits of the color buffer's alpha channel.int
The size in bits of the color buffer's blue channel.int
The size in bits of the depth buffer.boolean
Specifies a double-buffered surface.int
The size in bits of the color buffer's green channel.int
The size in bits of the color buffer's red channel.int
The number of multisample buffers used by this context.int
The number of samples accepted in the multisample buffer.Another GLCanvas whose texture namespace and display lists should be shared.int
The desired number of stencil bitplanes.boolean
Specifies a stereo surface. -
Constructor Summary
-
Method Summary
-
Field Details
-
doubleBuffer
public boolean doubleBufferSpecifies a double-buffered surface. During context creation, only double-buffered formats are considered when set to true. -
stereo
public boolean stereoSpecifies a stereo surface. During context creation, only stereo formats are considered when set to true. -
redSize
public int redSizeThe size in bits of the color buffer's red channel. During context creation, this specifies the minimum required red bits. -
greenSize
public int greenSizeThe size in bits of the color buffer's green channel. During context creation, this specifies the minimum required green bits. -
blueSize
public int blueSizeThe size in bits of the color buffer's blue channel. During context creation, this specifies the minimum required blue bits. -
alphaSize
public int alphaSizeThe size in bits of the color buffer's alpha channel. During context creation, this specifies the minimum required alpha bits. -
depthSize
public int depthSizeThe 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. -
stencilSize
public int stencilSizeThe 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. -
accumRedSize
public int accumRedSizeThe size in bits of the accumulation buffer's red channel. During context creation, this specifies the minimum required red bits. -
accumGreenSize
public int accumGreenSizeThe size in bits of the accumulation buffer's green channel. During context creation, this specifies the minimum required green bits. -
accumBlueSize
public int accumBlueSizeThe size in bits of the accumulation buffer's blue channel. During context creation, this specifies the minimum required blue bits. -
accumAlphaSize
public int accumAlphaSizeThe size in bits of the accumulation buffer's alpha channel. During context creation, this specifies the minimum required alpha bits. -
sampleBuffers
public int sampleBuffersThe number of multisample buffers used by this context. During context creation, this specifies the minimum number of multisample buffers requested. -
samples
public int samplesThe 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.
-
-
Constructor Details
-
GLData
public GLData()
-
-
Method Details