Click or drag to resize
Ab4d.SharpEngine logo

AssimpConverterTextureLoaderDelegate Delegate

TextureLoaderDelegate delegate defines the method layout that loads the texture from the assimp data and sets the appropriate fields in the specified material.

Namespace: Ab4d.SharpEngine.Assimp
Assembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public delegate void TextureLoaderDelegate(
	Material material,
	string textureFileName,
	CommonSamplerTypes wrapMode,
	float blendFactor
)

Parameters

material  Material
material that will be updated by the loaded texture (usually StandardMaterial)
textureFileName  String
texture file name as specified in the loaded file
wrapMode  CommonSamplerTypes
wrap mode
blendFactor  Single
All color components (rgb) are multiplied with this factor before any further processing is done. 1 by default.
See Also