2011 Khronos Group
EndPrimitive 3G
EndPrimitive complete the current output primitive on the first vertex stream

## Declaration

void `EndPrimitive` void

## Description

Available only in the Geometry Shader, `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.

## Version Support

#VARTABLECOLS#
#FUNCTABLEHEADER#
EndPrimitive#newin15#

## See Also

EmitVertex, EmitStreamVertex, EndStreamPrimitive

## Copyright

Copyright 2011 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. http://opencontent.org/openpub/.