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 SetDoClipping (bool clip)=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 SetFrameBufferDrawMask (unsigned int mask)=0
virtual void SetAlphaTestEnabled (bool enabled)=0
virtual void SetInterlacingOffset (float yPixels)=0
virtual void SetPolygonMode (GLenum mode)=0
virtual void SetBlendMode (GLenum source, GLenum dest)=0
virtual void SetAlphaFunc (GLenum func, GLclampf ref)=0
virtual void SetDrawBuffers (bool interlaced, GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem, GS::CMemArea *depthMem)=0

Protected Attributes

CGLContextGLContext

Constructor & Destructor Documentation

CDrawContext::CDrawContext CGLContext   context [inline]
 

Definition at line 33 of file drawcontext.h.


Member Function Documentation

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

virtual void CDrawContext::SetDoClipping bool    clip [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by pglDisable(), and pglEnable().

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

Referenced by glDisable(), and glEnable().

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

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

Reimplemented in CImmDrawContext, and CDListDrawContext.

virtual void CDrawContext::SetFrameBufferDrawMask unsigned int    mask [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

virtual void CDrawContext::SetInterlacingOffset float    yPixels [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

virtual void CDrawContext::SetPolygonMode GLenum    mode [pure virtual]
 

Reimplemented in CImmDrawContext, and CDListDrawContext.

virtual 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 30 of file drawcontext.h.


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