• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java GLint类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.lwjgl.util.generator.opengl.GLint的典型用法代码示例。如果您正苦于以下问题:Java GLint类的具体用法?Java GLint怎么用?Java GLint使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

GLint类属于org.lwjgl.util.generator.opengl包,在下文中一共展示了GLint类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: locations

点赞 1

import org.lwjgl.util.generator.opengl.GLint; //导入依赖的package包/类
/**
 Transfers a rectangle of pixel values from one
 region of the read framebuffer to another in the draw framebuffer.
 <mask> is the bitwise OR of a number of values indicating which
 buffers are to be copied. The values are COLOR_BUFFER_BIT,
 DEPTH_BUFFER_BIT, and STENCIL_BUFFER_BIT.
 The pixels corresponding to these buffers are
 copied from the source rectangle, bound by the locations (srcX0,
 srcY0) and (srcX1, srcY1) inclusive, to the destination rectangle,
 bound by the locations (dstX0, dstY0) and (dstX1, dstY1)
 inclusive.
 If the source and destination rectangle dimensions do not match,
 the source image is stretched to fit the destination
 rectangle. <filter> must be LINEAR or NEAREST and specifies the
 method of interpolation to be applied if the image is
 stretched.
 */
void glBlitFramebufferEXT(
		@GLint int srcX0, @GLint int srcY0, @GLint int srcX1, @GLint int srcY1,
        @GLint int dstX0, @GLint int dstY0, @GLint int dstX1, @GLint int dstY1,
        @GLbitfield int mask, @GLenum int filter);
 

开发者ID:mleoking,
项目名称:PhET,
代码行数:22,
代码来源:EXT_framebuffer_blit.java

示例2: glMultiDrawArraysEXT

点赞 1

import org.lwjgl.util.generator.opengl.GLint; //导入依赖的package包/类
void glMultiDrawArraysEXT(@GLenum int mode, @GLint IntBuffer first, @Check("first.remaining()") @GLsizei IntBuffer count, @AutoSize("first") @GLsizei int primcount); 

开发者ID:Superloup10,
项目名称:Wolf_game,
代码行数:2,
代码来源:EXT_multi_draw_arrays.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)