Files
milsko/include/Mw/OpenGL.h
NishiOwO f8293f235c add the thing
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@92 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-01 05:55:19 +00:00

46 lines
749 B
C

/* $Id$ */
/*!
* %file Mw/OpenGL.h
* %brief OpenGL widget
*/
#ifndef __MW_OPENGL_H__
#define __MW_OPENGL_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* %brief OpenGL widget class
*/
MWDECL MwClass MwOpenGLClass;
/*!
* %brief Make a widget current OpenGL context
* %param handle Widget
*/
MWDECL void MwOpenGLMakeCurrent(MwWidget handle);
/*!
* %brief Get a procedure from OpenGL
* %param handle Widget
* %param name Name
* %return Procedure
*/
MWDECL void* MwOpenGLGetProcAddress(MwWidget handle, const char* name);
/*!
* %brief Swaps the buffer of OpenGL context
* %param handle Widget
*/
MWDECL void MwOpenGLSwapBuffer(MwWidget handle);
#ifdef __cplusplus
}
#endif
#endif