Buffer(type, dimensions, [template]) - Create a new Buffer object
(type) - The format to store data in
(dimensions) - An int or sequence specifying the dimensions of the buffer
[template] - A sequence of matching dimensions to the buffer to be created
which will be used to initialize the Buffer.
If a template is not passed in all fields will be initialized to 0.
The type should be one of GL_BYTE, GL_SHORT, GL_INT, or GL_FLOAT.
If the dimensions are specified as an int a linear buffer will be
created. If a sequence is passed for the dimensions the buffer
will have len(sequence) dimensions, where the size for each dimension
is determined by the value in the sequence at that index.
For example, passing [100, 100] will create a 2 dimensional
square buffer. Passing [16, 16, 32] will create a 3 dimensional
buffer which is twice as deep as it is wide or high.
Int: GL_2D - 1536
Int: GL_2_BYTES - 5127
Int: GL_3D - 1537
Int: GL_3D_COLOR - 1538
Int: GL_3D_COLOR_TEXTURE - 1539
Int: GL_3_BYTES - 5128
Int: GL_4D_COLOR_TEXTURE - 1540
Int: GL_4_BYTES - 5129
Int: GL_ACCUM - 256
Int: GL_ACCUM_ALPHA_BITS - 3419
Int: GL_ACCUM_BLUE_BITS - 3418
Int: GL_ACCUM_BUFFER_BIT - 512
Int: GL_ACCUM_CLEAR_VALUE - 2944
Int: GL_ACCUM_GREEN_BITS - 3417
Int: GL_ACCUM_RED_BITS - 3416
Int: GL_ADD - 260
Int: GL_ALL_ATTRIB_BITS - 1048575
Int: GL_ALPHA - 6406
Int: GL_ALPHA_BIAS - 3357
Int: GL_ALPHA_BITS - 3413
Int: GL_ALPHA_SCALE - 3356
Int: GL_ALPHA_TEST - 3008
Int: GL_ALPHA_TEST_FUNC - 3009
Int: GL_ALPHA_TEST_REF - 3010
Int: GL_ALWAYS - 519
Int: GL_AMBIENT - 4608
Int: GL_AMBIENT_AND_DIFFUSE - 5634
Int: GL_AND - 5377
Int: GL_AND_INVERTED - 5380
Int: GL_AND_REVERSE - 5378
Int: GL_ATTRIB_STACK_DEPTH - 2992
Int: GL_AUTO_NORMAL - 3456
Int: GL_AUX0 - 1033
Int: GL_AUX1 - 1034
Int: GL_AUX2 - 1035
Int: GL_AUX3 - 1036
Int: GL_AUX_BUFFERS - 3072
Int: GL_BACK - 1029
Int: GL_BACK_LEFT - 1026
Int: GL_BACK_RIGHT - 1027
Int: GL_BITMAP - 6656
Int: GL_BITMAP_TOKEN - 1796
Int: GL_BLEND - 3042
Int: GL_BLEND_DST - 3040
Int: GL_BLEND_SRC - 3041
Int: GL_BLUE - 6405
Int: GL_BLUE_BIAS - 3355
Int: GL_BLUE_BITS - 3412
Int: GL_BLUE_SCALE - 3354
Int: GL_BYTE - 5120
Int: GL_CCW - 2305
Int: GL_CLAMP - 10496
Int: GL_CLEAR - 5376
Int: GL_CLIP_PLANE0 - 12288
Int: GL_CLIP_PLANE1 - 12289
Int: GL_CLIP_PLANE2 - 12290
Int: GL_CLIP_PLANE3 - 12291
Int: GL_CLIP_PLANE4 - 12292
Int: GL_CLIP_PLANE5 - 12293
Int: GL_COEFF - 2560
Int: GL_COLOR - 6144
Int: GL_COLOR_BUFFER_BIT - 16384
Int: GL_COLOR_CLEAR_VALUE - 3106
Int: GL_COLOR_INDEX - 6400
Int: GL_COLOR_INDEXES - 5635
Int: GL_COLOR_MATERIAL - 2903
Int: GL_COLOR_MATERIAL_FACE - 2901
Int: GL_COLOR_MATERIAL_PARAMETER - 2902
Int: GL_COLOR_WRITEMASK - 3107
Int: GL_COMPILE - 4864
Int: GL_COMPILE_AND_EXECUTE - 4865
Int: GL_CONSTANT_ATTENUATION - 4615
Int: GL_COPY - 5379
Int: GL_COPY_INVERTED - 5388
Int: GL_COPY_PIXEL_TOKEN - 1798
Int: GL_CULL_FACE - 2884
Int: GL_CULL_FACE_MODE - 2885
Int: GL_CURRENT_BIT - 1
Int: GL_CURRENT_COLOR - 2816
Int: GL_CURRENT_INDEX - 2817
Int: GL_CURRENT_NORMAL - 2818
Int: GL_CURRENT_RASTER_COLOR - 2820
Int: GL_CURRENT_RASTER_DISTANCE - 2825
Int: GL_CURRENT_RASTER_INDEX - 2821
Int: GL_CURRENT_RASTER_POSITION - 2823
Int: GL_CURRENT_RASTER_POSITION_VALID - 2824
Int: GL_CURRENT_RASTER_TEXTURE_COORDS - 2822
Int: GL_CURRENT_TEXTURE_COORDS - 2819
Int: GL_CW - 2304
Int: GL_DECAL - 8449
Int: GL_DECR - 7683
Int: GL_DEPTH - 6145
Int: GL_DEPTH_BIAS - 3359
Int: GL_DEPTH_BITS - 3414
Int: GL_DEPTH_BUFFER_BIT - 256
Int: GL_DEPTH_CLEAR_VALUE - 2931
Int: GL_DEPTH_COMPONENT - 6402
Int: GL_DEPTH_FUNC - 2932
Int: GL_DEPTH_RANGE - 2928
Int: GL_DEPTH_SCALE - 3358
Int: GL_DEPTH_TEST - 2929
Int: GL_DEPTH_WRITEMASK - 2930
Int: GL_DIFFUSE - 4609
Int: GL_DITHER - 3024
Int: GL_DOMAIN - 2562
Int: GL_DONT_CARE - 4352
Int: GL_DOUBLEBUFFER - 3122
Int: GL_DRAW_BUFFER - 3073
Int: GL_DRAW_PIXEL_TOKEN - 1797
Int: GL_DST_ALPHA - 772
Int: GL_DST_COLOR - 774
Int: GL_EDGE_FLAG - 2883
Int: GL_EMISSION - 5632
Int: GL_ENABLE_BIT - 8192
Int: GL_EQUAL - 514
Int: GL_EQUIV - 5385
Int: GL_EVAL_BIT - 65536
Int: GL_EXP - 2048
Int: GL_EXP2 - 2049
Int: GL_EXTENSIONS - 7939
Int: GL_EYE_LINEAR - 9216
Int: GL_EYE_PLANE - 9474
Int: GL_FALSE - 0
Int: GL_FASTEST - 4353
Int: GL_FEEDBACK - 7169
Int: GL_FILL - 6914
Int: GL_FLAT - 7424
Int: GL_FLOAT - 5126
Int: GL_FOG - 2912
Int: GL_FOG_BIT - 128
Int: GL_FOG_COLOR - 2918
Int: GL_FOG_DENSITY - 2914
Int: GL_FOG_END - 2916
Int: GL_FOG_HINT - 3156
Int: GL_FOG_INDEX - 2913
Int: GL_FOG_MODE - 2917
Int: GL_FOG_START - 2915
Int: GL_FRONT - 1028
Int: GL_FRONT_AND_BACK - 1032
Int: GL_FRONT_FACE - 2886
Int: GL_FRONT_LEFT - 1024
Int: GL_FRONT_RIGHT - 1025
Int: GL_GEQUAL - 518
Int: GL_GREATER - 516
Int: GL_GREEN - 6404
Int: GL_GREEN_BIAS - 3353
Int: GL_GREEN_BITS - 3411
Int: GL_GREEN_SCALE - 3352
Int: GL_HINT_BIT - 32768
Int: GL_INCR - 7682
Int: GL_INDEX_BITS - 3409
Int: GL_INDEX_CLEAR_VALUE - 3104
Int: GL_INDEX_MODE - 3120
Int: GL_INDEX_OFFSET - 3347
Int: GL_INDEX_SHIFT - 3346
Int: GL_INDEX_WRITEMASK - 3105
Int: GL_INT - 5124
Int: GL_INVALID_ENUM - 1280
Int: GL_INVALID_OPERATION - 1282
Int: GL_INVALID_VALUE - 1281
Int: GL_INVERT - 5386
Int: GL_KEEP - 7680
Int: GL_LEFT - 1030
Int: GL_LEQUAL - 515
Int: GL_LESS - 513
Int: GL_LIGHT0 - 16384
Int: GL_LIGHT1 - 16385
Int: GL_LIGHT2 - 16386
Int: GL_LIGHT3 - 16387
Int: GL_LIGHT4 - 16388
Int: GL_LIGHT5 - 16389
Int: GL_LIGHT6 - 16390
Int: GL_LIGHT7 - 16391
Int: GL_LIGHTING - 2896
Int: GL_LIGHTING_BIT - 64
Int: GL_LIGHT_MODEL_AMBIENT - 2899
Int: GL_LIGHT_MODEL_LOCAL_VIEWER - 2897
Int: GL_LIGHT_MODEL_TWO_SIDE - 2898
Int: GL_LINE - 6913
Int: GL_LINEAR - 9729
Int: GL_LINEAR_ATTENUATION - 4616
Int: GL_LINEAR_MIPMAP_LINEAR - 9987
Int: GL_LINEAR_MIPMAP_NEAREST - 9985
Int: GL_LINES - 1
Int: GL_LINE_BIT - 4
Int: GL_LINE_LOOP - 2
Int: GL_LINE_RESET_TOKEN - 1799
Int: GL_LINE_SMOOTH - 2848
Int: GL_LINE_SMOOTH_HINT - 3154
Int: GL_LINE_STIPPLE - 2852
Int: GL_LINE_STIPPLE_PATTERN - 2853
Int: GL_LINE_STIPPLE_REPEAT - 2854
Int: GL_LINE_STRIP - 3
Int: GL_LINE_TOKEN - 1794
Int: GL_LINE_WIDTH - 2849
Int: GL_LINE_WIDTH_GRANULARITY - 2851
Int: GL_LINE_WIDTH_RANGE - 2850
Int: GL_LIST_BASE - 2866
Int: GL_LIST_BIT - 131072
Int: GL_LIST_INDEX - 2867
Int: GL_LIST_MODE - 2864
Int: GL_LOAD - 257
Int: GL_LOGIC_OP - 3057
Int: GL_LOGIC_OP_MODE - 3056
Int: GL_LUMINANCE - 6409
Int: GL_LUMINANCE_ALPHA - 6410
Int: GL_MAP1_COLOR_4 - 3472
Int: GL_MAP1_GRID_DOMAIN - 3536
Int: GL_MAP1_GRID_SEGMENTS - 3537
Int: GL_MAP1_INDEX - 3473
Int: GL_MAP1_NORMAL - 3474
Int: GL_MAP1_TEXTURE_COORD_1 - 3475
Int: GL_MAP1_TEXTURE_COORD_2 - 3476
Int: GL_MAP1_TEXTURE_COORD_3 - 3477
Int: GL_MAP1_TEXTURE_COORD_4 - 3478
Int: GL_MAP1_VERTEX_3 - 3479
Int: GL_MAP1_VERTEX_4 - 3480
Int: GL_MAP2_COLOR_4 - 3504
Int: GL_MAP2_GRID_DOMAIN - 3538
Int: GL_MAP2_GRID_SEGMENTS - 3539
Int: GL_MAP2_INDEX - 3505
Int: GL_MAP2_NORMAL - 3506
Int: GL_MAP2_TEXTURE_COORD_1 - 3507
Int: GL_MAP2_TEXTURE_COORD_2 - 3508
Int: GL_MAP2_TEXTURE_COORD_3 - 3509
Int: GL_MAP2_TEXTURE_COORD_4 - 3510
Int: GL_MAP2_VERTEX_3 - 3511
Int: GL_MAP2_VERTEX_4 - 3512
Int: GL_MAP_COLOR - 3344
Int: GL_MAP_STENCIL - 3345
Int: GL_MATRIX_MODE - 2976
Int: GL_MAX_ATTRIB_STACK_DEPTH - 3381
Int: GL_MAX_CLIP_PLANES - 3378
Int: GL_MAX_EVAL_ORDER - 3376
Int: GL_MAX_LIGHTS - 3377
Int: GL_MAX_LIST_NESTING - 2865
Int: GL_MAX_MODELVIEW_STACK_DEPTH - 3382
Int: GL_MAX_NAME_STACK_DEPTH - 3383
Int: GL_MAX_PIXEL_MAP_TABLE - 3380
Int: GL_MAX_PROJECTION_STACK_DEPTH - 3384
Int: GL_MAX_TEXTURE_SIZE - 3379
Int: GL_MAX_TEXTURE_STACK_DEPTH - 3385
Int: GL_MAX_VIEWPORT_DIMS - 3386
Int: GL_MODELVIEW - 5888
Int: GL_MODELVIEW_MATRIX - 2982
Int: GL_MODELVIEW_STACK_DEPTH - 2979
Int: GL_MODULATE - 8448
Int: GL_MULT - 259
Int: GL_NAME_STACK_DEPTH - 3440
Int: GL_NAND - 5390
Int: GL_NEAREST - 9728
Int: GL_NEAREST_MIPMAP_LINEAR - 9986
Int: GL_NEAREST_MIPMAP_NEAREST - 9984
Int: GL_NEVER - 512
Int: GL_NICEST - 4354
Int: GL_NONE - 0
Int: GL_NOOP - 5381
Int: GL_NOR - 5384
Int: GL_NORMALIZE - 2977
Int: GL_NOTEQUAL - 517
Int: GL_NO_ERROR - 0
Int: GL_OBJECT_LINEAR - 9217
Int: GL_OBJECT_PLANE - 9473
Int: GL_ONE - 1
Int: GL_ONE_MINUS_DST_ALPHA - 773
Int: GL_ONE_MINUS_DST_COLOR - 775
Int: GL_ONE_MINUS_SRC_ALPHA - 771
Int: GL_ONE_MINUS_SRC_COLOR - 769
Int: GL_OR - 5383
Int: GL_ORDER - 2561
Int: GL_OR_INVERTED - 5389
Int: GL_OR_REVERSE - 5387
Int: GL_OUT_OF_MEMORY - 1285
Int: GL_PACK_ALIGNMENT - 3333
Int: GL_PACK_LSB_FIRST - 3329
Int: GL_PACK_ROW_LENGTH - 3330
Int: GL_PACK_SKIP_PIXELS - 3332
Int: GL_PACK_SKIP_ROWS - 3331
Int: GL_PACK_SWAP_BYTES - 3328
Int: GL_PASS_THROUGH_TOKEN - 1792
Int: GL_PERSPECTIVE_CORRECTION_HINT - 3152
Int: GL_PIXEL_MAP_A_TO_A - 3193
Int: GL_PIXEL_MAP_A_TO_A_SIZE - 3257
Int: GL_PIXEL_MAP_B_TO_B - 3192
Int: GL_PIXEL_MAP_B_TO_B_SIZE - 3256
Int: GL_PIXEL_MAP_G_TO_G - 3191
Int: GL_PIXEL_MAP_G_TO_G_SIZE - 3255
Int: GL_PIXEL_MAP_I_TO_A - 3189
Int: GL_PIXEL_MAP_I_TO_A_SIZE - 3253
Int: GL_PIXEL_MAP_I_TO_B - 3188
Int: GL_PIXEL_MAP_I_TO_B_SIZE - 3252
Int: GL_PIXEL_MAP_I_TO_G - 3187
Int: GL_PIXEL_MAP_I_TO_G_SIZE - 3251
Int: GL_PIXEL_MAP_I_TO_I - 3184
Int: GL_PIXEL_MAP_I_TO_I_SIZE - 3248
Int: GL_PIXEL_MAP_I_TO_R - 3186
Int: GL_PIXEL_MAP_I_TO_R_SIZE - 3250
Int: GL_PIXEL_MAP_R_TO_R - 3190
Int: GL_PIXEL_MAP_R_TO_R_SIZE - 3254
Int: GL_PIXEL_MAP_S_TO_S - 3185
Int: GL_PIXEL_MAP_S_TO_S_SIZE - 3249
Int: GL_PIXEL_MODE_BIT - 32
Int: GL_POINT - 6912
Int: GL_POINTS - 0
Int: GL_POINT_BIT - 2
Int: GL_POINT_SIZE - 2833
Int: GL_POINT_SIZE_GRANULARITY - 2835
Int: GL_POINT_SIZE_RANGE - 2834
Int: GL_POINT_SMOOTH - 2832
Int: GL_POINT_SMOOTH_HINT - 3153
Int: GL_POINT_TOKEN - 1793
Int: GL_POLYGON - 9
Int: GL_POLYGON_BIT - 8
Int: GL_POLYGON_MODE - 2880
Int: GL_POLYGON_SMOOTH - 2881
Int: GL_POLYGON_SMOOTH_HINT - 3155
Int: GL_POLYGON_STIPPLE - 2882
Int: GL_POLYGON_STIPPLE_BIT - 16
Int: GL_POLYGON_TOKEN - 1795
Int: GL_POSITION - 4611
Int: GL_PROJECTION - 5889
Int: GL_PROJECTION_MATRIX - 2983
Int: GL_PROJECTION_STACK_DEPTH - 2980
Int: GL_Q - 8195
Int: GL_QUADRATIC_ATTENUATION - 4617
Int: GL_QUADS - 7
Int: GL_QUAD_STRIP - 8
Int: GL_R - 8194
Int: GL_READ_BUFFER - 3074
Int: GL_RED - 6403
Int: GL_RED_BIAS - 3349
Int: GL_RED_BITS - 3410
Int: GL_RED_SCALE - 3348
Int: GL_RENDER - 7168
Int: GL_RENDERER - 7937
Int: GL_RENDER_MODE - 3136
Int: GL_REPEAT - 10497
Int: GL_REPLACE - 7681
Int: GL_RETURN - 258
Int: GL_RGB - 6407
Int: GL_RGBA - 6408
Int: GL_RGBA_MODE - 3121
Int: GL_RIGHT - 1031
Int: GL_S - 8192
Int: GL_SCISSOR_BIT - 524288
Int: GL_SCISSOR_BOX - 3088
Int: GL_SCISSOR_TEST - 3089
Int: GL_SELECT - 7170
Int: GL_SET - 5391
Int: GL_SHADE_MODEL - 2900
Int: GL_SHININESS - 5633
Int: GL_SHORT - 5122
Int: GL_SMOOTH - 7425
Int: GL_SPECULAR - 4610
Int: GL_SPHERE_MAP - 9218
Int: GL_SPOT_CUTOFF - 4614
Int: GL_SPOT_DIRECTION - 4612
Int: GL_SPOT_EXPONENT - 4613
Int: GL_SRC_ALPHA - 770
Int: GL_SRC_ALPHA_SATURATE - 776
Int: GL_SRC_COLOR - 768
Int: GL_STACK_OVERFLOW - 1283
Int: GL_STACK_UNDERFLOW - 1284
Int: GL_STENCIL - 6146
Int: GL_STENCIL_BITS - 3415
Int: GL_STENCIL_BUFFER_BIT - 1024
Int: GL_STENCIL_CLEAR_VALUE - 2961
Int: GL_STENCIL_FAIL - 2964
Int: GL_STENCIL_FUNC - 2962
Int: GL_STENCIL_INDEX - 6401
Int: GL_STENCIL_PASS_DEPTH_FAIL - 2965
Int: GL_STENCIL_PASS_DEPTH_PASS - 2966
Int: GL_STENCIL_REF - 2967
Int: GL_STENCIL_TEST - 2960
Int: GL_STENCIL_VALUE_MASK - 2963
Int: GL_STENCIL_WRITEMASK - 2968
Int: GL_STEREO - 3123
Int: GL_SUBPIXEL_BITS - 3408
Int: GL_T - 8193
Int: GL_TEXTURE - 5890
Int: GL_TEXTURE_1D - 3552
Int: GL_TEXTURE_2D - 3553
Int: GL_TEXTURE_BIT - 262144
Int: GL_TEXTURE_BORDER - 4101
Int: GL_TEXTURE_BORDER_COLOR - 4100
Int: GL_TEXTURE_COMPONENTS - 4099
Int: GL_TEXTURE_ENV - 8960
Int: GL_TEXTURE_ENV_COLOR - 8705
Int: GL_TEXTURE_ENV_MODE - 8704
Int: GL_TEXTURE_GEN_MODE - 9472
Int: GL_TEXTURE_GEN_Q - 3171
Int: GL_TEXTURE_GEN_R - 3170
Int: GL_TEXTURE_GEN_S - 3168
Int: GL_TEXTURE_GEN_T - 3169
Int: GL_TEXTURE_HEIGHT - 4097
Int: GL_TEXTURE_MAG_FILTER - 10240
Int: GL_TEXTURE_MATRIX - 2984
Int: GL_TEXTURE_MIN_FILTER - 10241
Int: GL_TEXTURE_STACK_DEPTH - 2981
Int: GL_TEXTURE_WIDTH - 4096
Int: GL_TEXTURE_WRAP_S - 10242
Int: GL_TEXTURE_WRAP_T - 10243
Int: GL_TRANSFORM_BIT - 4096
Int: GL_TRIANGLES - 4
Int: GL_TRIANGLE_FAN - 6
Int: GL_TRIANGLE_STRIP - 5
Int: GL_TRUE - 1
Int: GL_UNPACK_ALIGNMENT - 3317
Int: GL_UNPACK_LSB_FIRST - 3313
Int: GL_UNPACK_ROW_LENGTH - 3314
Int: GL_UNPACK_SKIP_PIXELS - 3316
Int: GL_UNPACK_SKIP_ROWS - 3315
Int: GL_UNPACK_SWAP_BYTES - 3312
Int: GL_UNSIGNED_BYTE - 5121
Int: GL_UNSIGNED_INT - 5125
Int: GL_UNSIGNED_SHORT - 5123
Int: GL_VENDOR - 7936
Int: GL_VERSION - 7938
Int: GL_VIEWPORT - 2978
Int: GL_VIEWPORT_BIT - 2048
Int: GL_XOR - 5382
Int: GL_ZERO - 0
Int: GL_ZOOM_X - 3350
Int: GL_ZOOM_Y - 3351
glAccum
glAlphaFunc
glBegin
glBitmap
glBlendFunc
glCallList
glCallLists
glClear
glClearAccum
glClearColor
glClearDepth
glClearIndex
glClearStencil
glClipPlane
glColor3b
glColor3bv
glColor3d
glColor3dv
glColor3f
glColor3fv
glColor3i
glColor3iv
glColor3s
glColor3sv
glColor3ub
glColor3ubv
glColor3ui
glColor3uiv
glColor3us
glColor3usv
glColor4b
glColor4bv
glColor4d
glColor4dv
glColor4f
glColor4fv
glColor4i
glColor4iv
glColor4s
glColor4sv
glColor4ub
glColor4ubv
glColor4ui
glColor4uiv
glColor4us
glColor4usv
glColorMask
glColorMaterial
glCopyPixels
glCullFace
glDeleteLists
glDepthFunc
glDepthMask
glDepthRange
glDisable
glDrawBuffer
glDrawPixels
glEdgeFlag
glEdgeFlagv
glEnable
glEnd
glEndList
glEvalCoord1d
glEvalCoord1dv
glEvalCoord1f
glEvalCoord1fv
glEvalCoord2d
glEvalCoord2dv
glEvalCoord2f
glEvalCoord2fv
glEvalMesh1
glEvalMesh2
glEvalPoint1
glEvalPoint2
glFeedbackBuffer
glFinish
glFlush
glFogf
glFogfv
glFogi
glFogiv
glFrontFace
glFrustum
glGenLists
glGetBooleanv
glGetClipPlane
glGetDoublev
glGetError
glGetFloatv
glGetIntegerv
glGetLightfv
glGetLightiv
glGetMapdv
glGetMapfv
glGetMapiv
glGetMaterialfv
glGetMaterialiv
glGetPixelMapfv
glGetPixelMapuiv
glGetPixelMapusv
glGetPolygonStipple
glGetString
glGetTexEnvfv
glGetTexEnviv
glGetTexGendv
glGetTexGenfv
glGetTexGeniv
glGetTexImage
glGetTexLevelParameterfv
glGetTexLevelParameteriv
glGetTexParameterfv
glGetTexParameteriv
glHint
glIndexMask
glIndexd
glIndexdv
glIndexf
glIndexfv
glIndexi
glIndexiv
glIndexs
glIndexsv
glInitNames
glIsEnabled
glIsList
glLightModelf
glLightModelfv
glLightModeli
glLightModeliv
glLightf
glLightfv
glLighti
glLightiv
glLineStipple
glLineWidth
glListBase
glLoadIdentity
glLoadMatrixd
glLoadMatrixf
glLoadName
glLogicOp
glMap1d
glMap1f
glMap2d
glMap2f
glMapGrid1d
glMapGrid1f
glMapGrid2d
glMapGrid2f
glMaterialf
glMaterialfv
glMateriali
glMaterialiv
glMatrixMode
glMultMatrixd
glMultMatrixf
glNewList
glNormal3b
glNormal3bv
glNormal3d
glNormal3dv
glNormal3f
glNormal3fv
glNormal3i
glNormal3iv
glNormal3s
glNormal3sv
glOrtho
glPassThrough
glPixelMapfv
glPixelMapuiv
glPixelMapusv
glPixelStoref
glPixelStorei
glPixelTransferf
glPixelTransferi
glPixelZoom
glPointSize
glPolygonMode
glPolygonStipple
glPopAttrib
glPopMatrix
glPopName
glPushAttrib
glPushMatrix
glPushName
glRasterPos2d
glRasterPos2dv
glRasterPos2f
glRasterPos2fv
glRasterPos2i
glRasterPos2iv
glRasterPos2s
glRasterPos2sv
glRasterPos3d
glRasterPos3dv
glRasterPos3f
glRasterPos3fv
glRasterPos3i
glRasterPos3iv
glRasterPos3s
glRasterPos3sv
glRasterPos4d
glRasterPos4dv
glRasterPos4f
glRasterPos4fv
glRasterPos4i
glRasterPos4iv
glRasterPos4s
glRasterPos4sv
glReadBuffer
glReadPixels
glRectd
glRectdv
glRectf
glRectfv
glRecti
glRectiv
glRects
glRectsv
glRenderMode
glRotated
glRotatef
glScaled
glScalef
glScissor
glSelectBuffer
glShadeModel
glStencilFunc
glStencilMask
glStencilOp
glTexCoord1d
glTexCoord1dv
glTexCoord1f
glTexCoord1fv
glTexCoord1i
glTexCoord1iv
glTexCoord1s
glTexCoord1sv
glTexCoord2d
glTexCoord2dv
glTexCoord2f
glTexCoord2fv
glTexCoord2i
glTexCoord2iv
glTexCoord2s
glTexCoord2sv
glTexCoord3d
glTexCoord3dv
glTexCoord3f
glTexCoord3fv
glTexCoord3i
glTexCoord3iv
glTexCoord3s
glTexCoord3sv
glTexCoord4d
glTexCoord4dv
glTexCoord4f
glTexCoord4fv
glTexCoord4i
glTexCoord4iv
glTexCoord4s
glTexCoord4sv
glTexEnvf
glTexEnvfv
glTexEnvi
glTexEnviv
glTexGend
glTexGendv
glTexGenf
glTexGenfv
glTexGeni
glTexGeniv
glTexImage1D
glTexImage2D
glTexParameterf
glTexParameterfv
glTexParameteri
glTexParameteriv
glTranslated
glTranslatef
glVertex2d
glVertex2dv
glVertex2f
glVertex2fv
glVertex2i
glVertex2iv
glVertex2s
glVertex2sv
glVertex3d
glVertex3dv
glVertex3f
glVertex3fv
glVertex3i
glVertex3iv
glVertex3s
glVertex3sv
glVertex4d
glVertex4dv
glVertex4f
glVertex4fv
glVertex4i
glVertex4iv
glVertex4s
glVertex4sv
glViewport
Get([name]) - Get cameras from Blender
[name] The name of the camera to return
Returns a list of all cameras if name is not specified
CloseRender
PlayAnim
ReadFile
Redraw
Render
RunRadio
SetShade
Sleep
Int: ACCENTGRAVEKEY - 229
Int: AKEY - 97
Int: BACKSLASHKEY - 233
Int: BACKSPACEKEY - 223
Int: BKEY - 98
Button(name, event, x, y, width, height, [tooltip]) - Create a new Button (push) button
(name) A string to display on the button
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
[tooltip=] The button's tooltip
Int: CAPSLOCKKEY - 211
Int: CKEY - 99
Int: COMMAKEY - 227
Create(value) - Create a default Button object
(value) - The value to store in the button
Valid values are ints, floats, and strings
Int: DELKEY - 224
Int: DKEY - 100
Int: DOWNARROWKEY - 138
Draw() - Force an immediate redraw
Forced redraws are not buffered, in other words the window is redrawn
exactly once for everytime this function is called.
Int: EIGHTKEY - 56
Int: EKEY - 101
Int: ENDKEY - 170
Int: EQUALKEY - 234
Int: ESCKEY - 218
Exit() - Exit the windowing interface
Int: F10KEY - 309
Int: F11KEY - 310
Int: F12KEY - 312
Int: F1KEY - 300
Int: F2KEY - 301
Int: F3KEY - 302
Int: F4KEY - 303
Int: F5KEY - 304
Int: F6KEY - 305
Int: F7KEY - 306
Int: F8KEY - 307
Int: F9KEY - 308
Int: FIVEKEY - 53
Int: FKEY - 102
Int: FOURKEY - 52
Int: GKEY - 103
Int: HKEY - 104
Int: HOMEKEY - 167
Int: IKEY - 105
Int: INPUTCHANGE - 19
Int: INSERTKEY - 166
Int: JKEY - 106
Int: KEYBD - 16
Int: KKEY - 107
Int: LEFTALTKEY - 213
Int: LEFTARROWKEY - 137
Int: LEFTBRACKETKEY - 235
Int: LEFTCTRLKEY - 212
Int: LEFTMOUSE - 1
Int: LEFTSHIFTKEY - 217
Int: LINEFEEDKEY - 222
Int: LKEY - 108
Int: MIDDLEMOUSE - 2
Int: MINUSKEY - 230
Int: MKEY - 109
Int: MOUSEX - 4
Int: MOUSEY - 5
Menu(name, event, x, y, width, height, default, [tooltip]) - Create a new Menu button
(name) A string to display on the button
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
(default) The number of the option to be selected by default
[tooltip=] The button's tooltip
The menu options are specified through the name of the
button. Options are followed by a format code and seperated
by the '|' (pipe) character.
Valid format codes are
%t - The option should be used as the title
%xN - The option should set the integer N in the button value.
Int: NINEKEY - 57
Int: NKEY - 110
Number(name, event, x, y, width, height, initial, min, max, [tooltip]) - Create a new Number button
(name) A string to display on the button
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
(initial, min, max) Three values (int or float) specifying the initial and limit values.
[tooltip=] The button's tooltip
Int: OKEY - 111
Int: ONEKEY - 49
Int: PAD0 - 161
Int: PAD1 - 154
Int: PAD2 - 150
Int: PAD3 - 155
Int: PAD4 - 151
Int: PAD5 - 156
Int: PAD6 - 152
Int: PAD7 - 157
Int: PAD8 - 153
Int: PAD9 - 158
Int: PADASTERKEY - 160
Int: PADENTER - 163
Int: PADMINUS - 162
Int: PADPERIOD - 199
Int: PADPLUSKEY - 164
Int: PADVIRGULEKEY - 159
Int: PAGEDOWNKEY - 169
Int: PAGEUPKEY - 168
Int: PAUSEKEY - 165
Int: PERIODKEY - 226
Int: PKEY - 112
Int: QFULL - 20
Int: QKEY - 113
Int: QUOTEKEY - 228
Int: Q_FIRSTTIME - 25
Int: RAWKEYBD - 17
Int: REDRAW - 18
Int: RETKEY - 220
Int: RIGHTALTKEY - 214
Int: RIGHTARROWKEY - 139
Int: RIGHTBRACKETKEY - 236
Int: RIGHTCTRLKEY - 215
Int: RIGHTMOUSE - 3
Int: RIGHTSHIFTKEY - 216
Int: RKEY - 114
Redraw([after]) - Queue a redraw event
[after=0] Determines whether the redraw is processed before or after other input events.
Redraw events are buffered so that regardless of how many events are queued
the window only recieves redraw event.
Register(draw, event, button) - Register callbacks for windowing
(draw) A function to draw the screen, taking no arguments
(event) A function to handle events, taking 2 arguments (evt, val)
(evt) The event number
(val) The value modifier (for key and mouse press/release)
(button) A function to handle button events, taking 1 argument (evt)
(evt) The button number
A None object can be passed if a callback is unused.
Int: SEMICOLONKEY - 225
Int: SEVENKEY - 55
Int: SIXKEY - 54
Int: SKEY - 115
Int: SLASHKEY - 232
Int: SPACEKEY - 221
Scrollbar(event, x, y, width, height, initial, min, max, [update, tooltip]) - Create a new Scrollbar
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
(initial, min, max) Three values (int or float) specifying the initial and limit values.
[update=1] A value controlling whether the slider will emit events as it is edited.
A non-zero value (default) enables the events. A zero value supresses them.
[tooltip=] The button's tooltip
Slider(name, event, x, y, width, height, initial, min, max, [update, tooltip]) - Create a new Slider button
(name) A string to display on the button
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
(initial, min, max) Three values (int or float) specifying the initial and limit values.
[update=1] A value controlling whether the slider will emit events as it is edited.
A non-zero value (default) enables the events. A zero value supresses them.
[tooltip=] The button's tooltip
String(name, event, x, y, width, height, initial, length, [tooltip]) - Create a new String button
(name) A string to display on the button
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
(initial) The string to display initially
(length) The maximum input length
[tooltip=] The button's tooltip
Int: TABKEY - 219
Int: THREEKEY - 51
Int: TIMER0 - 6
Int: TIMER1 - 7
Int: TIMER2 - 8
Int: TIMER3 - 9
Int: TKEY - 116
Int: TWOKEY - 50
Text(text) - Draw text onscreen
(text) The text to draw
Toggle(name, event, x, y, width, height, default, [tooltip]) - Create a new Toggle button
(name) A string to display on the button
(event) The event number to pass to the button event function when activated
(x, y) The lower left coordinate of the button
(width, height) The button width and height
(default) An integer (0 or 1) specifying the default state
[tooltip=] The button's tooltip
Int: UKEY - 117
Int: UPARROWKEY - 140
Int: VIRGULEKEY - 231
Int: VKEY - 118
Int: WINCLOSE - 23
Int: WINFREEZE - 21
Int: WINQUIT - 24
Int: WINTHAW - 22
Int: WKEY - 119
Int: XKEY - 120
Int: YKEY - 121
Int: ZEROKEY - 48
Int: ZKEY - 122
Get(request) - Retrieve settings from Blender
(request) A string indentifying the data to be returned
'curframe' - Returns the current animation frame
'curtime' - Returns the current animation time
'filename' - Returns the name of the last file read or written
'version' - Returns the Blender version number
Confirm
Dialog
Error
Okay
BezTriple() - Create a new BezTriple object
Eval(curve, [time]) - Evaluate the value of the curve at some time
(curve) The curve to evaluate
[time= current frame] The time at which to evaluate the curve
Get([name]) - Get ipos from Blender
[name] The name of the ipo to return
Returns a list of all ipos if name is not specified
Recalc(ipo) - Recalculate the ipo and update linked objects
(ipo) The ipo to recalculate
Get([name]) - Get lamps from Blender
[name] The name of the lamp to return
Returns a list of all lamps if name is not specified
Get([name]) - Get materials from Blender
[name] The name of the material to return
Returns a list of all materials if name is not specified
Col([r, g, b, a]) - Get a new mesh color
[r=255, g=255, b=255, a=255] Specify the color components
Face() - Get a new face
GetRaw([name]) - Get a raw mesh from Blender
[name] Name of the mesh to be returned
If name is not specified a new empty mesh is
returned, otherwise Blender returns an existing
mesh.
PutRaw(mesh, [name, renormal]) - Return a raw mesh to Blender
(mesh) The NMesh object to store
[name] The mesh to replace
[renormal=1] Flag to control vertex normal recalculation
If the name of a mesh to replace is not given a new
object is created and returned.
Vert([x, y, z]) - Get a new vertice
[x, y, z] Specify new coordinates
Get([name]) - Get objects from Blender
[name] The name of the object to return
Returns a list of all objects if name is not specified
GetSelected() - Returns a list of all selected objects
Update(name) - Updates the specified object during user-transformation
(name) Name of the object to update
NOTE: This is an experimental function for combating 'lag'.
Redraw() - Force a redraw of all 3d windows
Set(request, data) - Update settings in Blender
(request) A string indentifying the setting to change
'curframe' - Sets the current frame using the number in data
Strange: BezTriple -
Strange: BlockType -
Strange: BufferType -
Strange: ButtonType -
Strange: IpoCurve -
Strange: MatrixType -
Strange: NMColType -
Strange: NMFaceType -
Strange: NMVertType -
Strange: NMeshType -
Strange: VectorType -
Get([name]) - Get worlds from Blender
[name] The name of the world to return
Returns a list of all worlds if name is not specified
GetActive() - Returns the active world
Int: bylink - 0