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 standardMaterial.

Namespace: Ab4d.SharpEngine.Assimp
Assembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 1.0.8740+dd919213ce98c470a123b140574ba91ba31d337e
Syntax
C#
public delegate void TextureLoaderDelegate(
	StandardMaterial standardMaterial,
	string textureFileName,
	CommonSamplerTypes wrapMode,
	float blendFactor
)

Parameters

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