GLSAMPLEMASKI(3G)

    .SH "NAME" glSampleMaski - set the value of a sub-word of the sample mask
    .SH "C SPECIFICATION"

            .HP u void glSampleMaski(GLuint maskNumber, GLbitfield mask);

    .SH "PARAMETERS"

        .PP maskNumber

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

            .RE
            .PP mask

                        Specifies the new value of the mask sub-word.

                .RE

            .SH "DESCRIPTION"
                .PP glSampleMaski sets one 32-bit sub-word of the multi-word sample mask, GL_SAMPLE_MASK_VALUE.
                .PP 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.

            .SH "NOTES"
                .PP glSampleMaski is available only if the GL version is 3.2 or greater, or if the ARB_texture_multisample extension is supported.

            .SH "ERRORS"
                .PP GL_INVALID_VALUE is generated if maskIndex is greater than or equal to the value of GL_MAX_SAMPLE_MASK_WORDS.

            .SH "VERSION SUPPORT"
                .TS allbox tab(:); lB cB s s s s s s s s s s s lB cB cB cB cB cB cB cB cB cB cB cB cB. T{ T}:T{ OpenGL Version T} T{ Function / Feature Name T}:T{ 2.0 T}:T{ 2.1 T}:T{ 3.0 T}:T{ 3.1 T}:T{ 3.2 T}:T{ 3.3 T}:T{ 4.0 T}:T{ 4.1 T}:T{ 4.2 T}:T{ 4.3 T}:T{ 4.4 T}:T{ 4.5 T} l c c c c c c c c c c c c. T{ glSampleMaski T}:T{ - T}:T{ - T}:T{ - T}:T{ - T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}:T{ ✔ T}

            .SH "SEE ALSO"
                .PP glGenRenderbuffers(), glBindRenderbuffer(), glRenderbufferStorageMultisample(), glFramebufferRenderbuffer(), glDeleteRenderbuffers()

            .SH "COPYRIGHT"
                .PP 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/.

COPYRIGHT
Copyright © 2010-2014 Khronos Group