{"id":3611,"date":"2018-01-16T15:48:58","date_gmt":"2018-01-16T07:48:58","guid":{"rendered":"http:\/\/www.bookcard.net\/wordpress\/?p=3611"},"modified":"2018-10-14T21:26:27","modified_gmt":"2018-10-14T13:26:27","slug":"opengl_attrib","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/opengl_attrib\/","title":{"rendered":"OpenGL\u4e4b\u5c6c\u6027"},"content":{"rendered":"<figure id=\"attachment_3612\" aria-describedby=\"caption-attachment-3612\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/01\/OpenGL_ATTRIB.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3612\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/01\/OpenGL_ATTRIB.jpg\" alt=\"\" width=\"1024\" height=\"768\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/01\/OpenGL_ATTRIB.jpg 1024w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/01\/OpenGL_ATTRIB-300x225.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2018\/01\/OpenGL_ATTRIB-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-3612\" class=\"wp-caption-text\">OpenGL\u4e4b\u5c6c\u6027<\/figcaption><\/figure>\n<p>OpenGL\u64c1\u6709\u5e7e\u767e\u500b\u72c0\u614b,\u901a\u904e\u5c6c\u6027\u5806\u68e7\u7684\u58d3\u68e7\u548c\u51fa\u68e7,\u4fdd\u5b58\u8207\u6062\u5fa9\u72c0\u614b\u8b8a\u91cf.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"284\">\u51fd\u5f0f<\/td>\n<td width=\"284\">\u7c21\u4ecb<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">void glPushAttrib (GLbitfield mask);<\/td>\n<td width=\"284\">\u628a\u7576\u524d\u72c0\u614b\u58d3\u5165\u5806\u68e7<\/p>\n<p>Mask:\u63a9\u78bc,\u4fdd\u5b58\u6307\u5b9a\u5c6c\u6027\u5206\u7d44<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">void glPopAttrib (void);<\/td>\n<td width=\"284\">\u5c6c\u6027\u5806\u68e7\u51fa\u68e7\u4e26\u6062\u5fa9\u72c0\u614b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"284\">\u63a9\u78bcmask<\/td>\n<td width=\"284\">\u5c6c\u6027\u5206\u7d44<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_ALL_ATTRIB_BITS<\/td>\n<td width=\"284\">\u6240\u6709\u5c6c\u6027\u5206\u7d44\u7684OpenGL\u7684\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_VIEWPORT_BIT<\/td>\n<td width=\"284\">\u8996\u53e3\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_ENABLE_BIT<\/td>\n<td width=\"284\">\u4ee5\u555f\u7528\u7684\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_FOG_BIT<\/td>\n<td width=\"284\">\u7159\u9727\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_LIGHTING_BIT<\/td>\n<td width=\"284\">\u71c8\u5149\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_LINE_BIT<\/td>\n<td width=\"284\">\u76f4\u7dda\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_POINT_BIT<\/td>\n<td width=\"284\">\u8cea\u9ede\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_POLYGON_BIT<\/td>\n<td width=\"284\">\u591a\u908a\u5f62\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<tr>\n<td width=\"284\">GL_TEXTURE_BIT<\/td>\n<td width=\"284\">\u7d0b\u7406\u72c0\u614b\u8b8a\u91cf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenGL\u64c1\u6709\u5e7e\u767e\u500b\u72c0\u614b,\u901a\u904e\u5c6c\u6027\u5806\u68e7\u7684\u58d3\u68e7\u548c\u51fa\u68e7,\u4fdd\u5b58\u8207\u6062\u5fa9\u72c0\u614b\u8b8a\u91cf. \u51fd\u5f0f \u7c21\u4ecb void glPush &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/opengl_attrib\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">OpenGL\u4e4b\u5c6c\u6027<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[50],"class_list":["post-3611","post","type-post","status-publish","format-standard","hentry","category-opengl","tag-opengl","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/3611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=3611"}],"version-history":[{"count":1,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/3611\/revisions"}],"predecessor-version":[{"id":3613,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/3611\/revisions\/3613"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=3611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=3611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=3611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}