Interface IHtmlElementTextureOptions
interface IHtmlElementTextureOptions {
engine: Nullable<AbstractEngine>;
format?: number;
generateMipMaps?: boolean;
samplingMode?: number;
scene: Nullable<Scene>;
}
engine: Nullable<AbstractEngine>;
format?: number;
generateMipMaps?: boolean;
samplingMode?: number;
scene: Nullable<Scene>;
}
Properties
engine
Defines the engine instance to use the texture with. It is not mandatory if you define a scene.
Optionalformat
format?: number
Defines the associated texture format.
Optionalgenerate Mip Maps
generateMipMaps?: boolean
Defines whether mip maps should be created or not.
Optionalsampling Mode
samplingMode?: number
Defines the sampling mode of the texture.
scene
Defines the scene the texture belongs to. It is not mandatory if you define an engine.
Defines the options related to the creation of an HtmlElementTexture