X-Git-Url: http://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/b002944dd992dc5a273e0067504beb48e1ae3d1c..a6a00658f26c164551287799b194cc2f07eb78be:/upstream-doc/man4/xhtml/glSampleMaski.xml diff --git a/upstream-doc/man4/xhtml/glSampleMaski.xml b/upstream-doc/man4/xhtml/glSampleMaski.xml new file mode 100644 index 0000000..7285886 --- /dev/null +++ b/upstream-doc/man4/xhtml/glSampleMaski.xml @@ -0,0 +1,32 @@ + + + +glSampleMaski - OpenGL 4 Reference Pages

Name

glSampleMaski — set the value of a sub-word of the sample mask

C Specification

void glSampleMaski(GLuint  maskNumber,
 GLbitfield  mask);

Parameters

maskNumber

+ Specifies which 32-bit sub-word of the sample mask to update. +

mask

+ Specifies the new value of the mask sub-word. +

Description

+ glSampleMaski sets one 32-bit sub-word of the multi-word sample mask, GL_SAMPLE_MASK_VALUE. +

+ maskIndex specifies which 32-bit sub-word of the sample mask to update, and mask specifies + the new value to use for that sub-word. maskIndex must be less than the value of + GL_MAX_SAMPLE_MASK_WORDS. Bit B of mask word M corresponds to sample + 32 x M + B. +

Notes

+ glSampleMaski is available only if the GL version is 3.2 or greater, or if the ARB_texture_multisample + extension is supported. +

Errors

+ GL_INVALID_VALUE is generated if maskIndex is greater than or equal to the value + of GL_MAX_SAMPLE_MASK_WORDS. +

See Also

+ glGenRenderbuffers, + glBindRenderbuffer, + glRenderbufferStorageMultisample, + glFramebufferRenderbuffer, + glDeleteRenderbuffers +

Copyright

+ Copyright © 2010 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. + http://opencontent.org/openpub/. +