zoukankan      html  css  js  c++  java
  • GLSL Notes

    GLSL Notes

    API of shader:

      glCreateShader(), glShaderSource(), glCompileShader(), glGetShadrInfoLog(), glCreateProgram()

    API of porgram:

      glCreateProgram(), glAttachShader(), glDetashShader(), glLinkProgarm(), glGetProgarmInfoLog(), glUseProgram()

    Resource Release:

      glDeleteShader(), glDeleteProgram(), glIsProgram(), glIsShader(), glValidateProgram()

    类型限定符

      attribute, varying, uniform

      glGetAttribLocation(), glBindAttribLocation(), glGetUniformLocation(), glVertexAttrib(), glVertexAtrribPointer()

    注意要点

      gl_position必须由顶点着色器更新,GL将会对此值进行插值,然后传递给片断着色器。

    OpenGLES

      OpenGL ES 3.0 is new in iOS 7 and adds a number of new features, including:

    • Multiple render targets and transform feedback to enable deferred rendering and other graphics algorithms previously only available in desktop OpenGL
    • OpenGL Shading Language ES 3.0 and integer textures, buffers and operations to enable general-purpose GPU computing
    • New texture, buffer, and attribute formats for optimizing memory footprint and bandwidth

     

  • 相关阅读:
    oracle 大文本由clob来存
    merge into 语法缺陷
    基本元素的增加 jquery
    报表 jquery
    购物车的高级实现 逻辑结构清晰
    购物车的实现 js
    定时器的制作与清除
    div的大小设置
    二级菜单联动(自定义框架)
    编写数组删除模板
  • 原文地址:https://www.cnblogs.com/tekkaman/p/3533528.html
Copyright © 2011-2022 走看看