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)
int GetFBWidth () const
int GetFBHeight () const
int GetDepthBits () const
void SetDepthBits (int depth)
void SetBlendMode (GLenum source, GLenum dest)
void SetAlphaFunc (GLenum func, GLclampf ref)
bool GetDoSmoothShading () const
void SetDoSmoothShading (bool yesNo)
bool GetDoClipping () const
void SetDoClipping (bool clip)
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 SetInterlacingOffset (float yPixels)
void SetDepthWriteEnabled (bool enabled)
void SetFrameBufferDrawMask (unsigned int mask)
GLenum GetPolygonMode () const
void SetPolygonMode (GLenum mode)
bool GetRescaleNormals () const
void SetRescaleNormals (bool rescale)
void SetDrawBuffers (bool interlaced, GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem, GS::CMemArea *depthMem)

Public Attributes

GS::CDrawEnv * DrawEnv
GS::CMemArea * Frame0Mem
GS::CMemArea * Frame1Mem
GS::CMemArea * ZBufMem
GS::CMemArea * CurFrameMem
GS::CMemArea * LastFrameMem
CClearEnvClearEnv
bool FrameIsDblBuffered
bool DoSmoothShading
bool DoClipping
bool DoCullFace
int CullFaceDir
bool RescaleNormals
bool BlendIsEnabled
bool AlphaTestIsEnabled
bool DrawInterlaced
GLenum PolyMode
int DepthBits
cpu_mat_44 VertexXform
cpu_mat_44 GSScale
bool IsVertexXformValid
int Width
int Height

Constructor & Destructor Documentation

CImmDrawContext::CImmDrawContext CGLContext   context
 

Definition at line 23 of file drawcontext.cpp.

CImmDrawContext::~CImmDrawContext   [virtual]
 

Definition at line 56 of file drawcontext.cpp.


Member Function Documentation

bool CImmDrawContext::GetAlphaTestEnabled   const [inline]
 

Definition at line 132 of file drawcontext.h.

bool CImmDrawContext::GetBlendEnabled   const [inline]
 

Definition at line 129 of file drawcontext.h.

Referenced by CBaseRenderer::BuildGiftag().

CClearEnv& CImmDrawContext::GetClearEnv   [inline]
 

Definition at line 98 of file drawcontext.h.

int CImmDrawContext::GetCullFaceDir   const [inline]
 

Definition at line 126 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

int CImmDrawContext::GetDepthBits   const [inline]
 

Definition at line 109 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

bool CImmDrawContext::GetDoClipping   const [inline]
 

Definition at line 120 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

bool CImmDrawContext::GetDoCullFace   const [inline]
 

Definition at line 123 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

bool CImmDrawContext::GetDoSmoothShading   const [inline]
 

Definition at line 117 of file drawcontext.h.

Referenced by CBaseRenderer::BuildGiftag().

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

Definition at line 95 of file drawcontext.h.

int CImmDrawContext::GetFBHeight   const [inline]
 

Definition at line 107 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

int CImmDrawContext::GetFBWidth   const [inline]
 

Definition at line 106 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

GLenum CImmDrawContext::GetPolygonMode   const [inline]
 

Definition at line 140 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

bool CImmDrawContext::GetRescaleNormals   const [inline]
 

Definition at line 143 of file drawcontext.h.

Referenced by CBaseRenderer::AddVu1RendererContext().

const cpu_mat_44 & CImmDrawContext::GetVertexXform  
 

Definition at line 160 of file drawcontext.cpp.

Referenced by CBaseRenderer::AddVu1RendererContext().

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

Reimplemented from CDrawContext.

Definition at line 312 of file drawcontext.cpp.

void CImmDrawContext::SetAlphaTestEnabled bool    enabled [virtual]
 

Reimplemented from CDrawContext.

Definition at line 252 of file drawcontext.cpp.

void CImmDrawContext::SetBlendEnabled bool    enabled [virtual]
 

Reimplemented from CDrawContext.

Definition at line 211 of file drawcontext.cpp.

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

Reimplemented from CDrawContext.

Definition at line 284 of file drawcontext.cpp.

void CImmDrawContext::SetCullFaceDir int    direction [virtual]
 

Reimplemented from CDrawContext.

Definition at line 202 of file drawcontext.cpp.

Referenced by glCullFace().

void CImmDrawContext::SetDepthBits int    depth [inline]
 

Definition at line 110 of file drawcontext.h.

void CImmDrawContext::SetDepthWriteEnabled bool    enabled [virtual]
 

Reimplemented from CDrawContext.

Definition at line 229 of file drawcontext.cpp.

Referenced by glDepthMask().

void CImmDrawContext::SetDoClipping bool    clip [virtual]
 

Reimplemented from CDrawContext.

Definition at line 182 of file drawcontext.cpp.

void CImmDrawContext::SetDoCullFace bool    cull [virtual]
 

Reimplemented from CDrawContext.

Definition at line 192 of file drawcontext.cpp.

void CImmDrawContext::SetDoSmoothShading bool    yesNo [virtual]
 

Reimplemented from CDrawContext.

Definition at line 173 of file drawcontext.cpp.

Referenced by glShadeModel().

void CImmDrawContext::SetDrawBuffers bool    interlaced,
GS::CMemArea *    frame0Mem,
GS::CMemArea *    frame1Mem,
GS::CMemArea *    depthMem
[virtual]
 

Reimplemented from CDrawContext.

Definition at line 66 of file drawcontext.cpp.

void CImmDrawContext::SetFrameBufferDrawMask unsigned int    mask [virtual]
 

Reimplemented from CDrawContext.

Definition at line 236 of file drawcontext.cpp.

Referenced by glColorMask().

void CImmDrawContext::SetInterlacingOffset float    yPixels [virtual]
 

Reimplemented from CDrawContext.

Definition at line 268 of file drawcontext.cpp.

void CImmDrawContext::SetPolygonMode GLenum    mode [virtual]
 

Reimplemented from CDrawContext.

Definition at line 243 of file drawcontext.cpp.

Referenced by glPolygonMode().

void CImmDrawContext::SetRescaleNormals bool    rescale [virtual]
 

Reimplemented from CDrawContext.

Definition at line 220 of file drawcontext.cpp.

void CImmDrawContext::SetVertexXformValid bool    valid [inline]
 

Definition at line 101 of file drawcontext.h.

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

void CImmDrawContext::SwapBuffers bool    fieldIsEven
 

Definition at line 133 of file drawcontext.cpp.


Member Data Documentation

bool CImmDrawContext::AlphaTestIsEnabled
 

Definition at line 79 of file drawcontext.h.

bool CImmDrawContext::BlendIsEnabled
 

Definition at line 78 of file drawcontext.h.

CClearEnv* CImmDrawContext::ClearEnv
 

Definition at line 68 of file drawcontext.h.

int CImmDrawContext::CullFaceDir
 

Definition at line 76 of file drawcontext.h.

GS::CMemArea* CImmDrawContext::CurFrameMem
 

Definition at line 66 of file drawcontext.h.

int CImmDrawContext::DepthBits
 

Definition at line 82 of file drawcontext.h.

bool CImmDrawContext::DoClipping
 

Definition at line 74 of file drawcontext.h.

bool CImmDrawContext::DoCullFace
 

Definition at line 75 of file drawcontext.h.

bool CImmDrawContext::DoSmoothShading
 

Definition at line 73 of file drawcontext.h.

GS::CDrawEnv* CImmDrawContext::DrawEnv
 

Definition at line 63 of file drawcontext.h.

bool CImmDrawContext::DrawInterlaced
 

Definition at line 80 of file drawcontext.h.

GS::CMemArea* CImmDrawContext::Frame0Mem
 

Definition at line 65 of file drawcontext.h.

GS::CMemArea * CImmDrawContext::Frame1Mem
 

Definition at line 65 of file drawcontext.h.

bool CImmDrawContext::FrameIsDblBuffered
 

Definition at line 70 of file drawcontext.h.

cpu_mat_44 CImmDrawContext::GSScale
 

Definition at line 86 of file drawcontext.h.

int CImmDrawContext::Height
 

Definition at line 89 of file drawcontext.h.

bool CImmDrawContext::IsVertexXformValid
 

Definition at line 87 of file drawcontext.h.

GS::CMemArea * CImmDrawContext::LastFrameMem
 

Definition at line 66 of file drawcontext.h.

GLenum CImmDrawContext::PolyMode
 

Definition at line 81 of file drawcontext.h.

bool CImmDrawContext::RescaleNormals
 

Definition at line 77 of file drawcontext.h.

cpu_mat_44 CImmDrawContext::VertexXform
 

Definition at line 85 of file drawcontext.h.

int CImmDrawContext::Width
 

Definition at line 89 of file drawcontext.h.

GS::CMemArea * CImmDrawContext::ZBufMem
 

Definition at line 65 of file drawcontext.h.


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