KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > opengl > win32 > PIXELFORMATDESCRIPTOR


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.internal.opengl.win32;
12
13
14 public class PIXELFORMATDESCRIPTOR {
15     public short nSize;
16     public short nVersion;
17     public int dwFlags;
18     public byte iPixelType;
19     public byte cColorBits;
20     public byte cRedBits;
21     public byte cRedShift;
22     public byte cGreenBits;
23     public byte cGreenShift;
24     public byte cBlueBits;
25     public byte cBlueShift;
26     public byte cAlphaBits;
27     public byte cAlphaShift;
28     public byte cAccumBits;
29     public byte cAccumRedBits;
30     public byte cAccumGreenBits;
31     public byte cAccumBlueBits;
32     public byte cAccumAlphaBits;
33     public byte cDepthBits;
34     public byte cStencilBits;
35     public byte cAuxBuffers;
36     public byte iLayerType;
37     public byte bReserved;
38     public int dwLayerMask;
39     public int dwVisibleMask;
40     public int dwDamageMask;
41     public static final int sizeof = 40;
42 }
43
Popular Tags