exportTexture method

  1. @override
NativeHandle exportTexture(
  1. TextureHandle texture, {
  2. NativeHandleKind? kind,
})
override

texture's memory as a NativeHandle of kind (the first of shareableKinds by default), for another device or API to import — DeviceFeature.sharedTextures. The handle is valid while texture is.

Implementation

@override
NativeHandle exportTexture(TextureHandle texture, {NativeHandleKind? kind}) {
  _unrecorded('exportTexture');
  return inner.exportTexture(texture, kind: kind);
}