예제 #1
0
 public static bool SetPixelFormat(IntPtr deviceContext,
                                   int pixelFormat,
                                   ref PixelFormatDescriptor pixelFormatDescriptor)
 {
     LoadLibrary("opengl32.dll");
     return(_SetPixelFormat(deviceContext, pixelFormat, ref pixelFormatDescriptor));
 }
예제 #2
0
 private static extern bool _SetPixelFormat(IntPtr deviceContext,
                                            int pixelFormat,
                                            ref PixelFormatDescriptor pixelFormatDescriptor);
예제 #3
0
 public static extern int ChoosePixelFormat(IntPtr deviceContext, ref PixelFormatDescriptor pixelFormatDescriptor);