|
Monado OpenXR Runtime
|
Public Member Functions | |
| __init__ (self) | |
| Optional[str] | process_condition (self, Optional[str] new_condition, bool finish=False) |
| Optional[str] | finish (self) |
Data Fields | |
| current_condition | |
Keep track of conditions to avoid unneeded repetition of ifdefs.
| Optional[str] vk_generate_inc_files.ConditionalGenerator.finish | ( | self | ) |
Return a line (or lines) to yield if required at the end of the loop.
References vk_generate_inc_files.ConditionalGenerator.process_condition().
| Optional[str] vk_generate_inc_files.ConditionalGenerator.process_condition | ( | self, | |
| Optional[str] | new_condition, | ||
| bool | finish = False |
||
| ) |
Return a line (or lines) to yield if required based on the new condition state.
References vk_generate_inc_files.ConditionalGenerator.current_condition.
Referenced by vk_generate_inc_files.ConditionalGenerator.finish().