glTexStorage2DMultisample

specify storage for a two-dimensional multisample texture

Signature

glTexStorage2DMultisample( GLenum ( target ) , GLsizei ( samples ) , GLenum ( internalformat ) , GLsizei ( width ) , GLsizei ( height ) , GLboolean ( fixedsamplelocations ) )-> void
glTexStorage2DMultisample( target , samples , internalformat , width , height , fixedsamplelocations )

Parameters

VariablesDescription
target
Specify the target of the operation. target must be GL_TEXTURE_2D_MULTISAMPLE or GL_PROXY_TEXTURE_2D_MULTISAMPLE .
samples
Specify the number of samples in the texture.
internalformat
Specifies the sized internal format to be used to store texture image data.
width
Specifies the width of the texture, in texels.
height
Specifies the height of the texture, in texels.
fixedsamplelocations
Specifies whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image.