pglmm_matrix_structure produces the entire covariance matrix structure (V) when you specify random effects.
pglmm_matrix_structure
Useful links