PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CClearEnv Class Reference

Public Member Functions

void SetDimensions (int width, int height)
 
void SetFrameBufPsm (GS::tPSM psm)
 
void SetDepthBufPsm (GS::tPSM psm)
 
void SetFrameBufAddr (unsigned int gsWordAddr)
 
void SetDepthBufAddr (unsigned int gsWordAddr)
 
void SetClearColor (float r, float g, float b, float a)
 
void SetClearDepth (float depth)
 
void ClearBuffers (unsigned int bitMask)
 

Private Attributes

GS::CDrawEnv * pDrawEnv
 
CSprite * pSprite
 

Detailed Description

Definition at line 22 of file clear.h.

Constructor & Destructor Documentation

◆ CClearEnv()

CClearEnv::CClearEnv ( )

Definition at line 15 of file clear.cpp.

◆ ~CClearEnv()

CClearEnv::~CClearEnv ( )

Definition at line 27 of file clear.cpp.

Member Function Documentation

◆ SetDimensions()

void CClearEnv::SetDimensions ( int width,
int height )

Definition at line 33 of file clear.cpp.

◆ SetFrameBufPsm()

void CClearEnv::SetFrameBufPsm ( GS::tPSM psm)

Definition at line 39 of file clear.cpp.

◆ SetDepthBufPsm()

void CClearEnv::SetDepthBufPsm ( GS::tPSM psm)

Definition at line 44 of file clear.cpp.

◆ SetFrameBufAddr()

void CClearEnv::SetFrameBufAddr ( unsigned int gsWordAddr)
inline

Definition at line 34 of file clear.h.

◆ SetDepthBufAddr()

void CClearEnv::SetDepthBufAddr ( unsigned int gsWordAddr)
inline

Definition at line 38 of file clear.h.

◆ SetClearColor()

void CClearEnv::SetClearColor ( float r,
float g,
float b,
float a )
inline

Definition at line 43 of file clear.h.

◆ SetClearDepth()

void CClearEnv::SetClearDepth ( float depth)
inline

Definition at line 51 of file clear.h.

◆ ClearBuffers()

void CClearEnv::ClearBuffers ( unsigned int bitMask)

Definition at line 49 of file clear.cpp.

Field Documentation

◆ pDrawEnv

GS::CDrawEnv* CClearEnv::pDrawEnv
private

Definition at line 24 of file clear.h.

◆ pSprite

CSprite* CClearEnv::pSprite
private

Definition at line 25 of file clear.h.


The documentation for this class was generated from the following files: