gfx/hmap: Add docs, misc fixes

- Remove unused index generating functions.

- Fix parameter names.

Signed-off-by: Paul Holden <paulholden2@gmail.com>