Type Alias: ImageContent ​
ts
type ImageContent =
| readonly GuiLayer[]
| ImageObjectDefinition
| ((scene) => Promise<Disposable | void>);Defined in: packages/minerender/src/export/ImageRenderer.ts:25
GUI layers, a scene object, or a callback that adds objects to the given scene. Callback images are not cached. A callback runs again if Caching.clear() is called before its image is done. ImageRenderer disposes the callback's result and every MineRender object in the scene after drawing. Meshes, lines and GUI slots count when content is fitted into the image. Other objects need a frame.