eradiate.kernel.DictParameter¶
- class eradiate.kernel.DictParameter(func)[source]¶
Bases:
objectThis class declares an Eradiate parameter in a Mitsuba scene dictionary. It holds an evaluation protocol for this parameter depending on context information.
- Parameters:
func (
callable()) – A callable that returns the value of the parameter for a given context, with signaturef(ctx: KernelContext) -> Any.- Fields:
func (
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