implemented glbFillTexture

organized types into header
private header for variable implementation details