shader之texture

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

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

它有2中用途:

  1. the source of a texture access from a Shader
  2. be used as a render target.
原文地址:https://www.cnblogs.com/wustlj/p/3139520.html