Class InvalidAgentFunc

Inheritance Relationships

Base Type

  • public flamegpu::FLAMEGPUException

Class Documentation

class InvalidAgentFunc : public flamegpu::FLAMEGPUException

Defines a type of object to be thrown as exception. It reports errors that are due to invalid agent variable type. This could happen when retrieving or setting a variable of different type.

Public Functions

explicit InvalidAgentFunc(const char *format = "Unknown agent function")