toD method

Implementation

MaterialMapD toD([Pointer<MaterialMapC>? ptr]) => .new(
  originalPointer: ptr,
  texture: texture.toD(),
  color: color.toD(),
  value: value,
);