常量
WxGL内置了常用的OpenGL常量。
- wxgl.VERTEX_SHADER
- wxgl.TESS_CONTROL_SHADER
- wxgl.TESS_EVALUATION_SHADER
- wxgl.GEOMETRY_SHADER
- wxgl.FRAGMENT_SHADER
- wxgl.COMPUTE_SHADER
- wxgl.POINTS
- wxgl.LINES
- wxgl.LINE_STRIP
- wxgl.LINE_LOOP
- wxgl.TRIANGLES
- wxgl.TRIANGLE_STRIP
- wxgl.TRIANGLE_FAN
- wxgl.QUADS
- wxgl.QUAD_STRIP
- wxgl.TEXTURE_1D
- wxgl.TEXTURE_1D_ARRAY
- wxgl.TEXTURE_2D
- wxgl.TEXTURE_2D_ARRAY
- wxgl.TEXTURE_3D
- wxgl.TEXTURE_RECTANGLE
- wxgl.TEXTURE_CUBE_MAP
- wxgl.TEXTURE_CUBE_MAP_ARRAY
- wxgl.TEXTURE_BUFFER
- wxgl.NEAREST
- wxgl.LINEAR
- wxgl.NEAREST_MIPMAP_NEAREST
- wxgl.LINEAR_MIPMAP_NEAREST
- wxgl.NEAREST_MIPMAP_LINEAR
- wxgl.LINEAR_MIPMAP_LINEAR
- wxgl.REPEAT
- wxgl.MIRRORED_REPEAT
- wxgl.CLAMP_TO_EDGE