This extension allows a color buffer to be used for both rendering and texturing. When a color buffer is bound to a texture target it cannot be rendered to. Once it has been released from the texture it can be rendered to once again.
This extension may provide a performance boost and reduce memory requirements on architectures that support rendering to the same memory where textures reside and in the same memory format and layout required by texturing. The functionality is similar to CopyTexImage1D and CopyTexImage2D. However, some changes were made to make it easier to avoid copying data:
Requires WGL_ARB_extensions_string, WGL_ARB_pixel_format, WGL_ARB_pbuffer.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | WGL_AUX0_ARB
Accepted by the |
| public static final int | WGL_AUX1_ARB
Accepted by the |
| public static final int | WGL_AUX2_ARB
Accepted by the |
| public static final int | WGL_AUX3_ARB
Accepted by the |
| public static final int | WGL_AUX4_ARB
Accepted by the |
| public static final int | WGL_AUX5_ARB
Accepted by the |
| public static final int | WGL_AUX6_ARB
Accepted by the |
| public static final int | WGL_AUX7_ARB
Accepted by the |
| public static final int | WGL_AUX8_ARB
Accepted by the |
| public static final int | WGL_AUX9_ARB
Accepted by the |
| public static final int | WGL_BACK_LEFT_ARB
Accepted by the |
| public static final int | WGL_BACK_RIGHT_ARB
Accepted by the |
| public static final int | WGL_BIND_TO_TEXTURE_RGB_ARB
Accepted by the |
| public static final int | WGL_BIND_TO_TEXTURE_RGBA_ARB
Accepted by the |
| public static final int | WGL_CUBE_MAP_FACE_ARB
Accepted by the |
| public static final int | WGL_FRONT_LEFT_ARB
Accepted by the |
| public static final int | WGL_FRONT_RIGHT_ARB
Accepted by the |
| public static final int | WGL_MIPMAP_LEVEL_ARB
Accepted by the |
| public static final int | WGL_MIPMAP_TEXTURE_ARB
Accepted by the |
| public static final int | WGL_NO_TEXTURE_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_1D_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_2D_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_FORMAT_ARB
Accepted by the |
| public static final int | WGL_TEXTURE_RGB_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_RGBA_ARB
Accepted as a value in the |
| public static final int | WGL_TEXTURE_TARGET_ARB
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||||||
|---|---|---|---|---|---|---|---|
| public static int | |||||||
| public static boolean | wglBindTexImageARB(long
a pbuffer handle pbuffer, int the target buffer. One of: buffer)
Defines a one-dimensional texture image or two-dimensional texture image or a set of two-dimensional cube map texture images. | ||||||
| public static boolean | wglReleaseTexImageARB(long
a pbuffer handle pbuffer, int the target buffer. One of: buffer)
Releases the specified color buffer back to the pbuffer. | ||||||
| public static boolean | wglSetPbufferAttribARB(long
a pbuffer handle pbuffer, IntBuffer a 0-terminated list of attribute {type, value} pairs containing integer values attribList)Sets an attribute to the specified pbuffer. | ||||||
| public static boolean |
| WGL_AUX0_ARB | back to summary |
|---|---|
| public static final int WGL_AUX0_ARB Accepted by the | |
| WGL_AUX1_ARB | back to summary |
|---|---|
| public static final int WGL_AUX1_ARB Accepted by the | |
| WGL_AUX2_ARB | back to summary |
|---|---|
| public static final int WGL_AUX2_ARB Accepted by the | |
| WGL_AUX3_ARB | back to summary |
|---|---|
| public static final int WGL_AUX3_ARB Accepted by the | |
| WGL_AUX4_ARB | back to summary |
|---|---|
| public static final int WGL_AUX4_ARB Accepted by the | |
| WGL_AUX5_ARB | back to summary |
|---|---|
| public static final int WGL_AUX5_ARB Accepted by the | |
| WGL_AUX6_ARB | back to summary |
|---|---|
| public static final int WGL_AUX6_ARB Accepted by the | |
| WGL_AUX7_ARB | back to summary |
|---|---|
| public static final int WGL_AUX7_ARB Accepted by the | |
| WGL_AUX8_ARB | back to summary |
|---|---|
| public static final int WGL_AUX8_ARB Accepted by the | |
| WGL_AUX9_ARB | back to summary |
|---|---|
| public static final int WGL_AUX9_ARB Accepted by the | |
| WGL_BACK_LEFT_ARB | back to summary |
|---|---|
| public static final int WGL_BACK_LEFT_ARB Accepted by the | |
| WGL_BACK_RIGHT_ARB | back to summary |
|---|---|
| public static final int WGL_BACK_RIGHT_ARB Accepted by the | |
| WGL_BIND_TO_TEXTURE_RGB_ARB | back to summary |
|---|---|
| public static final int WGL_BIND_TO_TEXTURE_RGB_ARB Accepted by the | |
| WGL_BIND_TO_TEXTURE_RGBA_ARB | back to summary |
|---|---|
| public static final int WGL_BIND_TO_TEXTURE_RGBA_ARB Accepted by the | |
| WGL_CUBE_MAP_FACE_ARB | back to summary |
|---|---|
| public static final int WGL_CUBE_MAP_FACE_ARB Accepted by the | |
| WGL_FRONT_LEFT_ARB | back to summary |
|---|---|
| public static final int WGL_FRONT_LEFT_ARB Accepted by the | |
| WGL_FRONT_RIGHT_ARB | back to summary |
|---|---|
| public static final int WGL_FRONT_RIGHT_ARB Accepted by the | |
| WGL_MIPMAP_LEVEL_ARB | back to summary |
|---|---|
| public static final int WGL_MIPMAP_LEVEL_ARB Accepted by the | |
| WGL_MIPMAP_TEXTURE_ARB | back to summary |
|---|---|
| public static final int WGL_MIPMAP_TEXTURE_ARB Accepted by the | |
| WGL_NO_TEXTURE_ARB | back to summary |
|---|---|
| public static final int WGL_NO_TEXTURE_ARB Accepted as a value in the | |
| WGL_TEXTURE_1D_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_1D_ARB Accepted as a value in the | |
| WGL_TEXTURE_2D_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_2D_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB Accepted as a value in the | |
| WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB Accepted as a value in the | |
| WGL_TEXTURE_FORMAT_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_FORMAT_ARB Accepted by the | |
| WGL_TEXTURE_RGB_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_RGB_ARB Accepted as a value in the | |
| WGL_TEXTURE_RGBA_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_RGBA_ARB Accepted as a value in the | |
| WGL_TEXTURE_TARGET_ARB | back to summary |
|---|---|
| public static final int WGL_TEXTURE_TARGET_ARB Accepted by the | |
| WGLARBRenderTexture | back to summary |
|---|---|
| protected WGLARBRenderTexture() | |
| nwglSetPbufferAttribARB | back to summary |
|---|---|
| public static int nwglSetPbufferAttribARB(long pbuffer, long attribList) Unsafe version of: | |
| wglBindTexImageARB | back to summary | ||||||
|---|---|---|---|---|---|---|---|
| public static boolean wglBindTexImageARB(long pbuffer, int buffer) Defines a one-dimensional texture image or two-dimensional texture image or a set of two-dimensional cube map texture images. The texture image or
images consist of the image data in
| |||||||
| wglReleaseTexImageARB | back to summary | ||||||
|---|---|---|---|---|---|---|---|
| public static boolean wglReleaseTexImageARB(long pbuffer, int buffer) Releases the specified color buffer back to the pbuffer. The pbuffer is made available for reading and writing when it no longer has any color buffers bound as textures.
| |||||||
| wglSetPbufferAttribARB | back to summary |
|---|---|
| public static boolean wglSetPbufferAttribARB(long pbuffer, IntBuffer attribList) Sets an attribute to the specified pbuffer.
| |
| wglSetPbufferAttribARB | back to summary |
|---|---|
| public static boolean wglSetPbufferAttribARB(long pbuffer, int[] attribList) Array version of:
| |