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

gl_TessCoord - contains the coordinate of the vertex within the current patch

Declaration

       in vec3 gl_TessCoord ;.SH "DESCRIPTION"

       Available only in the tessellation cevaluation language, gl_TessCoord specifies the three component (u,
       v, w) vector identifying the position of the vertex being processed by the shader relative to the
       primitive being tessellated.

Name

       gl_TessCoord - contains the coordinate of the vertex within the current patch

See Also

gl_TessLevelOuter(), gl_TessLevelInner(), gl_PatchVerticesIn()

Version Support

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

See Also