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
$target
Specifies the target of the operation. target must beGL_TEXTURE_2D_MULTISAMPLE orGL_PROXY_TEXTURE_2D_MULTISAMPLE .int
$samples
The number of samples in the multisample texture's image.int
$internalformat
The 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
$width
The width of the multisample texture's image, in texels.int
$height
The height of the multisample texture's image, in texels.bool
$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.
- 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/.