GL_OES_texture_storage_multisample_2d_array#

Supported Hardware#

Series6, Series6XE, Series6XT

Valid APIs#

OpenGL ES 3.1

Description#

This extension provides support for a new type of immutable texture - two dimensional multisample array textures.

Example#

// Create a 2D Multisample array texture
GLuint ms2dArrayTexture;
glGenTextures(1, &ms2dArrayTexture);
glBindTexture(GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, ms2dArrayTexture);
// Allocate a 512x512 texture with 4 samples, 128 array layers, and RGBA data
glTexStorage3DMultisampleOES(GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, 4, GL_RGBA8, 512, 512, 128, GL_FALSE);