LoaderOptions
Core.LoaderOptions exported from @manycore/aholo-viewer.
interface LoaderOptions {
containerType?: TextureContainerType;
context?: Viewer | IViewerContext;
supportedTypes?: CompressTextureType[];
crossOrigin?: string;
mipmaps?: boolean;
}
containerType?: TextureContainerType;
context?: Viewer | IViewerContext;
supportedTypes?: CompressTextureType[];
crossOrigin?: string;
mipmaps?: boolean;
}
Properties
container Type
containerType?: TextureContainerType
context
supported Types
supportedTypes?: CompressTextureType[]
manual specify supported compressed texture types.
cross Origin
crossOrigin?: string
same as HTMLImageElement.crossOrigin
mipmapstrue
mipmaps?: boolean
set false to force disable mipmaps.
some compressed texture needs viewer. E.G. KTX2 Basis transcode