Define FLAMEGPU_HOST_CONDITION
- Defined in File HostAPI_macros.h 
Define Documentation
- 
FLAMEGPU_HOST_CONDITION(funcName)
- Macro for defining host functions with the correct input. Ugly, but has same usage as device functions - Saves users from manually defining host conditions, e.g.: - // User Implemented host condition behaviour flamegpu::CONDITION_RESULT SomeHostCondition_impl(flamegpu::HostAPI* FLAMEGPU) { // do something return something ? flamegpu::CONTINUE : flamegpu::EXIT; } flamegpu::FLAMEGPU_HOST_CONDITION_POINTER SomeHostCondition = SomeHostCondition_impl;