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 SummaryFieldsModifier and TypeFieldDescriptionintThe size in bits of the accumulation buffer's alpha channel.intThe size in bits of the accumulation buffer's blue channel.intThe size in bits of the accumulation buffer's green channel.intThe size in bits of the accumulation buffer's red channel.intThe size in bits of the color buffer's alpha channel.intThe size in bits of the color buffer's blue channel.intThe size in bits of the depth buffer.booleanSpecifies a double-buffered surface.intThe size in bits of the color buffer's green channel.intThe size in bits of the color buffer's red channel.intThe number of multisample buffers used by this context.intThe number of samples accepted in the multisample buffer.Another GLCanvas whose texture namespace and display lists should be shared.intThe desired number of stencil bitplanes.booleanSpecifies a stereo surface.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
doubleBufferpublic boolean doubleBufferSpecifies a double-buffered surface. During context creation, only double-buffered formats are considered when set to true.
- 
stereopublic boolean stereoSpecifies a stereo surface. During context creation, only stereo formats are considered when set to true.
- 
redSizepublic int redSizeThe size in bits of the color buffer's red channel. During context creation, this specifies the minimum required red bits.
- 
greenSizepublic int greenSizeThe size in bits of the color buffer's green channel. During context creation, this specifies the minimum required green bits.
- 
blueSizepublic int blueSizeThe size in bits of the color buffer's blue channel. During context creation, this specifies the minimum required blue bits.
- 
alphaSizepublic int alphaSizeThe size in bits of the color buffer's alpha channel. During context creation, this specifies the minimum required alpha bits.
- 
depthSizepublic 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.
- 
stencilSizepublic 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.
- 
accumRedSizepublic int accumRedSizeThe size in bits of the accumulation buffer's red channel. During context creation, this specifies the minimum required red bits.
- 
accumGreenSizepublic int accumGreenSizeThe size in bits of the accumulation buffer's green channel. During context creation, this specifies the minimum required green bits.
- 
accumBlueSizepublic int accumBlueSizeThe size in bits of the accumulation buffer's blue channel. During context creation, this specifies the minimum required blue bits.
- 
accumAlphaSizepublic int accumAlphaSizeThe size in bits of the accumulation buffer's alpha channel. During context creation, this specifies the minimum required alpha bits.
- 
sampleBufferspublic int sampleBuffersThe number of multisample buffers used by this context. During context creation, this specifies the minimum number of multisample buffers requested.
- 
samplespublic 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- 
GLDatapublic GLData()
 
- 
- 
Method Details