Returns the type of the shader from the header block.
The header data.
The shader type. Either 'fragment' or 'vertex'.