Previous Up Next

M3chgMaterialTexture
Replaces a material’s primary texture by another.

I M3chgMaterialTexture (
S3d _session_
HMat3d _material_
HTx3d _texture_
)
Parameters

_session_
3D Session
_material_
Material
_texture_
New primary texture
Return value

0 if successful, otherwise nil