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