Signature
glTexImage2DMultisample(
GLenum (
target
)
,
GLsizei (
samples
)
,
GLenum (
internalformat
)
,
GLsizei (
width
)
,
GLsizei (
height
)
,
GLboolean (
fixedsamplelocations
)
)-> void
glTexImage2DMultisample(
target
,
samples
,
internalformat
,
width
,
height
,
fixedsamplelocations
)
Parameters
Variables | Description |
---|---|
target |
Specifies the target of the operation.
target
must be
GL_TEXTURE_2D_MULTISAMPLE
or
GL_PROXY_TEXTURE_2D_MULTISAMPLE
.
|
samples |
The number of samples in the multisample texture's image.
|
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.
|
width |
The width of the multisample texture's image, in texels.
|
height |
The height of the multisample texture's image, 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.
|