{"json_modified": "2016-07-24T08:11:59.667449", "uuid": "07288141-fb66-4abe-8023-8596329e9570", "title": "WebGL constants", "url": "/en-US/docs/Web/API/WebGL_API/Constants", "tags": ["Reference", "WebGL", "API", "constants"], "translations": [{"uuid": "462ce419-476e-4bc1-8ac8-b18b0b2d0e17", "title": "WebGL \u76f8\u5173\u5e38\u91cf", "url": "/zh-CN/docs/Web/API/WebGL_API/Constants", "tags": [], "summary": "WebGL API \u63d0\u4f9b\u4e86\u4e00\u4e9b\u5e38\u91cf\uff0c\u8fd9\u4e9b\u5e38\u91cf\u5e38\u4f5c\u4e3a\u53c2\u6570\u4f20\u5165\u51fd\u6570\u8c03\u7528\uff0c\u6216\u5e38\u4f5c\u4e3a\u51fd\u6570\u7684\u8fd4\u56de\u503c\u3002\u6240\u6709\u8fd9\u4e9b\u5e38\u91cf\u90fd\u662f\u00a0GLenum
\u7c7b\u578b\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-05-05T09:31:14", "review_tags": []}], "modified": "2016-07-24T08:11:56", "label": "WebGL constants", "localization_tags": [], "locale": "en-US", "id": 152071, "last_edit": "2016-07-24T08:02:55", "summary": "The WebGL API provides several constants that are passed into or returned by functions. All constants are of type GLenum
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Table_of_contents", "title": "Table of contents"}, {"id": "Standard_WebGL_1_constants", "title": "Standard WebGL 1 constants"}, {"id": "Clearing_buffers", "title": "Clearing buffers"}, {"id": "Rendering_primitives", "title": "Rendering primitives"}, {"id": "Blending_modes", "title": "Blending modes"}, {"id": "Blending_equations", "title": "Blending equations"}, {"id": "Getting_GL_parameter_information", "title": "Getting GL parameter information"}, {"id": "Buffers", "title": "Buffers"}, {"id": "Vertex_attributes", "title": "Vertex attributes"}, {"id": "Culling", "title": "Culling"}, {"id": "Enabling_and_disabling", "title": "Enabling and disabling"}, {"id": "Errors", "title": "Errors"}, {"id": "Front_face_directions", "title": "Front face directions"}, {"id": "Hints", "title": "Hints"}, {"id": "Data_types", "title": "Data types"}, {"id": "Pixel_formats", "title": "Pixel formats"}, {"id": "Pixel_types", "title": "Pixel types"}, {"id": "Shaders", "title": "Shaders"}, {"id": "Depth_or_stencil_tests", "title": "Depth or stencil tests"}, {"id": "Stencil_actions", "title": "Stencil actions"}, {"id": "Textures", "title": "Textures"}, {"id": "Uniform_types", "title": "Uniform types"}, {"id": "Shader_precision-specified_types", "title": "Shader precision-specified types"}, {"id": "Framebuffers_and_renderbuffers", "title": "Framebuffers and renderbuffers"}, {"id": "Pixel_storage_modes", "title": "Pixel storage modes"}, {"id": "Additional_constants_defined_WebGL_2", "title": "Additional constants defined WebGL 2"}, {"id": "Getting_GL_parameter_information_2", "title": "Getting GL parameter information"}, {"id": "Textures_2", "title": "Textures"}, {"id": "Pixel_types_2", "title": "Pixel types"}, {"id": "Queries", "title": "Queries"}, {"id": "Draw_buffers", "title": "Draw buffers"}, {"id": "Samplers", "title": "Samplers"}, {"id": "Buffers_2", "title": "Buffers"}, {"id": "Data_types_2", "title": "Data types"}, {"id": "Vertex_attributes_2", "title": "Vertex attributes"}, {"id": "Transform_feedback", "title": "Transform feedback"}, {"id": "Framebuffers_and_renderbuffers_2", "title": "Framebuffers and renderbuffers"}, {"id": "Uniforms", "title": "Uniforms"}, {"id": "Sync_objects", "title": "Sync objects"}, {"id": "Miscellaneous_constants", "title": "Miscellaneous constants"}, {"id": "Constants_defined_in_WebGL_extensions", "title": "Constants defined in WebGL extensions"}, {"id": "ANGLE_instanced_arrays", "title": null}, {"id": "WEBGL_debug_renderer_info", "title": null}, {"id": "EXT_texture_filter_anisotropic", "title": null}, {"id": "WEBGL_compressed_texture_s3tc", "title": null}, {"id": "WEBGL_compressed_texture_es3", "title": null}, {"id": "WEBGL_compressed_texture_pvrtc", "title": null}, {"id": "WEBGL_compressed_texture_etc1", "title": null}, {"id": "WEBGL_compressed_texture_atc", "title": null}, {"id": "WEBGL_depth_texture", "title": null}, {"id": "OES_texture_half_float", "title": null}, {"id": "WEBGL_color_buffer_float", "title": null}, {"id": "EXT_blend_minmax", "title": null}, {"id": "EXT_sRGB", "title": null}, {"id": "OES_standard_derivatives", "title": null}, {"id": "WEBGL_draw_buffers", "title": null}, {"id": "OES_vertex_array_object", "title": null}, {"id": "EXT_disjoint_timer_query", "title": null}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/WebGL_API/Constants", "review_tags": []}