Functions

CC3OpenGLES11Utility.h File Reference

#include <OpenGLES/ES1/gl.h>
#include <stdio.h>

Functions

size_t GLElementTypeSize (GLenum dataType)
char * GLEnumName (GLenum gle)

Detailed Description


Function Documentation

size_t GLElementTypeSize ( GLenum  dataType )

Returns the size of the specified GL dataType, which must be one of: GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_FLOAT, GL_FIXED.

char* GLEnumName ( GLenum  gle )

Returns a string containing the name of the specified GL enumeration code.