I m trying to learn some OpenGL via this tutorial.
My question is regarding these lines of code:
glObjectParameteri(GL_MODIFY, GL_OBJECT_AN_INTEGER, 5);
glObjectParameterf(GL_MODIFY, GL_OBJECT_A_FLOAT, 0.4f);
glObjectParameters(GL_MODIFY, GL_OBJECT_A_STRING, "Some String");
到目前为止,已输入一个开放式GL物体Object
,该物体须遵守目标GL_MODIF
。GL_OBJECT_AN_INTEERT/code>,
将具体针对分类,因为该功能在尾有一个<代码>iGL_OBJECT_A_FLOAT
和GL_OBJECT_A_STRING
) 看来,<代码>glObjectParaifi