simvx.graphics.gpu.instance

VkInstance creation, debug messenger, and surface helpers.

Module Contents

Functions

create_instance

Create a VkInstance with optional validation layers.

create_debug_messenger

Attach a debug utils messenger to instance.

Data

API

simvx.graphics.gpu.instance.__all__

[‘create_instance’, ‘create_debug_messenger’]

simvx.graphics.gpu.instance.log

‘getLogger(…)’

simvx.graphics.gpu.instance.create_instance(app_name: str = 'SimVX', extensions: list[str] | None = None, validation: bool = True) tuple[Any, bool]

Create a VkInstance with optional validation layers.

Returns (instance, validation_enabled).

simvx.graphics.gpu.instance.create_debug_messenger(instance: Any) Any

Attach a debug utils messenger to instance.