名称
glBlendColor- 设置混合颜色
C规范
void glBlendColor( GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha);
参数
red, green, blue, alpha
指定GL_BLEND_COLOR的组件
描述
GL_BLEND_COLOR可用于计算源和目标混合因子。 在存储之前,颜色分量被截断到[0,1]的范围。 有关混合操作的完整说明,请参阅glBlendFunc。 最初,GL_BLEND_COLOR设置为(0,0,0,0)。
相关Gets
glGet 参数GL_BLEND_COLOR
另见
glBlendEquation,glBlendFunc,glGetString
版权
hhttps://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glBlendColor.xml
https://blog.csdn.net/flycatdeng
Copyright © 1991-2006 Silicon Graphics, Inc.本文档的许可是根据SGI Free Software B License.详见http://oss.sgi.com/projects/FreeB/.
![](https://i-blog.csdnimg.cn/blog_migrate/b61b18ac35ef755ca70fdb04fbb7539f.png)