code: func GetProgramResourceIndex(program uint32, programInterface uint32, name *uint8) uint32 {
  	ret := C.glowGetProgramResourceIndex(gpGetProgramResourceIndex, (C.GLuint)(program), (C.GLenum)(programInterface), (*C.GLchar)(unsafe.Pointer(name)))
  	return (uint32)(ret)
  }
docs: // query the index of a named resource within a program