当前位置: 首页 > news >正文

提供微网站制作电话/论坛如何做seo

提供微网站制作电话,论坛如何做seo,123房产网,龙华网站建设主要工作该函数主要是确定颜色缓冲区的来源(不会影响到深度、模板等缓冲区的读取),这里的设置将会影响到glReadPixels, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCopyTexSubImage3D的读取结果。 函数名字 …

该函数主要是确定颜色缓冲区的来源(不会影响到深度、模板等缓冲区的读取),这里的设置将会影响到glReadPixels, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCopyTexSubImage3D的读取结果。

函数名字

Name

为像素选择颜色缓冲区源

glReadBuffer, glNamedFramebufferReadBuffer — select a color buffer source for pixels

函数原型

C Specification
void glReadBuffer(     GLenum mode);
 
void glNamedFramebufferReadBuffer(     GLuint framebuffer,
      GLenum mode);
参数
Parameters

帧缓冲区名

framebuffer

    Specifies the name of the framebuffer object for glNamedFramebufferReadBuffer function.

指定颜色缓冲区
mode

    Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and the constants GL_COLOR_ATTACHMENTi.

Description

glReadBuffer specifies a color buffer as the source for subsequent glReadPixels, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, and glCopyTexSubImage3D commands. mode accepts one of twelve or more predefined values. In a fully configured system, GL_FRONT, GL_LEFT, and GL_FRONT_LEFT all name the front left buffer, GL_FRONT_RIGHT and GL_RIGHT name the front right buffer, and GL_BACK_LEFT and GL_BACK name the back left buffer. Further more, the constants GL_COLOR_ATTACHMENTi may be used to indicate the ith color attachment where i ranges from zero to the value of GL_MAX_COLOR_ATTACHMENTS minus one.

Nonstereo double-buffered configurations have only a front left and a back left buffer. Single-buffered configurations have a front left and a front right buffer if stereo, and only a front left buffer if nonstereo. It is an error to specify a nonexistent buffer to glReadBuffer.

mode is initially GL_FRONT in single-buffered configurations and GL_BACK in double-buffered configurations.

For glReadBuffer, the target framebuffer object is that bound to GL_READ_FRAMEBUFFER. For glNamedFramebufferReadBuffer, framebuffer must either be zero or the name of the target framebuffer object. If framebuffer is zero, then the default read framebuffer is affected.
Errors

GL_INVALID_ENUM is generated if mode is not one of the twelve (or more) accepted values.

GL_INVALID_OPERATION is generated if mode specifies a buffer that does not exist.

GL_INVALID_OPERATION is generated by glNamedFramebufferReadBuffer if framebuffer is not zero or the name of an existing framebuffer object.
Associated Gets

glGet with argument GL_READ_BUFFER
Version Support
    OpenGL Version
Function / Feature Name     2.0     2.1     3.0     3.1     3.2     3.3     4.0     4.1     4.2     4.3     4.4     4.5
glNamedFramebufferReadBuffer     -     -     -     -     -     -     -     -     -     -     -     ✔
glReadBuffer     ✔     ✔     ✔     ✔     ✔     ✔     ✔     ✔     ✔     ✔     ✔     ✔
 

glReadBuffer(GL_BACK);//读取后端窗口
glReadBuffer(GL_FRONT);//读取前端窗口

 

 

 

 

http://www.lbrq.cn/news/1089253.html

相关文章:

  • 淘宝网购物/seo关键字排名优化
  • 阿里巴巴网站上面产品描述一般怎么做的/数据统计网站
  • 网站开发关于安全问题/优化师培训机构
  • 做网店在素材网站找的图侵权吗/全网营销
  • 长春 网站建设网络推广网页设计/windows10优化工具
  • 网站规划与建设的案例分析/今日刚刚发生的国际新闻
  • 有没有专门做外贸的网站/百度推广代理
  • 海南住房建设厅定额网站/网络网站推广优化
  • 网络营销策划总结/杭州网站优化推荐
  • 厦门建设局怎么进/湖南seo优化价格
  • 用divid做网站代码/手机怎么创建网站
  • 做网站必须要有数据库/太原关键词优化服务
  • 做网站开发多少钱/免费创建属于自己的网站
  • javaee做网站建设/长沙快速排名优化
  • 网站建设售后完善/seo网站关键词优化快速官网
  • 微信开发公众平台公司/seo薪资水平
  • 沈阳个人网站建设选择/宽带推广方案
  • 手机数据线东莞网站建设/站长工具使用方法
  • wordpress网站合并/谷歌搜索引擎入口2023
  • 上海外贸营销网站建设网站/互联网营销师资格证
  • 用dw做的个人网站/seo海外
  • 怎么 做网站教学流程/2022年今天新闻联播
  • 可口可乐营销案例分析/专业seo培训
  • 包头做网站哪家好/照片查询百度图片搜索
  • 用vue做网站一般用什么组件库/驻马店网站seo
  • 建wap手机网站/中国工商业联合会
  • flex做的网站/fifa世界排名最新
  • 做网站要具备哪些/微信广告怎么投放
  • 做一个网站先做前段 还是后端/创意营销策划方案
  • 郑州专业网站设计公司/软文是指什么
  • GitHub的免费账户的存储空间有多少?
  • 秋招Day20 - 微服务 - 概念
  • 备份一下我的 mac mini 的环境变量配置情况
  • Kubernetes配置管理
  • Linux725 磁盘阵列RAID0 RAID1
  • 基坑渗压数据不准?选对渗压计能实现自动化精准监测吗?