static jobject JNICALL Java_org_lwjgl_opengles_OESMapbuffer_nglMapBufferOES(JNIEnv *env, jclass clazz, jint target, jint access, jlong result_size, jobject old_buffer) { GLvoid * __result = glMapBufferOES(target, access); return safeNewBufferCached(env, __result, result_size, old_buffer); }
JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_ARBBufferObject_nglMapBufferARB(JNIEnv *env, jclass clazz, jint target, jint access, jlong result_size, jobject old_buffer, jlong function_pointer) { glMapBufferARBPROC glMapBufferARB = (glMapBufferARBPROC)((intptr_t)function_pointer); GLvoid * __result = glMapBufferARB(target, access); return safeNewBufferCached(env, __result, result_size, old_buffer); }
static jobject JNICALL Java_org_lwjgl_opengles_OESMapbuffer_nglGetBufferPointervOES(JNIEnv *env, jclass clazz, jint target, jint pname, jlong result_size, jobject old_buffer) { GLvoid * __result; glGetBufferPointervOES(target, pname, &__result); return safeNewBufferCached(env, __result, result_size, old_buffer); }
JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_ARBMapBufferRange_nglMapBufferRange(JNIEnv *env, jclass clazz, jint target, jlong offset, jlong length, jint access, jobject old_buffer, jlong function_pointer) { glMapBufferRangePROC glMapBufferRange = (glMapBufferRangePROC)((intptr_t)function_pointer); GLvoid * __result = glMapBufferRange(target, offset, length, access); return safeNewBufferCached(env, __result, length, old_buffer); }