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

CDrawContext Class Reference

#include <drawcontext.h>

Inheritance diagram for CDrawContext::

CDListDrawContext CImmDrawContext List of all members.

Public Methods

 CDrawContext (CGLContext &context)
virtual void SetDoSmoothShading (bool yesNo)=0
virtual void SetDoCullFace (bool cull)=0
virtual void SetCullFaceDir (int direction)=0
virtual void SetRescaleNormals (bool rescale)=0
virtual void SetBlendEnabled (bool enabled)=0
virtual void SetDepthWriteEnabled (bool enabled)=0
virtual void SetAlphaTestEnabled (bool enabled)=0
virtual void SetBlendMode (GLenum source, GLenum dest)=0
virtual void SetAlphaFunc (GLenum func, GLclampf ref)=0
virtual void SetDrawBuffers (GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem, GS::CMemArea *depthMem)=0

Protected Attributes

CGLContextGLContext

Constructor & Destructor Documentation

CDrawContext::CDrawContext ( CGLContext & context ) [inline]
 

Definition at line 31 of file drawcontext.h.


Member Function Documentation

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

void CDrawContext::SetAlphaTestEnabled ( bool enabled ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().

void CDrawContext::SetBlendEnabled ( bool enabled ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

void CDrawContext::SetCullFaceDir ( int direction ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

void CDrawContext::SetDepthWriteEnabled ( bool enabled ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

void CDrawContext::SetDoCullFace ( bool cull ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().

void CDrawContext::SetDoSmoothShading ( bool yesNo ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

void CDrawContext::SetRescaleNormals ( bool rescale ) [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().


Member Data Documentation

CGLContext & CDrawContext::GLContext [protected]
 

Definition at line 28 of file drawcontext.h.


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