OpenGL ES 2.0 / GLSL 1.0
State and State Requests
最終更新:
opengles
-
view
State and State Requests
A complete list of symbolic constants for states is shown in the tables in [6.2].
Simple Queries [6.1.1]
void GetBooleanv(enum value, boolean *data);
void GetIntegerv(enum value, int *data);
void GetFloatv(enum value, float *data);
boolean IsEnabled(enum value);
Pointer and String Queries [6.1.5]
ubyte *GetString(enum name);
// name: VENDOR, RENDERER, VERSION, SHADING_LANGUAGE_VERSION, EXTENSIONS