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

EndPrimitive - complete the current output primitive on the first vertex stream

Declaration

voidEndPrimitive(void);

Description

AvailableonlyintheGeometryShader, EndPrimitive completes the current output primitive on the first
       (and possibly only) vertex stream and starts a new one.No vertex is emitted. Calling EndPrimitive is
       equivalent to calling EmitStreamVertex() with stream set to 0.

Name

       EndPrimitive - complete the current output primitive on the first vertex stream

See Also

EmitVertex(), EmitStreamVertex(), EndStreamPrimitive()

Version Support

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

See Also