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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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.
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Assimp.AssimpConverter.TextureLoaderDelegate"]

See Also