Interface MeshParseContext.StreamLoader
- Enclosing class:
MeshParseContext
public static interface MeshParseContext.StreamLoader
Opens an asset stream used by a mesh parser.
MeshParseContext.StreamLoader loader = () -> Files.newInputStream(objPath);
- Since:
- 0.0.1
-
Method Summary
-
Method Details
-
load
Opens the asset stream.- Returns:
- an open stream for the requested asset
- Throws:
IOException- if the stream cannot be opened- Since:
- 0.0.1
-