?? nebu_extgl.h
字號(hào):
/* Small parts were taken from glext.h, here's the lisence: *//*** License Applicability. Except to the extent portions of this file are** made subject to an alternative license as permitted in the SGI Free** Software License B, Version 1.1 (the "License"), the contents of this** file are subject only to the provisions of the License. You may not use** this file except in compliance with the License. You may obtain a copy** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:** ** http://oss.sgi.com/projects/FreeB** ** Note that, as provided in the License, the Software is distributed on an** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.** ** Original Code. The Original Code is: OpenGL Sample Implementation,** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.** Copyright in any portions created by third parties is as indicated** elsewhere herein. All Rights Reserved.** ** Additional Notice Provisions: This software was created using the** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has** not been independently verified as being compliant with the OpenGL(R)** version 1.2.1 Specification.*//* Most parts copyright (c) 2001-2002 Lev Povalahev under this lisence: *//* ----------------------------------------------------------------------------Copyright (c) 2002, Lev PovalahevAll rights reserved.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The name of the author may be used to endorse or promote products derived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ANDANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.------------------------------------------------------------------------------*//* GL_draw_range_elements support added by Benjamin Karaban Lev Povalahev contact information: levp@gmx.net http://www.uni-karlsruhe.de/~uli2/*//* These extensions are supported: GL_ARB_imagingGL_ARB_depth_textureGL_ARB_matrix_paletteGL_ARB_multisampleGL_ARB_multitextureGL_ARB_point_parametersGL_ARB_shadowGL_ARB_shadow_ambientGL_ARB_texture_compressionGL_ARB_texture_env_addGL_ARB_texture_env_dot3GL_ARB_texture_env_combineGL_ARB_texture_env_crossbarGL_ARB_texture_border_clampGL_ARB_texture_cube_mapGL_ARB_texture_mirrored_repeatGL_ARB_transpose_matrixGL_ARB_vertex_blendGL_ARB_vertex_programGL_ARB_window_posGL_EXT_abgrGL_EXT_bgraGL_EXT_blend_function_separateGL_EXT_compiled_vertex_arrayGL_EXT_cull_vertexGL_EXT_draw_range_elementsGL_EXT_fog_coordGL_EXT_multi_draw_arraysGL_EXT_point_parametersGL_EXT_secondary_color GL_EXT_separate_specular_colorGL_EXT_shadow_funcsGL_EXT_stencil_two_sideGL_EXT_stencil_wrapGL_EXT_texture_compression_s3tcGL_EXT_texture_filter_anisotropicGL_EXT_texture_lod_biasGL_EXT_vertex_shaderGL_EXT_vertex_weightingGL_ATI_element_arrayGL_ATI_envmap_bumpmapGL_ATI_fragment_shaderGL_ATI_pn_trianglesGL_ATI_texture_mirror_onceGL_ATI_vertex_array_object;GL_ATI_vertex_streamsGL_ATIX_point_spritesGL_ATIX_texture_env_routeGL_HP_occlusion_testGL_NV_blend_squareGL_NV_copy_depth_to_colorGL_NV_depth_clampGL_NV_element_arrayGL_NV_evaluatorsGL_NV_fenceGL_NV_float_bufferGL_NV_fog_distanceGL_NV_light_max_exponentGL_NV_occlusion_queryGL_NV_packed_depth_stencilGL_NV_point_spriteGL_NV_primitive_restartGL_NV_register_combinersGL_NV_register_combiners2GL_NV_texgen_reflectionGL_NV_texture_env_combine4GL_NV_texture_rectangleGL_NV_texture_shaderGL_NV_texture_shader2GL_NV_texture_shader3GL_NV_vertex_array_rangeGL_NV_vertex_array_range2GL_NV_vertex_programGL_NV_vertex_program1_1GL_NV_vertex_program2GL_SGIS_generate_mipmapGL_SGIX_shadowGL_SGIX_depth_textureWGL_ARB_buffer_regionWGL_ARB_extensions_stringWGL_ARB_make_current_read;WGL_ARB_multisampleWGL_ARB_pbufferWGL_ARB_pixel_formatWGL_ARB_render_texture WGL_EXT_extensions_stringWGL_EXT_swap_controlWGL_NV_render_depth_textureWGL_NV_render_texture_rectangle*/#ifndef __EXTGL_H__#define __EXTGL_H__/*-----------------------------------------*//*-----------------------------------------*/#if defined(_WIN32) && !defined(APIENTRY)#define WIN32_LEAN_AND_MEAN 1#include <windows.h>#endif#define __glext_h_#include <GL/gl.h>#if defined(_WIN32)#elif defined(__APPLE__)# include <OpenGL/glext.h>#else# include <GL/glx.h>#endif /* _WIN32 */#include <string.h>#ifndef APIENTRY#define APIENTRY#endif#ifdef __cplusplusextern "C" {#endif/* OpenGL 1.2 */#ifndef GL_VERSION_1_2#define GL_ARB_imaging 1#define GL_VERSION_1_2 1#define GL_RESCALE_NORMAL 0x803A#define GL_CLAMP_TO_EDGE 0x812F#define GL_MAX_ELEMENTS_VERTICES 0x80E8#define GL_MAX_ELEMENTS_INDICES 0x80E9#define GL_BGR 0x80E0#define GL_BGRA 0x80E1#define GL_UNSIGNED_BYTE_3_3_2 0x8032#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362#define GL_UNSIGNED_SHORT_5_6_5 0x8363#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366#define GL_UNSIGNED_INT_8_8_8_8 0x8035#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367#define GL_UNSIGNED_INT_10_10_10_2 0x8036#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8#define GL_SINGLE_COLOR 0x81F9#define GL_SEPARATE_SPECULAR_COLOR 0x81FA#define GL_TEXTURE_MIN_LOD 0x813A#define GL_TEXTURE_MAX_LOD 0x813B#define GL_TEXTURE_BASE_LEVEL 0x813C#define GL_TEXTURE_MAX_LEVEL 0x813D#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -