PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CDListDrawContext Class Reference
+ Inheritance diagram for CDListDrawContext:
+ Collaboration diagram for CDListDrawContext:

Public Member Functions

 CDListDrawContext (CGLContext &context)
 
void SetBlendMode (GLenum source, GLenum dest)
 
void SetAlphaFunc (GLenum func, GLclampf ref)
 
void SetDepthFunc (GLenum func)
 
void SetDoSmoothShading (bool yesNo)
 
void SetDoClipping (bool clip)
 
void SetDoCullFace (bool cull)
 
void SetCullFaceDir (int direction)
 
void SetRescaleNormals (bool rescale)
 
void SetBlendEnabled (bool enabled)
 
void SetAlphaTestEnabled (bool enabled)
 
void SetDepthTestEnabled (bool enabled)
 
void SetInterlacingOffset (float yPixels)
 
void SetDepthWriteEnabled (bool enabled)
 
void SetFrameBufferDrawMask (unsigned int mask)
 
void SetPolygonMode (GLenum mode)
 
void SetDrawBuffers (bool interlaced, GS::CMemArea *frame0Mem, GS::CMemArea *frame1Mem, GS::CMemArea *depthMem)
 
- Public Member Functions inherited from CDrawContext
 CDrawContext (CGLContext &context)
 

Additional Inherited Members

- Protected Attributes inherited from CDrawContext
CGLContextGLContext
 

Detailed Description

Definition at line 171 of file drawcontext.h.

Constructor & Destructor Documentation

◆ CDListDrawContext()

CDListDrawContext::CDListDrawContext ( CGLContext context)
inline

Definition at line 173 of file drawcontext.h.

Member Function Documentation

◆ SetBlendMode()

void CDListDrawContext::SetBlendMode ( GLenum  source,
GLenum  dest 
)
virtual

Implements CDrawContext.

Definition at line 717 of file drawcontext.cpp.

◆ SetAlphaFunc()

void CDListDrawContext::SetAlphaFunc ( GLenum  func,
GLclampf  ref 
)
virtual

Implements CDrawContext.

Definition at line 647 of file drawcontext.cpp.

◆ SetDepthFunc()

void CDListDrawContext::SetDepthFunc ( GLenum  func)
virtual

Implements CDrawContext.

Definition at line 670 of file drawcontext.cpp.

◆ SetDoSmoothShading()

void CDListDrawContext::SetDoSmoothShading ( bool  yesNo)
virtual

Implements CDrawContext.

Definition at line 461 of file drawcontext.cpp.

◆ SetDoClipping()

void CDListDrawContext::SetDoClipping ( bool  clip)
virtual

Implements CDrawContext.

Definition at line 484 of file drawcontext.cpp.

◆ SetDoCullFace()

void CDListDrawContext::SetDoCullFace ( bool  cull)
virtual

Implements CDrawContext.

Definition at line 507 of file drawcontext.cpp.

◆ SetCullFaceDir()

void CDListDrawContext::SetCullFaceDir ( int  direction)
virtual

Implements CDrawContext.

Definition at line 530 of file drawcontext.cpp.

◆ SetRescaleNormals()

void CDListDrawContext::SetRescaleNormals ( bool  rescale)
virtual

Implements CDrawContext.

Definition at line 693 of file drawcontext.cpp.

◆ SetBlendEnabled()

void CDListDrawContext::SetBlendEnabled ( bool  enabled)
virtual

Implements CDrawContext.

Definition at line 553 of file drawcontext.cpp.

◆ SetAlphaTestEnabled()

void CDListDrawContext::SetAlphaTestEnabled ( bool  enabled)
virtual

Implements CDrawContext.

Definition at line 576 of file drawcontext.cpp.

◆ SetDepthTestEnabled()

void CDListDrawContext::SetDepthTestEnabled ( bool  enabled)
virtual

Implements CDrawContext.

Definition at line 599 of file drawcontext.cpp.

◆ SetInterlacingOffset()

void CDListDrawContext::SetInterlacingOffset ( float  yPixels)
virtual

Implements CDrawContext.

Definition at line 622 of file drawcontext.cpp.

◆ SetDepthWriteEnabled()

void CDListDrawContext::SetDepthWriteEnabled ( bool  enabled)
virtual

Implements CDrawContext.

Definition at line 740 of file drawcontext.cpp.

◆ SetFrameBufferDrawMask()

void CDListDrawContext::SetFrameBufferDrawMask ( unsigned int  mask)
virtual

Implements CDrawContext.

Definition at line 763 of file drawcontext.cpp.

◆ SetPolygonMode()

void CDListDrawContext::SetPolygonMode ( GLenum  mode)
inlinevirtual

Implements CDrawContext.

Definition at line 193 of file drawcontext.h.

◆ SetDrawBuffers()

void CDListDrawContext::SetDrawBuffers ( bool  interlaced,
GS::CMemArea *  frame0Mem,
GS::CMemArea *  frame1Mem,
GS::CMemArea *  depthMem 
)
virtual

Implements CDrawContext.

Definition at line 434 of file drawcontext.cpp.


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