名称
glGenProgramPipelines —保留程序管道对象名称
C规范
void glGenProgramPipelines(GLsizei n,
GLuint *管道);
参数
n
指定要保留的程序管道对象名称的数量。
管道
指定将写入保留名称的数组。
描述
glGenProgramPipelines返回管道中n个以前未使用过的程序管道对象名称。这些名称被标记为已使用,仅出于glGenProgramPipelines的目的,但是它们仅在首次绑定时才获取程序管道状态。
相关Gets
glGet参数GL_PROGRAM_PIPELINE_BINDING
glIsProgramPipeline
API 支持版本
| 函数名 | 2.0 | 3.0 | 3.1 | 3.2 |
|---|---|---|---|---|
| glGenProgramPipelines | - | - | ✔ | ✔ |
另见
glDeleteProgramPipelines, glBindProgramPipeline, glIsProgramPipeline, glUseShaderPrograms, glUseProgram
版权
https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glGenProgramPipelines.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中glGenProgramPipelines函数的使用方法,包括其参数解释、功能描述及如何返回未使用过的程序管道对象名称。此外,还提供了与该函数相关的API支持版本和参考资料。


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



