Skip to content

glGetUniformBlockIndex

retrieve the index of a named uniform block

function glGetUniformBlockIndex(int $program, string $uniformBlockName) : int
arguments
  1. int $program Specifies the name of a program containing the uniform block.
  2. string $uniformBlockName Specifies the address an array of characters to containing the name of the uniform block whose index to retrieve.
returns

int


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/.