Initialization

r_init

boolean r_init(void *(*glGetProcAddr)(const char* proc));

Description: r_init initializes Relinquish and returns TRUE if it sucseeds and FAIL if the hardware does not support the required features. As of right now the Reliquish requires GL_ARB_shading_language_100 and GL_ARB_framebuffer_object. The funtion requires a function pointer to the systems procAddressGet in order to be able to obtain extention pointers

r_extension_test

boolean r_extension_test(const char *string);

Description: r_extention test returns TRUE or FALSE is any given Extention is available. This funcetion should not be needed as all funtionality in Relinquish should be available.

r_extension_get_address

void *r_extension_get_address(const char* proc);

Description: r_extention_get_address returns the function pointer to any function in OpenGL. This funcetion should not be needed as all funtionality needed to use Relinquish should be encapsulated.