Click or drag to resize
Ab4d.SharpEngine logo

ReaderObj(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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public ReaderObj(
	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