mgStaticGLAttrib defines MGColor and line width data of OpenGL.
[詳解]
mgStaticGLAttrib defines MGColor and line width data of OpenGL.
mgStaticGLAttrib::mgStaticGLAttrib |
( |
| ) |
|
mgStaticGLAttrib::mgStaticGLAttrib |
( |
const MGColor & |
color, |
|
|
float |
lineWidth |
|
) |
| |
const float* mgStaticGLAttrib::color |
( |
| ) |
const |
|
inline |
void mgStaticGLAttrib::getColor |
( |
MGColor & |
color | ) |
|
int mgStaticGLAttrib::getLightMode |
( |
| ) |
const |
|
inline |
void mgStaticGLAttrib::getLineStipple |
( |
short int & |
factor, |
|
|
GLushort & |
pattern |
|
) |
| const |
float mgStaticGLAttrib::getLineWidth |
( |
| ) |
const |
|
inline |
void mgStaticGLAttrib::setColor |
( |
const MGColor & |
color | ) |
|
void mgStaticGLAttrib::setColor |
( |
const float |
color[4] | ) |
|
void mgStaticGLAttrib::setLightMode |
( |
int |
mode | ) |
|
|
inline |
Set light mode. mode=-1:undefined, =0:disabled, =1:enabled.
void mgStaticGLAttrib::setLineStipple |
( |
short int |
factor, |
|
|
GLushort |
pattern |
|
) |
| |
Line stipple属性をセットする。 When factor=0 is input, line pattern is disabled. 実線となる When factor<0, the stipple attribute is undefined. This means the attribute is defined by the environment. When factor<=0, pattern is unnecessary.
void mgStaticGLAttrib::setLineWidth |
( |
float |
lineWidth | ) |
|
|
inline |
このクラス詳解は次のファイルから抽出されました: