UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

46 lines (45 loc) 2.29 kB
import type { Nullable } from "../types.js"; import type { MaterialPluginBase } from "./materialPluginBase.js"; import type { Material } from "./material.js"; /** * Creates an instance of the anisotropic plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createPBRAnisotropicPlugin(material: Material): Nullable<MaterialPluginBase>; /** * Creates an instance of the brdf plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createPBRBRDFPlugin(material: Material): Nullable<MaterialPluginBase>; /** * Creates an instance of the clear coat plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createPBRClearCoatPlugin(material: Material): Nullable<MaterialPluginBase>; /** * Creates an instance of the iridescence plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createPBRIridescencePlugin(material: Material): Nullable<MaterialPluginBase>; /** * Creates an instance of the sheen plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createPBRSheenPlugin(material: Material): Nullable<MaterialPluginBase>; /** * Creates an instance of the sub surface plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createPBRSubSurfacePlugin(material: Material): Nullable<MaterialPluginBase>; /** * Creates an instance of the detail map plugin * @param material parent material the plugin will be created for * @returns the plugin instance or null if the plugin is incompatible with material */ export declare function createDetailMapPlugin(material: Material): Nullable<MaterialPluginBase>;