GsInitGraphInitializes the graphics system | |||||||||||
Arguments
Return ValueNone.ExplanationInitialises the graphics system.The operational settings of the graphics system are reflected in the global variables GsDISPENV and GsDRAWENV. The program can use these global variables to determine the current settings of the graphics system. The Double Buffer Offset Mode controls the offset that is added to the frame buffer when drawing is performed. This Mode determines whether the offset is managed by GTE or the GPU. When specified as GTE, the offset is added to the drawing address when the drawing packet is created, whereas when specified as GPU, it is added when drawing is performed. Having the GPU manage the offset is usually preferred because the offset is not included in the drawing packet. In 24-bit mode, the frame buffer can only operate in image display mode and polygons cannot be drawn. GsInitGraph() must be called to initialise the graphics system and also initialises the internal structures GsIDMATRIX and GsIDMATRIX2. These structures must be initialised before any of the Gs*** functions can be used. |