inline void VL_glUniform2uiv(GLint location, GLsizei count, const GLuint *value) { if (glUniform2uiv) glUniform2uiv(location, count, value); else if (glUniform2uivEXT) glUniform2uivEXT(location, count, value); else VL_UNSUPPORTED_FUNC(); }
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGPUShader4_nglUniform2uivEXT__IIJ(JNIEnv *__env, jclass clazz, jint location, jint count, jlong valueAddress) { glUniform2uivEXTPROC glUniform2uivEXT = (glUniform2uivEXTPROC)tlsGetFunction(1751); intptr_t value = (intptr_t)valueAddress; UNUSED_PARAM(clazz) glUniform2uivEXT(location, count, value); }
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_EXTGpuShader4_nglUniform2uivEXT(JNIEnv *env, jclass clazz, jint location, jint count, jobject value, jint value_position, jlong function_pointer) { const GLuint *value_address = ((const GLuint *)(*env)->GetDirectBufferAddress(env, value)) + value_position; glUniform2uivEXTPROC glUniform2uivEXT = (glUniform2uivEXTPROC)((intptr_t)function_pointer); glUniform2uivEXT(location, count, value_address); }