SetMaterialTexture method
Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
Implementation
@override
void SetMaterialTexture(
StructPointer<Material> material,
int mapType,
Texture texture,
) => _ffi.SetMaterialTexture(
material.asNativePointer(),
mapType,
Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
);