01: /*******************************************************************************
02: * Copyright (c) 2000, 2003 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.opengl.internal.win32;
11:
12: public class PIXELFORMATDESCRIPTOR {
13: public short nSize;
14: public short nVersion;
15: public int dwFlags;
16: public byte iPixelType;
17: public byte cColorBits;
18: public byte cRedBits;
19: public byte cRedShift;
20: public byte cGreenBits;
21: public byte cGreenShift;
22: public byte cBlueBits;
23: public byte cBlueShift;
24: public byte cAlphaBits;
25: public byte cAlphaShift;
26: public byte cAccumBits;
27: public byte cAccumRedBits;
28: public byte cAccumGreenBits;
29: public byte cAccumBlueBits;
30: public byte cAccumAlphaBits;
31: public byte cDepthBits;
32: public byte cStencilBits;
33: public byte cAuxBuffers;
34: public byte iLayerType;
35: public byte bReserved;
36: public int dwLayerMask;
37: public int dwVisibleMask;
38: public int dwDamageMask;
39: public static final int sizeof = 40;
40: }
|