09 2020 档案

探索texture对象的生命周期
摘要:texture对象,其实指针就是texture的id。对象的属性,大多数情况,是隐式的随着它texture被激活而显现的。 opentk修改texture属性参数的方法,有两个,GL.TexParameter和GL.TextureParameter。前者是通过texture绑定的target来定位t 阅读全文
posted @ 2020-09-18 10:20 游戏行者 阅读(215) 评论(0) 推荐(0)
opengl管理texture参数的函数总结
摘要:glTexParameter和glTextureParameter两个系列的函数(都分为i和f,还有iv,fv等)。 void glTexParameteri( GLenum target, GLenum pname, GLint param); glTexParameter是用来处理Active 阅读全文
posted @ 2020-09-01 10:30 游戏行者 阅读(1485) 评论(0) 推荐(0)