PS2GL
OpenGL*-like API for the PS2
All Data Structures Namespaces Files Functions Variables Modules Pages
CDrawContext Class Referenceabstract
+ Inheritance diagram for CDrawContext:
+ Collaboration diagram for CDrawContext:

Public Member Functions

 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 SetDepthTestEnabled (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 SetDepthFunc (GLenum func)=0
 
virtual void SetDrawBuffers (bool interlaced, GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem, GS::CMemArea *depthMem)=0
 

Protected Attributes

CGLContextGLContext
 

Detailed Description

Definition at line 28 of file drawcontext.h.

Constructor & Destructor Documentation

◆ CDrawContext()

CDrawContext::CDrawContext ( CGLContext context)
inline

Definition at line 33 of file drawcontext.h.

◆ ~CDrawContext()

virtual CDrawContext::~CDrawContext ( )
inlinevirtual

Definition at line 37 of file drawcontext.h.

Field Documentation

◆ GLContext

CGLContext& CDrawContext::GLContext
protected

Definition at line 30 of file drawcontext.h.


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