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

EndStreamPrimitive - complete the current output primitive on a specified stream

Declaration

voidEndStreamPrimitive(intstream);

Description

AvailableonlyintheGeometryShader, EndStreamPrimitive completes the current output primitive on
       stream stream and starts a new one. The argument to stream must be a constant integral expression. No
       vertex is emitted.

Name

       EndStreamPrimitive - complete the current output primitive on a specified stream

Parameters

stream
           Specifies the stream upon which the current primitive will be ended.

See Also

EmitVertex(), EmitStreamVertex(), EndPrimitive()

Version Support

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

See Also