The routine gEnqMaterialAttribs() returns the current settings for the material colour and the material table indices for both front and back faces of facets. These parameters are set by the routines gSetMaterialColour() and gSetMaterialIndex() respectively.