shader之texture

纹理坐标作为属性传递到顶点着色器

 

texture是OPENGL对象,包含一张或多张相同格式的图片。

它有2中用途:

  1. the source of a texture access from a Shader
  2. be used as a render target.

 

posted @ 2013-06-16 23:32  Kalou  阅读(1525)  评论(0编辑  收藏  举报