pyvale.render.renderer3d module

The interface for 3D renderers.

class IRenderer3D[source]

Bases: ABC

Abstract interface for 3D renderers.

The public render() method always validates a concrete scene before the backend may allocate image buffers or start rendering.

render(scene)[source]

Validate and render a three dimensional scene.

Parameters:

scene (Scene3D) – Complete rendering request.

Returns:

RenderResult – Images and optional output paths produced by the backend.

Raises:

RenderInputError – If the scene is not supported or contains invalid data.

abstractmethod verify_input(scene)[source]

Validate a render request without expensive preparation.

Parameters:

scene (Scene3D) – Complete rendering request to validate.

Raises:

RenderInputError – If the request is invalid or unavailable in this backend.