simvx.graphics.renderer.skybox_pass

Skybox rendering pass — draws a cubemap-textured sky behind the scene.

Module Contents

Classes

SkyboxPass

Renders a cubemap skybox behind the scene.

Data

API

simvx.graphics.renderer.skybox_pass.__all__

[‘SkyboxPass’]

simvx.graphics.renderer.skybox_pass.log

‘getLogger(…)’

class simvx.graphics.renderer.skybox_pass.SkyboxPass(engine: Any)

Renders a cubemap skybox behind the scene.

The skybox is drawn as a unit cube with depth test set to LESS_OR_EQUAL and depth written as 1.0 (far plane), so it renders behind all geometry.

Initialization

setup(cubemap_view: Any, cubemap_sampler: Any) None

Initialize skybox pipeline with a cubemap texture.

render(cmd: Any, view_matrix: numpy.ndarray, proj_matrix: numpy.ndarray, extent: tuple[int, int]) None

Render skybox. Call after clearing but before scene geometry.

cleanup() None

Release GPU resources.