Class InvalidVarType

Inheritance Relationships

Base Type

  • public FLAMEGPUException

Class Documentation

class flamegpu::exception::InvalidVarType : public 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 retriving or setting a variable of differet type.

Public Functions

explicit InvalidVarType(const char *format = "Bad variable type in agent instance set/get variable")