RayTracingSettings

Qualified name: algan.settings.raytracing\_settings.RayTracingSettings

class RayTracingSettings[source]

Bases: object

Stable 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.settings is 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_preset

effective_analytic_aa_secondary_samples

Return the effective secondary sample count for current AA mode.

field_names

override

public_field_names

set

to_dict

Attributes

experimental

is_preset

effective_analytic_aa_secondary_samples()[source]

Return the effective secondary sample count for current AA mode.