Click or drag to resize
Ab4d.SharpEngine logo

AssimpImporter(IBitmapIO, Scene) Constructor

Constructor with optional Scene object that when specified is used to cache the loaded textures. When Scene.GpuDevice is initialized, then the textures are immediately created. Otherwise the textures are created when materials with textures are initialized.

Namespace: Ab4d.SharpEngine.Assimp
Assembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public AssimpImporter(
	IBitmapIO? bitmapIO,
	Scene? scene
)

Parameters

bitmapIO  IBitmapIO
BitmapIO that is used to read the bitmap files (when null, then no texture file names can be read)
scene  Scene
Scene that is used to cache the created textures (when null, then textures are created when materials with textures are initialized).
See Also