import type { Material as GMaterial } from '@antv/g-plugin-3d'; import type { Plugin } from '@antv/g-plugin-device-renderer'; import type { Material } from '../types'; /** * 基于配置创建材质,支持缓存 * * Create material based on configuration, support cache * @param plugin - 插件对象 plugin * @param options - 材质配置 material configuration * @param texture - 纹理 texture * @returns 材质对象 material object */ export declare function createMaterial(plugin: Plugin, options: Material, texture?: string | TexImageSource): GMaterial;