MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
mgGLSL 名前空間

列挙型

enum  DrawType { Primitive = 0, Texture = 11, gridTexture =12 }
 
enum  FuncType { standard =0, Select = 1, Analysis = 5 }
 
enum  CoordinateType { World = 0, NdcScreen =2, AnchorPoint = 3, AnchorPointScreen = 4 }
 
enum  ShadeMode { NoShading =0, Shading =1 }
 
enum  ZebraType { ZebraVert = 0, ZebraHorizon = 1 }
 

関数

MG_DLL_DECLR void setColorAsSelectionName (unsigned name)
 Set static color as selection name. [詳解]
 
MG_DLL_DECLR void printOpenGLError (int errorCode)
 change error code to string and print it. [詳解]
 
MG_DLL_DECLR int checkForOpenGLError (const char *, int)
 Returns 1 if an OpenGL error occurred, 0 otherwise. [詳解]
 
MG_DLL_DECLR void dumpGLInfo (bool dumpExtensions=false)
 
MG_DLL_DECLR bool LightEnabled ()
 
MG_DLL_DECLR void CALLBACK debugCallback (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, void *userParam)
 
MG_DLL_DECLR void initializeStaticGLAttribStack ()
 
MG_DLL_DECLR std::stack
< mgStaticGLAttrib > & 
getStaticGLAttribStack ()
 
MG_DLL_DECLR mgStaticGLAttribgetCurrentStaticGLAttrib ()
 
MG_DLL_DECLR void execStaticGLAttrib (const mgStaticGLAttrib &attrib)
 
MG_DLL_DECLR void execStaticColorAttrib (const MGColor &color)
 
MG_DLL_DECLR void execStaticColorAttrib (const float color[4])
 
MG_DLL_DECLR void execStaticLineWidth (float lineWidth)
 
MG_DLL_DECLR void execStaticLineStipple (short int factor, GLuint pattern)
 
MG_DLL_DECLR void execLightMode (int mode)
 
MG_DLL_DECLR void pushStaticGLAttrib ()
 
MG_DLL_DECLR void popStaticGLAttrib ()
 

関数詳解

MG_DLL_DECLR int mgGLSL::checkForOpenGLError ( const char *  ,
int   
)

Returns 1 if an OpenGL error occurred, 0 otherwise.

MG_DLL_DECLR void CALLBACK mgGLSL::debugCallback ( GLenum  source,
GLenum  type,
GLuint  id,
GLenum  severity,
GLsizei  length,
const GLchar *  message,
void *  userParam 
)
MG_DLL_DECLR void mgGLSL::dumpGLInfo ( bool  dumpExtensions = false)
MG_DLL_DECLR void mgGLSL::execLightMode ( int  mode)
引数
mode<0: undefined, =0:Light is disabled, >0:Light is enabled.
MG_DLL_DECLR void mgGLSL::execStaticColorAttrib ( const MGColor color)
MG_DLL_DECLR void mgGLSL::execStaticColorAttrib ( const float  color[4])
MG_DLL_DECLR void mgGLSL::execStaticGLAttrib ( const mgStaticGLAttrib attrib)
MG_DLL_DECLR void mgGLSL::execStaticLineStipple ( short int  factor,
GLuint  pattern 
)
MG_DLL_DECLR void mgGLSL::execStaticLineWidth ( float  lineWidth)
MG_DLL_DECLR mgStaticGLAttrib& mgGLSL::getCurrentStaticGLAttrib ( )
MG_DLL_DECLR std::stack<mgStaticGLAttrib>& mgGLSL::getStaticGLAttribStack ( )
MG_DLL_DECLR void mgGLSL::initializeStaticGLAttribStack ( )
MG_DLL_DECLR bool mgGLSL::LightEnabled ( )
MG_DLL_DECLR void mgGLSL::popStaticGLAttrib ( )
MG_DLL_DECLR void mgGLSL::printOpenGLError ( int  errorCode)

change error code to string and print it.

MG_DLL_DECLR void mgGLSL::pushStaticGLAttrib ( )
MG_DLL_DECLR void mgGLSL::setColorAsSelectionName ( unsigned  name)

Set static color as selection name.