ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

api.cpp File Reference

#include "graphics/tinygl/zgl.h"
Include dependency graph for api.cpp:

Go to the source code of this file.

Functions

void tglVertex4f (float x, float y, float z, float w)
void tglVertex2f (float x, float y)
void tglVertex3f (float x, float y, float z)
void tglVertex3fv (const float *v)
void tglNormal3f (float x, float y, float z)
void tglNormal3fv (const float *v)
void tglColor4f (float r, float g, float b, float a)
void tglColor4fv (const float *v)
void tglColor3f (float x, float y, float z)
void tglColor3fv (const float *v)
void tglColor3ub (unsigned char r, unsigned char g, unsigned char b)
void tglColor4ub (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
void tglTexCoord4f (float s, float t, float r, float q)
void tglTexCoord2f (float s, float t)
void tglTexCoord2fv (const float *v)
void tglEdgeFlag (int flag)
void tglShadeModel (int mode)
void tglCullFace (int mode)
void tglFrontFace (int mode)
void tglColorMask (TGLboolean r, TGLboolean g, TGLboolean b, TGLboolean a)
void tglDepthMask (int enableWrite)
void tglBlendFunc (TGLenum sfactor, TGLenum dfactor)
void tglAlphaFunc (TGLenum func, float ref)
void tglDepthFunc (TGLenum func)
void tglPolygonMode (int face, int mode)
void tglEnable (int cap)
void tglDisable (int cap)
void tglBegin (int mode)
void tglEnd ()
void tglMatrixMode (int mode)
void tglLoadMatrixf (const float *m)
void tglLoadIdentity ()
void tglMultMatrixf (const float *m)
void tglPushMatrix ()
void tglPopMatrix ()
void tglRotatef (float angle, float x, float y, float z)
void tglTranslatef (float x, float y, float z)
void tglScalef (float x, float y, float z)
void tglViewport (int x, int y, int width, int height)
void tglFrustum (double left, double right, double bottom, double top, double nearv, double farv)
void tglOrtho (double left, double right, double bottom, double top, double zNear, double zFar)
void tglMaterialfv (int mode, int type, const float *v)
void tglMaterialf (int mode, int type, float v)
void tglColorMaterial (int mode, int type)
void tglLightfv (int light, int type, const float *v)
void tglLightf (int light, int type, float v)
void tglLightModeli (int pname, int param)
void tglLightModelfv (int pname, const float *param)
void tglClear (int mask)
void tglClearColor (float r, float g, float b, float a)
void tglClearDepth (double depth)
void tglTexImage2D (int target, int level, int components, int width, int height, int border, int format, int type, void *pixels)
void tglBindTexture (int target, int texture)
void tglTexEnvi (int target, int pname, int param)
void tglTexParameteri (int target, int pname, int param)
void tglPixelStorei (int pname, int param)
void tglInitNames ()
void tglPushName (unsigned int name)
void tglPopName ()
void tglLoadName (unsigned int name)
void tglPolygonOffset (TGLfloat factor, TGLfloat units)
void tglCallList (unsigned int list)
void tglFlush ()
void tglHint (int target, int mode)
void tglDebug (int mode)
void tglSetShadowMaskBuf (unsigned char *buf)
void tglSetShadowColor (unsigned char r, unsigned char g, unsigned char b)
void tglEnableDirtyRects (bool enable)

Function Documentation

void tglAlphaFunc ( TGLenum  func,
float  ref 
)

Definition at line 202 of file api.cpp.

void tglBegin ( int  mode  ) 

Definition at line 257 of file api.cpp.

void tglBindTexture ( int  target,
int  texture 
)

Definition at line 549 of file api.cpp.

void tglBlendFunc ( TGLenum  sfactor,
TGLenum  dfactor 
)

Definition at line 192 of file api.cpp.

void tglCallList ( unsigned int  list  ) 

Definition at line 647 of file api.cpp.

void tglClear ( int  mask  ) 

Definition at line 500 of file api.cpp.

void tglClearColor ( float  r,
float  g,
float  b,
float  a 
)

Definition at line 509 of file api.cpp.

void tglClearDepth ( double  depth  ) 

Definition at line 521 of file api.cpp.

void tglColor3f ( float  x,
float  y,
float  z 
)

Definition at line 91 of file api.cpp.

void tglColor3fv ( const float *  v  ) 

Definition at line 95 of file api.cpp.

void tglColor3ub ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)

Definition at line 99 of file api.cpp.

void tglColor4f ( float  r,
float  g,
float  b,
float  a 
)

Definition at line 76 of file api.cpp.

void tglColor4fv ( const float *  v  ) 

Definition at line 87 of file api.cpp.

void tglColor4ub ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
)

Definition at line 103 of file api.cpp.

void tglColorMask ( TGLboolean  r,
TGLboolean  g,
TGLboolean  b,
TGLboolean  a 
)

Definition at line 175 of file api.cpp.

void tglColorMaterial ( int  mode,
int  type 
)

Definition at line 438 of file api.cpp.

void tglCullFace ( int  mode  ) 

Definition at line 151 of file api.cpp.

void tglDebug ( int  mode  ) 

Definition at line 672 of file api.cpp.

void tglDepthFunc ( TGLenum  func  ) 

Definition at line 212 of file api.cpp.

void tglDepthMask ( int  enableWrite  ) 

Definition at line 184 of file api.cpp.

void tglDisable ( int  cap  ) 

Definition at line 245 of file api.cpp.

void tglEdgeFlag ( int  flag  ) 

Definition at line 129 of file api.cpp.

void tglEnable ( int  cap  ) 

Definition at line 235 of file api.cpp.

void tglEnableDirtyRects ( bool  enable  ) 

Definition at line 689 of file api.cpp.

void tglEnd (  ) 

Definition at line 266 of file api.cpp.

void tglFlush (  ) 

Definition at line 656 of file api.cpp.

void tglFrontFace ( int  mode  ) 

Definition at line 162 of file api.cpp.

void tglFrustum ( double  left,
double  right,
double  bottom,
double  top,
double  nearv,
double  farv 
)

Definition at line 375 of file api.cpp.

void tglHint ( int  target,
int  mode 
)

Definition at line 660 of file api.cpp.

void tglInitNames (  ) 

Definition at line 601 of file api.cpp.

void tglLightf ( int  light,
int  type,
float  v 
)

Definition at line 462 of file api.cpp.

void tglLightfv ( int  light,
int  type,
const float *  v 
)

Definition at line 448 of file api.cpp.

void tglLightModelfv ( int  pname,
const float *  param 
)

Definition at line 487 of file api.cpp.

void tglLightModeli ( int  pname,
int  param 
)

Definition at line 475 of file api.cpp.

void tglLoadIdentity (  ) 

Definition at line 295 of file api.cpp.

void tglLoadMatrixf ( const float *  m  ) 

Definition at line 285 of file api.cpp.

void tglLoadName ( unsigned int  name  ) 

Definition at line 626 of file api.cpp.

void tglMaterialf ( int  mode,
int  type,
float  v 
)

Definition at line 425 of file api.cpp.

void tglMaterialfv ( int  mode,
int  type,
const float *  v 
)

Definition at line 405 of file api.cpp.

void tglMatrixMode ( int  mode  ) 

Definition at line 276 of file api.cpp.

void tglMultMatrixf ( const float *  m  ) 

Definition at line 303 of file api.cpp.

void tglNormal3f ( float  x,
float  y,
float  z 
)

Definition at line 59 of file api.cpp.

void tglNormal3fv ( const float *  v  ) 

Definition at line 70 of file api.cpp.

void tglOrtho ( double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)

Definition at line 389 of file api.cpp.

void tglPixelStorei ( int  pname,
int  param 
)

Definition at line 589 of file api.cpp.

void tglPolygonMode ( int  face,
int  mode 
)

Definition at line 220 of file api.cpp.

void tglPolygonOffset ( TGLfloat  factor,
TGLfloat  units 
)

Definition at line 635 of file api.cpp.

void tglPopMatrix (  ) 

Definition at line 321 of file api.cpp.

void tglPopName (  ) 

Definition at line 618 of file api.cpp.

void tglPushMatrix (  ) 

Definition at line 313 of file api.cpp.

void tglPushName ( unsigned int  name  ) 

Definition at line 609 of file api.cpp.

void tglRotatef ( float  angle,
float  x,
float  y,
float  z 
)

Definition at line 329 of file api.cpp.

void tglScalef ( float  x,
float  y,
float  z 
)

Definition at line 352 of file api.cpp.

void tglSetShadowColor ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)

Definition at line 682 of file api.cpp.

void tglSetShadowMaskBuf ( unsigned char *  buf  ) 

Definition at line 677 of file api.cpp.

void tglShadeModel ( int  mode  ) 

Definition at line 140 of file api.cpp.

void tglTexCoord2f ( float  s,
float  t 
)

Definition at line 121 of file api.cpp.

void tglTexCoord2fv ( const float *  v  ) 

Definition at line 125 of file api.cpp.

void tglTexCoord4f ( float  s,
float  t,
float  r,
float  q 
)

Definition at line 109 of file api.cpp.

void tglTexEnvi ( int  target,
int  pname,
int  param 
)

Definition at line 559 of file api.cpp.

void tglTexImage2D ( int  target,
int  level,
int  components,
int  width,
int  height,
int  border,
int  format,
int  type,
void *  pixels 
)

Definition at line 532 of file api.cpp.

void tglTexParameteri ( int  target,
int  pname,
int  param 
)

Definition at line 574 of file api.cpp.

void tglTranslatef ( float  x,
float  y,
float  z 
)

Definition at line 341 of file api.cpp.

void tglVertex2f ( float  x,
float  y 
)

Definition at line 45 of file api.cpp.

void tglVertex3f ( float  x,
float  y,
float  z 
)

Definition at line 49 of file api.cpp.

void tglVertex3fv ( const float *  v  ) 

Definition at line 53 of file api.cpp.

void tglVertex4f ( float  x,
float  y,
float  z,
float  w 
)

Definition at line 33 of file api.cpp.

void tglViewport ( int  x,
int  y,
int  width,
int  height 
)

Definition at line 363 of file api.cpp.



Generated on Sat Feb 16 2019 05:01:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge