 |
AssimpImporter(IBitmapIO, VulkanDevice) Constructor |
Constructor with optional gpuDevice object that when specified is used to create and cache the loaded textures.
When gpuDevice is null, then the textures are created when materials with textures are initialized.
Namespace: Ab4d.SharpEngine.AssimpAssembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic AssimpImporter(
IBitmapIO? bitmapIO,
VulkanDevice? gpuDevice
)
Parameters
- bitmapIO IBitmapIO
- BitmapIO that is used to read the bitmap files (when null, then no texture file names can be read)
- gpuDevice VulkanDevice
- VulkanDevice that is used to create and cache textures (when null, then textures are created when materials with textures are initialized).
See Also