public void SetTexture(string name, Tex2D value) { NativeAPI.material_set_texture(_materialInst, name, value._texInst); }