RestartStrip (DirectX HLSL Stream-Output Object)
Ends the current primitive strip and starts a new strip. If the current strip does not have enough vertices emitted to fill the primitive topology, the incomplete primitive at the end will be discarded.
A strip cut causes the current strip to end, and a new strip to start. A strip cut can be done by explicitly calling this method, or just by rendering up to the maximum index value (–1, which is 0xffffffff for 32-bit indices or 0xffff for 16-bit indices). Each instance of an indexed-instanced draw generates a strip cut automatically. This is true even if the topology is not a triangle strip.
The output is always assumed to be a triangle strip. To make the output a triangle list, you must call RestartStrip between each triangle. Triangle fans are unsupported.
This function is supported in the following shader models.
|Shader Model 4||yes|
|Shader Model 3 (DirectX HLSL)||no|
|Shader Model 2 (DirectX HLSL)||no|
|Shader Model 1 (DirectX HLSL)||no|