MCPcopy Index your code
hub / github.com/codenameone/CodenameOne / load

Method load

CodenameOne/src/com/codename1/gpu/GltfLoader.java:78–84  ·  view source on GitHub ↗
(GraphicsDevice device, InputStream in)

Source from the content-addressed store, hash-verified

76 ///
77 /// the loaded mesh
78 public static Mesh load(GraphicsDevice device, InputStream in) throws IOException {
79 try {
80 return load(device, readFully(in));
81 } finally {
82 Util.cleanup(in);
83 }
84 }
85
86 /// Loads a model from in-memory `.glb` or `.gltf` bytes.
87 ///

Calls 4

readFullyMethod · 0.95
cleanupMethod · 0.95
parseMethod · 0.95
buildMethod · 0.95