Struct Image2DLoadFromFile
Initialize an image from an asset file.
Namespace: Unity.Tiny
Syntax
public struct Image2DLoadFromFile : IComponentData
Remarks
Once loading has completed, the asset loading system will remove this component from the image. Inspect the Image2D component status field for loading results.
You need to provide an Image2DLoadFromFileImageFile and/or Image2DLoadFromFileMaskFile next to this component to specify the file to load.