Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CImmDrawContext Class Reference

#include <drawcontext.h>

Inheritance diagram for CImmDrawContext::

CDrawContext List of all members.

Public Methods

 CImmDrawContext (CGLContext &context)
virtual ~CImmDrawContext ()
GS::CDrawEnv& GetDrawEnv ()
void SwapBuffers (bool fieldIsEven)
CClearEnvGetClearEnv ()
const cpu_mat_44& GetVertexXform ()
void SetVertexXformValid (bool valid)
void SetBlendMode (GLenum source, GLenum dest)
void SetAlphaFunc (GLenum func, GLclampf ref)
bool GetDoSmoothShading () const
void SetDoSmoothShading (bool yesNo)
bool GetDoCullFace () const
void SetDoCullFace (bool cull)
int GetCullFaceDir () const
void SetCullFaceDir (int direction)
bool GetBlendEnabled () const
void SetBlendEnabled (bool enabled)
bool GetAlphaTestEnabled () const
void SetAlphaTestEnabled (bool enabled)
void SetDepthWriteEnabled (bool enabled)
bool GetRescaleNormals () const
void SetRescaleNormals (bool rescale)
void SetDrawBuffers (GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem, GS::CMemArea *depthMem)

Constructor & Destructor Documentation

CImmDrawContext::CImmDrawContext ( CGLContext & context )
 

Definition at line 21 of file drawcontext.cpp.

CImmDrawContext::~CImmDrawContext ( ) [virtual]
 

Definition at line 45 of file drawcontext.cpp.


Member Function Documentation

bool CImmDrawContext::GetAlphaTestEnabled ( ) const [inline]
 

Definition at line 109 of file drawcontext.h.

bool CImmDrawContext::GetBlendEnabled ( ) const [inline]
 

Definition at line 106 of file drawcontext.h.

Referenced by CVsmManager::SyncGifTag().

CClearEnv & CImmDrawContext::GetClearEnv ( ) [inline]
 

Definition at line 84 of file drawcontext.h.

int CImmDrawContext::GetCullFaceDir ( ) const [inline]
 

Definition at line 103 of file drawcontext.h.

Referenced by CVsmManager::TransferSetupInfo().

bool CImmDrawContext::GetDoCullFace ( ) const [inline]
 

Definition at line 100 of file drawcontext.h.

Referenced by CVsmManager::TransferSetupInfo().

bool CImmDrawContext::GetDoSmoothShading ( ) const [inline]
 

Definition at line 97 of file drawcontext.h.

Referenced by CVsmManager::SyncGifTag().

GS::CDrawEnv & CImmDrawContext::GetDrawEnv ( ) [inline]
 

Definition at line 81 of file drawcontext.h.

bool CImmDrawContext::GetRescaleNormals ( ) const [inline]
 

Definition at line 114 of file drawcontext.h.

Referenced by CVsmManager::TransferSetupInfo().

const cpu_mat_44 & CImmDrawContext::GetVertexXform ( )
 

Definition at line 126 of file drawcontext.cpp.

Referenced by CVsmManager::TransferSetupInfo().

void CImmDrawContext::SetAlphaFunc ( GLenum func,
GLclampf ref ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 229 of file drawcontext.cpp.

void CImmDrawContext::SetAlphaTestEnabled ( bool enabled ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 191 of file drawcontext.cpp.

void CImmDrawContext::SetBlendEnabled ( bool enabled ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 166 of file drawcontext.cpp.

void CImmDrawContext::SetBlendMode ( GLenum source,
GLenum dest ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 211 of file drawcontext.cpp.

void CImmDrawContext::SetCullFaceDir ( int direction ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 157 of file drawcontext.cpp.

Referenced by glCullFace().

void CImmDrawContext::SetDepthWriteEnabled ( bool enabled ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 184 of file drawcontext.cpp.

Referenced by glDepthMask().

void CImmDrawContext::SetDoCullFace ( bool cull ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 147 of file drawcontext.cpp.

void CImmDrawContext::SetDoSmoothShading ( bool yesNo ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 138 of file drawcontext.cpp.

Referenced by glShadeModel().

void CImmDrawContext::SetDrawBuffers ( GS::CMemArea * frame0Mem,
GS::CMemArea * frame1Mem,
GS::CMemArea * depthMem ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 55 of file drawcontext.cpp.

void CImmDrawContext::SetRescaleNormals ( bool rescale ) [virtual]
 

Reimplemented from CDrawContext.

Definition at line 175 of file drawcontext.cpp.

void CImmDrawContext::SetVertexXformValid ( bool valid ) [inline]
 

Definition at line 87 of file drawcontext.h.

Referenced by CImmMatrixStack::Concat(), CImmMatrixStack::Pop(), SetDrawBuffers(), and CImmMatrixStack::SetTop().

void CImmDrawContext::SwapBuffers ( bool fieldIsEven )
 

Definition at line 103 of file drawcontext.cpp.

Referenced by CGLContext::SwapBuffers().


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