glTexImage2DMultisample¶
establish the data storage, format, dimensions, and number of samples of a multisample texture's image
function glTexImage2DMultisample(int $target, int $samples, int $internalformat, int $width, int $height, bool $fixedsamplelocations) : void
- arguments
-
int$targetSpecifies the target of the operation. target must beGL_TEXTURE_2D_MULTISAMPLE orGL_PROXY_TEXTURE_2D_MULTISAMPLE .int$samplesThe number of samples in the multisample texture's image.int$internalformatThe internal format to be used to store the multisample texture's image. internalformat must specify a color-renderable, depth-renderable, or stencil-renderable format.int$widthThe width of the multisample texture's image, in texels.int$heightThe height of the multisample texture's image, in texels.bool$fixedsamplelocationsSpecifies 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.
- returns
-
void
Copyright © 2010-2014 Khronos Group
This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.