Skip to main content

Module cotis_defaults_images

Module cotis_defaults_images 

Source
Expand description

Path-based image types for raylib texture loading.

Re-exports JPEGImage, PNGImage, and SVGImage from cotis-defaults and provides PathBasedImage as a unified enum. All variants store a filesystem path; textures are loaded via RaylibRender::translate_generic_image.

SVGImage is a semantic path tag — raylib loads raster data from the path. True vector SVG rendering is not implemented; use pre-rasterized assets until dedicated support lands.

Structs§

JPEGImage
JPEG path wrapper from cotis-defaults. JPEG image path wrapper.
PNGImage
JPEG path wrapper from cotis-defaults. PNG image path wrapper.
SVGImage
JPEG path wrapper from cotis-defaults. SVG image path wrapper.

Enums§

PathBasedImage
Unified path-based image enum covering all supported file kinds.