RayTracingSettings¶
Qualified name: algan.settings.raytracing\_settings.RayTracingSettings
- class RayTracingSettings[source]¶
Bases:
objectStable mutable view over the ray-tracer’s live configuration.
The settings reachable directly on this object describe what the renderer produces (sampling, bounces, shadows, lighting, tonemapping). Internal performance switches live on
experimental.algan.rendering.raytracing.settingsis the storage behind both views, and holds each field under the same name this object exposes it by. Engine code binds that module and reads the fields off it directly on the hot path – a read there is ~25 ns against ~870 ns through this object’s__getattr__– which is why the storage lives there rather than here.Methods
as_presetReturn the effective secondary sample count for current AA mode.
field_namesoverridepublic_field_namessetto_dictAttributes
experimentalis_preset