Class QCOMTextureFoveatedSubsampledLayout
- java.lang.Object
-
- org.lwjgl.opengles.QCOMTextureFoveatedSubsampledLayout
-
public final class QCOMTextureFoveatedSubsampledLayout extends java.lang.Object
Native bindings to the QCOM_texture_foveated_subsampled_layout extension.This extension builds on
QCOM_texture_foveated
by introducing a new foveation method bit that aims to reduce memory bandwidth by avoiding the upscaling that occurred as part of the original extension.With the original
FOVEATION_SCALED_BIN_METHOD_BIT_QCOM
foveation method, the render target in system memory is entirely populated. The lower resolution framebuffer data is upscaled to fill the entire render target. The subsampled layout method introduced in this extension leaves the framebuffer data at the calculated lower density and instead samples directly from the the lower resolution texels.The primary usecase this is targeting is traditional VR pipeline. The application eye buffers would be rendered as textures with a subsampled layout and then sampled by the warp process. Sampling from a texture with a subsampled layout requires a new sampler layout qualifier.
Requires
QCOM_texture_foveated
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM
Accepted as a value toparam
for theTexParameter{if}
and toparams
for theTexParameter{if}v
commands with apname
ofTEXTURE_FOVEATED_FEATURE_BITS_QCOM
returned as possible values forparams
whenGetTexParameter{if}v
is queried with apname
ofTEXTURE_FOVEATED_FEATURE_BITS_QCOM
.static int
GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM
-
-
-
Field Detail
-
GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM
public static final int GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM
Accepted as a value toparam
for theTexParameter{if}
and toparams
for theTexParameter{if}v
commands with apname
ofTEXTURE_FOVEATED_FEATURE_BITS_QCOM
returned as possible values forparams
whenGetTexParameter{if}v
is queried with apname
ofTEXTURE_FOVEATED_FEATURE_BITS_QCOM
.- See Also:
- Constant Field Values
-
GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM
public static final int GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM
- See Also:
- Constant Field Values
-
-