24 GS::CDrawEnv* pDrawEnv;
31 void SetDimensions(
int width,
int height);
32 void SetFrameBufPsm(GS::tPSM psm);
33 void SetDepthBufPsm(GS::tPSM psm);
34 void SetFrameBufAddr(
unsigned int gsWordAddr)
36 pDrawEnv->SetFrameBufferAddr(gsWordAddr);
38 void SetDepthBufAddr(
unsigned int gsWordAddr)
40 pDrawEnv->SetDepthBufferAddr(gsWordAddr);
43 void SetClearColor(
float r,
float g,
float b,
float a)
45 pSprite->SetColor((
unsigned int)(255.0f * r),
46 (
unsigned int)(255.0f * g),
47 (
unsigned int)(255.0f * b),
48 (
unsigned int)(255.0f * a));
51 void SetClearDepth(
float depth)
53 pSprite->SetDepth(Core::FToI4(depth));
56 void ClearBuffers(
unsigned int bitMask);