名称
glIsProgramPipeline —确定名称是否对应于程序管道对象
C 规范
GLboolean glIsProgramPipeline( GLuint pipeline);
参数
pipeline
指定一个值,该值可以是程序管道对象的名称。
描述
如果管道当前是程序管道对象的名称,则glIsProgramPipeline返回GL_TRUE。如果管道为零,或者管道不是程序管道对象的名称,或者发生错误,则glIsProgramPipeline返回GL_FALSE。如果管道是glGenProgramPipelines返回的名称,但尚未通过对glBindProgramPipeline的调用进行绑定,则该名称不是程序管道对象,并且glIsProgramPipeline返回GL_FALSE。
API 支持版本
函数名 | 2.0 | 3.0 | 3.1 | 3.2 |
---|---|---|---|---|
glIsProgramPipeline | - | - | ✔ | ✔ |
另见
glGenProgramPipelines, glBindProgramPipeline, glDeleteProgramPipeline
版权
https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glIsProgramPipeline.xhtml
Copyright © 2010-2015 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.