你好,游客 登录 注册 搜索
背景:
阅读新闻

OGLplus 0.49.0 发布下载,OpenGL 的 C++ 封装库

[日期:2014-07-30] 来源:oschina.net   作者:Linux [字体:大 中 小]

OGLplus 0.49.0 发布,此版本现已提供下载,更新内容如下:

  • 缓存数据规范

    • The BufferSize and BufferData classes used for specifying GPU buffer size and data were added.

    • The Buffer::Data, Buffer::SubData and some other functions were changed to used the new classes.

    • In case of Buffer::SubData an interface-breaking change was made -- the offset is now specified in bytes.

    • The Buffer::Resize function for resizing of a GPU buffer without specifying the data was added.

    • The Buffer::RawData function for specifying untyped buffer data was added.

    • Similar changes were also made to the DSABuffer class.

  • 着色器源规范

    • The new GLSLString and GLSLStrings classes which serve as adapters for specifying GLSL shader source strings were added.

    • The constructors and some member functions of the GLSLSource class were updated.

    • The Shader::Source function and the constructors of ShaderProgram were updated to use the new classes.

  • 添加了绑定 GPU 程序的新函数

    • The Program::Build function checks all shaders attached to a Program and compiles those which are not yet compiled, befor linking the program.

  • 添加了 ARB_shading_language_include 扩展封装器

    • The NamedStringType enumeration and the NamedString class were added.

    • The Shader::CompileInclude and Program::BuildInclude functions were added which allow to compile shaders with #include directives.

  • 更新了现有的示例,展示最新的特性

  • Bug 修复

    • Negative indices are now supported by the ObjMesh shape loader.

    • Several problems in the build-system were fixed.

    • Some bugs in the OGLplus examples were fixed.

Breaking changes

  • As mentioned above the offset parameter of Buffer::SubData is now specified in bytes (by using the BufferSize class) instead of units of the uploaded data type.

OGLplus (oglplus) 是一个仅包含头文件的 C++ 语言库,用于实现一个瘦面向对象的 OpenGL 门面操作接口,提供了自动资源和对象管理的封装,让在 C++ 中使用 OpenGL 更加简单和安全。

OGLplus教程学习笔记 -- Outline http://www.linuxidc.com/Linux/2014-07/104835.htm

OGLplus

OGLplus 的详细介绍:请点这里
OGLplus 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-07/104834.htm

linux
相关资讯       OGLplus  OGLplus下载 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款