eradiate.kernel.InitParameter#
- class eradiate.kernel.InitParameter(evaluator)[source]#
Bases:
object
This class declares an Eradiate parameter in a Mitsuba scene dictionary. It holds an evaluation protocol for this parameter depending on context information.
- Parameters:
evaluator (
callable()
) – A callable that returns the value of the parameter for a given context, with signaturef(ctx: KernelContext) -> Any
.- Fields:
evaluator (
callable()
) – A callable that returns the value of the parameter for a given context, with signaturef(ctx: KernelContext) -> Any
.
- UNUSED = <object object>#
Sentinel value indicating that a parameter is not used