Class InvalidVarType

Inheritance Relationships

Base Type

  • public flamegpu::FLAMEGPUException

Class Documentation

class InvalidVarType : 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 InvalidVarType(const char *format = "Bad variable type in agent instance set/get variable")