Click or drag to resize

AssimpLibraryGetMaterialTexture Method

Gets all values pertaining to a particular texture from a material.

Namespace: Internal.Assimp.Unmanaged
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public TextureSlot GetMaterialTexture(
	ref AiMaterial mat,
	TextureType type,
	uint index
)

Parameters

mat  AiMaterial
Material to retrieve the data from
type  TextureType
Texture type semantic
index  UInt32
Texture index

Return Value

TextureSlot
Returns the texture slot struct containing all the information.
See Also