1 /*******************************************************************************
2 * Copyright (c) 2000, 2011 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal.opengl.win32;
17 public class LAYERPLANEDESCRIPTOR {
19 public short nVersion;
21 public byte iPixelType;
22 public byte cColorBits;
24 public byte cRedShift;
25 public byte cGreenBits;
26 public byte cGreenShift;
27 public byte cBlueBits;
28 public byte cBlueShift;
29 public byte cAlphaBits;
30 public byte cAlphaShift;
31 public byte cAccumBits;
32 public byte cAccumRedBits;
33 public byte cAccumGreenBits;
34 public byte cAccumBlueBits;
35 public byte cAccumAlphaBits;
36 public byte cDepthBits;
37 public byte cStencilBits;
38 public byte cAuxBuffers;
39 public byte iLayerPlane;
40 public byte bReserved;
41 public int crTransparent;
42 public static final int sizeof = 36;