cocos3d  2.0.0
Functions
CC3OpenGLUtility.h File Reference
#import "CC3Environment.h"
#import <stdio.h>

Functions

size_t CC3GLElementTypeSize (GLenum dataType)
 
char * CC3GLEnumName (GLenum gle)
 

Function Documentation

size_t CC3GLElementTypeSize ( 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* CC3GLEnumName ( GLenum  gle)

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