本文整理汇总了C++中UNUSED_PARAMS函数的典型用法代码示例。如果您正苦于以下问题:C++ UNUSED_PARAMS函数的具体用法?C++ UNUSED_PARAMS怎么用?C++ UNUSED_PARAMS使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了UNUSED_PARAMS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Java_org_lwjgl_opengl_GL40_nglBlendFunci
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40_nglBlendFunci(JNIEnv *__env, jclass clazz, jint buf, jint sfactor, jint dfactor, jlong __functionAddress) {
glBlendFunciPROC glBlendFunci = (glBlendFunciPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glBlendFunci(buf, sfactor, dfactor);
}
示例2: Java_org_lwjgl_opengl_GL43_nglClearBufferSubData
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglClearBufferSubData(JNIEnv *__env, jclass clazz, jint target, jint internalformat, jlong offset, jlong size, jint format, jint type, jlong dataAddress, jlong __functionAddress) {
const GLvoid *data = (const GLvoid *)(intptr_t)dataAddress;
glClearBufferSubDataPROC glClearBufferSubData = (glClearBufferSubDataPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glClearBufferSubData(target, internalformat, (GLintptr)offset, (GLsizeiptr)size, format, type, data);
}
示例3: Java_org_lwjgl_opengl_GL43_nglDispatchComputeIndirect
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglDispatchComputeIndirect(JNIEnv *__env, jclass clazz, jlong indirect, jlong __functionAddress) {
glDispatchComputeIndirectPROC glDispatchComputeIndirect = (glDispatchComputeIndirectPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glDispatchComputeIndirect((GLintptr)indirect);
}
示例4: Java_org_lwjgl_opengl_GL43_nglBindVertexBuffer
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglBindVertexBuffer(JNIEnv *__env, jclass clazz, jint bindingindex, jint buffer, jlong offset, jint stride, jlong __functionAddress) {
glBindVertexBufferPROC glBindVertexBuffer = (glBindVertexBufferPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glBindVertexBuffer(bindingindex, buffer, (GLintptr)offset, stride);
}
示例5: Java_org_lwjgl_opengl_GL43_nglVertexAttribBinding
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglVertexAttribBinding(JNIEnv *__env, jclass clazz, jint attribindex, jint bindingindex, jlong __functionAddress) {
glVertexAttribBindingPROC glVertexAttribBinding = (glVertexAttribBindingPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glVertexAttribBinding(attribindex, bindingindex);
}
示例6: Java_org_lwjgl_opengl_GL43_nglShaderStorageBlockBinding
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglShaderStorageBlockBinding(JNIEnv *__env, jclass clazz, jint program, jint storageBlockIndex, jint storageBlockBinding, jlong __functionAddress) {
glShaderStorageBlockBindingPROC glShaderStorageBlockBinding = (glShaderStorageBlockBindingPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding);
}
示例7: Java_org_lwjgl_opengl_GL43_nglTexStorage3DMultisample
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglTexStorage3DMultisample(JNIEnv *__env, jclass clazz, jint target, jint samples, jint internalformat, jint width, jint height, jint depth, jboolean fixedsamplelocations, jlong __functionAddress) {
glTexStorage3DMultisamplePROC glTexStorage3DMultisample = (glTexStorage3DMultisamplePROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
}
示例8: Java_org_lwjgl_opengl_GL43_nglObjectLabel
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglObjectLabel(JNIEnv *__env, jclass clazz, jint identifier, jint name, jint length, jlong labelAddress, jlong __functionAddress) {
const GLchar *label = (const GLchar *)(intptr_t)labelAddress;
glObjectLabelPROC glObjectLabel = (glObjectLabelPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glObjectLabel(identifier, name, length, label);
}
示例9: Java_org_lwjgl_opengl_GL43_nglFramebufferParameteri
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglFramebufferParameteri(JNIEnv *__env, jclass clazz, jint target, jint pname, jint param, jlong __functionAddress) {
glFramebufferParameteriPROC glFramebufferParameteri = (glFramebufferParameteriPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glFramebufferParameteri(target, pname, param);
}
示例10: Java_org_lwjgl_stb_STBEasyFont_stb_1easy_1font_1spacing
JNIEXPORT void JNICALL Java_org_lwjgl_stb_STBEasyFont_stb_1easy_1font_1spacing(JNIEnv *__env, jclass clazz, jfloat spacing) {
UNUSED_PARAMS(__env, clazz)
stb_easy_font_spacing(spacing);
}
示例11: Java_org_lwjgl_opengl_GL43_nglPushDebugGroup
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglPushDebugGroup(JNIEnv *__env, jclass clazz, jint source, jint id, jint length, jlong messageAddress, jlong __functionAddress) {
const GLchar *message = (const GLchar *)(intptr_t)messageAddress;
glPushDebugGroupPROC glPushDebugGroup = (glPushDebugGroupPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glPushDebugGroup(source, id, length, message);
}
示例12: Java_org_lwjgl_opengl_GL40_nglUniform2d
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40_nglUniform2d(JNIEnv *__env, jclass clazz, jint location, jdouble x, jdouble y, jlong __functionAddress) {
glUniform2dPROC glUniform2d = (glUniform2dPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glUniform2d(location, x, y);
}
示例13: Java_org_lwjgl_opengl_GL40_nglDrawArraysIndirect
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40_nglDrawArraysIndirect(JNIEnv *__env, jclass clazz, jint mode, jlong indirectAddress, jlong __functionAddress) {
const GLvoid *indirect = (const GLvoid *)(intptr_t)indirectAddress;
glDrawArraysIndirectPROC glDrawArraysIndirect = (glDrawArraysIndirectPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glDrawArraysIndirect(mode, indirect);
}
示例14: Java_org_lwjgl_opengl_GL40_nglBlendFuncSeparatei
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL40_nglBlendFuncSeparatei(JNIEnv *__env, jclass clazz, jint buf, jint srcRGB, jint dstRGB, jint srcAlpha, jint dstAlpha, jlong __functionAddress) {
glBlendFuncSeparateiPROC glBlendFuncSeparatei = (glBlendFuncSeparateiPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
}
示例15: Java_org_lwjgl_opengl_GL43_nglMultiDrawElementsIndirect
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_GL43_nglMultiDrawElementsIndirect(JNIEnv *__env, jclass clazz, jint mode, jint type, jlong indirectAddress, jint primcount, jint stride, jlong __functionAddress) {
const GLvoid *indirect = (const GLvoid *)(intptr_t)indirectAddress;
glMultiDrawElementsIndirectPROC glMultiDrawElementsIndirect = (glMultiDrawElementsIndirectPROC)(intptr_t)__functionAddress;
UNUSED_PARAMS(__env, clazz)
glMultiDrawElementsIndirect(mode, type, indirect, primcount, stride);
}