exportTexture method

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

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

NativeHandle exportTexture(TextureHandle texture, {NativeHandleKind? kind}) =>
    throw refuse(DeviceFeature.sharedTextures);