The following uses ctypes to get to the OpenGL 1.5/2.0 functions not exported by PyOpenGL. See GLSL_ARB_Example for an implementation using the OpenGL ARB extensions. from ctypes import * import sys import pygame from pygame.locals import * try: # For OpenGL-ctypes from OpenGL import platform gl = platform.OpenGL except ImportError: try: # For PyOpenGL gl = cdll.LoadLibrary('libGL.so') except OSEr
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く