org.lwjgl.opengles.OESTextureStorageMultisample2DArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengles Show documentation
Show all versions of lwjgl-opengles Show documentation
A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengles;
import static org.lwjgl.system.Checks.*;
/**
* Native bindings to the OES_texture_storage_multisample_2d_array extension.
*
* This extension provides support for a new type of immutable texture, two-dimensional multisample array textures. It depends on functionality introduced
* in OpenGL ES 3.1 to support two-dimensional multisample (non-array) textures.
*/
public class OESTextureStorageMultisample2DArray {
/**
* Accepted by the {@code target} parameter of BindTexture, TexStorage3DMultisampleOES, GetInternalformativ, TexParameter{if}*, GetTexParameter{if}v and
* GetTexLevelParameter{if}v. Also, the texture object indicated by the {@code texture} argument to FramebufferTextureLayer can be
* TEXTURE_2D_MULTISAMPLE_ARRAY_OES.
*/
public static final int GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES = 0x9102;
/** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, and GetFloatv. */
public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES = 0x9105;
/** Returned by the {@code type} parameter of GetActiveUniform. */
public static final int
GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910B,
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910C,
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES = 0x910D;
static { GLES.initialize(); }
protected OESTextureStorageMultisample2DArray() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLESCapabilities caps) {
return checkFunctions(
caps.glTexStorage3DMultisampleOES
);
}
// --- [ glTexStorage3DMultisampleOES ] ---
public static native void nglTexStorage3DMultisampleOES(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations);
public static void glTexStorage3DMultisampleOES(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations) {
nglTexStorage3DMultisampleOES(target, samples, internalformat, width, height, depth, fixedsamplelocations);
}
}