; Version ; Global Const $GL_VERSION_1_1 = 1 ; AccumOp ; Global Const $GL_ACCUM = 0x0100 Global Const $GL_LOAD = 0x0101 Global Const $GL_RETURN = 0x0102 Global Const $GL_MULT = 0x0103 Global Const $GL_ADD = 0x0104 ; AlphaFunction ; Global Const $GL_NEVER = 0x0200 Global Const $GL_LESS = 0x0201 Global Const $GL_EQUAL = 0x0202 Global Const $GL_LEQUAL = 0x0203 Global Const $GL_GREATER = 0x0204 Global Const $GL_NOTEQUAL = 0x0205 Global Const $GL_GEQUAL = 0x0206 Global Const $GL_ALWAYS = 0x0207 ; Attrib$mask ; Global Const $GL_CURRENT_BIT = 0x00000001 Global Const $GL_POINT_BIT = 0x00000002 Global Const $GL_LINE_BIT = 0x00000004 Global Const $GL_POLYGON_BIT = 0x00000008 Global Const $GL_POLYGON_STIPPLE_BIT = 0x00000010 Global Const $GL_PIXEL_MODE_BIT = 0x00000020 Global Const $GL_LIGHTING_BIT = 0x00000040 Global Const $GL_FOG_BIT = 0x00000080 Global Const $GL_DEPTH_BUFFER_BIT = 0x00000100 Global Const $GL_ACCUM_BUFFER_BIT = 0x00000200 Global Const $GL_STENCIL_BUFFER_BIT = 0x00000400 Global Const $GL_VIEWPORT_BIT = 0x00000800 Global Const $GL_TRANSFORM_BIT = 0x00001000 Global Const $GL_ENABLE_BIT = 0x00002000 Global Const $GL_COLOR_BUFFER_BIT = 0x00004000 Global Const $GL_HINT_BIT = 0x00008000 Global Const $GL_EVAL_BIT = 0x00010000 Global Const $GL_LIST_BIT = 0x00020000 Global Const $GL_TEXTURE_BIT = 0x00040000 Global Const $GL_SCISSOR_BIT = 0x00080000 Global Const $GL_ALL_ATTRIB_BITS = 0x000fffff ; BeginMode ; Global Const $GL_POINTS = 0x0000 Global Const $GL_LINES = 0x0001 Global Const $GL_LINE_LOOP = 0x0002 Global Const $GL_LINE_STRIP = 0x0003 Global Const $GL_TRIANGLES = 0x0004 Global Const $GL_TRIANGLE_STRIP = 0x0005 Global Const $GL_TRIANGLE_FAN = 0x0006 Global Const $GL_QUADS = 0x0007 Global Const $GL_QUAD_STRIP = 0x0008 Global Const $GL_POLYGON = 0x0009 ; BlendingFactorDest ; Global Const $GL_ZERO = 0 Global Const $GL_ONE = 1 Global Const $GL_SRC_COLOR = 0x0300 Global Const $GL_ONE_MINUS_SRC_COLOR = 0x0301 Global Const $GL_SRC_ALPHA = 0x0302 Global Const $GL_ONE_MINUS_SRC_ALPHA = 0x0303 Global Const $GL_DST_ALPHA = 0x0304 Global Const $GL_ONE_MINUS_DST_ALPHA = 0x0305 ; BlendingFactorSrc ; Global Const $GL_DST_COLOR = 0x0306 Global Const $GL_ONE_MINUS_DST_COLOR = 0x0307 Global Const $GL_SRC_ALPHA_SATURATE = 0x0308 ; Boolean ; Global Const $GL_TRUE = 1 Global Const $GL_FALSE = 0 ; ClipPlaneName ; Global Const $GL_CLIP_PLANE0 = 0x3000 Global Const $GL_CLIP_PLANE1 = 0x3001 Global Const $GL_CLIP_PLANE2 = 0x3002 Global Const $GL_CLIP_PLANE3 = 0x3003 Global Const $GL_CLIP_PLANE4 = 0x3004 Global Const $GL_CLIP_PLANE5 = 0x3005 ; Data$type ; Global Const $GL_BYTE = 0x1400 Global Const $GL_UNSIGNED_BYTE = 0x1401 Global Const $GL_SHORT = 0x1402 Global Const $GL_UNSIGNED_SHORT = 0x1403 Global Const $GL_INT = 0x1404 Global Const $GL_UNSIGNED_INT = 0x1405 Global Const $GL_FLOAT = 0x1406 Global Const $GL_2_BYTES = 0x1407 Global Const $GL_3_BYTES = 0x1408 Global Const $GL_4_BYTES = 0x1409 Global Const $GL_DOUBLE = 0x140A ; DrawBufferMode ; Global Const $GL_NONE = 0 Global Const $GL_FRONT_LEFT = 0x0400 Global Const $GL_FRONT_RIGHT = 0x0401 Global Const $GL_BACK_LEFT = 0x0402 Global Const $GL_BACK_RIGHT = 0x0403 Global Const $GL_FRONT = 0x0404 Global Const $GL_BACK = 0x0405 Global Const $GL_LEFT = 0x0406 Global Const $GL_RIGHT = 0x0407 Global Const $GL_FRONT_AND_BACK = 0x0408 Global Const $GL_AUX0 = 0x0409 Global Const $GL_AUX1 = 0x040A Global Const $GL_AUX2 = 0x040B Global Const $GL_AUX3 = 0x040C ; ErrorCode ; Global Const $GL_NO_ERROR = 0 Global Const $GL_INVALID_ENUM = 0x0500 Global Const $GL_INVALID_VALUE = 0x0501 Global Const $GL_INVALID_OPERATION = 0x0502 Global Const $GL_STACK_OVERFLOW = 0x0503 Global Const $GL_STACK_UNDERFLOW = 0x0504 Global Const $GL_OUT_OF_MEMORY = 0x0505 ; FeedBackMode ; Global Const $GL_2D = 0x0600 Global Const $GL_3D = 0x0601 Global Const $GL_3D_COLOR = 0x0602 Global Const $GL_3D_COLOR_TEXTURE = 0x0603 Global Const $GL_4D_COLOR_TEXTURE = 0x0604 ; FeedBackToken ; Global Const $GL_PASS_THROUGH_TOKEN = 0x0700 Global Const $GL_POINT_TOKEN = 0x0701 Global Const $GL_LINE_TOKEN = 0x0702 Global Const $GL_POLYGON_TOKEN = 0x0703 Global Const $GL_BITMAP_TOKEN = 0x0704 Global Const $GL_DRAW_PIXEL_TOKEN = 0x0705 Global Const $GL_COPY_PIXEL_TOKEN = 0x0706 Global Const $GL_LINE_RESET_TOKEN = 0x0707 ; FogMode ; Global Const $GL_EXP = 0x0800 Global Const $GL_EXP2 = 0x0801 ; FrontFaceDirection ; Global Const $GL_CW = 0x0900 Global Const $GL_CCW = 0x0901 ; GetMap$target ; Global Const $GL_COEFF = 0x0A00 Global Const $GL_ORDER = 0x0A01 Global Const $GL_DOMAIN = 0x0A02 ; Get$target ; Global Const $GL_CURRENT_COLOR = 0x0B00 Global Const $GL_CURRENT_INDEX = 0x0B01 Global Const $GL_CURRENT_NORMAL = 0x0B02 Global Const $GL_CURRENT_TEXTURE_COORDS = 0x0B03 Global Const $GL_CURRENT_RASTER_COLOR = 0x0B04 Global Const $GL_CURRENT_RASTER_INDEX = 0x0B05 Global Const $GL_CURRENT_RASTER_TEXTURE_COORD = 0x0B06 Global Const $GL_CURRENT_RASTER_POSITION = 0x0B07 Global Const $GL_CURRENT_RASTER_POSITION_VALID = 0x0B08 Global Const $GL_CURRENT_RASTER_DISTANCE = 0x0B09 Global Const $GL_POINT_SMOOTH = 0x0B10 Global Const $GL_POINT_SIZE = 0x0B11 Global Const $GL_POINT_SIZE_RANGE = 0x0B12 Global Const $GL_POINT_SIZE_GRANULARITY = 0x0B13 Global Const $GL_LINE_SMOOTH = 0x0B20 Global Const $GL_LINE_WIDTH = 0x0B21 Global Const $GL_LINE_WIDTH_RANGE = 0x0B22 Global Const $GL_LINE_WIDTH_GRANULARITY = 0x0B23 Global Const $GL_LINE_STIPPLE = 0x0B24 Global Const $GL_LINE_STIPPLE_PATTERN = 0x0B25 Global Const $GL_LINE_STIPPLE_REPEAT = 0x0B26 Global Const $GL_LIST_MODE = 0x0B30 Global Const $GL_MAX_LIST_NESTING = 0x0B31 Global Const $GL_LIST_BASE = 0x0B32 Global Const $GL_LIST_INDEX = 0x0B33 Global Const $GL_POLYGON_MODE = 0x0B40 Global Const $GL_POLYGON_SMOOTH = 0x0B41 Global Const $GL_POLYGON_STIPPLE = 0x0B42 Global Const $GL_EDGE_FLAG = 0x0B43 Global Const $GL_CULL_FACE = 0x0B44 Global Const $GL_CULL_FACE_MODE = 0x0B45 Global Const $GL_FRONT_FACE = 0x0B46 Global Const $GL_LIGHTING = 0x0B50 Global Const $GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51 Global Const $GL_LIGHT_MODEL_TWO_SIDE = 0x0B52 Global Const $GL_LIGHT_MODEL_AMBIENT = 0x0B53 Global Const $GL_SHADE_MODEL = 0x0B54 Global Const $GL_COLOR_MATERIAL_FACE = 0x0B55 Global Const $GL_COLOR_MATERIAL_PARAMETER = 0x0B56 Global Const $GL_COLOR_MATERIAL = 0x0B57 Global Const $GL_FOG = 0x0B60 Global Const $GL_FOG_INDEX = 0x0B61 Global Const $GL_FOG_DENSITY = 0x0B62 Global Const $GL_FOG_START = 0x0B63 Global Const $GL_FOG_END = 0x0B64 Global Const $GL_FOG_MODE = 0x0B65 Global Const $GL_FOG_COLOR = 0x0B66 Global Const $GL_DEPTH_RANGE = 0x0B70 Global Const $GL_DEPTH_TEST = 0x0B71 Global Const $GL_DEPTH_WRITEMASK = 0x0B72 Global Const $GL_DEPTH_CLEAR_VALUE = 0x0B73 Global Const $GL_DEPTH_FUNC = 0x0B74 Global Const $GL_ACCUM_CLEAR_VALUE = 0x0B80 Global Const $GL_STENCIL_TEST = 0x0B90 Global Const $GL_STENCIL_CLEAR_VALUE = 0x0B91 Global Const $GL_STENCIL_FUNC = 0x0B92 Global Const $GL_STENCIL_VALUE_MASK = 0x0B93 Global Const $GL_STENCIL_FAIL = 0x0B94 Global Const $GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95 Global Const $GL_STENCIL_PASS_DEPTH_PASS = 0x0B96 Global Const $GL_STENCIL_REF = 0x0B97 Global Const $GL_STENCIL_WRITEMASK = 0x0B98 Global Const $GL_MATRIX_MODE = 0x0BA0 Global Const $GL_NORMALIZE = 0x0BA1 Global Const $GL_VIEWPORT = 0x0BA2 Global Const $GL_MODELVIEW_STACK_DEPTH = 0x0BA3 Global Const $GL_PROJECTION_STACK_DEPTH = 0x0BA4 Global Const $GL_TEXTURE_STACK_DEPTH = 0x0BA5 Global Const $GL_MODELVIEW_MATRIX = 0x0BA6 Global Const $GL_PROJECTION_MATRIX = 0x0BA7 Global Const $GL_TEXTURE_MATRIX = 0x0BA8 Global Const $GL_ATTRIB_STACK_DEPTH = 0x0BB0 Global Const $GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1 Global Const $GL_ALPHA_TEST = 0x0BC0 Global Const $GL_ALPHA_TEST_FUNC = 0x0BC1 Global Const $GL_ALPHA_TEST_REF = 0x0BC2 Global Const $GL_DITHER = 0x0BD0 Global Const $GL_BLEND_DST = 0x0BE0 Global Const $GL_BLEND_SRC = 0x0BE1 Global Const $GL_BLEND = 0x0BE2 Global Const $GL_LOGIC_OP_MODE = 0x0BF0 Global Const $GL_INDEX_LOGIC_OP = 0x0BF1 Global Const $GL_COLOR_LOGIC_OP = 0x0BF2 Global Const $GL_AUX_BUFFERS = 0x0C00 Global Const $GL_DRAW_BUFFER = 0x0C01 Global Const $GL_READ_BUFFER = 0x0C02 Global Const $GL_SCISSOR_BOX = 0x0C10 Global Const $GL_SCISSOR_TEST = 0x0C11 Global Const $GL_INDEX_CLEAR_VALUE = 0x0C20 Global Const $GL_INDEX_WRITEMASK = 0x0C21 Global Const $GL_COLOR_CLEAR_VALUE = 0x0C22 Global Const $GL_COLOR_WRITEMASK = 0x0C23 Global Const $GL_INDEX_MODE = 0x0C30 Global Const $GL_RGBA_MODE = 0x0C31 Global Const $GL_DOUBLEBUFFER = 0x0C32 Global Const $GL_STEREO = 0x0C33 Global Const $GL_RENDER_MODE = 0x0C40 Global Const $GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50 Global Const $GL_POINT_SMOOTH_HINT = 0x0C51 Global Const $GL_LINE_SMOOTH_HINT = 0x0C52 Global Const $GL_POLYGON_SMOOTH_HINT = 0x0C53 Global Const $GL_FOG_HINT = 0x0C54 Global Const $GL_TEXTURE_GEN_S = 0x0C60 Global Const $GL_TEXTURE_GEN_T = 0x0C61 Global Const $GL_TEXTURE_GEN_R = 0x0C62 Global Const $GL_TEXTURE_GEN_Q = 0x0C63 Global Const $GL_PIXEL_MAP_I_TO_I = 0x0C70 Global Const $GL_PIXEL_MAP_S_TO_S = 0x0C71 Global Const $GL_PIXEL_MAP_I_TO_R = 0x0C72 Global Const $GL_PIXEL_MAP_I_TO_G = 0x0C73 Global Const $GL_PIXEL_MAP_I_TO_B = 0x0C74 Global Const $GL_PIXEL_MAP_I_TO_A = 0x0C75 Global Const $GL_PIXEL_MAP_R_TO_R = 0x0C76 Global Const $GL_PIXEL_MAP_G_TO_G = 0x0C77 Global Const $GL_PIXEL_MAP_B_TO_B = 0x0C78 Global Const $GL_PIXEL_MAP_A_TO_A = 0x0C79 Global Const $GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0 Global Const $GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1 Global Const $GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2 Global Const $GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3 Global Const $GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4 Global Const $GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5 Global Const $GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6 Global Const $GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7 Global Const $GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8 Global Const $GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9 Global Const $GL_UNPACK_SWAP_BYTES = 0x0CF0 Global Const $GL_UNPACK_LSB_FIRST = 0x0CF1 Global Const $GL_UNPACK_ROW_LENGTH = 0x0CF2 Global Const $GL_UNPACK_SKIP_ROWS = 0x0CF3 Global Const $GL_UNPACK_SKIP_PIXELS = 0x0CF4 Global Const $GL_UNPACK_ALIGNMENT = 0x0CF5 Global Const $GL_PACK_SWAP_BYTES = 0x0D00 Global Const $GL_PACK_LSB_FIRST = 0x0D01 Global Const $GL_PACK_ROW_LENGTH = 0x0D02 Global Const $GL_PACK_SKIP_ROWS = 0x0D03 Global Const $GL_PACK_SKIP_PIXELS = 0x0D04 Global Const $GL_PACK_ALIGNMENT = 0x0D05 Global Const $GL_MAP_COLOR = 0x0D10 Global Const $GL_MAP_STENCIL = 0x0D11 Global Const $GL_INDEX_SHIFT = 0x0D12 Global Const $GL_INDEX_OFFSET = 0x0D13 Global Const $GL_RED_SCALE = 0x0D14 Global Const $GL_RED_BIAS = 0x0D15 Global Const $GL_ZOOM_X = 0x0D16 Global Const $GL_ZOOM_Y = 0x0D17 Global Const $GL_GREEN_SCALE = 0x0D18 Global Const $GL_GREEN_BIAS = 0x0D19 Global Const $GL_BLUE_SCALE = 0x0D1A Global Const $GL_BLUE_BIAS = 0x0D1B Global Const $GL_ALPHA_SCALE = 0x0D1C Global Const $GL_ALPHA_BIAS = 0x0D1D Global Const $GL_DEPTH_SCALE = 0x0D1E Global Const $GL_DEPTH_BIAS = 0x0D1F Global Const $GL_MAX_EVAL_ORDER = 0x0D30 Global Const $GL_MAX_LIGHTS = 0x0D31 Global Const $GL_MAX_CLIP_PLANES = 0x0D32 Global Const $GL_MAX_TEXTURE_SIZE = 0x0D33 Global Const $GL_MAX_PIXEL_MAP_TABLE = 0x0D34 Global Const $GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35 Global Const $GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36 Global Const $GL_MAX_NAME_STACK_DEPTH = 0x0D37 Global Const $GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38 Global Const $GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39 Global Const $GL_MAX_VIEWPORT_DIMS = 0x0D3A Global Const $GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B Global Const $GL_SUBPIXEL_BITS = 0x0D50 Global Const $GL_INDEX_BITS = 0x0D51 Global Const $GL_RED_BITS = 0x0D52 Global Const $GL_GREEN_BITS = 0x0D53 Global Const $GL_BLUE_BITS = 0x0D54 Global Const $GL_ALPHA_BITS = 0x0D55 Global Const $GL_DEPTH_BITS = 0x0D56 Global Const $GL_STENCIL_BITS = 0x0D57 Global Const $GL_ACCUM_RED_BITS = 0x0D58 Global Const $GL_ACCUM_GREEN_BITS = 0x0D59 Global Const $GL_ACCUM_BLUE_BITS = 0x0D5A Global Const $GL_ACCUM_ALPHA_BITS = 0x0D5B Global Const $GL_NAME_STACK_DEPTH = 0x0D70 Global Const $GL_AUTO_NORMAL = 0x0D80 Global Const $GL_MAP1_COLOR_4 = 0x0D90 Global Const $GL_MAP1_INDEX = 0x0D91 Global Const $GL_MAP1_NORMAL = 0x0D92 Global Const $GL_MAP1_TEXTURE_COORD_1 = 0x0D93 Global Const $GL_MAP1_TEXTURE_COORD_2 = 0x0D94 Global Const $GL_MAP1_TEXTURE_COORD_3 = 0x0D95 Global Const $GL_MAP1_TEXTURE_COORD_4 = 0x0D96 Global Const $GL_MAP1_VERTEX_3 = 0x0D97 Global Const $GL_MAP1_VERTEX_4 = 0x0D98 Global Const $GL_MAP2_COLOR_4 = 0x0DB0 Global Const $GL_MAP2_INDEX = 0x0DB1 Global Const $GL_MAP2_NORMAL = 0x0DB2 Global Const $GL_MAP2_TEXTURE_COORD_1 = 0x0DB3 Global Const $GL_MAP2_TEXTURE_COORD_2 = 0x0DB4 Global Const $GL_MAP2_TEXTURE_COORD_3 = 0x0DB5 Global Const $GL_MAP2_TEXTURE_COORD_4 = 0x0DB6 Global Const $GL_MAP2_VERTEX_3 = 0x0DB7 Global Const $GL_MAP2_VERTEX_4 = 0x0DB8 Global Const $GL_MAP1_GRID_DOMAIN = 0x0DD0 Global Const $GL_MAP1_GRID_SEGMENTS = 0x0DD1 Global Const $GL_MAP2_GRID_DOMAIN = 0x0DD2 Global Const $GL_MAP2_GRID_SEGMENTS = 0x0DD3 Global Const $GL_TEXTURE_1D = 0x0DE0 Global Const $GL_TEXTURE_2D = 0x0DE1 Global Const $GL_FEEDBACK_BUFFER_POINTER = 0x0DF0 Global Const $GL_FEEDBACK_BUFFER_SIZE = 0x0DF1 Global Const $GL_FEEDBACK_BUFFER_TYPE = 0x0DF2 Global Const $GL_SELECTION_BUFFER_POINTER = 0x0DF3 Global Const $GL_SELECTION_BUFFER_SIZE = 0x0DF4 ; GetTexture$parameter ; Global Const $GL_TEXTURE_WIDTH = 0x1000 Global Const $GL_TEXTURE_HEIGHT = 0x1001 Global Const $GL_TEXTURE_INTERNAL_FORMAT = 0x1003 Global Const $GL_TEXTURE_BORDER_COLOR = 0x1004 Global Const $GL_TEXTURE_BORDER = 0x1005 ; HintMode ; Global Const $GL_DONT_CARE = 0x1100 Global Const $GL_FASTEST = 0x1101 Global Const $GL_NICEST = 0x1102 ; $lightName ; Global Const $GL_LIGHT0 = 0x4000 Global Const $GL_LIGHT1 = 0x4001 Global Const $GL_LIGHT2 = 0x4002 Global Const $GL_LIGHT3 = 0x4003 Global Const $GL_LIGHT4 = 0x4004 Global Const $GL_LIGHT5 = 0x4005 Global Const $GL_LIGHT6 = 0x4006 Global Const $GL_LIGHT7 = 0x4007 ; $light$parameter ; Global Const $GL_AMBIENT = 0x1200 Global Const $GL_DIFFUSE = 0x1201 Global Const $GL_SPECULAR = 0x1202 Global Const $GL_POSITION = 0x1203 Global Const $GL_SPOT_DIRECTION = 0x1204 Global Const $GL_SPOT_EXPONENT = 0x1205 Global Const $GL_SPOT_CUTOFF = 0x1206 Global Const $GL_CONSTANT_ATTENUATION = 0x1207 Global Const $GL_LINEAR_ATTENUATION = 0x1208 Global Const $GL_QUADRATIC_ATTENUATION = 0x1209 ; ListMode ; Global Const $GL_COMPILE = 0x1300 Global Const $GL_COMPILE_AND_EXECUTE = 0x1301 ; LogicOp ; Global Const $GL_CLEAR = 0x1500 Global Const $GL_AND = 0x1501 Global Const $GL_AND_REVERSE = 0x1502 Global Const $GL_COPY = 0x1503 Global Const $GL_AND_INVERTED = 0x1504 Global Const $GL_NOOP = 0x1505 Global Const $GL_XOR = 0x1506 Global Const $GL_OR = 0x1507 Global Const $GL_NOR = 0x1508 Global Const $GL_EQUIV = 0x1509 Global Const $GL_INVERT = 0x150A Global Const $GL_OR_REVERSE = 0x150B Global Const $GL_COPY_INVERTED = 0x150C Global Const $GL_OR_INVERTED = 0x150D Global Const $GL_NAND = 0x150E Global Const $GL_SET = 0x150F ; Material$parameter ; Global Const $GL_EMISSION = 0x1600 Global Const $GL_SHININESS = 0x1601 Global Const $GL_AMBIENT_AND_DIFFUSE = 0x1602 Global Const $GL_COLOR_INDEXES = 0x1603 ; MatrixMode ; Global Const $GL_MODELVIEW = 0x1700 Global Const $GL_PROJECTION = 0x1701 Global Const $GL_TEXTURE = 0x1702 ; PixelCopy$type ; Global Const $GL_COLOR = 0x1800 Global Const $GL_DEPTH = 0x1801 Global Const $GL_STENCIL = 0x1802 ; Pixel$format ; Global Const $GL_COLOR_INDEX = 0x1900 Global Const $GL_STENCIL_INDEX = 0x1901 Global Const $GL_DEPTH_COMPONENT = 0x1902 Global Const $GL_RED = 0x1903 Global Const $GL_GREEN = 0x1904 Global Const $GL_BLUE = 0x1905 Global Const $GL_ALPHA = 0x1906 Global Const $GL_RGB = 0x1907 Global Const $GL_RGBA = 0x1908 Global Const $GL_LUMINANCE = 0x1909 Global Const $GL_LUMINANCE_ALPHA = 0x190A ; Pixel$type ; Global Const $GL_BITMAP = 0x1A00 ; PolygonMode ; Global Const $GL_POINT = 0x1B00 Global Const $GL_LINE = 0x1B01 Global Const $GL_FILL = 0x1B02 ; RenderingMode ; Global Const $GL_RENDER = 0x1C00 Global Const $GL_FEEDBACK = 0x1C01 Global Const $GL_SELECT = 0x1C02 ; ShadingModel ; Global Const $GL_FLAT = 0x1D00 Global Const $GL_SMOOTH = 0x1D01 ; StencilOp ; Global Const $GL_KEEP = 0x1E00 Global Const $GL_REPLACE = 0x1E01 Global Const $GL_INCR = 0x1E02 Global Const $GL_DECR = 0x1E03 ; StringName ; Global Const $GL_VENDOR = 0x1F00 Global Const $GL_RENDERER = 0x1F01 Global Const $GL_VERSION = 0x1F02 Global Const $GL_EXTENSIONS = 0x1F03 ; Texture$coordName ; Global Const $GL_S = 0x2000 Global Const $GL_T = 0x2001 Global Const $GL_R = 0x2002 Global Const $GL_Q = 0x2003 ; TextureEnvMode ; Global Const $GL_MODULATE = 0x2100 Global Const $GL_DECAL = 0x2101 ; TextureEnv$parameter ; Global Const $GL_TEXTURE_ENV_MODE = 0x2200 Global Const $GL_TEXTURE_ENV_COLOR = 0x2201 ; TextureEnv$target ; Global Const $GL_TEXTURE_ENV = 0x2300 ; TextureGenMode ; Global Const $GL_EYE_LINEAR = 0x2400 Global Const $GL_OBJECT_LINEAR = 0x2401 Global Const $GL_SPHERE_MAP = 0x2402 ; TextureGen$parameter ; Global Const $GL_TEXTURE_GEN_MODE = 0x2500 Global Const $GL_OBJECT_PLANE = 0x2501 Global Const $GL_EYE_PLANE = 0x2502 ; TextureMagFilter ; Global Const $GL_NEAREST = 0x2600 Global Const $GL_LINEAR = 0x2601 ; TextureMinFilter ; Global Const $GL_NEAREST_MIPMAP_NEAREST = 0x2700 Global Const $GL_LINEAR_MIPMAP_NEAREST = 0x2701 Global Const $GL_NEAREST_MIPMAP_LINEAR = 0x2702 Global Const $GL_LINEAR_MIPMAP_LINEAR = 0x2703 ; Texture$parameterName ; Global Const $GL_TEXTURE_MAG_FILTER = 0x2800 Global Const $GL_TEXTURE_MIN_FILTER = 0x2801 Global Const $GL_TEXTURE_WRAP_S = 0x2802 Global Const $GL_TEXTURE_WRAP_T = 0x2803 ; TextureWrapMode ; Global Const $GL_CLAMP = 0x2900 Global Const $GL_REPEAT = 0x2901 ; ClientAttrib$mask ; Global Const $GL_CLIENT_PIXEL_STORE_BIT = 0x00000001 Global Const $GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002 Global Const $GL_CLIENT_ALL_ATTRIB_BITS = 0xffffffff ; polygon_offset ; Global Const $GL_POLYGON_OFFSET_FACTOR = 0x8038 Global Const $GL_POLYGON_OFFSET_UNITS = 0x2A00 Global Const $GL_POLYGON_OFFSET_POINT = 0x2A01 Global Const $GL_POLYGON_OFFSET_LINE = 0x2A02 Global Const $GL_POLYGON_OFFSET_FILL = 0x8037 ; texture ; Global Const $GL_ALPHA4 = 0x803B Global Const $GL_ALPHA8 = 0x803C Global Const $GL_ALPHA12 = 0x803D Global Const $GL_ALPHA16 = 0x803E Global Const $GL_LUMINANCE4 = 0x803F Global Const $GL_LUMINANCE8 = 0x8040 Global Const $GL_LUMINANCE12 = 0x8041 Global Const $GL_LUMINANCE16 = 0x8042 Global Const $GL_LUMINANCE4_ALPHA4 = 0x8043 Global Const $GL_LUMINANCE6_ALPHA2 = 0x8044 Global Const $GL_LUMINANCE8_ALPHA8 = 0x8045 Global Const $GL_LUMINANCE12_ALPHA4 = 0x8046 Global Const $GL_LUMINANCE12_ALPHA12 = 0x8047 Global Const $GL_LUMINANCE16_ALPHA16 = 0x8048 Global Const $GL_INTENSITY = 0x8049 Global Const $GL_INTENSITY4 = 0x804A Global Const $GL_INTENSITY8 = 0x804B Global Const $GL_INTENSITY12 = 0x804C Global Const $GL_INTENSITY16 = 0x804D Global Const $GL_R3_G3_B2 = 0x2A10 Global Const $GL_RGB4 = 0x804F Global Const $GL_RGB5 = 0x8050 Global Const $GL_RGB8 = 0x8051 Global Const $GL_RGB10 = 0x8052 Global Const $GL_RGB12 = 0x8053 Global Const $GL_RGB16 = 0x8054 Global Const $GL_RGBA2 = 0x8055 Global Const $GL_RGBA4 = 0x8056 Global Const $GL_RGB5_A1 = 0x8057 Global Const $GL_RGBA8 = 0x8058 Global Const $GL_RGB10_A2 = 0x8059 Global Const $GL_RGBA12 = 0x805A Global Const $GL_RGBA16 = 0x805B Global Const $GL_TEXTURE_RED_SIZE = 0x805C Global Const $GL_TEXTURE_GREEN_SIZE = 0x805D Global Const $GL_TEXTURE_BLUE_SIZE = 0x805E Global Const $GL_TEXTURE_ALPHA_SIZE = 0x805F Global Const $GL_TEXTURE_LUMINANCE_SIZE = 0x8060 Global Const $GL_TEXTURE_INTENSITY_SIZE = 0x8061 Global Const $GL_PROXY_TEXTURE_1D = 0x8063 Global Const $GL_PROXY_TEXTURE_2D = 0x8064 ; texture_object ; Global Const $GL_TEXTURE_PRIORITY = 0x8066 Global Const $GL_TEXTURE_RESIDENT = 0x8067 Global Const $GL_TEXTURE_BINDING_1D = 0x8068 Global Const $GL_TEXTURE_BINDING_2D = 0x8069 ; vertex_ARRAY ; Global Const $GL_VERTEX_ARRAY = 0x8074 Global Const $GL_NORMAL_ARRAY = 0x8075 Global Const $GL_COLOR_ARRAY = 0x8076 Global Const $GL_INDEX_ARRAY = 0x8077 Global Const $GL_TEXTURE_COORD_ARRAY = 0x8078 Global Const $GL_EDGE_FLAG_ARRAY = 0x8079 Global Const $GL_VERTEX_ARRAY_SIZE = 0x807A Global Const $GL_VERTEX_ARRAY_TYPE = 0x807B Global Const $GL_VERTEX_ARRAY_STRIDE = 0x807C Global Const $GL_NORMAL_ARRAY_TYPE = 0x807E Global Const $GL_NORMAL_ARRAY_STRIDE = 0x807F Global Const $GL_COLOR_ARRAY_SIZE = 0x8081 Global Const $GL_COLOR_ARRAY_TYPE = 0x8082 Global Const $GL_COLOR_ARRAY_STRIDE = 0x8083 Global Const $GL_INDEX_ARRAY_TYPE = 0x8085 Global Const $GL_INDEX_ARRAY_STRIDE = 0x8086 Global Const $GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088 Global Const $GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089 Global Const $GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A Global Const $GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C Global Const $GL_VERTEX_ARRAY_POINTER = 0x808E Global Const $GL_NORMAL_ARRAY_POINTER = 0x808F Global Const $GL_COLOR_ARRAY_POINTER = 0x8090 Global Const $GL_INDEX_ARRAY_POINTER = 0x8091 Global Const $GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092 Global Const $GL_EDGE_FLAG_ARRAY_POINTER = 0x8093 Global Const $GL_V2F = 0x2A20 Global Const $GL_V3F = 0x2A21 Global Const $GL_C4UB_V2F = 0x2A22 Global Const $GL_C4UB_V3F = 0x2A23 Global Const $GL_C3F_V3F = 0x2A24 Global Const $GL_N3F_V3F = 0x2A25 Global Const $GL_C4F_N3F_V3F = 0x2A26 Global Const $GL_T2F_V3F = 0x2A27 Global Const $GL_T4F_V4F = 0x2A28 Global Const $GL_T2F_C4UB_V3F = 0x2A29 Global Const $GL_T2F_C3F_V3F = 0x2A2A Global Const $GL_T2F_N3F_V3F = 0x2A2B Global Const $GL_T2F_C4F_N3F_V3F = 0x2A2C Global Const $GL_T4F_C4F_N3F_V4F = 0x2A2D ; Extensions ; Global Const $GL_EXT_VERTEX_ARRAY = 1 Global Const $GL_EXT_BGRA = 1 Global Const $GL_EXT_PALETTED_TEXTURE = 1 Global Const $GL_WIN_SWAP_HINT = 1 Global Const $GL_WIN_DRAW_RANGE_ELEMENTS = 1 ; EXT_vertex_ARRAY ; Global Const $GL_VERTEX_ARRAY_EXT = 0x8074 Global Const $GL_NORMAL_ARRAY_EXT = 0x8075 Global Const $GL_COLOR_ARRAY_EXT = 0x8076 Global Const $GL_INDEX_ARRAY_EXT = 0x8077 Global Const $GL_TEXTURE_COORD_ARRAY_EXT = 0x8078 Global Const $GL_EDGE_FLAG_ARRAY_EXT = 0x8079 Global Const $GL_VERTEX_ARRAY_SIZE_EXT = 0x807A Global Const $GL_VERTEX_ARRAY_TYPE_EXT = 0x807B Global Const $GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C Global Const $GL_VERTEX_ARRAY_COUNT_EXT = 0x807D Global Const $GL_NORMAL_ARRAY_TYPE_EXT = 0x807E Global Const $GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F Global Const $GL_NORMAL_ARRAY_COUNT_EXT = 0x8080 Global Const $GL_COLOR_ARRAY_SIZE_EXT = 0x8081 Global Const $GL_COLOR_ARRAY_TYPE_EXT = 0x8082 Global Const $GL_COLOR_ARRAY_STRIDE_EXT = 0x8083 Global Const $GL_COLOR_ARRAY_COUNT_EXT = 0x8084 Global Const $GL_INDEX_ARRAY_TYPE_EXT = 0x8085 Global Const $GL_INDEX_ARRAY_STRIDE_EXT = 0x8086 Global Const $GL_INDEX_ARRAY_COUNT_EXT = 0x8087 Global Const $GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088 Global Const $GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089 Global Const $GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A Global Const $GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B Global Const $GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C Global Const $GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D Global Const $GL_VERTEX_ARRAY_POINTER_EXT = 0x808E Global Const $GL_NORMAL_ARRAY_POINTER_EXT = 0x808F Global Const $GL_COLOR_ARRAY_POINTER_EXT = 0x8090 Global Const $GL_INDEX_ARRAY_POINTER_EXT = 0x8091 Global Const $GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092 Global Const $GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093 Global Const $GL_DOUBLE_EXT = $GL_DOUBLE ; EXT_bgra ; Global Const $GL_BGR_EXT = 0x80E0 Global Const $GL_BGRA_EXT = 0x80E1 ; EXT_paletted_texture ; ; These must match the GL_COLOR_TABLE_*_SGI enumerants ; Global Const $GL_COLOR_TABLE_FORMAT_EXT = 0x80D8 Global Const $GL_COLOR_TABLE_WIDTH_EXT = 0x80D9 Global Const $GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA Global Const $GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB Global Const $GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC Global Const $GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD Global Const $GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE Global Const $GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF Global Const $GL_COLOR_INDEX1_EXT = 0x80E2 Global Const $GL_COLOR_INDEX2_EXT = 0x80E3 Global Const $GL_COLOR_INDEX4_EXT = 0x80E4 Global Const $GL_COLOR_INDEX8_EXT = 0x80E5 Global Const $GL_COLOR_INDEX12_EXT = 0x80E6 Global Const $GL_COLOR_INDEX16_EXT = 0x80E7 ; WIN_draw_range_elements ; Global Const $GL_MAX_ELEMENTS_VERTICES_WIN = 0x80E8 Global Const $GL_MAX_ELEMENTS_INDICES_WIN = 0x80E9 ; WIN_phong_shading ; Global Const $GL_PHONG_WIN = 0x80EA Global Const $GL_PHONG_HINT_WIN = 0x80EB ; WIN_specular_fog ; Global Const $GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC Func glAccum($op, $value) DllCall("opengl32.dll", "none", "glAccum", "uint", $op, "float", $value) EndFunc ;==>glAccum Func glAlphaFunc($func, $ref) DllCall("opengl32.dll", "none", "glAlphaFunc", "uint", $func, "float", $ref) EndFunc ;==>glAlphaFunc Func glAreTexturesResident($n, $textures, $residences) DllCall("opengl32.dll", "ubyte", "glAreTexturesResident", "int", $n, "dword", $textures, "dword", $residences) EndFunc ;==>glAreTexturesResident Func glarrayElement($i) DllCall("opengl32.dll", "none", "glarrayElement", "int", $i) EndFunc ;==>glarrayElement Func glBegin($mode) DllCall("opengl32.dll", "none", "glBegin", "uint", $mode) EndFunc ;==>glBegin Func glBindTexture($target, $texture) DllCall("opengl32.dll", "none", "glBindTexture", "uint", $target, "uint", $texture) EndFunc ;==>glBindTexture Func glBitmap($width, $height, $xorig, $yorig, $xmove, $ymove, $bitmap) DllCall("opengl32.dll", "none", "glBitmap", "int", $width, "int", $height, "float", $xorig, "float", $yorig, "float", $xmove, "float", $ymove, "dword", $bitmap) EndFunc ;==>glBitmap Func glBlendFunc($sfactor, $dfactor) DllCall("opengl32.dll", "none", "glBlendFunc", "uint", $sfactor, "uint", $dfactor) EndFunc ;==>glBlendFunc Func glCallList($list) DllCall("opengl32.dll", "none", "glCallList", "uint", $list) EndFunc ;==>glCallList Func glCallLists($n, $type, $lists) DllCall("opengl32.dll", "none", "glCallLists", "int", $n, "uint", $type, "dword", $lists) EndFunc ;==>glCallLists Func glClear($mask) DllCall("opengl32.dll", "none", "glClear", "uint", $mask) EndFunc ;==>glClear Func glClearAccum($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glClearAccum", "float", $red, "float", $green, "float", $blue, "float", $alpha) EndFunc ;==>glClearAccum Func glClearColor($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glClearColor", "float", $red, "float", $green, "float", $blue, "float", $alpha) EndFunc ;==>glClearColor Func glClearDepth($depth) DllCall("opengl32.dll", "none", "glClearDepth", "double", $depth) EndFunc ;==>glClearDepth Func glClearIndex($c) DllCall("opengl32.dll", "none", "glClearIndex", "float", $c) EndFunc ;==>glClearIndex Func glClearStencil($s) DllCall("opengl32.dll", "none", "glClearStencil", "int", $s) EndFunc ;==>glClearStencil Func glClipPlane($plane, $equation) DllCall("opengl32.dll", "none", "glClipPlane", "uint", $plane, "dword", $equation) EndFunc ;==>glClipPlane Func glColor3b($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3b", "byte", $red, "byte", $green, "byte", $blue) EndFunc ;==>glColor3b Func glColor3bv($v) DllCall("opengl32.dll", "none", "glColor3bv", "dword", $v) EndFunc ;==>glColor3bv Func glColor3d($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3d", "double", $red, "double", $green, "double", $blue) EndFunc ;==>glColor3d Func glColor3dv($v) DllCall("opengl32.dll", "none", "glColor3dv", "dword", $v) EndFunc ;==>glColor3dv Func glColor3f($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3f", "float", $red, "float", $green, "float", $blue) EndFunc ;==>glColor3f Func glColor3fv($v) DllCall("opengl32.dll", "none", "glColor3fv", "dword", $v) EndFunc ;==>glColor3fv Func glColor3i($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3i", "int", $red, "int", $green, "int", $blue) EndFunc ;==>glColor3i Func glColor3iv($v) DllCall("opengl32.dll", "none", "glColor3iv", "dword", $v) EndFunc ;==>glColor3iv Func glColor3s($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3s", "short", $red, "short", $green, "short", $blue) EndFunc ;==>glColor3s Func glColor3sv($v) DllCall("opengl32.dll", "none", "glColor3sv", "dword", $v) EndFunc ;==>glColor3sv Func glColor3ub($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3ub", "ubyte", $red, "ubyte", $green, "ubyte", $blue) EndFunc ;==>glColor3ub Func glColor3ubv($v) DllCall("opengl32.dll", "none", "glColor3ubv", "dword", $v) EndFunc ;==>glColor3ubv Func glColor3ui($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3ui", "uint", $red, "uint", $green, "uint", $blue) EndFunc ;==>glColor3ui Func glColor3uiv($v) DllCall("opengl32.dll", "none", "glColor3uiv", "dword", $v) EndFunc ;==>glColor3uiv Func glColor3us($red, $green, $blue) DllCall("opengl32.dll", "none", "glColor3us", "ushort", $red, "ushort", $green, "ushort", $blue) EndFunc ;==>glColor3us Func glColor3usv($v) DllCall("opengl32.dll", "none", "glColor3usv", "dword", $v) EndFunc ;==>glColor3usv Func glColor4b($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4b", "byte", $red, "byte", $green, "byte", $blue, "byte", $alpha) EndFunc ;==>glColor4b Func glColor4bv($v) DllCall("opengl32.dll", "none", "glColor4bv", "dword", $v) EndFunc ;==>glColor4bv Func glColor4d($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4d", "double", $red, "double", $green, "double", $blue, "double", $alpha) EndFunc ;==>glColor4d Func glColor4dv($v) DllCall("opengl32.dll", "none", "glColor4dv", "dword", $v) EndFunc ;==>glColor4dv Func glColor4f($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4f", "float", $red, "float", $green, "float", $blue, "float", $alpha) EndFunc ;==>glColor4f Func glColor4fv($v) DllCall("opengl32.dll", "none", "glColor4fv", "dword", $v) EndFunc ;==>glColor4fv Func glColor4i($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4i", "int", $red, "int", $green, "int", $blue, "int", $alpha) EndFunc ;==>glColor4i Func glColor4iv($v) DllCall("opengl32.dll", "none", "glColor4iv", "dword", $v) EndFunc ;==>glColor4iv Func glColor4s($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4s", "short", $red, "short", $green, "short", $blue, "short", $alpha) EndFunc ;==>glColor4s Func glColor4sv($v) DllCall("opengl32.dll", "none", "glColor4sv", "dword", $v) EndFunc ;==>glColor4sv Func glColor4ub($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4ub", "ubyte", $red, "ubyte", $green, "ubyte", $blue, "ubyte", $alpha) EndFunc ;==>glColor4ub Func glColor4ubv($v) DllCall("opengl32.dll", "none", "glColor4ubv", "dword", $v) EndFunc ;==>glColor4ubv Func glColor4ui($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4ui", "uint", $red, "uint", $green, "uint", $blue, "uint", $alpha) EndFunc ;==>glColor4ui Func glColor4uiv($v) DllCall("opengl32.dll", "none", "glColor4uiv", "dword", $v) EndFunc ;==>glColor4uiv Func glColor4us($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColor4us", "ushort", $red, "ushort", $green, "ushort", $blue, "ushort", $alpha) EndFunc ;==>glColor4us Func glColor4usv($v) DllCall("opengl32.dll", "none", "glColor4usv", "dword", $v) EndFunc ;==>glColor4usv Func glColormask($red, $green, $blue, $alpha) DllCall("opengl32.dll", "none", "glColormask", "ubyte", $red, "ubyte", $green, "ubyte", $blue, "ubyte", $alpha) EndFunc ;==>glColormask Func glColorMaterial($face, $mode) DllCall("opengl32.dll", "none", "glColorMaterial", "uint", $face, "uint", $mode) EndFunc ;==>glColorMaterial Func glColorpointer($size, $type, $stride, $pointer) DllCall("opengl32.dll", "none", "glColorpointer", "int", $size, "uint", $type, "int", $stride, "dword", $pointer) EndFunc ;==>glColorpointer Func glCopypixels($x, $y, $width, $height, $type) DllCall("opengl32.dll", "none", "glCopypixels", "int", $x, "int", $y, "int", $width, "int", $height, "uint", $type) EndFunc ;==>glCopypixels Func glCopyTexImage1D($target, $level, $internalformat, $x, $y, $width, $border) DllCall("opengl32.dll", "none", "glCopyTexImage1D", "uint", $target, "int", $level, "uint", $internalformat, "int", $x, "int", $y, "int", $width, "int", $border) EndFunc ;==>glCopyTexImage1D Func glCopyTexImage2D($target, $level, $internalformat, $x, $y, $width, $height, $border) DllCall("opengl32.dll", "none", "glCopyTexImage2D", "uint", $target, "int", $level, "uint", $internalformat, "int", $x, "int", $y, "int", $width, "int", $height, "int", $border) EndFunc ;==>glCopyTexImage2D Func glCopyTexSubImage1D($target, $level, $xoffset, $x, $y, $width) DllCall("opengl32.dll", "none", "glCopyTexSubImage1D", "uint", $target, "int", $level, "int", $xoffset, "int", $x, "int", $y, "int", $width) EndFunc ;==>glCopyTexSubImage1D Func glCopyTexSubImage2D($target, $level, $xoffset, $yoffset, $x, $y, $width, $height) DllCall("opengl32.dll", "none", "glCopyTexSubImage2D", "uint", $target, "int", $level, "int", $xoffset, "int", $yoffset, "int", $x, "int", $y, "int", $width, "int", $height) EndFunc ;==>glCopyTexSubImage2D Func glCullFace($mode) DllCall("opengl32.dll", "none", "glCullFace", "uint", $mode) EndFunc ;==>glCullFace Func glDeleteLists($list, $range) DllCall("opengl32.dll", "none", "glDeleteLists", "uint", $list, "int", $range) EndFunc ;==>glDeleteLists Func glDeleteTextures($n, $textures) DllCall("opengl32.dll", "none", "glDeleteTextures", "int", $n, "dword", $textures) EndFunc ;==>glDeleteTextures Func glDepthFunc($func) DllCall("opengl32.dll", "none", "glDepthFunc", "uint", $func) EndFunc ;==>glDepthFunc Func glDepthmask($flag) DllCall("opengl32.dll", "none", "glDepthmask", "ubyte", $flag) EndFunc ;==>glDepthmask Func glDepthRange($zNear, $zFar) DllCall("opengl32.dll", "none", "glDepthRange", "double", $zNear, "double", $zFar) EndFunc ;==>glDepthRange Func glDisable($cap) DllCall("opengl32.dll", "none", "glDisable", "uint", $cap) EndFunc ;==>glDisable Func glDisableClientState($array) DllCall("opengl32.dll", "none", "glDisableClientState", "uint", $array) EndFunc ;==>glDisableClientState Func glDrawarrays($mode, $first, $count) DllCall("opengl32.dll", "none", "glDrawarrays", "uint", $mode, "int", $first, "int", $count) EndFunc ;==>glDrawarrays Func glDrawBuffer($mode) DllCall("opengl32.dll", "none", "glDrawBuffer", "uint", $mode) EndFunc ;==>glDrawBuffer Func glDrawElements($mode, $count, $type, $indices) DllCall("opengl32.dll", "none", "glDrawElements", "uint", $mode, "int", $count, "uint", $type, "dword", $indices) EndFunc ;==>glDrawElements Func glDrawPixels($width, $height, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glDrawPixels", "int", $width, "int", $height, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glDrawPixels Func glEdgeFlag($flag) DllCall("opengl32.dll", "none", "glEdgeFlag", "ubyte", $flag) EndFunc ;==>glEdgeFlag Func glEdgeFlagpointer($stride, $pointer) DllCall("opengl32.dll", "none", "glEdgeFlagpointer", "int", $stride, "dword", $pointer) EndFunc ;==>glEdgeFlagpointer Func glEdgeFlagv($flag) DllCall("opengl32.dll", "none", "glEdgeFlagv", "dword", $flag) EndFunc ;==>glEdgeFlagv Func glEnable($cap) DllCall("opengl32.dll", "none", "glEnable", "uint", $cap) EndFunc ;==>glEnable Func glEnableClientState($array) DllCall("opengl32.dll", "none", "glEnableClientState", "uint", $array) EndFunc ;==>glEnableClientState Func glEnd() DllCall("opengl32.dll", "none", "glEnd") EndFunc ;==>glEnd Func glEndList() DllCall("opengl32.dll", "none", "glEndList") EndFunc ;==>glEndList Func glEvalcoord1d($u) DllCall("opengl32.dll", "none", "glEvalcoord1d", "double", $u) EndFunc ;==>glEvalcoord1d Func glEvalcoord1dv($u) DllCall("opengl32.dll", "none", "glEvalcoord1dv", "dword", $u) EndFunc ;==>glEvalcoord1dv Func glEvalcoord1f($u) DllCall("opengl32.dll", "none", "glEvalcoord1f", "float", $u) EndFunc ;==>glEvalcoord1f Func glEvalcoord1fv($u) DllCall("opengl32.dll", "none", "glEvalcoord1fv", "dword", $u) EndFunc ;==>glEvalcoord1fv Func glEvalcoord2d($u, $v) DllCall("opengl32.dll", "none", "glEvalcoord2d", "double", $u, "double", $v) EndFunc ;==>glEvalcoord2d Func glEvalcoord2dv($u) DllCall("opengl32.dll", "none", "glEvalcoord2dv", "dword", $u) EndFunc ;==>glEvalcoord2dv Func glEvalcoord2f($u, $v) DllCall("opengl32.dll", "none", "glEvalcoord2f", "float", $u, "float", $v) EndFunc ;==>glEvalcoord2f Func glEvalcoord2fv($u) DllCall("opengl32.dll", "none", "glEvalcoord2fv", "dword", $u) EndFunc ;==>glEvalcoord2fv Func glEvalMesh1($mode, $i1, $i2) DllCall("opengl32.dll", "none", "glEvalMesh1", "uint", $mode, "int", $i1, "int", $i2) EndFunc ;==>glEvalMesh1 Func glEvalMesh2($mode, $i1, $i2, $j1, $j2) DllCall("opengl32.dll", "none", "glEvalMesh2", "uint", $mode, "int", $i1, "int", $i2, "int", $j1, "int", $j2) EndFunc ;==>glEvalMesh2 Func glEvalPoint1($i) DllCall("opengl32.dll", "none", "glEvalPoint1", "int", $i) EndFunc ;==>glEvalPoint1 Func glEvalPoint2($i, $j) DllCall("opengl32.dll", "none", "glEvalPoint2", "int", $i, "int", $j) EndFunc ;==>glEvalPoint2 Func glFeedbackBuffer($size, $type, $buffer) DllCall("opengl32.dll", "none", "glFeedbackBuffer", "int", $size, "uint", $type, "dword", $buffer) EndFunc ;==>glFeedbackBuffer Func glFinish() DllCall("opengl32.dll", "none", "glFinish") EndFunc ;==>glFinish Func glFlush() DllCall("opengl32.dll", "none", "glFlush") EndFunc ;==>glFlush Func glFogf($pname, $param) DllCall("opengl32.dll", "none", "glFogf", "uint", $pname, "float", $param) EndFunc ;==>glFogf Func glFogfv($pname, $params) DllCall("opengl32.dll", "none", "glFogfv", "uint", $pname, "dword", $params) EndFunc ;==>glFogfv Func glFogi($pname, $param) DllCall("opengl32.dll", "none", "glFogi", "uint", $pname, "int", $param) EndFunc ;==>glFogi Func glFogiv($pname, $params) DllCall("opengl32.dll", "none", "glFogiv", "uint", $pname, "dword", $params) EndFunc ;==>glFogiv Func glFrontFace($mode) DllCall("opengl32.dll", "none", "glFrontFace", "uint", $mode) EndFunc ;==>glFrontFace Func glFrustum($left, $right, $bottom, $top, $zNear, $zFar) DllCall("opengl32.dll", "none", "glFrustum", "double", $left, "double", $right, "double", $bottom, "double", $top, "double", $zNear, "double", $zFar) EndFunc ;==>glFrustum Func glGenLists($range) DllCall("opengl32.dll", "uint", "glGenLists", "int", $range) EndFunc ;==>glGenLists Func glGenTextures($n, $textures) DllCall("opengl32.dll", "none", "glGenTextures", "int", $n, "dword", $textures) EndFunc ;==>glGenTextures Func glGetBooleanv($pname, $params) DllCall("opengl32.dll", "none", "glGetBooleanv", "uint", $pname, "dword", $params) EndFunc ;==>glGetBooleanv Func glGetClipPlane($plane, $equation) DllCall("opengl32.dll", "none", "glGetClipPlane", "uint", $plane, "dword", $equation) EndFunc ;==>glGetClipPlane Func glGetDoublev($pname, $params) DllCall("opengl32.dll", "none", "glGetDoublev", "uint", $pname, "dword", $params) EndFunc ;==>glGetDoublev Func glGetError() DllCall("opengl32.dll", "uint", "glGetError") EndFunc ;==>glGetError Func glGetFloatv($pname, $params) DllCall("opengl32.dll", "none", "glGetFloatv", "uint", $pname, "dword", $params) EndFunc ;==>glGetFloatv Func glGetIntegerv($pname, $params) DllCall("opengl32.dll", "none", "glGetIntegerv", "uint", $pname, "dword", $params) EndFunc ;==>glGetIntegerv Func glGetlightfv($light, $pname, $params) DllCall("opengl32.dll", "none", "glGetlightfv", "uint", $light, "uint", $pname, "dword", $params) EndFunc ;==>glGetlightfv Func glGetlightiv($light, $pname, $params) DllCall("opengl32.dll", "none", "glGetlightiv", "uint", $light, "uint", $pname, "dword", $params) EndFunc ;==>glGetlightiv Func glGetMapdv($target, $query, $v) DllCall("opengl32.dll", "none", "glGetMapdv", "uint", $target, "uint", $query, "dword", $v) EndFunc ;==>glGetMapdv Func glGetMapfv($target, $query, $v) DllCall("opengl32.dll", "none", "glGetMapfv", "uint", $target, "uint", $query, "dword", $v) EndFunc ;==>glGetMapfv Func glGetMapiv($target, $query, $v) DllCall("opengl32.dll", "none", "glGetMapiv", "uint", $target, "uint", $query, "dword", $v) EndFunc ;==>glGetMapiv Func glGetMaterialfv($face, $pname, $params) DllCall("opengl32.dll", "none", "glGetMaterialfv", "uint", $face, "uint", $pname, "dword", $params) EndFunc ;==>glGetMaterialfv Func glGetMaterialiv($face, $pname, $params) DllCall("opengl32.dll", "none", "glGetMaterialiv", "uint", $face, "uint", $pname, "dword", $params) EndFunc ;==>glGetMaterialiv Func glGetPixelMapfv($map, $values) DllCall("opengl32.dll", "none", "glGetPixelMapfv", "uint", $map, "dword", $values) EndFunc ;==>glGetPixelMapfv Func glGetPixelMapuiv($map, $values) DllCall("opengl32.dll", "none", "glGetPixelMapuiv", "uint", $map, "dword", $values) EndFunc ;==>glGetPixelMapuiv Func glGetPixelMapusv($map, $values) DllCall("opengl32.dll", "none", "glGetPixelMapusv", "uint", $map, "dword", $values) EndFunc ;==>glGetPixelMapusv Func glGetpointerv($pname, $params) DllCall("opengl32.dll", "none", "glGetpointerv", "uint", $pname, "dword", $params) EndFunc ;==>glGetpointerv Func glGetPolygonStipple($mask) DllCall("opengl32.dll", "none", "glGetPolygonStipple", "dword", $mask) EndFunc ;==>glGetPolygonStipple Func glGetString($name) DllCall("opengl32.dll", "dword", "glGetString", "uint", $name) EndFunc ;==>glGetString Func glGetTexEnvfv($target, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexEnvfv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexEnvfv Func glGetTexEnviv($target, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexEnviv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexEnviv Func glGetTexGendv($coord, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexGendv", "uint", $coord, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexGendv Func glGetTexGenfv($coord, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexGenfv", "uint", $coord, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexGenfv Func glGetTexGeniv($coord, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexGeniv", "uint", $coord, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexGeniv Func glGetTexImage($target, $level, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glGetTexImage", "uint", $target, "int", $level, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glGetTexImage Func glGetTexlevelparameterfv($target, $level, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexlevelparameterfv", "uint", $target, "int", $level, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexlevelparameterfv Func glGetTexlevelparameteriv($target, $level, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexlevelparameteriv", "uint", $target, "int", $level, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexlevelparameteriv Func glGetTexparameterfv($target, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexparameterfv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexparameterfv Func glGetTexparameteriv($target, $pname, $params) DllCall("opengl32.dll", "none", "glGetTexparameteriv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glGetTexparameteriv Func glHint($target, $mode) DllCall("opengl32.dll", "none", "glHint", "uint", $target, "uint", $mode) EndFunc ;==>glHint Func glIndexmask($mask) DllCall("opengl32.dll", "none", "glIndexmask", "uint", $mask) EndFunc ;==>glIndexmask Func glIndexpointer($type, $stride, $pointer) DllCall("opengl32.dll", "none", "glIndexpointer", "uint", $type, "int", $stride, "dword", $pointer) EndFunc ;==>glIndexpointer Func glIndexd($c) DllCall("opengl32.dll", "none", "glIndexd", "double", $c) EndFunc ;==>glIndexd Func glIndexdv($c) DllCall("opengl32.dll", "none", "glIndexdv", "dword", $c) EndFunc ;==>glIndexdv Func glIndexf($c) DllCall("opengl32.dll", "none", "glIndexf", "float", $c) EndFunc ;==>glIndexf Func glIndexfv($c) DllCall("opengl32.dll", "none", "glIndexfv", "dword", $c) EndFunc ;==>glIndexfv Func glIndexi($c) DllCall("opengl32.dll", "none", "glIndexi", "int", $c) EndFunc ;==>glIndexi Func glIndexiv($c) DllCall("opengl32.dll", "none", "glIndexiv", "dword", $c) EndFunc ;==>glIndexiv Func glIndexs($c) DllCall("opengl32.dll", "none", "glIndexs", "short", $c) EndFunc ;==>glIndexs Func glIndexsv($c) DllCall("opengl32.dll", "none", "glIndexsv", "dword", $c) EndFunc ;==>glIndexsv Func glIndexub($c) DllCall("opengl32.dll", "none", "glIndexub", "ubyte", $c) EndFunc ;==>glIndexub Func glIndexubv($c) DllCall("opengl32.dll", "none", "glIndexubv", "dword", $c) EndFunc ;==>glIndexubv Func glInitNames() DllCall("opengl32.dll", "none", "glInitNames") EndFunc ;==>glInitNames Func glInterleavedarrays($format, $stride, $pointer) DllCall("opengl32.dll", "none", "glInterleavedarrays", "uint", $format, "int", $stride, "dword", $pointer) EndFunc ;==>glInterleavedarrays Func glIsEnabled($cap) DllCall("opengl32.dll", "ubyte", "glIsEnabled", "uint", $cap) EndFunc ;==>glIsEnabled Func glIsList($list) DllCall("opengl32.dll", "ubyte", "glIsList", "uint", $list) EndFunc ;==>glIsList Func glIsTexture($texture) DllCall("opengl32.dll", "ubyte", "glIsTexture", "uint", $texture) EndFunc ;==>glIsTexture Func gllightModelf($pname, $param) DllCall("opengl32.dll", "none", "gllightModelf", "uint", $pname, "float", $param) EndFunc ;==>gllightModelf Func gllightModelfv($pname, $params) DllCall("opengl32.dll", "none", "gllightModelfv", "uint", $pname, "dword", $params) EndFunc ;==>gllightModelfv Func gllightModeli($pname, $param) DllCall("opengl32.dll", "none", "gllightModeli", "uint", $pname, "int", $param) EndFunc ;==>gllightModeli Func gllightModeliv($pname, $params) DllCall("opengl32.dll", "none", "gllightModeliv", "uint", $pname, "dword", $params) EndFunc ;==>gllightModeliv Func gllightf($light, $pname, $param) DllCall("opengl32.dll", "none", "gllightf", "uint", $light, "uint", $pname, "float", $param) EndFunc ;==>gllightf Func gllightfv($light, $pname, $params) DllCall("opengl32.dll", "none", "gllightfv", "uint", $light, "uint", $pname, "dword", $params) EndFunc ;==>gllightfv Func gllighti($light, $pname, $param) DllCall("opengl32.dll", "none", "gllighti", "uint", $light, "uint", $pname, "int", $param) EndFunc ;==>gllighti Func gllightiv($light, $pname, $params) DllCall("opengl32.dll", "none", "gllightiv", "uint", $light, "uint", $pname, "dword", $params) EndFunc ;==>gllightiv Func glLineStipple($factor, $pattern) DllCall("opengl32.dll", "none", "glLineStipple", "int", $factor, "ushort", $pattern) EndFunc ;==>glLineStipple Func glLinewidth($width) DllCall("opengl32.dll", "none", "glLinewidth", "float", $width) EndFunc ;==>glLinewidth Func glListBase($base) DllCall("opengl32.dll", "none", "glListBase", "uint", $base) EndFunc ;==>glListBase Func glLoadIdentity() DllCall("opengl32.dll", "none", "glLoadIdentity") EndFunc ;==>glLoadIdentity Func glLoadMatrixd($m) DllCall("opengl32.dll", "none", "glLoadMatrixd", "dword", $m) EndFunc ;==>glLoadMatrixd Func glLoadMatrixf($m) DllCall("opengl32.dll", "none", "glLoadMatrixf", "dword", $m) EndFunc ;==>glLoadMatrixf Func glLoadName($name) DllCall("opengl32.dll", "none", "glLoadName", "uint", $name) EndFunc ;==>glLoadName Func glLogicOp($opcode) DllCall("opengl32.dll", "none", "glLogicOp", "uint", $opcode) EndFunc ;==>glLogicOp Func glMap1d($target, $u1, $u2, $stride, $order, $points) DllCall("opengl32.dll", "none", "glMap1d", "uint", $target, "double", $u1, "double", $u2, "int", $stride, "int", $order, "dword", $points) EndFunc ;==>glMap1d Func glMap1f($target, $u1, $u2, $stride, $order, $points) DllCall("opengl32.dll", "none", "glMap1f", "uint", $target, "float", $u1, "float", $u2, "int", $stride, "int", $order, "dword", $points) EndFunc ;==>glMap1f Func glMap2d($target, $u1, $u2, $ustride, $uorder, $v1, $v2, $vstride, $vorder, $points) DllCall("opengl32.dll", "none", "glMap2d", "uint", $target, "double", $u1, "double", $u2, "int", $ustride, "int", $uorder, "double", $v1, "double", $v2, "int", $vstride, "int", $vorder, "dword", $points) EndFunc ;==>glMap2d Func glMap2f($target, $u1, $u2, $ustride, $uorder, $v1, $v2, $vstride, $vorder, $points) DllCall("opengl32.dll", "none", "glMap2f", "uint", $target, "float", $u1, "float", $u2, "int", $ustride, "int", $uorder, "float", $v1, "float", $v2, "int", $vstride, "int", $vorder, "dword", $points) EndFunc ;==>glMap2f Func glMapGrid1d($un, $u1, $u2) DllCall("opengl32.dll", "none", "glMapGrid1d", "int", $un, "double", $u1, "double", $u2) EndFunc ;==>glMapGrid1d Func glMapGrid1f($un, $u1, $u2) DllCall("opengl32.dll", "none", "glMapGrid1f", "int", $un, "float", $u1, "float", $u2) EndFunc ;==>glMapGrid1f Func glMapGrid2d($un, $u1, $u2, $vn, $v1, $v2) DllCall("opengl32.dll", "none", "glMapGrid2d", "int", $un, "double", $u1, "double", $u2, "int", $vn, "double", $v1, "double", $v2) EndFunc ;==>glMapGrid2d Func glMapGrid2f($un, $u1, $u2, $vn, $v1, $v2) DllCall("opengl32.dll", "none", "glMapGrid2f", "int", $un, "float", $u1, "float", $u2, "int", $vn, "float", $v1, "float", $v2) EndFunc ;==>glMapGrid2f Func glMaterialf($face, $pname, $param) DllCall("opengl32.dll", "none", "glMaterialf", "uint", $face, "uint", $pname, "float", $param) EndFunc ;==>glMaterialf Func glMaterialfv($face, $pname, $params) DllCall("opengl32.dll", "none", "glMaterialfv", "uint", $face, "uint", $pname, "dword", $params) EndFunc ;==>glMaterialfv Func glMateriali($face, $pname, $param) DllCall("opengl32.dll", "none", "glMateriali", "uint", $face, "uint", $pname, "int", $param) EndFunc ;==>glMateriali Func glMaterialiv($face, $pname, $params) DllCall("opengl32.dll", "none", "glMaterialiv", "uint", $face, "uint", $pname, "dword", $params) EndFunc ;==>glMaterialiv Func glMatrixMode($mode) DllCall("opengl32.dll", "none", "glMatrixMode", "uint", $mode) EndFunc ;==>glMatrixMode Func glMultMatrixd($m) DllCall("opengl32.dll", "none", "glMultMatrixd", "dword", $m) EndFunc ;==>glMultMatrixd Func glMultMatrixf($m) DllCall("opengl32.dll", "none", "glMultMatrixf", "dword", $m) EndFunc ;==>glMultMatrixf Func glNewList($list, $mode) DllCall("opengl32.dll", "none", "glNewList", "uint", $list, "uint", $mode) EndFunc ;==>glNewList Func glNormal3b($nx, $ny, $nz) DllCall("opengl32.dll", "none", "glNormal3b", "byte", $nx, "byte", $ny, "byte", $nz) EndFunc ;==>glNormal3b Func glNormal3bv($v) DllCall("opengl32.dll", "none", "glNormal3bv", "dword", $v) EndFunc ;==>glNormal3bv Func glNormal3d($nx, $ny, $nz) DllCall("opengl32.dll", "none", "glNormal3d", "double", $nx, "double", $ny, "double", $nz) EndFunc ;==>glNormal3d Func glNormal3dv($v) DllCall("opengl32.dll", "none", "glNormal3dv", "dword", $v) EndFunc ;==>glNormal3dv Func glNormal3f($nx, $ny, $nz) DllCall("opengl32.dll", "none", "glNormal3f", "float", $nx, "float", $ny, "float", $nz) EndFunc ;==>glNormal3f Func glNormal3fv($v) DllCall("opengl32.dll", "none", "glNormal3fv", "dword", $v) EndFunc ;==>glNormal3fv Func glNormal3i($nx, $ny, $nz) DllCall("opengl32.dll", "none", "glNormal3i", "int", $nx, "int", $ny, "int", $nz) EndFunc ;==>glNormal3i Func glNormal3iv($v) DllCall("opengl32.dll", "none", "glNormal3iv", "dword", $v) EndFunc ;==>glNormal3iv Func glNormal3s($nx, $ny, $nz) DllCall("opengl32.dll", "none", "glNormal3s", "short", $nx, "short", $ny, "short", $nz) EndFunc ;==>glNormal3s Func glNormal3sv($v) DllCall("opengl32.dll", "none", "glNormal3sv", "dword", $v) EndFunc ;==>glNormal3sv Func glNormalpointer($type, $stride, $pointer) DllCall("opengl32.dll", "none", "glNormalpointer", "uint", $type, "int", $stride, "dword", $pointer) EndFunc ;==>glNormalpointer Func glOrtho($left, $right, $bottom, $top, $zNear, $zFar) DllCall("opengl32.dll", "none", "glOrtho", "double", $left, "double", $right, "double", $bottom, "double", $top, "double", $zNear, "double", $zFar) EndFunc ;==>glOrtho Func glPassThrough($token) DllCall("opengl32.dll", "none", "glPassThrough", "float", $token) EndFunc ;==>glPassThrough Func glPixelMapfv($map, $mapsize, $values) DllCall("opengl32.dll", "none", "glPixelMapfv", "uint", $map, "int", $mapsize, "dword", $values) EndFunc ;==>glPixelMapfv Func glPixelMapuiv($map, $mapsize, $values) DllCall("opengl32.dll", "none", "glPixelMapuiv", "uint", $map, "int", $mapsize, "dword", $values) EndFunc ;==>glPixelMapuiv Func glPixelMapusv($map, $mapsize, $values) DllCall("opengl32.dll", "none", "glPixelMapusv", "uint", $map, "int", $mapsize, "dword", $values) EndFunc ;==>glPixelMapusv Func glpixelstoref($pname, $param) DllCall("opengl32.dll", "none", "glpixelstoref", "uint", $pname, "float", $param) EndFunc ;==>glpixelstoref Func glpixelstorei($pname, $param) DllCall("opengl32.dll", "none", "glpixelstorei", "uint", $pname, "int", $param) EndFunc ;==>glpixelstorei Func glPixelTransferf($pname, $param) DllCall("opengl32.dll", "none", "glPixelTransferf", "uint", $pname, "float", $param) EndFunc ;==>glPixelTransferf Func glPixelTransferi($pname, $param) DllCall("opengl32.dll", "none", "glPixelTransferi", "uint", $pname, "int", $param) EndFunc ;==>glPixelTransferi Func glPixelZoom($xfactor, $yfactor) DllCall("opengl32.dll", "none", "glPixelZoom", "float", $xfactor, "float", $yfactor) EndFunc ;==>glPixelZoom Func glPointsize($size) DllCall("opengl32.dll", "none", "glPointsize", "float", $size) EndFunc ;==>glPointsize Func glPolygonMode($face, $mode) DllCall("opengl32.dll", "none", "glPolygonMode", "uint", $face, "uint", $mode) EndFunc ;==>glPolygonMode Func glPolygonOffset($factor, $units) DllCall("opengl32.dll", "none", "glPolygonOffset", "float", $factor, "float", $units) EndFunc ;==>glPolygonOffset Func glPolygonStipple($mask) DllCall("opengl32.dll", "none", "glPolygonStipple", "dword", $mask) EndFunc ;==>glPolygonStipple Func glPopAttrib() DllCall("opengl32.dll", "none", "glPopAttrib") EndFunc ;==>glPopAttrib Func glPopClientAttrib() DllCall("opengl32.dll", "none", "glPopClientAttrib") EndFunc ;==>glPopClientAttrib Func glPopMatrix() DllCall("opengl32.dll", "none", "glPopMatrix") EndFunc ;==>glPopMatrix Func glPopname() DllCall("opengl32.dll", "none", "glPopname") EndFunc ;==>glPopname Func glPrioritizeTextures($n, $textures, $priorities) DllCall("opengl32.dll", "none", "glPrioritizeTextures", "int", $n, "dword", $textures, "dword", $priorities) EndFunc ;==>glPrioritizeTextures Func glPushAttrib($mask) DllCall("opengl32.dll", "none", "glPushAttrib", "uint", $mask) EndFunc ;==>glPushAttrib Func glPushClientAttrib($mask) DllCall("opengl32.dll", "none", "glPushClientAttrib", "uint", $mask) EndFunc ;==>glPushClientAttrib Func glPushMatrix() DllCall("opengl32.dll", "none", "glPushMatrix") EndFunc ;==>glPushMatrix Func glPushName($name) DllCall("opengl32.dll", "none", "glPushName", "uint", $name) EndFunc ;==>glPushName Func glRasterPos2d($x, $y) DllCall("opengl32.dll", "none", "glRasterPos2d", "double", $x, "double", $y) EndFunc ;==>glRasterPos2d Func glRasterPos2dv($v) DllCall("opengl32.dll", "none", "glRasterPos2dv", "dword", $v) EndFunc ;==>glRasterPos2dv Func glRasterPos2f($x, $y) DllCall("opengl32.dll", "none", "glRasterPos2f", "float", $x, "float", $y) EndFunc ;==>glRasterPos2f Func glRasterPos2fv($v) DllCall("opengl32.dll", "none", "glRasterPos2fv", "dword", $v) EndFunc ;==>glRasterPos2fv Func glRasterPos2i($x, $y) DllCall("opengl32.dll", "none", "glRasterPos2i", "int", $x, "int", $y) EndFunc ;==>glRasterPos2i Func glRasterPos2iv($v) DllCall("opengl32.dll", "none", "glRasterPos2iv", "dword", $v) EndFunc ;==>glRasterPos2iv Func glRasterPos2s($x, $y) DllCall("opengl32.dll", "none", "glRasterPos2s", "short", $x, "short", $y) EndFunc ;==>glRasterPos2s Func glRasterPos2sv($v) DllCall("opengl32.dll", "none", "glRasterPos2sv", "dword", $v) EndFunc ;==>glRasterPos2sv Func glRasterPos3d($x, $y, $z) DllCall("opengl32.dll", "none", "glRasterPos3d", "double", $x, "double", $y, "double", $z) EndFunc ;==>glRasterPos3d Func glRasterPos3dv($v) DllCall("opengl32.dll", "none", "glRasterPos3dv", "dword", $v) EndFunc ;==>glRasterPos3dv Func glRasterPos3f($x, $y, $z) DllCall("opengl32.dll", "none", "glRasterPos3f", "float", $x, "float", $y, "float", $z) EndFunc ;==>glRasterPos3f Func glRasterPos3fv($v) DllCall("opengl32.dll", "none", "glRasterPos3fv", "dword", $v) EndFunc ;==>glRasterPos3fv Func glRasterPos3i($x, $y, $z) DllCall("opengl32.dll", "none", "glRasterPos3i", "int", $x, "int", $y, "int", $z) EndFunc ;==>glRasterPos3i Func glRasterPos3iv($v) DllCall("opengl32.dll", "none", "glRasterPos3iv", "dword", $v) EndFunc ;==>glRasterPos3iv Func glRasterPos3s($x, $y, $z) DllCall("opengl32.dll", "none", "glRasterPos3s", "short", $x, "short", $y, "short", $z) EndFunc ;==>glRasterPos3s Func glRasterPos3sv($v) DllCall("opengl32.dll", "none", "glRasterPos3sv", "dword", $v) EndFunc ;==>glRasterPos3sv Func glRasterPos4d($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glRasterPos4d", "double", $x, "double", $y, "double", $z, "double", $w) EndFunc ;==>glRasterPos4d Func glRasterPos4dv($v) DllCall("opengl32.dll", "none", "glRasterPos4dv", "dword", $v) EndFunc ;==>glRasterPos4dv Func glRasterPos4f($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glRasterPos4f", "float", $x, "float", $y, "float", $z, "float", $w) EndFunc ;==>glRasterPos4f Func glRasterPos4fv($v) DllCall("opengl32.dll", "none", "glRasterPos4fv", "dword", $v) EndFunc ;==>glRasterPos4fv Func glRasterPos4i($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glRasterPos4i", "int", $x, "int", $y, "int", $z, "int", $w) EndFunc ;==>glRasterPos4i Func glRasterPos4iv($v) DllCall("opengl32.dll", "none", "glRasterPos4iv", "dword", $v) EndFunc ;==>glRasterPos4iv Func glRasterPos4s($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glRasterPos4s", "short", $x, "short", $y, "short", $z, "short", $w) EndFunc ;==>glRasterPos4s Func glRasterPos4sv($v) DllCall("opengl32.dll", "none", "glRasterPos4sv", "dword", $v) EndFunc ;==>glRasterPos4sv Func glReadBuffer($mode) DllCall("opengl32.dll", "none", "glReadBuffer", "uint", $mode) EndFunc ;==>glReadBuffer Func glReadpixels($x, $y, $width, $height, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glReadpixels", "int", $x, "int", $y, "int", $width, "int", $height, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glReadpixels Func glRectd($x1, $y1, $x2, $y2) DllCall("opengl32.dll", "none", "glRectd", "double", $x1, "double", $y1, "double", $x2, "double", $y2) EndFunc ;==>glRectd Func glRectdv($v1, $v2) DllCall("opengl32.dll", "none", "glRectdv", "dword", $v1, "dword", $v2) EndFunc ;==>glRectdv Func glRectf($x1, $y1, $x2, $y2) DllCall("opengl32.dll", "none", "glRectf", "float", $x1, "float", $y1, "float", $x2, "float", $y2) EndFunc ;==>glRectf Func glRectfv($v1, $v2) DllCall("opengl32.dll", "none", "glRectfv", "dword", $v1, "dword", $v2) EndFunc ;==>glRectfv Func glRecti($x1, $y1, $x2, $y2) DllCall("opengl32.dll", "none", "glRecti", "int", $x1, "int", $y1, "int", $x2, "int", $y2) EndFunc ;==>glRecti Func glRectiv($v1, $v2) DllCall("opengl32.dll", "none", "glRectiv", "dword", $v1, "dword", $v2) EndFunc ;==>glRectiv Func glRects($x1, $y1, $x2, $y2) DllCall("opengl32.dll", "none", "glRects", "short", $x1, "short", $y1, "short", $x2, "short", $y2) EndFunc ;==>glRects Func glRectsv($v1, $v2) DllCall("opengl32.dll", "none", "glRectsv", "dword", $v1, "dword", $v2) EndFunc ;==>glRectsv Func glRenderMode($mode) DllCall("opengl32.dll", "int", "glRenderMode", "uint", $mode) EndFunc ;==>glRenderMode Func glRotated($angle, $x, $y, $z) DllCall("opengl32.dll", "none", "glRotated", "double", $angle, "double", $x, "double", $y, "double", $z) EndFunc ;==>glRotated Func glRotatef($angle, $x, $y, $z) DllCall("opengl32.dll", "none", "glRotatef", "float", $angle, "float", $x, "float", $y, "float", $z) EndFunc ;==>glRotatef Func glScaled($x, $y, $z) DllCall("opengl32.dll", "none", "glScaled", "double", $x, "double", $y, "double", $z) EndFunc ;==>glScaled Func glScalef($x, $y, $z) DllCall("opengl32.dll", "none", "glScalef", "float", $x, "float", $y, "float", $z) EndFunc ;==>glScalef Func glScissor($x, $y, $width, $height) DllCall("opengl32.dll", "none", "glScissor", "int", $x, "int", $y, "int", $width, "int", $height) EndFunc ;==>glScissor Func glSelectBuffer($size, $buffer) DllCall("opengl32.dll", "none", "glSelectBuffer", "int", $size, "dword", $buffer) EndFunc ;==>glSelectBuffer Func glShadeModel($mode) DllCall("opengl32.dll", "none", "glShadeModel", "uint", $mode) EndFunc ;==>glShadeModel Func glStencilFunc($func, $ref, $mask) DllCall("opengl32.dll", "none", "glStencilFunc", "uint", $func, "int", $ref, "uint", $mask) EndFunc ;==>glStencilFunc Func glStencilmask($mask) DllCall("opengl32.dll", "none", "glStencilmask", "uint", $mask) EndFunc ;==>glStencilmask Func glStencilOp($fail, $zfail, $zpass) DllCall("opengl32.dll", "none", "glStencilOp", "uint", $fail, "uint", $zfail, "uint", $zpass) EndFunc ;==>glStencilOp Func glTexcoord1d($s) DllCall("opengl32.dll", "none", "glTexcoord1d", "double", $s) EndFunc ;==>glTexcoord1d Func glTexcoord1dv($v) DllCall("opengl32.dll", "none", "glTexcoord1dv", "dword", $v) EndFunc ;==>glTexcoord1dv Func glTexcoord1f($s) DllCall("opengl32.dll", "none", "glTexcoord1f", "float", $s) EndFunc ;==>glTexcoord1f Func glTexcoord1fv($v) DllCall("opengl32.dll", "none", "glTexcoord1fv", "dword", $v) EndFunc ;==>glTexcoord1fv Func glTexcoord1i($s) DllCall("opengl32.dll", "none", "glTexcoord1i", "int", $s) EndFunc ;==>glTexcoord1i Func glTexcoord1iv($v) DllCall("opengl32.dll", "none", "glTexcoord1iv", "dword", $v) EndFunc ;==>glTexcoord1iv Func glTexcoord1s($s) DllCall("opengl32.dll", "none", "glTexcoord1s", "short", $s) EndFunc ;==>glTexcoord1s Func glTexcoord1sv($v) DllCall("opengl32.dll", "none", "glTexcoord1sv", "dword", $v) EndFunc ;==>glTexcoord1sv Func glTexcoord2d($s, $t) DllCall("opengl32.dll", "none", "glTexcoord2d", "double", $s, "double", $t) EndFunc ;==>glTexcoord2d Func glTexcoord2dv($v) DllCall("opengl32.dll", "none", "glTexcoord2dv", "dword", $v) EndFunc ;==>glTexcoord2dv Func glTexcoord2f($s, $t) DllCall("opengl32.dll", "none", "glTexcoord2f", "float", $s, "float", $t) EndFunc ;==>glTexcoord2f Func glTexcoord2fv($v) DllCall("opengl32.dll", "none", "glTexcoord2fv", "dword", $v) EndFunc ;==>glTexcoord2fv Func glTexcoord2i($s, $t) DllCall("opengl32.dll", "none", "glTexcoord2i", "int", $s, "int", $t) EndFunc ;==>glTexcoord2i Func glTexcoord2iv($v) DllCall("opengl32.dll", "none", "glTexcoord2iv", "dword", $v) EndFunc ;==>glTexcoord2iv Func glTexcoord2s($s, $t) DllCall("opengl32.dll", "none", "glTexcoord2s", "short", $s, "short", $t) EndFunc ;==>glTexcoord2s Func glTexcoord2sv($v) DllCall("opengl32.dll", "none", "glTexcoord2sv", "dword", $v) EndFunc ;==>glTexcoord2sv Func glTexcoord3d($s, $t, $r) DllCall("opengl32.dll", "none", "glTexcoord3d", "double", $s, "double", $t, "double", $r) EndFunc ;==>glTexcoord3d Func glTexcoord3dv($v) DllCall("opengl32.dll", "none", "glTexcoord3dv", "dword", $v) EndFunc ;==>glTexcoord3dv Func glTexcoord3f($s, $t, $r) DllCall("opengl32.dll", "none", "glTexcoord3f", "float", $s, "float", $t, "float", $r) EndFunc ;==>glTexcoord3f Func glTexcoord3fv($v) DllCall("opengl32.dll", "none", "glTexcoord3fv", "dword", $v) EndFunc ;==>glTexcoord3fv Func glTexcoord3i($s, $t, $r) DllCall("opengl32.dll", "none", "glTexcoord3i", "int", $s, "int", $t, "int", $r) EndFunc ;==>glTexcoord3i Func glTexcoord3iv($v) DllCall("opengl32.dll", "none", "glTexcoord3iv", "dword", $v) EndFunc ;==>glTexcoord3iv Func glTexcoord3s($s, $t, $r) DllCall("opengl32.dll", "none", "glTexcoord3s", "short", $s, "short", $t, "short", $r) EndFunc ;==>glTexcoord3s Func glTexcoord3sv($v) DllCall("opengl32.dll", "none", "glTexcoord3sv", "dword", $v) EndFunc ;==>glTexcoord3sv Func glTexcoord4d($s, $t, $r, $q) DllCall("opengl32.dll", "none", "glTexcoord4d", "double", $s, "double", $t, "double", $r, "double", $q) EndFunc ;==>glTexcoord4d Func glTexcoord4dv($v) DllCall("opengl32.dll", "none", "glTexcoord4dv", "dword", $v) EndFunc ;==>glTexcoord4dv Func glTexcoord4f($s, $t, $r, $q) DllCall("opengl32.dll", "none", "glTexcoord4f", "float", $s, "float", $t, "float", $r, "float", $q) EndFunc ;==>glTexcoord4f Func glTexcoord4fv($v) DllCall("opengl32.dll", "none", "glTexcoord4fv", "dword", $v) EndFunc ;==>glTexcoord4fv Func glTexcoord4i($s, $t, $r, $q) DllCall("opengl32.dll", "none", "glTexcoord4i", "int", $s, "int", $t, "int", $r, "int", $q) EndFunc ;==>glTexcoord4i Func glTexcoord4iv($v) DllCall("opengl32.dll", "none", "glTexcoord4iv", "dword", $v) EndFunc ;==>glTexcoord4iv Func glTexcoord4s($s, $t, $r, $q) DllCall("opengl32.dll", "none", "glTexcoord4s", "short", $s, "short", $t, "short", $r, "short", $q) EndFunc ;==>glTexcoord4s Func glTexcoord4sv($v) DllCall("opengl32.dll", "none", "glTexcoord4sv", "dword", $v) EndFunc ;==>glTexcoord4sv Func glTexcoordpointer($size, $type, $stride, $pointer) DllCall("opengl32.dll", "none", "glTexcoordpointer", "int", $size, "uint", $type, "int", $stride, "dword", $pointer) EndFunc ;==>glTexcoordpointer Func glTexEnvf($target, $pname, $param) DllCall("opengl32.dll", "none", "glTexEnvf", "uint", $target, "uint", $pname, "float", $param) EndFunc ;==>glTexEnvf Func glTexEnvfv($target, $pname, $params) DllCall("opengl32.dll", "none", "glTexEnvfv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glTexEnvfv Func glTexEnvi($target, $pname, $param) DllCall("opengl32.dll", "none", "glTexEnvi", "uint", $target, "uint", $pname, "int", $param) EndFunc ;==>glTexEnvi Func glTexEnviv($target, $pname, $params) DllCall("opengl32.dll", "none", "glTexEnviv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glTexEnviv Func glTexGend($coord, $pname, $param) DllCall("opengl32.dll", "none", "glTexGend", "uint", $coord, "uint", $pname, "double", $param) EndFunc ;==>glTexGend Func glTexGendv($coord, $pname, $params) DllCall("opengl32.dll", "none", "glTexGendv", "uint", $coord, "uint", $pname, "dword", $params) EndFunc ;==>glTexGendv Func glTexGenf($coord, $pname, $param) DllCall("opengl32.dll", "none", "glTexGenf", "uint", $coord, "uint", $pname, "float", $param) EndFunc ;==>glTexGenf Func glTexGenfv($coord, $pname, $params) DllCall("opengl32.dll", "none", "glTexGenfv", "uint", $coord, "uint", $pname, "dword", $params) EndFunc ;==>glTexGenfv Func glTexGeni($coord, $pname, $param) DllCall("opengl32.dll", "none", "glTexGeni", "uint", $coord, "uint", $pname, "int", $param) EndFunc ;==>glTexGeni Func glTexGeniv($coord, $pname, $params) DllCall("opengl32.dll", "none", "glTexGeniv", "uint", $coord, "uint", $pname, "dword", $params) EndFunc ;==>glTexGeniv Func glTexImage1D($target, $level, $internalformat, $width, $border, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glTexImage1D", "uint", $target, "int", $level, "int", $internalformat, "int", $width, "int", $border, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glTexImage1D Func glTexImage2D($target, $level, $internalformat, $width, $height, $border, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glTexImage2D", "uint", $target, "int", $level, "int", $internalformat, "int", $width, "int", $height, "int", $border, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glTexImage2D Func glTexparameterf($target, $pname, $param) DllCall("opengl32.dll", "none", "glTexparameterf", "uint", $target, "uint", $pname, "float", $param) EndFunc ;==>glTexparameterf Func glTexparameterfv($target, $pname, $params) DllCall("opengl32.dll", "none", "glTexparameterfv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glTexparameterfv Func glTexparameteri($target, $pname, $param) DllCall("opengl32.dll", "none", "glTexparameteri", "uint", $target, "uint", $pname, "int", $param) EndFunc ;==>glTexparameteri Func glTexparameteriv($target, $pname, $params) DllCall("opengl32.dll", "none", "glTexparameteriv", "uint", $target, "uint", $pname, "dword", $params) EndFunc ;==>glTexparameteriv Func glTexSubImage1D($target, $level, $xoffset, $width, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glTexSubImage1D", "uint", $target, "int", $level, "int", $xoffset, "int", $width, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glTexSubImage1D Func glTexSubImage2D($target, $level, $xoffset, $yoffset, $width, $height, $format, $type, $pixels) DllCall("opengl32.dll", "none", "glTexSubImage2D", "uint", $target, "int", $level, "int", $xoffset, "int", $yoffset, "int", $width, "int", $height, "uint", $format, "uint", $type, "dword", $pixels) EndFunc ;==>glTexSubImage2D Func glTranslated($x, $y, $z) DllCall("opengl32.dll", "none", "glTranslated", "double", $x, "double", $y, "double", $z) EndFunc ;==>glTranslated Func glTranslatef($x, $y, $z) DllCall("opengl32.dll", "none", "glTranslatef", "float", $x, "float", $y, "float", $z) EndFunc ;==>glTranslatef Func glVertex2d($x, $y) DllCall("opengl32.dll", "none", "glVertex2d", "double", $x, "double", $y) EndFunc ;==>glVertex2d Func glVertex2dv($v) DllCall("opengl32.dll", "none", "glVertex2dv", "dword", $v) EndFunc ;==>glVertex2dv Func glVertex2f($x, $y) DllCall("opengl32.dll", "none", "glVertex2f", "float", $x, "float", $y) EndFunc ;==>glVertex2f Func glVertex2fv($v) DllCall("opengl32.dll", "none", "glVertex2fv", "dword", $v) EndFunc ;==>glVertex2fv Func glVertex2i($x, $y) DllCall("opengl32.dll", "none", "glVertex2i", "int", $x, "int", $y) EndFunc ;==>glVertex2i Func glVertex2iv($v) DllCall("opengl32.dll", "none", "glVertex2iv", "dword", $v) EndFunc ;==>glVertex2iv Func glVertex2s($x, $y) DllCall("opengl32.dll", "none", "glVertex2s", "short", $x, "short", $y) EndFunc ;==>glVertex2s Func glVertex2sv($v) DllCall("opengl32.dll", "none", "glVertex2sv", "dword", $v) EndFunc ;==>glVertex2sv Func glVertex3d($x, $y, $z) DllCall("opengl32.dll", "none", "glVertex3d", "double", $x, "double", $y, "double", $z) EndFunc ;==>glVertex3d Func glVertex3dv($v) DllCall("opengl32.dll", "none", "glVertex3dv", "dword", $v) EndFunc ;==>glVertex3dv Func glVertex3f($x, $y, $z) DllCall("opengl32.dll", "none", "glVertex3f", "float", $x, "float", $y, "float", $z) EndFunc ;==>glVertex3f Func glVertex3fv($v) DllCall("opengl32.dll", "none", "glVertex3fv", "dword", $v) EndFunc ;==>glVertex3fv Func glVertex3i($x, $y, $z) DllCall("opengl32.dll", "none", "glVertex3i", "int", $x, "int", $y, "int", $z) EndFunc ;==>glVertex3i Func glVertex3iv($v) DllCall("opengl32.dll", "none", "glVertex3iv", "dword", $v) EndFunc ;==>glVertex3iv Func glVertex3s($x, $y, $z) DllCall("opengl32.dll", "none", "glVertex3s", "short", $x, "short", $y, "short", $z) EndFunc ;==>glVertex3s Func glVertex3sv($v) DllCall("opengl32.dll", "none", "glVertex3sv", "dword", $v) EndFunc ;==>glVertex3sv Func glVertex4d($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glVertex4d", "double", $x, "double", $y, "double", $z, "double", $w) EndFunc ;==>glVertex4d Func glVertex4dv($v) DllCall("opengl32.dll", "none", "glVertex4dv", "dword", $v) EndFunc ;==>glVertex4dv Func glVertex4f($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glVertex4f", "float", $x, "float", $y, "float", $z, "float", $w) EndFunc ;==>glVertex4f Func glVertex4fv($v) DllCall("opengl32.dll", "none", "glVertex4fv", "dword", $v) EndFunc ;==>glVertex4fv Func glVertex4i($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glVertex4i", "int", $x, "int", $y, "int", $z, "int", $w) EndFunc ;==>glVertex4i Func glVertex4iv($v) DllCall("opengl32.dll", "none", "glVertex4iv", "dword", $v) EndFunc ;==>glVertex4iv Func glVertex4s($x, $y, $z, $w) DllCall("opengl32.dll", "none", "glVertex4s", "short", $x, "short", $y, "short", $z, "short", $w) EndFunc ;==>glVertex4s Func glVertex4sv($v) DllCall("opengl32.dll", "none", "glVertex4sv", "dword", $v) EndFunc ;==>glVertex4sv Func glVertexpointer($size, $type, $stride, $pointer) DllCall("opengl32.dll", "none", "glVertexpointer", "int", $size, "uint", $type, "int", $stride, "dword", $pointer) EndFunc ;==>glVertexpointer Func glViewport($x, $y, $width, $height) DllCall("opengl32.dll", "none", "glViewport", "int", $x, "int", $y, "int", $width, "int", $height) EndFunc ;==>glViewport