名称
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/.
本文详细介绍了OpenGL函数glIsProgramPipeline的使用方法,包括其参数、返回值及如何判断一个名称是否为有效的程序管道对象。此外,还提供了该函数在不同API版本的支持情况。

466

被折叠的 条评论
为什么被折叠?



