MTSpacePath
public struct MTSpacePath : Sendable, Codable
Path-based configuration for cubemap files.
This fetches all images from a path, this assumes all files are named px, nx, py, ny, pz, nz and suffixed with the appropriate extension specified in format.
-
Declaration
Swift
public var baseUrl: URL
-
Declaration
Swift
public var format: String?
-
Declaration
Swift
public init(baseUrl: URL, format: String? = nil)