getUniformBlockIndex

abstract fun getUniformBlockIndex(program: WebGLProgram, uniformBlockName: String): GLuint(source)

MDN Reference