All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengles.OESTextureStorageMultisample2DArray Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * 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); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy