loadCubemapImage
Loads a cubemap image from a file or URL. A cubemap is a texture typically used in 3D rendering, consisting of six images representing the sides of a cube.
Return
A CubemapImageData instance representing the loaded cubemap image. The caller is responsible for managing the lifecycle of the returned object and closing it when no longer needed.
Parameters
A string specifying the file location or URL of the cubemap image.
An optional hint for the image file format. This can help the loader interpret the data correctly if the format cannot be inferred automatically.
Loads a cubemap image from the provided buffer. The cubemap is typically a texture with six faces corresponding to the sides of a cube, used in 3D rendering.
Return
a CubemapImageData instance representing the loaded cubemap image. The caller is responsible for managing the lifecycle of the returned object and closing it when no longer needed.
Parameters
an MPPBuffer containing the image data for the cubemap.
an optional name for the image, typically used for error reporting and debugging.
an optional hint for the file format of the image data in the buffer.