Package com.jme3.renderer.lwjgl
Class LwjglGLExt
java.lang.Object
com.jme3.renderer.lwjgl.LwjglGLExt
- All Implemented Interfaces:
- GLExt
- 
Field SummaryFields inherited from interface com.jme3.renderer.opengl.GLExtGL_ALREADY_SIGNALED, GL_BUFFER, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_COMPRESSED_RGB8_ETC2, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_RGBA_BPTC_UNORM, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, GL_COMPRESSED_RGBA8_ETC2_EAC, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, GL_COMPRESSED_SRGB8_ETC2, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_CONDITION_SATISFIED, GL_DEBUG_SOURCE_API, GL_DEBUG_SOURCE_APPLICATION, GL_DEBUG_SOURCE_OTHER, GL_DEBUG_SOURCE_SHADER_COMPILER, GL_DEBUG_SOURCE_THIRD_PARTY, GL_DEBUG_SOURCE_WINDOW_SYSTEM, GL_DEPTH_COMPONENT32F, GL_DEPTH_STENCIL_EXT, GL_DEPTH24_STENCIL8_EXT, GL_DISPLAY_LIST, GL_ETC1_RGB8_OES, GL_FRAMEBUFFER_SRGB_CAPABLE_EXT, GL_FRAMEBUFFER_SRGB_EXT, GL_HALF_FLOAT_ARB, GL_HALF_FLOAT_OES, GL_LUMINANCE_ALPHA16F_ARB, GL_LUMINANCE16F_ARB, GL_LUMINANCE32F_ARB, GL_MAX_COLOR_TEXTURE_SAMPLES, GL_MAX_DEPTH_TEXTURE_SAMPLES, GL_MAX_DRAW_BUFFERS_ARB, GL_MAX_SAMPLES_EXT, GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, GL_MULTISAMPLE_ARB, GL_NUM_PROGRAM_BINARY_FORMATS, GL_PIXEL_PACK_BUFFER_ARB, GL_PIXEL_UNPACK_BUFFER_ARB, GL_PROGRAM, GL_PROGRAM_PIPELINE, GL_QUERY, GL_R11F_G11F_B10F_EXT, GL_RGB16F_ARB, GL_RGB32F_ARB, GL_RGB9_E5_EXT, GL_RGBA16F_ARB, GL_RGBA32F_ARB, GL_RGBA8, GL_SAMPLE_ALPHA_TO_COVERAGE_ARB, GL_SAMPLE_BUFFERS_ARB, GL_SAMPLE_POSITION, GL_SAMPLER, GL_SAMPLES_ARB, GL_SHADER, GL_SLUMINANCE8_ALPHA8_EXT, GL_SLUMINANCE8_EXT, GL_SRGB8_ALPHA8_EXT, GL_SRGB8_EXT, GL_SYNC_FLUSH_COMMANDS_BIT, GL_SYNC_GPU_COMMANDS_COMPLETE, GL_TEXTURE_2D_ARRAY_EXT, GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_2D_MULTISAMPLE_ARRAY, GL_TEXTURE_CUBE_MAP_SEAMLESS, GL_TEXTURE_MAX_ANISOTROPY_EXT, GL_TIMEOUT_EXPIRED, GL_UNSIGNED_INT_10F_11F_11F_REV_EXT, GL_UNSIGNED_INT_24_8_EXT, GL_UNSIGNED_INT_5_9_9_9_REV_EXT, GL_WAIT_FAILED
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidglBufferData(int target, IntBuffer data, int usage) voidglBufferSubData(int target, long offset, IntBuffer data) intglClientWaitSync(Object sync, int flags, long timeout) Causes the client to block and wait for a sync object to become signaled.voidglDeleteSync(Object sync) Deletes a sync object.voidglDrawArraysInstancedARB(int mode, int first, int count, int primcount) Draw multiple instances of a range of elements.voidglDrawBuffers(IntBuffer bufs) voidglDrawElementsInstancedARB(int mode, int indicesCount, int type, long indicesBufferOffset, int primcount) Draws multiple instances of a set of elements.glFenceSync(int condition, int flags) Creates a new sync object and inserts it into the GL command stream.voidglGetMultisample(int pname, int index, FloatBuffer val) Retrieves the location of a sample.voidglTexImage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedSampleLocations) Establishes the data storage, format, dimensions, and number of samples of a 2D multisample texture's image.voidglVertexAttribDivisorARB(int index, int divisor) Modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives in a single draw call.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jme3.renderer.opengl.GLExtglObjectLabel, glPopDebugGroup, glPushDebugGroup
- 
Constructor Details- 
LwjglGLExtpublic LwjglGLExt()
 
- 
- 
Method Details- 
glBufferDataDescription copied from interface:GLExtCreates and initializes a buffer object's data store.usageis a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.usagecan be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The frequency of access may be one of these:- STREAM - The data store contents will be modified once and used at most a few times.
- STATIC - The data store contents will be modified once and used many times.
- DYNAMIC - The data store contents will be modified repeatedly and used many times.
 The nature of access may be one of these: - DRAW - The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.
- READ - The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.
- COPY - The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.
 - Specified by:
- glBufferDatain interface- GLExt
- Parameters:
- target- the target buffer object.
- data- a pointer to data that will be copied into the data store for initialization, or- NULLif no data is to be copied.
- usage- the expected usage pattern of the data store.
 
- 
glBufferSubDataDescription copied from interface:GLExtUpdates a subset of a buffer object's data store. - Specified by:
- glBufferSubDatain interface- GLExt
- Parameters:
- target- the target buffer object.
- offset- the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- data- a pointer to the new data that will be copied into the data store.
 
- 
glDrawArraysInstancedARBpublic void glDrawArraysInstancedARB(int mode, int first, int count, int primcount) Description copied from interface:GLExtDraw multiple instances of a range of elements.- Specified by:
- glDrawArraysInstancedARBin interface- GLExt
- Parameters:
- mode- the kind of primitives to render.
- first- the starting index in the enabled arrays.
- count- the number of indices to be rendered.
- primcount- the number of instances of the specified range of indices to be rendered.
 
- 
glDrawBuffersDescription copied from interface:GLExtSpecifies a list of color buffers to be drawn into. - Specified by:
- glDrawBuffersin interface- GLExt
- Parameters:
- bufs- an array of symbolic constants specifying the buffers into which fragment colors or data values will be written.
 
- 
glDrawElementsInstancedARBpublic void glDrawElementsInstancedARB(int mode, int indicesCount, int type, long indicesBufferOffset, int primcount) Description copied from interface:GLExtDraws multiple instances of a set of elements.- Specified by:
- glDrawElementsInstancedARBin interface- GLExt
- Parameters:
- mode- the kind of primitives to render.
- indicesCount- the number of elements to be rendered.
- type- the type of the values in- indices.
- indicesBufferOffset- a pointer to the location where the indices are stored.
- primcount- the number of instances of the specified range of indices to be rendered.
 
- 
glGetMultisampleDescription copied from interface:GLExtRetrieves the location of a sample.- Specified by:
- glGetMultisamplein interface- GLExt
- Parameters:
- pname- the sample parameter name.
- index- the index of the sample whose position to query.
- val- an array to receive the position of the sample.
 
- 
glTexImage2DMultisamplepublic void glTexImage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedSampleLocations) Description copied from interface:GLExtEstablishes the data storage, format, dimensions, and number of samples of a 2D multisample texture's image.- Specified by:
- glTexImage2DMultisamplein interface- GLExt
- Parameters:
- target- the target of the operation.
- samples- the number of samples in the multisample texture's image
- internalformat- the internal format to be used to store the multisample texture's image.- internalformatmust specify a color-renderable, depth-renderable, or stencil-renderable format.
- width- the width of the multisample texture's image, in texels
- height- the height of the multisample texture's image, in texels
- fixedSampleLocations- whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image
 
- 
glVertexAttribDivisorARBpublic void glVertexAttribDivisorARB(int index, int divisor) Description copied from interface:GLExtModifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives in a single draw call. Ifdivisoris zero, the attribute at slotindexadvances once per vertex. Ifdivisoris non-zero, the attribute advances once perdivisorinstances of the set(s) of vertices being rendered. An attribute is referred to asinstancedif itsdivisorvalue is non-zero.- Specified by:
- glVertexAttribDivisorARBin interface- GLExt
- Parameters:
- index- the attribute index.
- divisor- the divisor value.
 
- 
glFenceSyncDescription copied from interface:GLExtCreates a new sync object and inserts it into the GL command stream.- Specified by:
- glFenceSyncin interface- GLExt
- Parameters:
- condition- the condition that must be met to set the sync object's state to signaled.
- flags- a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and- flagsmust be zero.
- Returns:
- a new instance
 
- 
glClientWaitSyncDescription copied from interface:GLExtCauses the client to block and wait for a sync object to become signaled. Ifsyncis signaled whenglClientWaitSyncis called,glClientWaitSyncreturns immediately, otherwise it will block and wait for up to timeout nanoseconds forsyncto become signaled.- Specified by:
- glClientWaitSyncin interface- GLExt
- Parameters:
- sync- the sync object whose status to wait on.
- flags- a bitfield controlling the command flushing behavior.
- timeout- the timeout, specified in nanoseconds, for which the implementation should wait for- syncto become signaled.
- Returns:
- the status is one of ALREADY_SIGNALED, TIMEOUT_EXPIRED, CONDITION_SATISFIED or WAIT_FAILED.
 
- 
glDeleteSyncDescription copied from interface:GLExtDeletes a sync object.- Specified by:
- glDeleteSyncin interface- GLExt
- Parameters:
- sync- the sync object to be deleted.
 
 
-