1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<title>G2*_GetBG3Control256Bmp</title> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</head> 10<body> 11<h1 align="left">G2*_GetBG3Control256Bmp <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<dl> 14 <dd> 15<CODE>#include <nitro/gx/gx_bgcnt.h></CODE><BR> 16 <PRE><CODE>static inline GXBg23Control256Bmp G2_GetBG3Control256Bmp( void );</CODE> 17<CODE>static inline GXBg23Control256Bmp G2S_GetBG3Control256Bmp( void );</CODE></PRE> 18 </dd> 19</dl><h2>Arguments</h2> 20<P>None.</P> 21<h2>Return Values</h2> 22<p>The settings for BG3.</p> 23<H2>Description</H2> 24<P>When BG3 has been set to 256-color bitmap BG for Affine Expanded BG, this gets the settings for BG3 as the <code>GXBg23Control256Bmp</code> structure. See the <CODE><A href="G2_SetBG3Control256Bmp.html">G2_SetBG3Control256Bmp</A></CODE> function for more information on each member.<BR><BR> To use this function, BG3 must be set to 256-color bitmap BG.<BR> <BR> Use the <CODE>G2_GetBG3Control256Bmp</CODE> function to get the settings for the main 2D engine and the <CODE>G2S_GetBG3Control256Bmp</CODE> function to get the settings for the sub 2D engine. The following is the definition of <code>GXBg23Control256Bmp</code>:</P> 25<PRE>typedef union 26{ 27 u16 raw; 28 struct 29 { 30 u16 priority :2; 31 u16 _reserve1 :4; 32 u16 mosaic :1; 33 u16 _reserve2 :1; 34 u16 screenBase :5; 35 u16 areaOver :1; 36 u16 screenSize :2; 37 }; 38} 39GXBg23Control256Bmp;</PRE> 40<h2>See Also</h2> 41<P><a href="G2_SetBG3Control256Bmp.html">G2_SetBG3Control256Bmp</a><BR> <a href="G2S_SetBG3Control256Bmp.html">G2S_SetBG3Control256Bmp</a></P> 42<H2>Revision History</H2> 43<P>2004/12/24 Initial version.</P> 44<hr><p>CONFIDENTIAL</p></body> 45</html> 46