fontSetState

Home


The fontSetState sets how FontLib will change the OpenGL state.

Prototype

void fontSetState(FontOglState eState);

Parameters

FONT_SMART
fontBind() will remember the prevous state by using glGet() and return it to that state when fontUnbind() is called.
FONT_DUMB
fontBind() will change the state but fontUnbind() will not change it back. This is Useful if you're going to change the current rendering state anyways.
FONT_NONE
fontBind() will only bind the texture. It leaves you to set the OpenGL state for rendering

Remarks

None

Error Codes

None