logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

imageSamples - return the number of samples of an image

Declaration

intimageSamples(gimage2DMSimage);intimageSamples(gimage2DMSArrayimage);

Description

imageSamples returns the number of samples per texel of the image bound to image.

Name

       imageSamples - return the number of samples of an image

Parameters

image
           Specifies the image to which the texture is bound.

See Also

imageLoad(), imageStore(), textureSamples()

Version Support

       ┌──────────────┬───────────────────────────────────────────────────────────────────────────────────┐
       │              │        OpenGLShadingLanguageVersion                                            │
       ├──────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
       │ Function1.101.201.301.401.503.304.004.104.204.304.404.50 │
       │ Name         │      │      │      │      │      │      │      │      │      │      │      │      │
       ├──────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │ imageSamples │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  -   │  ✔   │
       └──────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘

See Also