Skip to content

glGetProgramInfoLog

Returns the information log for a program object

function glGetProgramInfoLog(int $program, int $bufSize) : string

PHP-GLFW Note

In the PHP extension this function directly returns the error string instead of being passed by reference as an argument.

arguments
  1. int $program Specifies the program object whose information log is to be queried.
  2. int $bufSize Specifies the size of the character buffer for storing the returned information log.
returns

string Returns the information log for the specified object.


Copyright © 2010-2014 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. https://opencontent.org/openpub/.