Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ARB_Multisample.cpp File Reference

#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include "arb_multisample.h"

Go to the source code of this file.

Defines

#define WGL_SAMPLE_BUFFERS_ARB   0x2041
#define WGL_SAMPLES_ARB   0x2042

Functions

bool WGLisExtensionSupported (const char *extension)
bool InitMultisample (HINSTANCE hInstance, HWND hWnd, PIXELFORMATDESCRIPTOR pfd)

Variables

bool arbMultisampleSupported = false
int arbMultisampleFormat = 0


Define Documentation

#define WGL_SAMPLE_BUFFERS_ARB   0x2041
 

Definition at line 18 of file ARB_Multisample.cpp.

Referenced by InitMultisample(), and OpenGL_InitMultisample().

#define WGL_SAMPLES_ARB   0x2042
 

Definition at line 19 of file ARB_Multisample.cpp.

Referenced by InitMultisample(), and OpenGL_InitMultisample().


Function Documentation

bool InitMultisample HINSTANCE  hInstance,
HWND  hWnd,
PIXELFORMATDESCRIPTOR  pfd
 

Definition at line 65 of file ARB_Multisample.cpp.

References arbMultisampleFormat, arbMultisampleSupported, HDC(), WGL_ACCELERATION_ARB, WGL_ALPHA_BITS_ARB, WGL_COLOR_BITS_ARB, WGL_DEPTH_BITS_ARB, WGL_DOUBLE_BUFFER_ARB, WGL_DRAW_TO_WINDOW_ARB, WGL_FULL_ACCELERATION_ARB, WGL_SAMPLE_BUFFERS_ARB, WGL_SAMPLES_ARB, WGL_STENCIL_BITS_ARB, WGL_SUPPORT_OPENGL_ARB, and WGLisExtensionSupported().

bool WGLisExtensionSupported const char *  extension  ) 
 

Definition at line 25 of file ARB_Multisample.cpp.

References HDC(), and p.

Referenced by InitMultisample().


Variable Documentation

int arbMultisampleFormat = 0
 

Definition at line 22 of file ARB_Multisample.cpp.

Referenced by InitMultisample().

bool arbMultisampleSupported = false
 

Definition at line 21 of file ARB_Multisample.cpp.

Referenced by InitMultisample().


Generated on Fri Aug 20 19:19:53 2004 for 3d Controls by doxygen 1.3.6