simvx.graphics.assets.image_loader¶
Image file loading for textures.
Module Contents¶
Functions¶
Load PNG/JPG texture from disk → device-local VkImage. |
API¶
- simvx.graphics.assets.image_loader.load_texture_from_file(device: Any, physical_device: Any, queue: Any, cmd_pool: Any, file_path: str) tuple[Any, Any, int, int]¶
Load PNG/JPG texture from disk → device-local VkImage.
Returns: (image, memory, width, height)