diff options
author | ReinUsesLisp <[email protected]> | 2019-10-31 20:23:57 -0300 |
---|---|---|
committer | ReinUsesLisp <[email protected]> | 2019-11-01 17:28:32 -0300 |
commit | 3067893923fa74411ae41c15f5c819c95cc8c295 (patch) | |
tree | 647cb196564f4cb49ebd0c30ea15a2319a2f06c4 /include | |
parent | b4eeadfd9ba44ad57b26586482b0a66dd9685bfd (diff) | |
download | sirit-3067893923fa74411ae41c15f5c819c95cc8c295.tar.gz sirit-3067893923fa74411ae41c15f5c819c95cc8c295.zip |
Add EmitVertex and EndPrimitive
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index d889cbc..49312f0 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -358,6 +358,12 @@ public: /// Make an intermediate object whose value is undefined. Id OpUndef(Id result_type); + /// Emits the current values of all output variables to the current output primitive. + Id OpEmitVertex(); + + /// Finish the current primitive and start a new one. No vertex is emitted. + Id OpEndPrimitive(); + // Logical /// Result is true if any component of Vector is true, otherwise result is false. |