toD method

TextureD toD([
  1. Pointer<TextureC>? ptr
])

Implementation

TextureD toD([Pointer<TextureC>? ptr]) => .new(
  originalPointer: ptr,
  id: id,
  width: width,
  height: height,
  mipmaps: mipmaps,
  format: .fromValue(format),
);